HELP WANTED: ZScript

Archive of the old editing forum
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.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: HELP WANTED: ZScript

Post by Graf Zahl »

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.
User avatar
Major Cooke
Posts: 8175
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: HELP WANTED: ZScript

Post by Major Cooke »

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.
User avatar
Rachael
Posts: 13555
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: HELP WANTED: ZScript

Post by Rachael »

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.
User avatar
DoomKrakken
Posts: 3482
Joined: Sun Oct 19, 2014 6:45 pm
Location: Plahnit Urff
Contact:

Re: HELP WANTED: ZScript

Post by DoomKrakken »

The ZDoom Wiki wrote: Local arrays should temporarily be replaced by vars instead

Code: Select all

int myArray[3]; //From this...
int myArray0, myArray1, myArray2; //To this.
Why is it necessary to change the structure of array initialization?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: HELP WANTED: ZScript

Post by Graf Zahl »

Because the information is outdated. Arrays are working, the only thing you cannot do is to initialize a non-constant local array with

Code: Select all

int array[] = { 3,4,5,7,98};
You can initialize static constant arrays, though, but you cannot change them.
User avatar
Major Cooke
Posts: 8175
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: HELP WANTED: ZScript

Post by Major Cooke »

I wasn't ever made aware this was working. So I didn't update that info.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: HELP WANTED: ZScript

Post by Graf Zahl »

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.
User avatar
Major Cooke
Posts: 8175
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: HELP WANTED: ZScript

Post by Major Cooke »

Huh. Nothing was mentioned in the commits about them. Oh well. I'm glad they are.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: HELP WANTED: ZScript

Post by Graf Zahl »

You must have missed it then...
User avatar
Major Cooke
Posts: 8175
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: HELP WANTED: ZScript

Post by Major Cooke »

Eruanna, can you add this thread to the OP please?
User avatar
Rachael
Posts: 13555
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: HELP WANTED: ZScript

Post by Rachael »

Updated original post to reflect current status.
User avatar
Major Cooke
Posts: 8175
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: HELP WANTED: ZScript

Post by Major Cooke »

Oh wait. You didn't include the command line lock, I forgot.
User avatar
Rachael
Posts: 13555
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: HELP WANTED: ZScript

Post by Rachael »

It's there now.
User avatar
Major Cooke
Posts: 8175
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: HELP WANTED: ZScript

Post by Major Cooke »

Might want to bold and intensify the size of the requirement, knowing how some people skip things... :mrgreen:
Locked

Return to “Editing (Archive)”