mirror of
https://github.com/astromaddie/HaloCE-VR.git
synced 2026-10-23 08:00:12 +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.
100 lines
2.3 KiB
C
100 lines
2.3 KiB
C
/*
|
|
HS_LIBRARY_EXTERNAL.H
|
|
|
|
header included in hcex build.
|
|
*/
|
|
|
|
#ifndef __HS_LIBRARY_EXTERNAL_H
|
|
#define __HS_LIBRARY_EXTERNAL_H
|
|
#pragma once
|
|
|
|
/* ---------- constants */
|
|
|
|
/* ---------- macros */
|
|
|
|
/* ---------- structures */
|
|
|
|
/* ---------- prototypes/EXAMPLE.C */
|
|
|
|
boolean hs_not(
|
|
boolean value);
|
|
void hs_print(
|
|
char const *message);
|
|
long hs_players(
|
|
void);
|
|
boolean hs_objects_can_see_object(
|
|
long object_list_index,
|
|
long object_index,
|
|
real degrees);
|
|
boolean hs_objects_can_see_flag(
|
|
long object_list_index,
|
|
short cutscene_flag_index,
|
|
real degrees);
|
|
void hs_object_create(
|
|
short object_name_index);
|
|
void hs_object_destroy(
|
|
long object_index);
|
|
void hs_object_destroy_all(
|
|
void);
|
|
void hs_object_create_containing(
|
|
char const *object_name);
|
|
void hs_object_destroy_containing(
|
|
char const *object_name);
|
|
long hs_object_list_get_element(
|
|
long object_list_index,
|
|
short element_index);
|
|
void hs_object_set_shield(
|
|
long object_index,
|
|
real shield_vitality);
|
|
void hs_object_set_permutation(
|
|
long object_index,
|
|
char const *region_name,
|
|
char const *permutation_name);
|
|
void hs_objects_predict(
|
|
long object_list_index);
|
|
void hs_objects_delete_by_definition(
|
|
long definition_index);
|
|
void hs_effect_new(
|
|
long effect_definition_index,
|
|
short cutscene_flag_index);
|
|
void hs_effect_new_from_object_marker(
|
|
long effect_definition_index,
|
|
long object_index,
|
|
char const *marker_name);
|
|
void hs_damage_new(
|
|
long damage_definition_index,
|
|
short cutscene_flag_index);
|
|
void hs_damage_object(
|
|
long damage_definition_index,
|
|
long object_index);
|
|
real hs_sound_get_gain(
|
|
char const *tag_name);
|
|
void hs_sound_set_gain(
|
|
char const *tag_name,
|
|
real gain);
|
|
boolean hs_trigger_volume_test_objects_all(
|
|
short trigger_volume_index,
|
|
long object_list_index);
|
|
boolean hs_trigger_volume_test_objects_any(
|
|
short trigger_volume_index,
|
|
long object_list_index);
|
|
void hs_object_create_anew(
|
|
short object_name_index);
|
|
void hs_object_create_anew_containing(
|
|
char const *object_name);
|
|
void hs_object_teleport(
|
|
long object_index,
|
|
short cutscene_flag_index);
|
|
void hs_object_set_facing(
|
|
long object_index,
|
|
short cutscene_flag_index);
|
|
void hs_teleport_players_not_in_trigger_volume(
|
|
short trigger_volume_index,
|
|
short cutscene_flag_index);
|
|
|
|
/* ---------- globals */
|
|
|
|
/* ---------- public code */
|
|
|
|
#endif // __HS_LIBRARY_EXTERNAL_H
|