Skip to content

Commit

Permalink
modes refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
x87 committed Jul 5, 2023
1 parent 8a2b4c0 commit b50c3c8
Show file tree
Hide file tree
Showing 29 changed files with 57 additions and 6,272 deletions.
18 changes: 9 additions & 9 deletions gta3/SCM.INI
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ DATE=2021-11-11
047B=5, sniper_bullet_at %1d% %2d% radius %3d% %4d% sphere %5d%
047C=7, sniper_bullet_at %1d% %2d% %3d% radius %4d% %5d% %6d% sphere %7d%
047D=2,get_number_of_seats_in_model %1d% store_to %2d%
047E=2, player %1d% on_any_bike
047E=1, player %1d% on_any_bike
047F=1, is_char_lying_down %1d%
0480=2, can_char_see_dead_char %1d% %2d%
0481=1,set_enter_car_range_multiplier %1d%
Expand Down Expand Up @@ -1312,17 +1312,17 @@ DATE=2021-11-11
0B05=2,copy_directory %1d% to %2d% ;; IF and SET

; CLEO 2.0 IntOperations.cleo
0B10=3,%3d% = %1d% AND %2d%
0B11=3,%3d% = %1d% OR %2d%
0B12=3,%3d% = %1d% XOR %2d%
0B13=2,%2d% = NOT %1d%
0B14=3,%3d% = %1d% MOD %2d%
0B15=3,%3d% = %1d% SHR %2d%
0B16=3,%3d% = %1d% SHL %2d%
0B10=3,%3d% = %1d% & %2d%
0B11=3,%3d% = %1d% | %2d%
0B12=3,%3d% = %1d% ^ %2d%
0B13=2,%2d% = ~%1d%
0B14=3,%3d% = %1d% % %2d%
0B15=3,%3d% = %1d% >> %2d%
0B16=3,%3d% = %1d% << %2d%
0B17=2,%1d% &= %2d%
0B18=2,%1d% |= %2d%
0B19=2,%1d% ^= %2d%
0B1A=1,~ %1d%
0B1A=1,~%1d%
0B1B=2,%1d% %= %2d%
0B1C=2,%1d% >>= %2d%
0B1D=2,%1d% <<= %2d%
Expand Down
4 changes: 4 additions & 0 deletions gta3/constants.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ false=0
true=1
TIMERA=16@
TIMERB=17@
end
var
TIMERA: int
TIMERB: int
end
26 changes: 13 additions & 13 deletions lcs/LCSSCM.INI
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ DATE=2020-11-11
0053=5,create_player %1d% at %2d% %3d% %4d% store_to %5d%
0054=4,get_player_coordinates %1d% store_to %2d% %3d% %4d%
0055=4,set_player_coordinates %1d% to %2d% %3d% %4d%
0056=6, player %1d% coords %2d% %3d% %4d% %5d% sphere 0
0056=6, player %1d% coords %2d% %3d% %4d% %5d% sphere %6d%
0057=8, player %1d% coords %2d% %3d% %4d% to %5d% %6d% %7d% sphere %8b%
0058=2,%1d% += %2d% ; (int)
0059=2,%1d% += %2d% ; (float)
Expand Down Expand Up @@ -514,8 +514,8 @@ DATE=2020-11-11
026C=1,set_coll_obj_leave_any_car %1d%
026D=2,set_coll_obj_enter_car_as_passenger %1d% vehicle %2d%
026E=2,set_coll_obj_enter_car_as_driver %1d% vehicle %2d%
0271=2,set_coll_obj_destroy_object %1d%
0272=2,set_coll_obj_destroy_car %1d%
0271=1,set_coll_obj_destroy_object %1d%
0272=1,set_coll_obj_destroy_car %1d%
0273=5,set_coll_obj_goto_area_on_foot %1d% point %2d% %3d% to %4d% %5d%
0274=5,set_coll_obj_goto_area_in_car %1d% point %2d% %3d% to %4d% %5d%
0277=3,set_coll_obj %1d% follow_route %2d% %3d%
Expand Down Expand Up @@ -809,7 +809,7 @@ DATE=2020-11-11
042D=2,set_car_avoid_level_transitions %1d% to %2d%
0430=6,clear_area_of_chars %1d% %2d% %3d% to %4d% %5d% %6d%
0431=1,set_total_number_of_missions %1d%
0432=2,convert_metres_to_feet_int %1d% store_to ,%2d%
0432=2,convert_metres_to_feet_int %1d% store_to %2d%
0433=2,register_fastest_time %1h% to %2d%
0434=2,register_highest_score %1d% integer %2d%
0435=3,warp_char_into_car_as_passenger %1d% car %2d% seat %3h%
Expand Down Expand Up @@ -852,7 +852,7 @@ DATE=2020-11-11
046B=2,set_car_stay_in_fast_lane %1d% to %2h%
046C=1,clear_char_last_weapon_damage %1d%
046D=1,clear_car_last_weapon_damage %1d%
046E=10,get_random_cop_in_area %1d% %2d% to %3d% %4d% cop %5h% swat %6h% fbi %7h% army%8h% vice %9h% store_to %10d%
046E=10,get_random_cop_in_area %1d% %2d% to %3d% %4d% cop %5h% swat %6h% fbi %7h% army %8h% vice %9h% store_to %10d%
0470=2,set_car_obj_flee_car %1d% car %2d%
0471=2,get_driver_of_car %1d% store_to %2d%
0472=2,get_number_of_followers %1d% store_to %2d%
Expand Down Expand Up @@ -1078,7 +1078,7 @@ DATE=2020-11-11
0592=4,set_restart_mission_taxi_start %1d% %2d% %3d% angle %4d%
0593=4,set_restart_mission_taxi_destination %1d% %2d% %3d% %4d%
0594=8,get_random_ice_cream_customer_in_area from %1d% %2d% to %3d% %4d% civilian %5h% gang %6h% criminal/prostitute %7h% store_to %8d%
0596=4,unlock_all_car_doors_in_area cornerA %1d% %2d% cornerB %3d%
0596=4,unlock_all_car_doors_in_area cornerA %1d% %2d% cornerB %3d% %4d%
0597=2,set_gang_attack_player_with_cops %1h% flag %2h%
0598=2,set_char_frightened_in_jacked_car %1d% flag %2h%
0599=2,set_vehicle_to_fade_in %1d% to %2h%
Expand All @@ -1094,7 +1094,7 @@ DATE=2020-11-11
05A4=5,get_distance_between_coords_2d_version_b %1d% %2d% and %3d% %4d% store_to %5d%
05A5=7,get_distance_between_coords_3d_version_b %1d% %2d% %3d% and %4d% %5d% %6d% store_to %7d%
05A6=5,get_dot_product_of_2d_vectors %1d% %2d% and %3d% %4d% store_to %5d%
05A7=7,get_dot_product_of_3d_vectors %1d% %2d% and %3d% %4d% store_to %5d%
05A7=7,get_dot_product_of_3d_vectors %1d% %2d% and %3d% %4d% store_to %5d% %6d% %7d%
05A8=3,display_float_value int_2D_coords %1d% %2d% float_value %3d%
05A9=4,display_2_float_values int_2D_coords %1d% %2d% float_values %3d% %4d%
05AA=5,display_3_float_values int_2D_coords %1d% %2d% float_values %3d% %4d% %5d%
Expand All @@ -1112,7 +1112,7 @@ DATE=2020-11-11
05C6=0,return_if_true_and_set_condition_true
05C7=2,unknown_command_ac7b char %1d% flag %2d%
05C8=1,set_rc_heli_height_limit %1d%
05C9=10,create_permanent_corona %1d% at %2d% %3d% %4d% radius %5d% type %6d% enable_lensflare %7d% colour %8d% %9d% %10d% store_to %11d%
05C9=10,create_permanent_corona %1d% at %2d% %3d% %4d% radius %5d% type %6d% enable_lensflare %7d% colour %8d% %9d% store_to %10d%
05CA=1,delete_permanent_corona %1d%
05CB=1, unknown_vehicle_command_532c vehicle %1d%
05CC=1, unknown_vehicle_command_6c1a vehicle %1d%
Expand Down Expand Up @@ -1141,7 +1141,7 @@ DATE=2020-11-11
05E3=6,get_ferry_boarding_space %1d% %2d% %3d% %4d% store_to %5d% %6d%
05E4=2,get_ferry_heading %1d% store_to %2d%
05E5=2,unknown_ferry_command_417d %1d% flag %2d%
05E6=1,complete_door_movement
05E6=1,complete_door_movement %1d%
05E7=2,unknown_command_5271 vehicle %1d% flag %2d%
05E8=0,take_remote_controlled_car_from_player
05E9=0,register_car_sold
Expand Down Expand Up @@ -1173,7 +1173,7 @@ DATE=2020-11-11
0603=0,register_outfit_changed
0604=2,register_street_race_fastest_time race %1d% time %2d%
0605=2,register_street_race_fastest_lap %1d% %2d%
0606=2,register_street_race_best_position %1d%
0606=2,register_street_race_best_position %1d% %2d%
0607=2, has_object_been_damaged_by_weapon %1d% type %2h%
0608=1,clear_object_last_weapon_damage %1d%
0609=4,set_car_initial_rotation_velocity %1d% rotation_velocity %2d% %3d% %4d%
Expand All @@ -1200,11 +1200,11 @@ DATE=2020-11-11
061F=1, build_world_geometry bridge_num %1d%
0620=4,store_building_swap %1d% %2d% %3d% %4d% ; nop
0621=0, unknown_command_8554
0622=1,unknown_command_3821 store_to 5@
0622=1,unknown_command_3821 store_to %1d%
0623=0,multiplayer_script_done
0624=0, unknown_command_842e
0625=0, unknown_command_748a
0626=1,unknown_command_7dea store_to 5@
0626=1,unknown_command_7dea store_to %1d%
0627=0, unknown_command_71df
0628=4,set_onscreen_counter_colour %1d% %2d% %3d% %4d%
0629=4,set_onscreen_counter_background_colour %1d% %2d% %3d% %4d%
Expand Down Expand Up @@ -1280,7 +1280,7 @@ DATE=2020-11-11
066F=1, is_audio_channel_playing %1d%
0670=3,set_clock_event hours %1d% minutes %2d% warning_minutes %3d%
0671=3,set_weather_extra_colour_light_direction %1d% %2d% %3d%
0672=2,unknown_char_command_8653 flag %1d%
0672=2,unknown_char_command_8653 flag %1d% %2d%
0673=1,print_help_version_b %1g%
0674=1,print_help_forever_version_b %1g%
0675=1,print_help_version_c %1g%
Expand Down
4 changes: 4 additions & 0 deletions lcs/constants.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ false=0
true=1
TIMERA=-2@
TIMERB=-1@
end
var
TIMERA: int
TIMERB: int
end
152 changes: 0 additions & 152 deletions modes.xml

This file was deleted.

Loading

0 comments on commit b50c3c8

Please sign in to comment.