diff options
| author | Aetias <144526980+AetiasHax@users.noreply.github.com> | 2025-07-25 15:59:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-25 15:59:54 +0200 |
| commit | 8ad6359c7d3c7afcbddd7d450b7fa4b9764255b6 (patch) | |
| tree | 09095f8f36375fe4bb358c163d614ebfbc8fe344 /include/Map/Course.hpp | |
| parent | dda45d5574798dc45a31437f473eaa55b9142e13 (diff) | |
ActorSwitchObject OK (#130)
* Map symbol in Game
* ActorSwitchObject OK
* Mark ActorSwitchObject as complete
* Document `mTrapActors`
* Fix FilterActorBase
* Fix regressions
Diffstat (limited to 'include/Map/Course.hpp')
| -rw-r--r-- | include/Map/Course.hpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/Map/Course.hpp b/include/Map/Course.hpp index 569f3765..2cbf8387 100644 --- a/include/Map/Course.hpp +++ b/include/Map/Course.hpp @@ -5,6 +5,7 @@ #include "Map/Course_Unk_c8.hpp" #include "Map/MapData.hpp" +#include "Map/TilePos.hpp" #include "Physics/AABB.hpp" #include "System/SysNew.hpp" @@ -32,11 +33,11 @@ public: /* 004 */ CourseType mType; /* 008 */ unk32 mUnk_008; /* 00c */ char mName[0x10]; - /* 01c */ Vec2b mCurrMapPos; // position in the map grid - /* 01e */ Vec2b mUnk_01e; + /* 01c */ TilePos mCurrMapPos; // position in the map grid + /* 01e */ TilePos mUnk_01e; /* 020 */ u8 mMapGrid[10][10]; - /* 084 */ Vec2b mMainGrid; // part of the grid where you can walk off screen to another map - /* 086 */ Vec2b mMainGridSize; + /* 084 */ TilePos mMainGrid; // part of the grid where you can walk off screen to another map + /* 086 */ TilePos mMainGridSize; /* 088 */ s32 mScreenMapOffsetX; /* 08c */ s32 mScreenMapOffsetY; /* 090 */ unk32 mUnk_090; @@ -68,7 +69,7 @@ public: void func_ov00_0207ca78(unk32 param_2, unk8 param_3, unk32 param_4); bool func_ov00_0207caa8(s32 param_2, unk32 *param_3, unk8 *param_4); unk32 func_ov00_0207cb30(s32 param_2); - static void FindMapGridPos(Vec2b *pos, Course *param_2, u32 map); + TilePos FindMapGridPos(u32 map); Vec3p *FindMapCenter(unk32 map); void func_ov00_0207cbe8(s32 param_2); unk8 func_ov00_0207cc24(s32 param_2); |
