mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-22 23:48:08 -05:00
f18353c2af
- rewrote Loader to have a public loading API - moved logging away from Loader - moved texture path handling away from Loader into CCFileUtils, added new functions there for that - bumped version to v0.7.0 - moved ModInfo to its own header - added early loading support through mod.json instead of loader stuff - wrote a custom Unzip implementation (essentially same as ZipUtils except with a much more simple and clean API) - renamed `src/load` to `src/loader` - other stuff i prolly forgor
9 lines
306 B
C++
9 lines
306 B
C++
// included by default in every geode project
|
|
#include <Geode/loader/Loader.hpp>
|
|
#include <Geode/loader/Mod.hpp>
|
|
|
|
GEODE_API void GEODE_CALL geode_implicit_load(geode::Mod* m) {
|
|
geode::Mod::setSharedMod(m);
|
|
geode::log::releaseSchedules(m);
|
|
geode::Loader::get()->dispatchScheduledFunctions(m);
|
|
}
|