mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-19 09:01:20 +02:00
The sources of Petari (https://github.com/SMGCommunity/Petari), the Super Mario Galaxy decompilation by the SMGCommunity, at commit 0a5c6608dc3b4c44a9aa68c2535d1793dc565f02, unchanged but for LF line endings: LICENSE (as LICENSE-Petari.txt; CC0 1.0), include/, libs/ and src/. Left out: the game data Petari keeps from the original executable, the error message archive (include/Game/System/ ErrorArchive.hpp) and two tables (src/Game/System/GalaxyID.bcsv and StoryEvent.bcsv); GalaxyQuest's converter takes them from the player's own disc. The port's changes follow in the next commit, so `git diff petari-base -- decomp` shows them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
59 lines
1.7 KiB
C++
59 lines
1.7 KiB
C++
#pragma once
|
|
|
|
#include "Game/System/NerveExecutor.hpp"
|
|
|
|
class GameSequenceDirector;
|
|
class GameSystemDimmingWatcher;
|
|
class GameSystemErrorWatcher;
|
|
class GameSystemFontHolder;
|
|
class GameSystemFrameControl;
|
|
class GameSystemObjHolder;
|
|
class GameSystemSceneController;
|
|
class GameSystemStationedArchiveLoader;
|
|
class HomeButtonLayout;
|
|
class HomeButtonStateNotifier;
|
|
class SystemWipeHolder;
|
|
|
|
#ifdef __MWERKS__
|
|
void main(void);
|
|
#endif
|
|
|
|
class GameSystem : public NerveExecutor {
|
|
public:
|
|
/// @brief Creates a new `GameSystem`.
|
|
GameSystem();
|
|
|
|
void init();
|
|
bool isExecuteLoadSystemArchive() const;
|
|
bool isDoneLoadSystemArchive() const;
|
|
void startToLoadSystemArchive();
|
|
void exeInitializeAudio();
|
|
void exeInitializeLogoScene();
|
|
void exeLoadStationedArchive();
|
|
void exeWaitForReboot();
|
|
void exeNormal();
|
|
void initGX();
|
|
void initAfterStationedResourceLoaded();
|
|
void prepareReset();
|
|
bool isPreparedReset() const;
|
|
void frameLoop();
|
|
void draw();
|
|
void update();
|
|
void updateSceneController();
|
|
void calcAnim();
|
|
|
|
/* 0x08 */ void* mFifoBase;
|
|
/* 0x0C */ GameSequenceDirector* mSequenceDirector;
|
|
/* 0x10 */ GameSystemDimmingWatcher* mDimmingWatcher;
|
|
/* 0x14 */ GameSystemErrorWatcher* mErrorWatcher;
|
|
/* 0x18 */ GameSystemFontHolder* mFontHolder;
|
|
/* 0x1C */ GameSystemFrameControl* mFrameControl;
|
|
/* 0x20 */ GameSystemObjHolder* mObjHolder;
|
|
/* 0x24 */ GameSystemSceneController* mSceneController;
|
|
/* 0x28 */ GameSystemStationedArchiveLoader* mStationedArchiveLoader;
|
|
/* 0x2C */ HomeButtonLayout* mHomeButtonLayout;
|
|
/* 0x30 */ SystemWipeHolder* mSystemWipeHolder;
|
|
/* 0x34 */ HomeButtonStateNotifier* mHomeButtonStateNotifier;
|
|
/* 0x38 */ bool mIsExecuteLoadSystemArchive;
|
|
};
|