mirror of
https://github.com/astromaddie/HaloCE-VR.git
synced 2026-10-19 23:00:14 +02:00
Integrate coherent B3, P2/K17 prerequisites, completed K1-K16 + S, and the independent profile/effects rulings. Five gains and two explicitly approved B3 debits: net +3 strict functions, +2770 meaningful/+2800 padded bytes (+2774 progress credit). No additional losses; Halo objects 394 to 396 and data unchanged. Clean rebuild, identical 8252-row stable sweep, 68 valid parks, admission/provider checks, 467-unit warning comparison, unchanged fake scan, and 1318 tests passed. Preserve canonical helper recoveries and unrelated work. Full evidence and disclosures in docs/object_matching_logs/astra_five_function_reconciliation_20260928.md.
109 lines
2.4 KiB
C
109 lines
2.4 KiB
C
/*
|
|
HUD_MESSAGING.H
|
|
|
|
header included in hcex build.
|
|
*/
|
|
|
|
#ifndef __HUD_MESSAGING_H
|
|
#define __HUD_MESSAGING_H
|
|
#pragma once
|
|
|
|
/* ---------- constants */
|
|
|
|
/* ---------- macros */
|
|
|
|
/* ---------- structures */
|
|
|
|
struct icon_hud_element_definition;
|
|
union real_argb_color;
|
|
|
|
/* ---------- prototypes/HUD_MESSAGING.C */
|
|
|
|
void hud_messaging_initialize(
|
|
void);
|
|
void hud_messaging_initialize_for_new_map(
|
|
void);
|
|
void hud_messaging_dispose_from_old_map(
|
|
void);
|
|
void hud_messaging_dispose(
|
|
void);
|
|
void scripted_hud_set_state_message(
|
|
short message_index);
|
|
void hud_messaging_globals_update(
|
|
void);
|
|
void scripted_hud_set_flashing_state(
|
|
boolean flash);
|
|
void scripted_hud_restart_flashing(
|
|
void);
|
|
void scripted_hud_set_objective(
|
|
short message_index);
|
|
void scripted_hud_set_timer_position(
|
|
short x,
|
|
short y,
|
|
short corner);
|
|
void scripted_hud_show_timer(
|
|
boolean show);
|
|
void scripted_hud_pause_timer(
|
|
boolean pause);
|
|
void scripted_hud_set_timer_time(
|
|
short minutes,
|
|
word seconds);
|
|
void scripted_hud_set_timer_warning_cutoff(
|
|
short minutes,
|
|
word seconds);
|
|
short scripted_hud_get_timer_ticks(
|
|
void);
|
|
void scripted_hud_time_code_show(
|
|
boolean show);
|
|
void scripted_hud_time_code_start(
|
|
boolean start);
|
|
void scripted_hud_time_code_reset(
|
|
void);
|
|
void scripted_hud_messages_clear(
|
|
void);
|
|
void hud_render_timer(
|
|
void);
|
|
void hud_print_message(
|
|
short local_player_index,
|
|
wchar_t const *message);
|
|
void hud_add_item_message(
|
|
short local_player_index,
|
|
long item_definition_index,
|
|
short quantity,
|
|
char message_offset);
|
|
void hud_broadcast_team_message(
|
|
long victim_player_index,
|
|
wchar_t const *message);
|
|
void hud_messaging_update(
|
|
short local_player_index);
|
|
void hud_set_state_message(
|
|
short local_player_index,
|
|
short message_index);
|
|
void hud_set_state_message_text(
|
|
short local_player_index,
|
|
short custom_icon_index,
|
|
short icon_string_index,
|
|
boolean uses_scenario_names);
|
|
void hud_set_state_message_icon(
|
|
short local_player_index,
|
|
short custom_icon_index,
|
|
struct icon_hud_element_definition const *icon);
|
|
void hud_enable_custom_state_message(
|
|
short local_player_index,
|
|
boolean enabled);
|
|
void hud_set_state_text(
|
|
short local_player_index,
|
|
wchar_t const *message);
|
|
wchar_t *hud_messaging_get_objective(
|
|
void);
|
|
long hud_get_font_index(
|
|
void);
|
|
union real_argb_color *hud_get_text_color(
|
|
union real_argb_color *result);
|
|
|
|
/* ---------- globals */
|
|
|
|
/* ---------- public code */
|
|
|
|
#endif // __HUD_MESSAGING_H
|