mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-18 19:01:14 +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>
76 lines
2.2 KiB
C++
76 lines
2.2 KiB
C++
#pragma once
|
|
|
|
#include "Game/Screen/LayoutActor.hpp"
|
|
#include <JSystem/JGeometry/TMatrix.hpp>
|
|
|
|
class BackButton;
|
|
class CameraContext;
|
|
class MultiSceneActor;
|
|
class ScenarioSelectStar;
|
|
|
|
class ScenarioSelectLayout : public LayoutActor {
|
|
public:
|
|
ScenarioSelectLayout(EffectSystem*, const CameraContext*);
|
|
|
|
virtual void init(const JMapInfoIter&);
|
|
virtual void movement();
|
|
virtual void draw() const;
|
|
virtual void calcAnim();
|
|
virtual void appear();
|
|
virtual void kill();
|
|
virtual void control();
|
|
|
|
void calcViewAndEntryStarModel();
|
|
s32 getSelectedScenarioNo() const;
|
|
bool isReadyToDisappear() const;
|
|
void disappear();
|
|
bool isAppearStarEnd() const;
|
|
bool isEndAnimStartStep() const;
|
|
bool isCanceled() const;
|
|
void updateSelectedScenario();
|
|
void updateScenarioText();
|
|
void fadeInText();
|
|
void fadeOutText();
|
|
bool trySelect();
|
|
ScenarioSelectStar* getSelectedStar() const;
|
|
void calcWorldPositionFromScreenPos(TVec3f*, const TVec2f&, f32) const;
|
|
bool calcDisplayScenarioNum(s32*, s32*) const;
|
|
void appearAllStar(s32, s32, bool);
|
|
void appearStar(s32, s32, int);
|
|
bool isAppearStarEndAll() const;
|
|
bool tryCancel();
|
|
void setPlayerLeft();
|
|
void startAnimAllNewPane(const char*);
|
|
void setAnimRateAllNewPane(f32);
|
|
|
|
void exeAppearStar();
|
|
void exeAppear();
|
|
void exeWaitScenarioSelect();
|
|
void exeDecide();
|
|
void exeAfterScenarioSelected();
|
|
void exeDisappear();
|
|
void exeCancel();
|
|
void exeCancelFadeOut();
|
|
void exeAppearCometWarning();
|
|
void exeWaitCometWarning();
|
|
void exeDisappearCometWarning();
|
|
|
|
/* 0x20 */ s32 mSelectedScenarioNo;
|
|
/* 0x24 */ s32 _24;
|
|
/* 0x28 */ bool _28;
|
|
/* 0x2C */ TMtx34f mEffectHostMtx;
|
|
/* 0x5C */ ScenarioSelectStar** mStar;
|
|
/* 0x60 */ MultiSceneActor* mScenarioSky;
|
|
/* 0x64 */ EffectSystem* mEffectSystem;
|
|
/* 0x68 */ const CameraContext* mCameraContext;
|
|
/* 0x6C */ TVec2f mNewTextFollowPos;
|
|
/* 0x74 */ TVec2f mNewGreenTextFollowPos;
|
|
/* 0x7C */ TVec2f mQuestionPane[2];
|
|
/* 0x8C */ TVec2f mStarTopFollowPos;
|
|
/* 0x94 */ BackButton* mBackButton;
|
|
/* 0x98 */ TVec2f mMarioPaneFollowPos;
|
|
/* 0xA0 */ const char* mMarioPaneName;
|
|
/* 0xA4 */ s32 _A4;
|
|
/* 0xA8 */ s32 _A8;
|
|
};
|