summaryrefslogtreecommitdiffstats
path: root/src/core/ZoneCull.h
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-05-27 20:50:01 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2020-05-27 20:50:01 +0200
commit63d0bdc863f76d018fc8cf3209a9210bc71f0421 (patch)
treebdaa4489e204cbad708a03f5d2dab991c8a7f41f /src/core/ZoneCull.h
parentfix linux build (diff)
downloadre3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.tar
re3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.tar.gz
re3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.tar.bz2
re3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.tar.lz
re3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.tar.xz
re3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.tar.zst
re3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.zip
Diffstat (limited to 'src/core/ZoneCull.h')
-rw-r--r--src/core/ZoneCull.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/ZoneCull.h b/src/core/ZoneCull.h
index e76b7a44..aae06ca0 100644
--- a/src/core/ZoneCull.h
+++ b/src/core/ZoneCull.h
@@ -10,6 +10,8 @@ enum eZoneAttribs
ATTRZONE_NOTCULLZONE = 0x20,
ATTRZONE_DOINEEDCOLLISION = 0x40,
ATTRZONE_SUBWAYVISIBLE = 0x80,
+
+ ATTRZONE_WATERFUDGE = 0x400,
};
struct CAttributeZone
@@ -53,6 +55,7 @@ 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 WaterFudge(void) { return (CurrentFlags_Camera & ATTRZONE_WATERFUDGE) != 0; }
static int32 GetWantedLevelDrop(void) { return CurrentWantedLevelDrop_Player; }
//--MIAMI: TODO