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>
50 lines
1.3 KiB
C++
50 lines
1.3 KiB
C++
#pragma once
|
|
|
|
#include "Game/LiveActor/LiveActor.hpp"
|
|
|
|
class KoopaBattleMapStair : public LiveActor {
|
|
public:
|
|
enum Type {
|
|
Type_Normal,
|
|
Type_NoRequestFire,
|
|
Type_DemoFar,
|
|
Type_DemoNear,
|
|
};
|
|
|
|
KoopaBattleMapStair(const char* pName);
|
|
|
|
virtual void init(const JMapInfoIter& rIter);
|
|
virtual void initAfterPlacement();
|
|
|
|
bool isRequestAttackVs1() const;
|
|
s32 calcRemainTimeToBreak() const;
|
|
bool isRequestAttackVs3() const;
|
|
f32 calcAndSetTargetPos(TVec3f* pPos, const TVec3f& rReferencePos);
|
|
f32 calcTimeRate() const;
|
|
bool isBreak() const;
|
|
bool isTypeNormal() const NO_INLINE;
|
|
bool isTypeDemoFar() const;
|
|
bool isTypeDemoNear() const;
|
|
bool isTypeNoRequestFire() const NO_INLINE;
|
|
|
|
void exeWaitSwitch();
|
|
void exeWaitKoopaFire();
|
|
void exeWaitFall();
|
|
void exeFall();
|
|
void exeDisappear();
|
|
|
|
/* 0x8C */ s32 mTimeToBreak; // Obj_arg0
|
|
/* 0x90 */ s32 mFireAttackStep;
|
|
/* 0x94 */ s32 mArg1; // Obj_arg1
|
|
/* 0x98 */ s32 mArg5; // Obj_arg5
|
|
/* 0x9C */ bool mArg6; // Obj_arg6
|
|
/* 0xA0 */ s32 mType; // Obj_arg2
|
|
/* 0xA4 */ bool mIsBig;
|
|
/* 0xA5 */ bool mIsTurn;
|
|
/* 0xA6 */ bool _A6;
|
|
/* 0xA8 */ s32 _A8;
|
|
/* 0xAC */ TVec3f _AC;
|
|
/* 0xB8 */ s32 mWaitFallStep; // Obj_arg3
|
|
/* 0xBC */ s32 mFallStep; // Obj_arg4
|
|
};
|