2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 15:07:41 +00:00

Work on CPlayerGun

This commit is contained in:
Jack Andersen
2017-08-25 18:36:25 -10:00
parent ed991a6ac0
commit 86ada63867
35 changed files with 1433 additions and 245 deletions

View File

@@ -8,10 +8,23 @@ namespace urde
class CFidget
{
u32 x0_ = 0;
u32 x4_ = -1;
public:
enum class EState
{
Zero,
One,
Two,
Three,
Four,
Five,
Six,
Seven
};
private:
EState x0_state = EState::Zero;
s32 x4_ = -1;
u32 x8_ = 0;
u32 xc_ = -1;
s32 xc_ = -1;
u32 x10_ = 3;
float x14_ = 0.f;
float x18_ = 0.f;
@@ -23,7 +36,8 @@ class CFidget
float x30_ = 105.f;
bool x34_24_ = false;
public:
EState GetState() const { return x0_state; }
void ResetAll();
};
}