summaryrefslogtreecommitdiff
path: root/include/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/game.h')
-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