summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-17 23:20:26 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-17 23:20:26 +0200
commitad8a8913d92b37aa79f467c6f24468947dfee919 (patch)
tree78897348917645872d4763375e6b58d38a047145 /src/control
parentsync with upstream (diff)
downloadre3-ad8a8913d92b37aa79f467c6f24468947dfee919.tar
re3-ad8a8913d92b37aa79f467c6f24468947dfee919.tar.gz
re3-ad8a8913d92b37aa79f467c6f24468947dfee919.tar.bz2
re3-ad8a8913d92b37aa79f467c6f24468947dfee919.tar.lz
re3-ad8a8913d92b37aa79f467c6f24468947dfee919.tar.xz
re3-ad8a8913d92b37aa79f467c6f24468947dfee919.tar.zst
re3-ad8a8913d92b37aa79f467c6f24468947dfee919.zip
Diffstat (limited to '')
-rw-r--r--src/control/Script.cpp18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 6dbfdc43..42468f48 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -10140,7 +10140,13 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command)
//CStreaming::RemoveBuildingsNotInArea(ScriptParams[0]);
return 0;
case COMMAND_SET_CUTSCENE_ANIM_TO_LOOP:
- assert(0);
+ {
+ char key[KEY_LENGTH_IN_SCRIPT];
+ CTheScripts::ReadTextLabelFromScript(&m_nIp, key);
+ m_nIp += KEY_LENGTH_IN_SCRIPT;
+ debug("SET_CUTSCENE_ANIM_TO_LOOP not implemented yet, skipping\n");
+ return 0;
+ }
case COMMAND_MARK_CAR_AS_CONVOY_CAR:
{
CollectParameters(&m_nIp, 2);
@@ -10406,7 +10412,12 @@ int8 CRunningScript::ProcessCommands1300To1399(int32 command)
case COMMAND_SET_PROPERTY_AS_OWNED:
case COMMAND_ADD_BLOOD_RING_KILLS:
case COMMAND_SET_LONGEST_TIME_IN_BLOOD_RING:
+ assert(0);
case COMMAND_REMOVE_EVERYTHING_FOR_HUGE_CUTSCENE:
+ {
+ debug("REMOVE_EVERYTHING_FOR_HUGE_CUTSCENE not implemented, skipping\n");
+ return 0;
+ }
case COMMAND_IS_PLAYER_TOUCHING_VEHICLE:
case COMMAND_IS_CHAR_TOUCHING_VEHICLE:
case COMMAND_CHECK_FOR_PED_MODEL_AROUND_PLAYER:
@@ -10666,6 +10677,11 @@ int8 CRunningScript::ProcessCommands1400To1499(int32 command)
return 0;
}
case COMMAND_SET_SHORTCUT_DROPOFF_POINT_FOR_MISSION:
+ {
+ CollectParameters(&m_nIp, 4);
+ debug("SET_SHORTCUT_DROPOFF_POINT_FOR_MISSION not implemented, skipping");
+ return 0;
+ }
case COMMAND_GET_RANDOM_ICE_CREAM_CUSTOMER_IN_AREA:
case COMMAND_GET_RANDOM_ICE_CREAM_CUSTOMER_IN_ZONE:
case COMMAND_UNLOCK_ALL_CAR_DOORS_IN_AREA: