summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-03-24 22:45:13 +0100
committerTreeki <treeki@gmail.com>2012-03-24 22:45:13 +0100
commitfbf73be7ef8301803fce6eeb1e4c355a113210e2 (patch)
treea97c59758cf408c5c1c53fd842aaf685c9fb868c /include
parent393be37f168ba7bca4d471993aaf0899a4afc16b (diff)
downloadkamek-fbf73be7ef8301803fce6eeb1e4c355a113210e2.tar.gz
kamek-fbf73be7ef8301803fce6eeb1e4c355a113210e2.zip
ClassWithCameraInfo defined
Diffstat (limited to '')
-rwxr-xr-xinclude/game.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/include/game.h b/include/game.h
index 14d61ad..efe5fa6 100755
--- a/include/game.h
+++ b/include/game.h
@@ -2871,5 +2871,45 @@ inline int GetAreaNum() {
+class ClassWithCameraInfo {
+ public:
+ ClassWithCameraInfo();
+ virtual ~ClassWithCameraInfo();
+
+ // Not quite sure what this is for, stores bitflags for each tile or something?
+ void initBitfields();
+ void deinitBitfields();
+ void deleteOneBitfield(int area, int layer);
+
+ u16 getBitfieldPart(int area, u16 entryIndex, int layer);
+ void setBitfieldPart(int area, u16 entryIndex, int layer, u16 value);
+
+
+ void setSomeInitialVars();
+
+ void s_80082180(); // sets initedTo2 to 0, 1 or 2 depending on the X position
+ void s_800821E0(); // same thing for field_81
+
+ float getEffectiveScreenLeft(); // takes wrap into account
+
+
+ u16 *tileBitfields[12];
+ float _34, screenLeft, screenTop, screenWidth, screenHeight;
+ float screenCentreX, screenCentreY;
+
+ float _50, _54, _58, _5C, _60, _64, _68, _6C, _70, _74;
+ float xOffset, yOffsetForTagScroll;
+
+ u8 initedTo2, _81;
+ u32 _84, _88, _8C, _90;
+ void *bgHeap;
+
+
+ static ClassWithCameraInfo *instance;
+
+ // That is all
+};
+
+
#endif