summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/ModelIndices.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-22 14:27:16 +0200
committeraap <aap@papnet.eu>2020-05-22 14:27:16 +0200
commita53ca58e566ffceb058451bc49bcc5810c26cb37 (patch)
tree1c58219ab89f84dacbc706205ff9eac88f8ce75f /src/modelinfo/ModelIndices.h
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
downloadre3-a53ca58e566ffceb058451bc49bcc5810c26cb37.tar
re3-a53ca58e566ffceb058451bc49bcc5810c26cb37.tar.gz
re3-a53ca58e566ffceb058451bc49bcc5810c26cb37.tar.bz2
re3-a53ca58e566ffceb058451bc49bcc5810c26cb37.tar.lz
re3-a53ca58e566ffceb058451bc49bcc5810c26cb37.tar.xz
re3-a53ca58e566ffceb058451bc49bcc5810c26cb37.tar.zst
re3-a53ca58e566ffceb058451bc49bcc5810c26cb37.zip
Diffstat (limited to '')
-rw-r--r--src/modelinfo/ModelIndices.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/modelinfo/ModelIndices.h b/src/modelinfo/ModelIndices.h
index b8c6964a..dd37b57d 100644
--- a/src/modelinfo/ModelIndices.h
+++ b/src/modelinfo/ModelIndices.h
@@ -400,6 +400,18 @@ IsLightThatNeedsRepositioning(int16 id)
}
inline bool
+IsLightObject(int16 id)
+{
+ return id == MI_TRAFFICLIGHTS_MIAMI ||
+ id == MI_MLAMPPOST ||
+ id == MI_SINGLESTREETLIGHTS1 ||
+ id == MI_SINGLESTREETLIGHTS2 ||
+ id == MI_SINGLESTREETLIGHTS3 ||
+ id == MI_DOUBLESTREETLIGHTS ||
+ id == MI_TRAFFICLIGHTS_TWOVERTICAL;
+}
+
+inline bool
IsBodyPart(int16 id)
{
return id == MI_BODYPARTA || id == MI_BODYPARTB;
@@ -455,7 +467,8 @@ inline bool
IsExplosiveThingModel(int16 id)
{
return id == MI_EXPLODINGBARREL ||
- id == MI_PETROLPUMP;
+ id == MI_PETROLPUMP ||
+ id == MI_PETROLPUMP2;
}
inline bool