diff options
author | Treeki <treeki@gmail.com> | 2012-12-04 00:19:32 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-12-04 00:19:32 +0100 |
commit | 4dab891a526d909dd51523f3d3173c3184ec7705 (patch) | |
tree | e51fb3d3c3605216fa2ee40c7992cc97ac696cd6 /include/game.h | |
parent | 15af665eac26f9a29b864617d571ef539a6c42b0 (diff) | |
download | kamek-4dab891a526d909dd51523f3d3173c3184ec7705.tar.gz kamek-4dab891a526d909dd51523f3d3173c3184ec7705.zip |
tons of updates. better APDebug, fixed dEn_c, mostly fixed gigoomba
Diffstat (limited to '')
-rwxr-xr-x | include/game.h | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/include/game.h b/include/game.h index f907004..55ab018 100755 --- a/include/game.h +++ b/include/game.h @@ -1451,7 +1451,7 @@ public: ActivePhysics *listPrev, *listNext;
u32 _18;
Info info;
- u32 _40, _44, _48, _4C;
+ float trpValue0, trpValue1, trpValue2, trpValue3;
float firstFloatArray[8];
float secondFloatArray[8];
Vec2 positionOfLastCollision;
@@ -1937,10 +1937,10 @@ class RideableActorCollider : public BasicCollider { void update();
void init(dStageActor_c *owner, Vec2 *one, Vec2 *two); // 800DB590
- void init(dStageActor_c *owner, float x1, float x2, float y1, float y2); // 800DB620
+ void init(dStageActor_c *owner, float x1, float y1, float x2, float y2); // 800DB620
void setPosition(Vec2 *one, Vec2 *two); // 800DB680
- void setPosition(float x1, float x2, float y1, float y2); // 800DB6E0
+ void setPosition(float x1, float y1, float x2, float y2); // 800DB6E0
Vec2 left, right;
};
@@ -2286,12 +2286,16 @@ public: };
+struct EntityDeathInfo {
+ float xSpeed, ySpeed, maxYSpeed, yAccel;
+ dStateBase_c *state;
+ u32 _14, _18;
+ u8 _1C, _1D, isDead;
+};
+
class dEn_c : public dActorMultiState_c {
public:
- float _414, _418, _41C, _420;
- void *nextState;
- u32 _428, _42C;
- u8 _430, _431, isDead;
+ EntityDeathInfo deathInfo;
u32 _434;
u16 _438;
u32 _43C;
@@ -2319,9 +2323,9 @@ public: dEn_c();
int afterCreate(int);
- int beforeExecute(int);
+ int beforeExecute();
int afterExecute(int);
- int beforeDraw(int);
+ int beforeDraw();
void kill();
@@ -2460,6 +2464,8 @@ public: void checkLiquidImmersionAndKillIfTouchingLava(Vec *pos, float effectScale);
void checkLiquidImmersion(Vec2 *effectivePosition, float effectScale);
+ void killWithSpecifiedState(dStageActor_c *killedBy, VEC2 *effectiveSpeed, dStateBase_c *state, u32 _unused=0);
+
// States
USING_STATES(dEn_c);
REF_NINTENDO_STATE(DieFumi);
|