summaryrefslogtreecommitdiff
path: root/include/game.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-02-07 04:42:33 +0100
committerTreeki <treeki@gmail.com>2012-02-07 04:42:33 +0100
commitc6192702e683e1557f6fcc4393cab6363fd1bc0a (patch)
tree6ed3c04fb1427bc8adae139552b66f9e6a46e522 /include/game.h
parent71dead0e23b18b7be58e74755cfe95fabda85a21 (diff)
downloadkamek-c6192702e683e1557f6fcc4393cab6363fd1bc0a.tar.gz
kamek-c6192702e683e1557f6fcc4393cab6363fd1bc0a.zip
lots of header updates, plus a new dCourse.h
Diffstat (limited to '')
-rwxr-xr-xinclude/game.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/game.h b/include/game.h
index 27504d9..a7bafac 100755
--- a/include/game.h
+++ b/include/game.h
@@ -343,6 +343,17 @@ public:
};
+// No idea if these actually exist or not
+class mRect {
+ public:
+ float x, y, width, height;
+};
+
+class mRect16 {
+ public:
+ short x, y, width, height;
+};
+
class mMtx {
Mtx data;
@@ -1046,6 +1057,8 @@ public:
u8 getUnkByte();
+ bool isInList() { return (list1 != 0); }
+
class List {
public:
u32 count;
@@ -1098,6 +1111,7 @@ public:
s16 rotDiffAlt;
u32 isRound;
u32 _CC;
+ // Flag 4 is icy
u32 flagsMaybe;
u32 _D4, _D8;
u8 isAddedToList, _DD, layer;
@@ -2535,6 +2549,14 @@ extern float GlobalScreenWidth, GlobalScreenHeight;
extern u32 GlobalTickCount;
+// A hack, imported from tilesetfixer.cpp
+extern void *BGDatClass, *StagePtr;
+inline int GetAreaNum() {
+ char *st = (char*)StagePtr;
+ return st[0x120E];
+}
+
+
#endif