Page 1 of 1
Alt_Uses_Both flag
Posted: Sun May 22, 2011 1:24 pm
by Ryan Cordell
Despite this already being defined in the source, it wasn't included with the decorate flag parser, so the flag couldn't be used.
Re: Alt_Uses_Both flag
Posted: Thu May 26, 2011 4:45 pm
by some_random_guy
Awesome!
Still...odd that it was in the source and wasn't in the ZDoom wiki.
Re: Alt_Uses_Both flag
Posted: Thu May 26, 2011 4:59 pm
by NeuralStunner
You don't put things on the Wiki that don't work.
Re: Alt_Uses_Both flag
Posted: Thu May 26, 2011 5:52 pm
by some_random_guy
Oh. I just thought that the developers automatically put everything on the wiki that was in the source in a major release.
...or was the Alt_Uses_Both flag not in the 2.5.0 release? Was it not added until after the release?
I'm wondering because I was getting the idea that it's been in the code for a long time.
Re: Alt_Uses_Both flag
Posted: Thu May 26, 2011 11:52 pm
by Gez
some_random_guy wrote:Oh. I just thought that the developers automatically put everything on the wiki that was in the source in a major release.
You still don't understand.
First, automatically? Developers aren't automatons. There's no system created yet that will automatically read source code and turn it into wiki documentation. (I suppose something could be done based on Doxygen and some wiki bot, but that's not the case here.)
Then, and more importantly, the wiki is there to describe what is available to modders and players. I refer to the first post of this thread:
Ryan Cordell wrote:it wasn't included with the decorate flag parser, so the flag couldn't be used.
Read this. Over and over and over again until "couldn't be used" starts to register.
Re: Alt_Uses_Both flag
Posted: Fri May 27, 2011 8:45 am
by some_random_guy
I understand, I just wasn't sure if it was a standard protocol (not an automation, since developers are real people too

)
to insert stuff that was in the code. Besides, I thought that since it was in the code, somebody may have overlooked it
(since it was "there", kinda) and dismissed it as "working" without actually testing it. (You never know, accidents happen...)
But anyone can post stuff or edit in the ZDoom wiki, right? I just want to add that the ALT_USES_BOTH flag is available in developmental versions.
EDIT: I changed the "Weapon Properties" page of the wiki. It now lists the function of the WEAPON.ALT_USES_BOTH flag, and that it only has worked since version r3213.
Re: Alt_Uses_Both flag
Posted: Fri May 27, 2011 9:15 am
by Ryan Cordell
some_random_guy wrote:Besides, I thought that since it was in the code, somebody may have overlooked it
(since it was "there", kinda) and dismissed it as "working" without actually testing it. (You never know, accidents happen...)
Arguably, it was more like forgotten or had low priority. At least it was a good thing I went on a small feature suggestion spree so the flag was brought back to light.
Re: Alt_Uses_Both flag
Posted: Fri May 27, 2011 10:39 am
by some_random_guy
And that, Ryan Cordell, is why I, along with the rest of the ZDoom community, think you are so awesome!
