summaryrefslogtreecommitdiffstats
path: root/src/core/ZoneCull.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-28 10:23:28 +0200
committerGitHub <noreply@github.com>2020-05-28 10:23:28 +0200
commitab7a21e017b8df907c381bb63709c121e3fcb297 (patch)
treeb800e4de4813630b7fbb64c6bb6a97e858894896 /src/core/ZoneCull.h
parentcockbuilding ejaculation fix (diff)
parentrem unnecessary asserts (diff)
downloadre3-ab7a21e017b8df907c381bb63709c121e3fcb297.tar
re3-ab7a21e017b8df907c381bb63709c121e3fcb297.tar.gz
re3-ab7a21e017b8df907c381bb63709c121e3fcb297.tar.bz2
re3-ab7a21e017b8df907c381bb63709c121e3fcb297.tar.lz
re3-ab7a21e017b8df907c381bb63709c121e3fcb297.tar.xz
re3-ab7a21e017b8df907c381bb63709c121e3fcb297.tar.zst
re3-ab7a21e017b8df907c381bb63709c121e3fcb297.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