Files
Cesarus85--ringfall-mjolnir-vr/source/objects/object_lights_rendering.h
T
Jonas VolmanandClaude Opus 5.5 1cd5e4ede2 R2 batch 2: reviewed zero-credit ownership/storage packets; two '$'-defect data entries
All packets passed a precedent audit and an independent adversarial review.
No object changes status.
- Storage per cachebeta publics (source static + symbols.json rows):
  - bink_playback: four globals;
  - weapons: 11 rows + weapon_magazine_finish_reload;
  - object_lights: 4 helpers; should_render_lights is the /Od-attested call and
    its prototype leaves the public header;
  - vehicles: _update_turret_physics;
  - weather_particle_systems: one_over_char_max is external (cachebeta public,
    HCEX Global); its globals are static;
  - rasterizer_xbox_debug: 8 D3DINLINE wrapper rows (already Matching: audit
    FAIL(8) -> PASS, pdb 8 -> 0).
- draw_string: the invented external draw_string_globals aggregate (pads, blob,
  #define aliases) becomes four HCEX-attested file statics in /Od declaration
  order with = { 0 } (a595bbc2 precedent); typed multitexture params.
- render_debug: three rule-6 hand expansions become real point_from_line3d
  calls (ruling #1/#2); the opaque vehicle view gives way to struct
  vehicle_datum + vehicle_datum_try_and_get; the six debug_* toggles become
  tentative definitions (COMMON evidence).
- vehicles: the TU-wide REAL_MATH_EXTERNAL_POINT_FROM_LINE3D define is gone and
  the pathfinding hand expansion becomes the genuine call (ruling #1).
- rasterizer_xbox_profile V1R (reviewer-amended): byte-inert /Od parameter
  order, the BUG marker comment, detail_objects via the rasterizer_xbox.h API,
  and a rejection text that keeps the SDK-table policy question open.
- semantic_data_matches.json: single-section '$'-defect entries with
  allow_incomplete_unit for projectiles _projectile_update_section (1,548 B) and
  object_lights _lights_section (1,541 B) (leaf_map / editor_flying_camera /
  race precedents).

Gate (full ninja, objdiff 3.3.1): objects 384 (unchanged), code unchanged,
data +3,089; stable diff 0 regressions; parks 83/0/0; admission 10/0/2/0; fake
scan 26; pytest 1159 passed; diff --check clean.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 15:12:09 -07:00

44 lines
936 B
C

/*
OBJECT_LIGHTS_RENDERING.H
Narrow cross-translation-unit rendering interface owned by OBJECT_LIGHTS.C.
*/
#ifndef __OBJECT_LIGHTS_RENDERING_H
#define __OBJECT_LIGHTS_RENDERING_H
#pragma once
/* ---------- headers */
#include "cseries/cseries.h"
/* ---------- structures */
union real_point3d;
struct render_lighting;
/* ---------- prototypes/OBJECT_LIGHTS.C */
void lights_preprocess_scene(
void);
void lights_render_diffuse(
void);
void lights_render_specular(
void);
boolean lights_distant_lighting_at_point(
long flags,
union real_point3d const *position,
struct render_lighting *lighting);
void lights_prepare_for_object_static(
long object_index,
struct render_lighting *lighting);
/* ---------- globals */
extern boolean object_light_interpolate;
extern real object_light_ambient_base;
extern real object_light_ambient_scale;
extern real object_light_secondary_scale;
#endif /* __OBJECT_LIGHTS_RENDERING_H */