diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-11 15:14:56 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-11 15:14:56 +0100 |
commit | 625376f0d3df0afc6ec61359175ba64ca904cfa0 (patch) | |
tree | 45e809967a265c2809bb78b7e67ad0187a3e7885 /src/control/Script2.cpp | |
parent | script2 (diff) | |
download | re3-625376f0d3df0afc6ec61359175ba64ca904cfa0.tar re3-625376f0d3df0afc6ec61359175ba64ca904cfa0.tar.gz re3-625376f0d3df0afc6ec61359175ba64ca904cfa0.tar.bz2 re3-625376f0d3df0afc6ec61359175ba64ca904cfa0.tar.lz re3-625376f0d3df0afc6ec61359175ba64ca904cfa0.tar.xz re3-625376f0d3df0afc6ec61359175ba64ca904cfa0.tar.zst re3-625376f0d3df0afc6ec61359175ba64ca904cfa0.zip |
Diffstat (limited to 'src/control/Script2.cpp')
-rw-r--r-- | src/control/Script2.cpp | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/src/control/Script2.cpp b/src/control/Script2.cpp index 6a31b65b..5cac2bfd 100644 --- a/src/control/Script2.cpp +++ b/src/control/Script2.cpp @@ -33,35 +33,35 @@ int8 CRunningScript::ProcessCommands300To399(int32 command) { switch (command) { - //case COMMAND_SET_CHAR_INVINCIBLE: - //case COMMAND_SET_PLAYER_INVINCIBLE: - //case COMMAND_SET_CHAR_GRAPHIC_TYPE: - //case COMMAND_SET_PLAYER_GRAPHIC_TYPE: + //case COMMAND_SET_CHAR_INVINCIBLE: + //case COMMAND_SET_PLAYER_INVINCIBLE: + //case COMMAND_SET_CHAR_GRAPHIC_TYPE: + //case COMMAND_SET_PLAYER_GRAPHIC_TYPE: case COMMAND_HAS_PLAYER_BEEN_ARRESTED: CollectParameters(&m_nIp, 1); UpdateCompareFlag(CWorld::Players[GET_INTEGER_PARAM(0)].m_WBState == WBSTATE_BUSTED); return 0; - //case COMMAND_STOP_CHAR_DRIVING: - //case COMMAND_KILL_CHAR: - //case COMMAND_SET_FAVOURITE_CAR_MODEL_FOR_CHAR: - //case COMMAND_SET_CHAR_OCCUPATION: - /* - case COMMAND_CHANGE_CAR_LOCK: - { - CollectParameters(&m_nIp, 2); - CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(GET_INTEGER_PARAM(0)); - script_assert(pVehicle); - pVehicle->m_nDoorLock = (eCarLock)GET_INTEGER_PARAM(1); - return 0; - } - case COMMAND_SHAKE_CAM_WITH_POINT: - CollectParameters(&m_nIp, 4); - TheCamera.CamShake(GET_INTEGER_PARAM(0) / 1000.0f, - GET_FLOAT_PARAM(1), - GET_FLOAT_PARAM(2), - GET_FLOAT_PARAM(3)); - return 0; - */ + //case COMMAND_STOP_CHAR_DRIVING: + //case COMMAND_KILL_CHAR: + //case COMMAND_SET_FAVOURITE_CAR_MODEL_FOR_CHAR: + //case COMMAND_SET_CHAR_OCCUPATION: + /* + case COMMAND_CHANGE_CAR_LOCK: + { + CollectParameters(&m_nIp, 2); + CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(GET_INTEGER_PARAM(0)); + script_assert(pVehicle); + pVehicle->m_nDoorLock = (eCarLock)GET_INTEGER_PARAM(1); + return 0; + } + case COMMAND_SHAKE_CAM_WITH_POINT: + CollectParameters(&m_nIp, 4); + TheCamera.CamShake(GET_INTEGER_PARAM(0) / 1000.0f, + GET_FLOAT_PARAM(1), + GET_FLOAT_PARAM(2), + GET_FLOAT_PARAM(3)); + return 0; + */ case COMMAND_IS_CAR_MODEL: { CollectParameters(&m_nIp, 2); |