Closed BlueRaja closed 8 years ago
Just clarified with BlueRaja. Rather than have the developer of the client mod manually enter those numbers, we can define preprocessor macros in the API files. Since those macros are substituted at compile-time, this should allow us to keep the versioning system without requiring users to hard-code anything.
:+1:
:+1:
This is done, implemented as a macro. You can see an example of its usage in MCM_TestHarness.uc.
Currently the example code has
where the first two parameters are the version of
ModConfigMenu
. This is sure to lead to all sorts of trouble when people forget to update it, copy+paste code from other mods, etc.Instead the value should be included in one of those files that they're forced to copy into their mod but not allowed to touch.