d_menu_dmap_map equivalent / update dtk-template (#2409)

* d_menu_dmap_map equivalent

* update dtk-template
This commit is contained in:
TakaRikka
2025-04-23 10:08:13 +03:00
committed by GitHub
parent d3bf501777
commit 556bfc958c
625 changed files with 4139 additions and 3529 deletions
+11
View File
@@ -17,6 +17,7 @@ public:
/* 8003FB70 */ static void create();
/* 8003FBD0 */ static void reset();
/* 8003FC70 */ static void remove();
static dDrawPath_c::room_class* getRoomPointer(int layerNo, int roomNo) {
return mLayerList->mRooms[layerNo][roomNo];
}
@@ -26,6 +27,12 @@ public:
static f32 getMaxX() { return mMaxX; }
static f32 getMaxZ() { return mMaxZ; }
static f32 getSizeX() { return mAllSizeX; }
static f32 getSizeZ() { return mAllSizeZ; }
static f32 getCenterX() { return mAllCenterX; }
static f32 getCenterZ() { return mAllCenterZ; }
static dDrawPath_c::layer_data* mLayerList; // this doesn't seem right, but can't figure it out atm
static f32 mMinX;
static f32 mMaxX;
@@ -76,6 +83,10 @@ public:
return floor_no;
}
static u8 getNowStayFloorNoDecisionFlg() {
return mNowStayFloorNoDecisionFlg;
}
static void setNextRoomNoForMapPat0(int i_roomNo) { mNextRoomNo = i_roomNo; }
static int getNextRoomNoForMapPat0() { return mNextRoomNo; }