summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/ModelIndices.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-08-02 20:04:15 +0200
committeraap <aap@papnet.eu>2021-08-02 20:05:39 +0200
commit0338d4c393f45cd6aede7bc24190f9558c4a6f94 (patch)
tree564ba651a4992f65888f6d0760ee5fdfc436b23b /src/modelinfo/ModelIndices.h
parentMerge branch 'miami' into lcs (diff)
downloadre3-0338d4c393f45cd6aede7bc24190f9558c4a6f94.tar
re3-0338d4c393f45cd6aede7bc24190f9558c4a6f94.tar.gz
re3-0338d4c393f45cd6aede7bc24190f9558c4a6f94.tar.bz2
re3-0338d4c393f45cd6aede7bc24190f9558c4a6f94.tar.lz
re3-0338d4c393f45cd6aede7bc24190f9558c4a6f94.tar.xz
re3-0338d4c393f45cd6aede7bc24190f9558c4a6f94.tar.zst
re3-0338d4c393f45cd6aede7bc24190f9558c4a6f94.zip
Diffstat (limited to '')
-rw-r--r--src/modelinfo/ModelIndices.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/modelinfo/ModelIndices.h b/src/modelinfo/ModelIndices.h
index 317ac679..ebb07c7a 100644
--- a/src/modelinfo/ModelIndices.h
+++ b/src/modelinfo/ModelIndices.h
@@ -1293,6 +1293,15 @@ IsLampPost(int16 id)
}
inline bool
+IsLCSTrafficLight(int16 id)
+{
+ return id == MI_TLIGHT_POST ||
+ id == MI_TLIGHT_WALK ||
+ id == MI_TLIGHT_BOX1 ||
+ id == MI_TLIGHT_BOX2;
+}
+
+inline bool
IsBodyPart(int16 id)
{
return id == MI_BODYPARTA || id == MI_BODYPARTB;