diff options
author | aap <aap@papnet.eu> | 2020-05-05 23:27:43 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-05 23:27:43 +0200 |
commit | 68d3ea9c42f985077d34174f937dbf520d9493e8 (patch) | |
tree | 8ab10b1aacea87ed8dde3b172e4a00fae51eb4a3 /src/core/Game.h | |
parent | Fix appveyour (diff) | |
download | re3-68d3ea9c42f985077d34174f937dbf520d9493e8.tar re3-68d3ea9c42f985077d34174f937dbf520d9493e8.tar.gz re3-68d3ea9c42f985077d34174f937dbf520d9493e8.tar.bz2 re3-68d3ea9c42f985077d34174f937dbf520d9493e8.tar.lz re3-68d3ea9c42f985077d34174f937dbf520d9493e8.tar.xz re3-68d3ea9c42f985077d34174f937dbf520d9493e8.tar.zst re3-68d3ea9c42f985077d34174f937dbf520d9493e8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Game.h | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/src/core/Game.h b/src/core/Game.h index eacf5141..1b8fcb0a 100644 --- a/src/core/Game.h +++ b/src/core/Game.h @@ -3,9 +3,30 @@ enum eLevelName { LEVEL_IGNORE = -1, // beware, this is only used in CPhysical's m_nZoneLevel LEVEL_NONE = 0, - LEVEL_INDUSTRIAL, - LEVEL_COMMERCIAL, - LEVEL_SUBURBAN + LEVEL_BEACH, + LEVEL_MAINLAND +}; + +enum eAreaName { + AREA_MAIN_MAP, + AREA_HOTEL, + AREA_MANSION, + AREA_BANK, + AREA_MALL, + AREA_STRIP_CLUB, + AREA_LAWYERS, + AREA_COFFEE_SHOP, + AREA_CONCERT_HALL, + AREA_STUDIO, + AREA_RIFLE_RANGE, + AREA_BIKER_BAR, + AREA_POLICE_STATION, + AREA_EVERYWHERE, + AREA_DIRT, + AREA_BLOOD, + AREA_OVALRING, + AREA_MALIBU_CLUB, + AREA_PRINT_WORKS }; class CGame @@ -43,3 +64,5 @@ public: static void DrasticTidyUpMemory(bool); static void ProcessTidyUpMemory(void); }; + +inline bool IsAreaVisible(int area) { return area == CGame::currArea || area == AREA_EVERYWHERE; } |