summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/ModelIndices.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-05-19 21:28:10 +0200
committeraap <aap@papnet.eu>2019-05-19 21:28:10 +0200
commitc4f9b9573f1535d3297946fbb5c73393594ffa24 (patch)
tree47acb1934d86d3ab220035258a2345f526c9b922 /src/modelinfo/ModelIndices.h
parentmore work on CPhysical (diff)
downloadre3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar
re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.gz
re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.bz2
re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.lz
re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.xz
re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.zst
re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.zip
Diffstat (limited to 'src/modelinfo/ModelIndices.h')
-rw-r--r--src/modelinfo/ModelIndices.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/modelinfo/ModelIndices.h b/src/modelinfo/ModelIndices.h
index f008543e..d64cf939 100644
--- a/src/modelinfo/ModelIndices.h
+++ b/src/modelinfo/ModelIndices.h
@@ -203,9 +203,14 @@ enum
MI_FATFEMALE01,
MI_FATFEMALE02,
+ MI_PREDATOR = 120,
MI_RHINO = 122,
+ MI_TRAIN = 124,
MI_COACH = 127,
MI_RCBANDIT = 131,
+ MI_SPEEDER = 142,
+ MI_REEFER = 143,
+ MI_GHOST = 150,
MI_CAR_DOOR = 190,
MI_CAR_BUMPER,
@@ -248,3 +253,13 @@ IsBodyPart(int16 id)
{
return id == MI_BODYPARTA || id == MI_BODYPARTB;
}
+
+// This is bad and should perhaps not be used
+inline bool
+IsBoatModel(int16 id)
+{
+ return id == MI_PREDATOR ||
+ id == MI_REEFER ||
+ id == MI_SPEEDER ||
+ id == MI_GHOST;
+}