diff options
author | aap <aap@papnet.eu> | 2021-08-04 13:56:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-04 13:56:22 +0200 |
commit | 1cfd4f741e7472775e2ee3919a8811b7ab28e75b (patch) | |
tree | 564ba651a4992f65888f6d0760ee5fdfc436b23b /src/modelinfo/ModelIndices.h | |
parent | Merge branch 'miami' into lcs (diff) | |
parent | CPhysical almost done (diff) | |
download | re3-1cfd4f741e7472775e2ee3919a8811b7ab28e75b.tar re3-1cfd4f741e7472775e2ee3919a8811b7ab28e75b.tar.gz re3-1cfd4f741e7472775e2ee3919a8811b7ab28e75b.tar.bz2 re3-1cfd4f741e7472775e2ee3919a8811b7ab28e75b.tar.lz re3-1cfd4f741e7472775e2ee3919a8811b7ab28e75b.tar.xz re3-1cfd4f741e7472775e2ee3919a8811b7ab28e75b.tar.zst re3-1cfd4f741e7472775e2ee3919a8811b7ab28e75b.zip |
Diffstat (limited to 'src/modelinfo/ModelIndices.h')
-rw-r--r-- | src/modelinfo/ModelIndices.h | 9 |
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; |