HaArLiNsH / TextureReplacerReplaced

The continuation of TextureReplacer, a plugin for replacing original textures in Kerbal Space Program.
8 stars 4 forks source link

Reflective #17

Closed GER-Space closed 7 years ago

GER-Space commented 7 years ago

this is the patch for #6
I reworked also the module initialization a bit :-)
Changes: Moved the initialization to from "instantly" to MainMenue, so ModuleManager and GameDatabase should be loaded. Splitted the initialization calls to the Awake() and Start() calls. these are only called once, so no need for the extra bool checkers. only one is used by an module, so it can stay.

added the shaderDB loader and GetShader function.