HELP WANTED: ZScript
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49066
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: HELP WANTED: ZScript
I can't guarantee that everything will continue to work. One problem is that DECORATE has many hidden trapdoors where obvious coding errors can slip through. It can be that some of those end up producing fatal errors now. In some cases this can be worked around but not in all.
- Major Cooke
- Posts: 8175
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Location: QZDoom Maintenance Team
Re: HELP WANTED: ZScript
Updated D4D.pk3 to latest requirements. Those of you who use GZScript, please wait until Eruanna updates before doing so, unless you don't have a problem using regular ZDoom.
Re: HELP WANTED: ZScript
A change has been made to my personal compiling environment. -T v140_xp is now passed to the compiler, allowing for Windows XP compatibility.
But this needs to be tested. (Not that it will matter much in a few days, anyway...)
All I can tell you is both the 32 and 64-bit builds work fine on my Windows 10 system.
But this needs to be tested. (Not that it will matter much in a few days, anyway...)
All I can tell you is both the 32 and 64-bit builds work fine on my Windows 10 system.
- DoomKrakken
- Posts: 3482
- Joined: Sun Oct 19, 2014 6:45 pm
- Location: Plahnit Urff
- Contact:
Re: HELP WANTED: ZScript
Why is it necessary to change the structure of array initialization?The ZDoom Wiki wrote: Local arrays should temporarily be replaced by vars insteadCode: Select all
int myArray[3]; //From this... int myArray0, myArray1, myArray2; //To this.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49066
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: HELP WANTED: ZScript
Because the information is outdated. Arrays are working, the only thing you cannot do is to initialize a non-constant local array with
You can initialize static constant arrays, though, but you cannot change them.
Code: Select all
int array[] = { 3,4,5,7,98};
- Major Cooke
- Posts: 8175
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Location: QZDoom Maintenance Team
Re: HELP WANTED: ZScript
I wasn't ever made aware this was working. So I didn't update that info.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49066
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: HELP WANTED: ZScript
Arrays have been working for several weeks already. The only thing that has blocked them was that for local variables they needed to allocate some stack and that part wasn't working yet at the time. But after I got that done, arrays were enabled, just like local structs.
- Major Cooke
- Posts: 8175
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Location: QZDoom Maintenance Team
Re: HELP WANTED: ZScript
Huh. Nothing was mentioned in the commits about them. Oh well. I'm glad they are.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49066
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: HELP WANTED: ZScript
You must have missed it then...
- Major Cooke
- Posts: 8175
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Location: QZDoom Maintenance Team
Re: HELP WANTED: ZScript
Eruanna, can you add this thread to the OP please?
Re: HELP WANTED: ZScript
Updated original post to reflect current status.
- Major Cooke
- Posts: 8175
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Location: QZDoom Maintenance Team
Re: HELP WANTED: ZScript
Oh wait. You didn't include the command line lock, I forgot.
Re: HELP WANTED: ZScript
It's there now.
- Major Cooke
- Posts: 8175
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Location: QZDoom Maintenance Team
Re: HELP WANTED: ZScript
Might want to bold and intensify the size of the requirement, knowing how some people skip things...