I am sort of taking a wild guess here that it is possible to Import a source file that imports a module which has already been imported into the main program. (It is, right?).
Will this hurt my file size at all?
Here is a horrible diagram of what I am looking to do:
What I am worried about is BlitzMax not being clever and instead winding up with 3 instances of bleh.myMod. Should I not be worried, or should I be terrified?
Will this hurt my file size at all?
Here is a horrible diagram of what I am looking to do:
Main.bmx Import bleh.myMod Import "Addon.bmx" Import "AnotherAddon.bmx" Addon.bmx Import bleh.myMod AnotherAddon.bmx Import bleh.myMod (It gets worse and more convoluted yet, but generally like that)
What I am worried about is BlitzMax not being clever and instead winding up with 3 instances of bleh.myMod. Should I not be worried, or should I be terrified?