diff options
Diffstat (limited to 'src/koopatlas/mapdata.h')
-rw-r--r-- | src/koopatlas/mapdata.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/koopatlas/mapdata.h b/src/koopatlas/mapdata.h index 9f40433..6739086 100644 --- a/src/koopatlas/mapdata.h +++ b/src/koopatlas/mapdata.h @@ -7,6 +7,8 @@ // forward declarations struct dKPLayer_s; +class dKPNodeExtra_c; + /****************************************************************************** * Doodads ******************************************************************************/ @@ -68,6 +70,11 @@ struct dKPNode_s { dKPLayer_s *tileLayer, *doodadLayer; NodeTypes type; + + dKPNodeExtra_c *extra; + + // The union is placed at the very end so we can leave out padding in the + // kpbin union { struct { u8 levelNumber[2]; }; // FORWARDS COMPATIBILITY: @@ -208,10 +215,20 @@ class dKPMapData_c { dDvdLoader_c bgLoader; dDvdLoader_c nodeLoader; + dKPNodeExtra_c *levelNodeExtraArray; + dKPMapData_c(); bool load(const char *filename); ~dKPMapData_c(); }; + +// Currently only available for LEVEL nodes +class dKPNodeExtra_c { + public: + mMtx matrix; + m3d::mdl_c model; +}; + #endif |