|
22 | 22 | #include "main/main_game.hpp" |
23 | 23 | #include "main/main_render.hpp" |
24 | 24 | #include "main/main_time.hpp" |
| 25 | +#include "memory/module.hpp" |
25 | 26 | #include "motor/sync_action.hpp" |
26 | 27 | #include "networking/logic/life_cycle/life_cycle_handler_pre_game.hpp" |
27 | 28 | #include "networking/messages/network_message_gateway.hpp" |
|
50 | 51 | #include "units/bipeds.hpp" |
51 | 52 | #include "visibility/visibility_collection.hpp" |
52 | 53 |
|
| 54 | +// $TODO we don't fully own all the places `k_hs_external_global_count` is used yet |
| 55 | +const t_value_type<int16> k_hs_external_global_count_data = { .value = k_hs_external_global_count }; |
| 56 | +DATA_PATCH_DECLARE(0x0167B188, k_hs_external_global_count, k_hs_external_global_count_data.bytes); |
| 57 | + |
53 | 58 | enum : int16 |
54 | 59 | { |
55 | 60 | k_maximum_number_of_ms23_hs_globals = 1315 |
@@ -6866,7 +6871,6 @@ static hs_global_external* const hs_external_globals[] |
6866 | 6871 | &chud_debug_crosshair_definition, |
6867 | 6872 | &chud_debug_metagame_definition, |
6868 | 6873 | &debug_unit_all_animations_definition, |
6869 | | - &debug_enable_force_phonebooth_assassinate_definition, |
6870 | 6874 | &debug_unit_animations_definition, |
6871 | 6875 | &debug_unit_illumination_definition, |
6872 | 6876 | &debug_unit_active_camo_frequency_modulator_definition, |
@@ -6905,11 +6909,6 @@ static hs_global_external* const hs_external_globals[] |
6905 | 6909 | &sound_global_room_gain_definition, |
6906 | 6910 | &sound_direct_path_gain_definition, |
6907 | 6911 | &enable_pc_sound_definition, |
6908 | | - &debug_sound_definition, |
6909 | | - &debug_sound_manager_channels_definition, |
6910 | | - &debug_sound_timing_definition, |
6911 | | - &debug_duckers_definition, |
6912 | | - &debug_sound_listeners_definition, |
6913 | 6912 | &unknown82_definition, |
6914 | 6913 | &unknown83_definition, |
6915 | 6914 | &unknown84_definition, |
@@ -7004,7 +7003,6 @@ static hs_global_external* const hs_external_globals[] |
7004 | 7003 | &render_debug_force_cinematic_lights_definition, |
7005 | 7004 | &render_debug_pix_events_definition, |
7006 | 7005 | &render_atmosphere_cluster_blend_data_definition, |
7007 | | - &render_debug_display_command_buffer_data_definition, |
7008 | 7006 | &render_debug_screen_shaders_definition, |
7009 | 7007 | &render_debug_screen_effects_definition, |
7010 | 7008 | &render_screen_effects_definition, |
@@ -7343,15 +7341,12 @@ static hs_global_external* const hs_external_globals[] |
7343 | 7341 | &debug_plane_index_definition, |
7344 | 7342 | &debug_surface_index_definition, |
7345 | 7343 | &debug_input_definition, |
7346 | | - &debug_input_abstraction_definition, |
7347 | | - &debug_input_mouse_state_definition, |
7348 | 7344 | &debug_leaf0_index_definition, |
7349 | 7345 | &debug_leaf1_index_definition, |
7350 | 7346 | &debug_leaf_connection_index_definition, |
7351 | 7347 | &debug_cluster_index_definition, |
7352 | 7348 | &debug_first_person_weapons_definition, |
7353 | 7349 | &debug_first_person_models_definition, |
7354 | | - &debug_first_person_skeleton_definition, |
7355 | 7350 | &breakable_surfaces_definition, |
7356 | 7351 | &debug_lights_definition, |
7357 | 7352 | &debug_light_passes_definition, |
@@ -7916,7 +7911,6 @@ static hs_global_external* const hs_external_globals[] |
7916 | 7911 | &animation_throttle_dampening_scale_definition, |
7917 | 7912 | &animation_blend_change_scale_definition, |
7918 | 7913 | &biped_fitting_enable_definition, |
7919 | | - &debug_animation_fp_sprint_disable_definition, |
7920 | 7914 | &biped_fitting_root_offset_enable_definition, |
7921 | 7915 | &biped_pivot_enable_definition, |
7922 | 7916 | &biped_pivot_allow_player_definition, |
@@ -8106,6 +8100,17 @@ static hs_global_external* const hs_external_globals[] |
8106 | 8100 | &debug_weapons_magazines_definition, |
8107 | 8101 | &debug_weapons_primary_definition, |
8108 | 8102 | &debug_weapons_secondary_definition, |
| 8103 | + &debug_enable_force_phonebooth_assassinate_definition, |
| 8104 | + &debug_sound_definition, |
| 8105 | + &debug_sound_manager_channels_definition, |
| 8106 | + &debug_sound_timing_definition, |
| 8107 | + &debug_duckers_definition, |
| 8108 | + &debug_sound_listeners_definition, |
| 8109 | + &render_debug_display_command_buffer_data_definition, |
| 8110 | + &debug_input_abstraction_definition, |
| 8111 | + &debug_input_mouse_state_definition, |
| 8112 | + &debug_first_person_skeleton_definition, |
| 8113 | + &debug_animation_fp_sprint_disable_definition, |
8109 | 8114 | &static_fp_fov_definition, |
8110 | 8115 | ¢ered_crosshair_definition, |
8111 | 8116 | &mean_look_sensitivity_definition, |
|
0 commit comments