mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-18 17:01:15 +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>
49 lines
1.4 KiB
C++
49 lines
1.4 KiB
C++
#pragma once
|
|
|
|
#include <revolution/types.h>
|
|
|
|
class AudSystem;
|
|
class JKRExpHeap;
|
|
class JKRHeap;
|
|
class JKRMemArchive;
|
|
class JKRSolidHeap;
|
|
|
|
class AudSystemWrapper {
|
|
public:
|
|
AudSystemWrapper(JKRSolidHeap*, JKRHeap*);
|
|
|
|
void requestResourceForInitialize();
|
|
void createAudioSystem();
|
|
void createSoundNameConverter();
|
|
void updateRhythm();
|
|
void movement();
|
|
void stopAllSound(u32);
|
|
bool isLoadDoneWaveDataAtSystemInit() const;
|
|
void loadStaticWaveData();
|
|
bool isLoadDoneStaticWaveData() const;
|
|
void loadStageWaveData(const char*, const char*, bool);
|
|
bool isLoadDoneStageWaveData() const;
|
|
void loadScenarioWaveData(const char*, const char*, s32);
|
|
bool isLoadDoneScenarioWaveData() const;
|
|
bool isPermitToReset() const;
|
|
void prepareReset();
|
|
void requestReset(bool);
|
|
bool isResetDone();
|
|
void resumeReset();
|
|
void receiveResourceForInitialize();
|
|
|
|
/* 0x00 */ AudSystem* mAudSystem;
|
|
/* 0x04 */ JKRSolidHeap* mSolidHeap;
|
|
/* 0x08 */ JKRHeap* mHeap;
|
|
/* 0x0C */ void* mSmrRes;
|
|
/* 0x10 */ JKRMemArchive* mJaiSeqRes;
|
|
/* 0x14 */ JKRMemArchive* mJaiChordRes;
|
|
/* 0x18 */ JKRMemArchive* mJaiMeRes;
|
|
/* 0x1C */ JKRMemArchive* mJaiRemixSeqRes;
|
|
/* 0x20 */ JKRExpHeap* mSpkHeap;
|
|
/* 0x24 */ JKRMemArchive* mSpkRes;
|
|
/* 0x28 */ bool _28;
|
|
/* 0x29 */ bool mIsResetDone;
|
|
/* 0x2A */ bool mDisableReset;
|
|
};
|