mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-19 04:06:41 +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.6 KiB
C++
59 lines
1.6 KiB
C++
#pragma once
|
|
|
|
#include "Game/Scene/Scene.hpp"
|
|
|
|
class CameraContext;
|
|
class CinemaFrame;
|
|
class EffectSystem;
|
|
class J3DDrawBuffer;
|
|
class ScenarioSelectLayout;
|
|
|
|
class ScenarioSelectScene : public Scene {
|
|
public:
|
|
ScenarioSelectScene();
|
|
|
|
virtual void init();
|
|
virtual void start();
|
|
virtual void update();
|
|
virtual void draw() const;
|
|
virtual void calcAnim();
|
|
virtual void calcViewAndEntry();
|
|
|
|
void startBackground();
|
|
bool isActive() const;
|
|
bool isExecForeground() const;
|
|
bool isScenarioSelecting() const;
|
|
void validateScenarioSelect();
|
|
void requestReset(bool waitForInitialize);
|
|
bool isResetEnd() const;
|
|
void setupCameraMtx() const;
|
|
bool trySetCurrentScenarioNo() const;
|
|
void suspend();
|
|
void tryStartScreenToFrame();
|
|
void exeDeactive();
|
|
void exeInvalidScenarioSelect();
|
|
void exeWaitStartScenarioSelect();
|
|
void exeStartScenarioSelect();
|
|
void exeWaitScenarioSelect();
|
|
void exeWaitResumeInitializeThread() NO_INLINE;
|
|
void exeWaitInitializeEnd();
|
|
void exeWaitDisappearLayout();
|
|
void exeWaitResumeInitializeThreadIfRequestedReset();
|
|
void exeWaitResumeInitializeThreadIfCanceledSelect();
|
|
|
|
/* 0x14 */ u8 _14;
|
|
/* 0x15 */ u8 _15;
|
|
/* 0x16 */ u8 _16;
|
|
/* 0x17 */ u8 _17;
|
|
/* 0x18 */ ScenarioSelectLayout* mScenarioLayout;
|
|
/* 0x1C */ CinemaFrame* mCinemaFrame;
|
|
/* 0x20 */ J3DDrawBuffer* _20;
|
|
/* 0x24 */ J3DDrawBuffer* _24;
|
|
/* 0x28 */ u8 _28;
|
|
/* 0x29 */ u8 _29;
|
|
/* 0x2A */ u8 _2A;
|
|
/* 0x2B */ u8 _2B;
|
|
/* 0x2C */ EffectSystem* mEffectSystem;
|
|
/* 0x30 */ CameraContext* mCameraContext;
|
|
};
|