summaryrefslogtreecommitdiffstats
path: root/src/core/ZoneCull.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-08-21 13:28:33 +0200
committeraap <aap@papnet.eu>2020-08-21 13:28:33 +0200
commit13c34b0863ddf6b4d55f5ff373c10252c4321f2b (patch)
treee0d0bddcac9da46e241956b48ebd7e5ee022d669 /src/core/ZoneCull.h
parentfix streaming bug (diff)
downloadre3-13c34b0863ddf6b4d55f5ff373c10252c4321f2b.tar
re3-13c34b0863ddf6b4d55f5ff373c10252c4321f2b.tar.gz
re3-13c34b0863ddf6b4d55f5ff373c10252c4321f2b.tar.bz2
re3-13c34b0863ddf6b4d55f5ff373c10252c4321f2b.tar.lz
re3-13c34b0863ddf6b4d55f5ff373c10252c4321f2b.tar.xz
re3-13c34b0863ddf6b4d55f5ff373c10252c4321f2b.tar.zst
re3-13c34b0863ddf6b4d55f5ff373c10252c4321f2b.zip
Diffstat (limited to 'src/core/ZoneCull.h')
-rw-r--r--src/core/ZoneCull.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/core/ZoneCull.h b/src/core/ZoneCull.h
index aae06ca0..8200b09a 100644
--- a/src/core/ZoneCull.h
+++ b/src/core/ZoneCull.h
@@ -10,8 +10,9 @@ enum eZoneAttribs
ATTRZONE_NOTCULLZONE = 0x20,
ATTRZONE_DOINEEDCOLLISION = 0x40,
ATTRZONE_SUBWAYVISIBLE = 0x80,
-
- ATTRZONE_WATERFUDGE = 0x400,
+ ATTRZONE_POLICEABANDONCARS = 0x100,
+ ATTRZONE_ROOMFORAUDIO = 0x200,
+ ATTRZONE_WATERFUDGE = 0x400,
};
struct CAttributeZone
@@ -36,9 +37,11 @@ public:
static int32 CurrentFlags_Camera;
static int32 CurrentFlags_Player;
static bool bCurrentSubwayIsInvisible;
+ static bool bAtBeachForAudio;
static void Init(void);
static void Update(void);
+ static void UpdateAtBeachForAudio(void);
static void ForceCullZoneCoors(CVector coors);
static int32 FindAttributesForCoors(CVector coors, int32 *wantedLevel);
static CAttributeZone *FindZoneWithStairsAttributeForPlayer(void);
@@ -55,9 +58,8 @@ public:
static bool DoINeedToLoadCollision(void) { return (CurrentFlags_Player & ATTRZONE_DOINEEDCOLLISION) != 0; }
static bool PlayerNoRain(void) { return (CurrentFlags_Player & ATTRZONE_NORAIN) != 0; }
static bool CamNoRain(void) { return (CurrentFlags_Camera & ATTRZONE_NORAIN) != 0; }
+ static bool PoliceAbandonCars(void) { return (CurrentFlags_Camera & ATTRZONE_POLICEABANDONCARS) != 0; }
+ static bool InRoomForAudio(void) { return (CurrentFlags_Camera & ATTRZONE_ROOMFORAUDIO) != 0; }
static bool WaterFudge(void) { return (CurrentFlags_Camera & ATTRZONE_WATERFUDGE) != 0; }
static int32 GetWantedLevelDrop(void) { return CurrentWantedLevelDrop_Player; }
-
- //--MIAMI: TODO
- static bool PoliceAbandonCars(void) { return false; }
};