diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-07-22 21:26:01 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-07-22 21:26:01 -0500 |
commit | 248e7915227efa19a443f22aa6f80fe52a5a3b3a (patch) | |
tree | 7dcfa8829f4ce8277fb606022b0ad8bbee2c0741 /src/koopatlas/mapdata.h | |
parent | 873b0352478f0bf27ee3123e46d3bae5cb2720fb (diff) | |
download | kamek-248e7915227efa19a443f22aa6f80fe52a5a3b3a.tar.gz kamek-248e7915227efa19a443f22aa6f80fe52a5a3b3a.zip |
Added node model rendering junk - non working.
Diffstat (limited to 'src/koopatlas/mapdata.h')
-rw-r--r-- | src/koopatlas/mapdata.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/koopatlas/mapdata.h b/src/koopatlas/mapdata.h index 6739086..f3739a0 100644 --- a/src/koopatlas/mapdata.h +++ b/src/koopatlas/mapdata.h @@ -76,9 +76,9 @@ struct dKPNode_s { // The union is placed at the very end so we can leave out padding in the // kpbin union { - struct { u8 levelNumber[2]; }; + // struct { u8 levelNumber[2]; }; // FORWARDS COMPATIBILITY: - // struct { u8 levelNumber[2]; bool hasSecret; }; + struct { u8 levelNumber[2]; bool hasSecret; }; struct { const char *destMap; u8 thisID, foreignID, transition, _; }; }; @@ -90,6 +90,7 @@ struct dKPNode_s { } bool isUnlocked(); + void setupNodeExtra(); dKPPath_s *getOppositeExitTo(dKPPath_s *path); }; @@ -213,7 +214,6 @@ class dKPMapData_c { dKPLayer_s *pathLayer; dDvdLoader_c bgLoader; - dDvdLoader_c nodeLoader; dKPNodeExtra_c *levelNodeExtraArray; @@ -226,6 +226,7 @@ class dKPMapData_c { // Currently only available for LEVEL nodes class dKPNodeExtra_c { public: + mHeapAllocator_c mallocator; mMtx matrix; m3d::mdl_c model; }; |