diff options
author | aap <aap@papnet.eu> | 2019-05-17 14:08:18 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-05-17 14:08:18 +0200 |
commit | 5b8f20b08e6a40e2b07df73e90c5e84e259140fe (patch) | |
tree | d8c5977bb4fda8c2521fad3810e4436f1bdf2127 /src/modelinfo | |
parent | renames and a fix (diff) | |
download | re3-5b8f20b08e6a40e2b07df73e90c5e84e259140fe.tar re3-5b8f20b08e6a40e2b07df73e90c5e84e259140fe.tar.gz re3-5b8f20b08e6a40e2b07df73e90c5e84e259140fe.tar.bz2 re3-5b8f20b08e6a40e2b07df73e90c5e84e259140fe.tar.lz re3-5b8f20b08e6a40e2b07df73e90c5e84e259140fe.tar.xz re3-5b8f20b08e6a40e2b07df73e90c5e84e259140fe.tar.zst re3-5b8f20b08e6a40e2b07df73e90c5e84e259140fe.zip |
Diffstat (limited to 'src/modelinfo')
-rw-r--r-- | src/modelinfo/ModelIndices.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/modelinfo/ModelIndices.h b/src/modelinfo/ModelIndices.h index 5de10558..f008543e 100644 --- a/src/modelinfo/ModelIndices.h +++ b/src/modelinfo/ModelIndices.h @@ -205,6 +205,16 @@ enum MI_RHINO = 122, MI_COACH = 127, + MI_RCBANDIT = 131, + + MI_CAR_DOOR = 190, + MI_CAR_BUMPER, + MI_CAR_PANEL, + MI_CAR_BONNET, + MI_CAR_BOOT, + MI_CAR_WEEL, + MI_BODYPARTA, + MI_BODYPARTB, }; void InitModelIndices(void); @@ -222,3 +232,19 @@ IsGlass(int16 id) id == MI_GLASS7 || id == MI_GLASS8; } + +inline bool +IsTrafficLight(int16 id) +{ + return id == MI_TRAFFICLIGHTS || + id == MI_SINGLESTREETLIGHTS1 || + id == MI_SINGLESTREETLIGHTS2 || + id == MI_SINGLESTREETLIGHTS3 || + id == MI_DOUBLESTREETLIGHTS; +} + +inline bool +IsBodyPart(int16 id) +{ + return id == MI_BODYPARTA || id == MI_BODYPARTB; +} |