mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-17 15:00:27 +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.
52 lines
886 B
C
52 lines
886 B
C
/*
|
|
OBJECT_DELETED_PROCS.C
|
|
|
|
symbols in this file:
|
|
00128700 0030:
|
|
_object_deleted_procs_call (0000)
|
|
0030B378 000c:
|
|
_object_deleted_procs (0000)
|
|
*/
|
|
|
|
/* ---------- headers */
|
|
|
|
#include "cseries.h"
|
|
#include "ai/ai.h"
|
|
#include "objects.h"
|
|
#include "game/players.h"
|
|
|
|
/* ---------- constants */
|
|
|
|
/* ---------- macros */
|
|
|
|
/* ---------- structures */
|
|
|
|
/* ---------- prototypes */
|
|
|
|
/* ---------- globals */
|
|
|
|
object_deleted_proc object_deleted_procs[3] =
|
|
{
|
|
objects_fix_for_deleted_object,
|
|
ai_handle_deleted_object,
|
|
players_handle_deleted_object
|
|
};
|
|
|
|
/* ---------- public code */
|
|
|
|
void object_deleted_procs_call(
|
|
long deleted_object_index)
|
|
{
|
|
object_deleted_proc *deleted_proc = object_deleted_procs;
|
|
long deleted_proc_count = NUMBEROF(object_deleted_procs);
|
|
|
|
do
|
|
{
|
|
(*deleted_proc)(deleted_object_index);
|
|
deleted_proc++;
|
|
}
|
|
while (--deleted_proc_count);
|
|
}
|
|
|
|
/* ---------- private code */
|