mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-18 06:00:29 +02:00
Shared-header prerequisite packet: - real_math.h: distance2d/distance3d become square_root(distance_squared*(a,b)) (/Od build, no local); project_point2d takes short mapping locals and a single ?: store (/Od-attested, equal to January's selected copy); lock/unlock_global_random_seed move from the 2026-09-04 reconstruction header random_math.h into real_math.h's existing RANDOM_MATH.C prototype section (main.c calls them without random_math.h). - action_vehicle, path_obstacles, decals drop their '#define x x_inline' renames and hand-written NODUP helper copies; the header inlines now emit byte-identical copies of January's selected sections. - object_lights and players adopt the /Od caller spellings (0x5d0d50). Full ninja + rename-stable 8,245-function diff: +2 exact (_player_set_action_result, _convex_hull2d_perimeter; park retired), 0 regressions. _ai_test_line_of_sight park remeasured (size/relocations unchanged, fuzzy 97.98 -> 97.92). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
239 B
C
18 lines
239 B
C
/*
|
|
RANDOM_MATH.H
|
|
*/
|
|
|
|
#ifndef __RANDOM_MATH_H
|
|
#define __RANDOM_MATH_H
|
|
#pragma once
|
|
|
|
/* ---------- prototypes/RANDOM_MATH.C */
|
|
|
|
unsigned long get_random_seed(
|
|
void);
|
|
|
|
void random_seed_debug_log(
|
|
boolean log);
|
|
|
|
#endif /* __RANDOM_MATH_H */
|