Correct error messages?

Moderator: GZDoom Developers

Post Reply
User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Correct error messages?

Post by Cutmanmike »

I've noticed that you get totally irrelivant error messages when using decorate. For example, you get a "Unknown game type" error if it doesn't know what the actor is. Also, zdoom just gives a crash log if you miss out sprites that are in the decorate lump. Isn't it possible to give a little bit more help to what the problems are rather than giving a message that's totally confusing and irrelivant?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

THe 'unknown game type' message is a relic from the old DECORATE. It doesn't have a mandatory keyword to start an actor definition so everything is allowed. That means that the error is caught too late for a more appropriate message. When the parser fails it fails in a gamemode check.

The other one is a bug and should be reported as such.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”