From 248e7915227efa19a443f22aa6f80fe52a5a3b3a Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Sun, 22 Jul 2012 21:26:01 -0500 Subject: Added node model rendering junk - non working. --- src/koopatlas/mapdata.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/koopatlas/mapdata.h') 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; }; -- cgit v1.2.3