Thalassicus
Bytes and Nibblers
Okay, so I have a few things imported to the VFS:
So I moved the globals out to a separate file:
I'm somewhat aware this problem is solved in Civ 5 with contexts... if anyone knows a good reference source to learn how contexts work it'd be greatly appreciated if you can give a link. I don't know much about the context subject and tried looking at some other mods to get an idea of how to do this, without finding what I needed (since other mods like InfoAddict that use custom contexts don't override base functions).
- File included in several core game files, with functions that override base API functions (to fix bugs or add new material)
- Need some global variables for those functions
So I moved the globals out to a separate file:
- The main file
- Global variables in an initialization file
I'm somewhat aware this problem is solved in Civ 5 with contexts... if anyone knows a good reference source to learn how contexts work it'd be greatly appreciated if you can give a link. I don't know much about the context subject and tried looking at some other mods to get an idea of how to do this, without finding what I needed (since other mods like InfoAddict that use custom contexts don't override base functions).