summaryrefslogtreecommitdiff
path: root/include/game.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-02-23 05:42:54 +0100
committerTreeki <treeki@gmail.com>2012-02-23 05:42:54 +0100
commit01abdde918a73b95409b2cae4a5492b9ffc9134f (patch)
treed8087aefb73980424ef80b3adee0661882257e30 /include/game.h
parentd2dcf3250ea5e9e2197c8f640d2a2cf8c963f74d (diff)
downloadkamek-01abdde918a73b95409b2cae4a5492b9ffc9134f.tar.gz
kamek-01abdde918a73b95409b2cae4a5492b9ffc9134f.zip
header updates
Diffstat (limited to '')
-rwxr-xr-xinclude/game.h27
1 files changed, 19 insertions, 8 deletions
diff --git a/include/game.h b/include/game.h
index 9dd1605..ccc8fee 100755
--- a/include/game.h
+++ b/include/game.h
@@ -370,7 +370,8 @@ class mMtx {
operator MtxPtr() const { return (MtxPtr)this; }
/* Create New Ones */
- void identity();
+ void zero();
+ void identity() { MTXIdentity(data); }
void translation(float x, float y, float z) { MTXTrans(data, x, y, z); }
void scale(float x, float y, float z) { MTXScale(data, x, y, z); }
@@ -1095,7 +1096,9 @@ public:
dActor_c *owner;
Physics *next, *prev;
- u32 _C, _10, _14, _18, _1C, _20, _24, _28, _2C, _30, _34, _38, _3C;
+ u32 _C, _10, _14, _18, _1C, _20, _24, _28, _2C, _30, _34;
+ void *somePlayer;
+ u32 _3C;
void *otherCallback1, *otherCallback2, *otherCallback3;
void *callback1, *callback2, *callback3;
float lastX, lastY;
@@ -1201,8 +1204,8 @@ public:
void addToList();
void removeFromList();
- void initWithStruct(dActor_c *owner, Info *info);
- void initWithStruct(dActor_c *owner, Info *info, u8 clMode);
+ void initWithStruct(dActor_c *owner, const Info *info);
+ void initWithStruct(dActor_c *owner, const Info *info, u8 clMode);
u16 checkResult1(u16 param);
u16 checkResult3(u16 param);
@@ -1373,12 +1376,16 @@ public:
//FIXME params and returns and add more
void Clear1();
void Clear2();
- void Init(dStageActor_c*,u8*,u8*,u8*);
+ void Init(dStageActor_c*,const u8*,const u8*,const u8*);
void Clear3();
- int CollidedWithTile();
- int SomethingSemiImportant(int);
- int s_80072BC0();
+ bool CollidedWithTile();
+ int SomethingSemiImportant(u32);
+ u32 execute();
+
+ u32 s_8006FA40(void *);
+ u32 s_80070760();
+ bool s_800707E0();
dStageActor_c* owner;
void* struct1_ptr;
@@ -1917,6 +1924,10 @@ public:
void doSpriteMovement();
bool CheckIfPlayerBelow(float,float);
+ void stuffRelatingToCollisions(float, float, float);
+
+ void checkLiquidImmersionAndKillIfTouchingLava(Vec *pos, float effectScale);
+
// States
USING_STATES(dEn_c);
REF_NINTENDO_STATE(DieFumi);