OdysseyDecomp/lib/al/include/Library/System/SystemKit.h
MonsterDruide1 69d81ebd91
Custom format validation (Linting) (#17)
* Add script to verify formatting
* Add newline to end of files
* Add `#pragma once` to top of headers
* Add own header to includes at top of source files
* Remove useless namespace qualifiers
* Sort visibility modifiers correctly
* Format `#include`s in three blocks
* Remove `;` after namespaces
* Add for custom style checking to `lint`-GitHub-Action
* Format: No "// 0x" offset comments
* Remove macros from padding
2024-01-07 00:33:09 +01:00

34 lines
856 B
C++

#pragma once
#include <heap/seadHeap.h>
namespace al {
class FileLoader;
class MemorySystem;
class ResourceSystem;
class SaveDataDirector;
class SystemKit {
friend class alProjectInterface;
public:
SystemKit();
void createFileLoader(s32 threadPriority);
void createMemorySystem(sead::Heap* heap);
void createResourceSystem(const char* archivePath, s32, s32, bool);
void createSaveDataSystem();
MemorySystem* getMemorySystem() { return mMemorySystem; }
FileLoader* getFileLoader() { return mFileLoader; }
ResourceSystem* getResourceSystem() { return mResourceSystem; }
SaveDataDirector* getSaveDataDirector() { return mSaveDataDirector; }
private:
MemorySystem* mMemorySystem;
FileLoader* mFileLoader;
ResourceSystem* mResourceSystem;
SaveDataDirector* mSaveDataDirector;
};
} // namespace al