Decompile overlay 1 (Part 1) (#89)

* start overlay 1

* match courselist and delink a lot of files (+ remove SysObject)

* fix build issues

* fix regressions
This commit is contained in:
Yanis
2026-06-20 03:24:19 +02:00
committed by GitHub
parent d1e3be4c0b
commit 6062d1f43c
116 changed files with 2112 additions and 1056 deletions
+20 -8
View File
@@ -50,14 +50,26 @@ public:
~AutoInstance() {}
};
#define DECL_INSTANCE(T, gpInstance) \
template <typename T> Instance<T>::Instance() { \
gpInstance = (T *) this; \
} \
template <typename T> Instance<T>::~Instance() { \
gpInstance = NULL; \
} \
template class Instance<T>
#define DECL_INSTANCE_CTOR(T, gpInstance) \
template <typename T> Instance<T>::Instance() { \
gpInstance = (T *) this; \
} \
template class Instance<T>;
#define DECL_INSTANCE_DTOR(T, gpInstance) \
Instance<T>::~Instance() { \
gpInstance = NULL; \
}
#define DECL_INSTANCE(T, gpInstance) \
DECL_INSTANCE_CTOR(T, gpInstance) \
DECL_INSTANCE_DTOR(T, gpInstance)
template <typename T> struct StaticInstance {
static T sInstance;
};
#define DECL_STATIC_INSTANCE(T) T StaticInstance<T>::sInstance
#endif