Skip to content

ModuleMan Refactoring and Improvements#8

Open
Causeless wants to merge 80 commits intodevelopmentfrom
ModuleMan
Open

ModuleMan Refactoring and Improvements#8
Causeless wants to merge 80 commits intodevelopmentfrom
ModuleMan

Conversation

@Causeless
Copy link
Copy Markdown
Contributor

Refactors a buncha stuff, simplifies PresetMan by moving stuff to a new ModuleMan. Allows runtime enabling+disabling of mods, though likely needs a little extra work.

MaximDude's work

MaximDude added 30 commits July 13, 2023 05:51
… and shouldn't be exposed

Modules are (currently) either loaded or not (if disabled via mod manager)
Can't allow some bullshit module that is either outside the Data/Mods directories or hidden inside another module to be loaded like this and possibly break all the shit
…Module::CreateOnDiskAsUserdata

Don't need this exposed to all the things, ModuleMan mans the modules
Abort if the userdata modules failed to load so this doesn't screw us at some point later
…on demand

Demand is literally in one place when texturizing terrain
Fixes my stack overflow lel AAAAAAAAAAAAAAAAAAAAAAAAA
@Causeless
Copy link
Copy Markdown
Contributor Author

Before merging this I want to potentially look at making some of the changes deprecated instead of entirely breaking (or at least adding support to Trez's tool to automatically update this), and also investigate why GetOfficialModuleCount was removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants