diff options
author | aap <aap@papnet.eu> | 2019-05-30 21:24:47 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-05-30 21:24:47 +0200 |
commit | 188aab4196c1d9de0c1bf33be1114e7a0e11fd19 (patch) | |
tree | ff0c0a98ced0ba0bbabf34f5f6b1c0e152dcb194 /src/control/Garages.cpp | |
parent | fixed ped states (diff) | |
download | re3-188aab4196c1d9de0c1bf33be1114e7a0e11fd19.tar re3-188aab4196c1d9de0c1bf33be1114e7a0e11fd19.tar.gz re3-188aab4196c1d9de0c1bf33be1114e7a0e11fd19.tar.bz2 re3-188aab4196c1d9de0c1bf33be1114e7a0e11fd19.tar.lz re3-188aab4196c1d9de0c1bf33be1114e7a0e11fd19.tar.xz re3-188aab4196c1d9de0c1bf33be1114e7a0e11fd19.tar.zst re3-188aab4196c1d9de0c1bf33be1114e7a0e11fd19.zip |
Diffstat (limited to 'src/control/Garages.cpp')
-rw-r--r-- | src/control/Garages.cpp | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/control/Garages.cpp b/src/control/Garages.cpp new file mode 100644 index 00000000..effc13d8 --- /dev/null +++ b/src/control/Garages.cpp @@ -0,0 +1,44 @@ +#include "common.h" +#include "patcher.h" +#include "ModelIndices.h" +#include "Garages.h" + +WRAPPER void CGarages::PrintMessages(void) { EAXJMP(0x426310); } + +bool +CGarages::IsModelIndexADoor(uint32 id) +{ + return id == MI_GARAGEDOOR1 || + id == MI_GARAGEDOOR2 || + id == MI_GARAGEDOOR3 || + id == MI_GARAGEDOOR4 || + id == MI_GARAGEDOOR5 || + id == MI_GARAGEDOOR6 || + id == MI_GARAGEDOOR7 || + id == MI_GARAGEDOOR9 || + id == MI_GARAGEDOOR10 || + id == MI_GARAGEDOOR11 || + id == MI_GARAGEDOOR12 || + id == MI_GARAGEDOOR13 || + id == MI_GARAGEDOOR14 || + id == MI_GARAGEDOOR15 || + id == MI_GARAGEDOOR16 || + id == MI_GARAGEDOOR17 || + id == MI_GARAGEDOOR18 || + id == MI_GARAGEDOOR19 || + id == MI_GARAGEDOOR20 || + id == MI_GARAGEDOOR21 || + id == MI_GARAGEDOOR22 || + id == MI_GARAGEDOOR23 || + id == MI_GARAGEDOOR24 || + id == MI_GARAGEDOOR25 || + id == MI_GARAGEDOOR26 || + id == MI_GARAGEDOOR27 || + id == MI_GARAGEDOOR28 || + id == MI_GARAGEDOOR29 || + id == MI_GARAGEDOOR30 || + id == MI_GARAGEDOOR31 || + id == MI_GARAGEDOOR32 || + id == MI_CRUSHERBODY || + id == MI_CRUSHERLID; +} |