Skip to content

Splitting up long files (utils/core) #153

Closed
@ithinkandicode

Description

@ithinkandicode
Done Dir File Class Name Notes
api log.gd ModLoaderLog done in #205
api mod.gd ModLoaderMod All helper functions used by mod devs - #208 ModLoader -> ModLoaderMod
api config.gd ModLoaderConfig done in #157
api deprecated.gd ModLoaderDeprecated done in #156
internal cli.gd _ModLoaderCLI #226
internal path.gd _ModLoaderPath #226
internal file.gd _ModLoaderFile Including the saving funcs from #143. Maybe JSON funcs too? - done in #226
internal dependencies.gd _ModLoaderDependencies done in #222
internal script_extension.gd _ModLoaderScriptExtension done in #225
internal godot.gd _ModLoaderGodot Eg. check_autoload_position() - done in #172
internal/third_party steam.gd _ModLoaderSteam See related chat in #148, here - done in #158

Breaking Changes & Deprecation

Ofc, if we moved the logger funcs then every currently published Brotato mod would break. But we could handle this with a deprecation notice, which can be handled with a new func and that triggers a fatal error in the editor. I've explained how this could work in more detail in #154:

Metadata

Metadata

Labels

breakingBreaking changerefactor / cleanupImproves readability or maintainability

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions