summaryrefslogtreecommitdiffstats
path: root/src/core/Game.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-06 00:11:18 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-06 00:11:18 +0200
commite5da4c2b4de20397d52837ddaf6e482d88819757 (patch)
treed76515de66ca5d119dc8c7dce7fc99746c734831 /src/core/Game.h
parentscript colstore stuff (diff)
parentgetting the vice city map to work (diff)
downloadre3-e5da4c2b4de20397d52837ddaf6e482d88819757.tar
re3-e5da4c2b4de20397d52837ddaf6e482d88819757.tar.gz
re3-e5da4c2b4de20397d52837ddaf6e482d88819757.tar.bz2
re3-e5da4c2b4de20397d52837ddaf6e482d88819757.tar.lz
re3-e5da4c2b4de20397d52837ddaf6e482d88819757.tar.xz
re3-e5da4c2b4de20397d52837ddaf6e482d88819757.tar.zst
re3-e5da4c2b4de20397d52837ddaf6e482d88819757.zip
Diffstat (limited to 'src/core/Game.h')
-rw-r--r--src/core/Game.h29
1 files changed, 26 insertions, 3 deletions
diff --git a/src/core/Game.h b/src/core/Game.h
index 2bd468ba..062b9612 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
};
enum eVisibilityArea
@@ -66,3 +87,5 @@ public:
static void DrasticTidyUpMemory(bool);
static void ProcessTidyUpMemory(void);
};
+
+inline bool IsAreaVisible(int area) { return area == CGame::currArea || area == AREA_EVERYWHERE; }