Micky C, on 24 July 2011 - 06:55 PM, said:
Also congradutaions on your first commit hendricks, even if you did have to go back and fix it
I made the commit but I forgot to make the announcement!
New Feature: CON/DEF Modules
This is a gradual step towards my goal of a much more user-friendly method to mix and match mods, packs, and generally anything distributed for EDuke32.
CON and DEF modules are individual, stand-alone files that are in effect included after, or from the end of the previous file, whether it's the default root file or another module.
This should make life easier for creators of small gameplay mods, as well as mappers who want to add only small things to the con files (such as an episode listing or some new sprite code) but don't want to restrict use to only a certain set of base cons.
Internally, a dynamic array stores the file names of modules, so there is no limit on the amount you can use other than available RAM.
Here's an example of the syntax:
eduke32 -xgame.con -mx module1.con -mx module2.con -hduke3d.def -mh module.def
Disclosure: I used the term "module" rather than "mutator" because in the discussion in IRC channel, there were some strong opinions that mutators should not be added unless the names of gamevars were mangled by the executable to prevent conflicts. I think that's unnecessary, and there are times when you might want to change the value of a gamevar used elsewhere. Regardless, you're free to refer to them as mutators.