From 5b8f20b08e6a40e2b07df73e90c5e84e259140fe Mon Sep 17 00:00:00 2001 From: aap Date: Fri, 17 May 2019 14:08:18 +0200 Subject: reversed CPhysical::ProcessShiftSectorList --- src/modelinfo/ModelIndices.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'src/modelinfo') 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; +} -- cgit v1.2.3