Earlier, I was looking through the source code to figure out what exactly the "game" attribute did, and I noticed that everything it does was actually turned over to the user a while ago, and most of it (like actor definitions) isn't even used in the source code anymore. I was thinking that maybe it could be made into an optional attribute, or a value of "Standalone" or "GZDoom" or something could be added, so that the people who make standalone games wouldn't be loading any of that code and could just do all that from scratch.
Is this feasible?
IWADINFO: Make "Game" attribute optional
Moderator: GZDoom Developers
- RockstarRaccoon
- Posts: 598
- Joined: Sun Jul 31, 2016 2:43 pm
-
- Posts: 419
- Joined: Fri Dec 22, 2017 1:53 am
- Graphics Processor: ATI/AMD (Modern GZDoom)
- Contact:
Re: IWADINFO: Make "Game" attribute optional
I have a feeling that it will break TCs.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49071
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: IWADINFO: Make "Game" attribute optional
There's still places in the engine which require something valid here. The "Game" setting doesn't do much but mainly defines what defaults need to be used for certain data.
- RockstarRaccoon
- Posts: 598
- Joined: Sun Jul 31, 2016 2:43 pm
Re: IWADINFO: Make "Game" attribute optional
I got that, I can tell from the code that it is used in a couple if statements, what I'm saying is that it feels like it's close to being depreciated simply because the vast majority of the things it set are gone, and the other things should be (and I'm pretty sure already are) user controllable.