mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-23 11:01:38 +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>
58 lines
1.7 KiB
C++
58 lines
1.7 KiB
C++
#pragma once
|
|
|
|
#include "Game/Screen/LayoutActor.hpp"
|
|
|
|
class StarPointerGuidance : public LayoutActor {
|
|
public:
|
|
/// @brief Creates a new `StarPointerGuidance`
|
|
/// @param pName A pointer to the null-terminated name of the object.
|
|
StarPointerGuidance(const char* pName);
|
|
|
|
virtual void init(const JMapInfoIter& rIter);
|
|
virtual void control();
|
|
|
|
void checkRequest2P();
|
|
void checkRequest1P();
|
|
void exeAppear1P();
|
|
void exeWait1P();
|
|
void exeEnd1P();
|
|
void exeAppearBlueStarGuide();
|
|
void exeWaitBlueStarGuide();
|
|
void exeEndBlueStarGuide();
|
|
void exeAppear2P();
|
|
void exeWait2P();
|
|
void exeEnd2P();
|
|
void exeEndWait();
|
|
s32 exeAppearCore(Spine*, const char*, u32, const Nerve*);
|
|
s32 exeWaitCore(Spine*, const char*, u32);
|
|
s32 exeEndCore(Spine*, const char*, u32);
|
|
bool request1PGuidance(const char*, bool);
|
|
void tryResetTimeout();
|
|
bool isExistGuidanceOrFrame();
|
|
bool isExistGuidance();
|
|
bool isExistFrame1P() NO_INLINE;
|
|
bool isExistFrame2P() NO_INLINE;
|
|
void deactive();
|
|
|
|
void active() {
|
|
mIsActive = true;
|
|
}
|
|
|
|
/* 0x20 */ Spine* mSpineFrame1P;
|
|
/* 0x24 */ Spine* mSpineGuidance;
|
|
/* 0x28 */ Spine* mSpineFrame2P;
|
|
/* 0x2C */ s32 mOutScreenTime;
|
|
/* 0x30 */ s32 mRequestTime1P;
|
|
/* 0x34 */ s32 mRequestTime2P;
|
|
/* 0x38 */ const wchar_t* mGuidanceMessage;
|
|
/* 0x3C */ const wchar_t* mPrevGuidanceMessage;
|
|
/* 0x40 */ bool mIsActiveRequest1P;
|
|
/* 0x41 */ bool mIsActiveRequest2P;
|
|
/* 0x42 */ bool mIsActive;
|
|
/* 0x43 */ bool mIsGuidanceDisabled;
|
|
/* 0x44 */ u32 mTextLineNumGuidance;
|
|
/* 0x48 */ u32 mTextLineNum1P;
|
|
/* 0x4C */ u32 mTextLineNum2P;
|
|
/* 0x50 */ bool mIsTimeOutEnabled;
|
|
};
|