Heretic/Hexen things in Doom

Moderator: GZDoom Developers

User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49188
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Heretic/Hexen things in Doom

Post by Graf Zahl »

I noticed this in a discussion on the Newdoom forum concerning this issue:
Tiealk wrote:Make use of the range 32768-65535! Currently the editor number is a signed short so these become negative. You could do the simple approach and say:

35000+x = Doom
40000+x = Hexen
60000+x = Heretic

That would leave 55000+x open in case you eventually decide to support Strife as well.

Since the high numbers are currently completely unused it would be a simple and easy way to be able to place all items in all games without having to resort to DECORATE inheritance.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed

Post by wildweasel »

This would make my life much easier.
User avatar
Killo Zapit
Posts: 292
Joined: Wed Jul 16, 2003 9:26 pm
Location: Most likely sleeping.

Post by Killo Zapit »

But arn't numbers over 32000 or so reserved for DECORATE entitys or something?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49188
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

No. The only limiting factor is that the internal type is a signed short so if you didn't change that you'd get a negative number.

DECORATE items can use any editor number they like. There are no reservations - intentionally not.

Return to “Closed Feature Suggestions [GZDoom]”