Files
Cesarus85--ringfall-mjolnir-vr/source/objects/object_lights.h
T
Jonas Volman 4277f892c1 Admit audited Claude reconstruction gains
Retain 18 strict exact-function gains across Actions, Actor Combat, Decals, Game Engine, Object Lights, and Bipeds after removing donor bodies that regressed exact objects, emitted unowned code, or violated source-credibility rules. Name authenticated private symbols, move declarations to owner headers, record honest residual parks, and preserve units.obj at 189/189.
2026-08-31 20:42:01 -07:00

61 lines
1.5 KiB
C

/*
OBJECT_LIGHTS.H
header included in hcex build.
*/
#ifndef __OBJECT_LIGHTS_H
#define __OBJECT_LIGHTS_H
#pragma once
/* ---------- constants */
/* ---------- macros */
/* ---------- structures */
struct render_lighting;
/* ---------- prototypes/OBJECT_LIGHTS.C */
void lights_initialize(void);
void lights_dispose(void);
void lights_initialize_for_new_map(void);
void lights_dispose_from_old_map(void);
boolean lights_enable(boolean enable);
long light_new(long definition_index, long object_index, short object_attachment_index, short object_function_index, short object_change_color_index);
long light_new_unattached(
long definition_index,
long object_index,
short object_node_index,
real_point3d const *position,
real_vector3d const *direction,
real scale);
void light_delete(long light_index);
void lights_queue_lens_flare(
long lens_flare_definition_index,
real_point3d const *position,
real_vector3d const *direction,
real_vector3d const *up,
real_rgb_color const *color,
real scale);
real object_get_self_illumination(long object_index);
void lights_illumination_at_point(union real_point3d const *point, struct location const *location, union real_rgb_color *color);
void light_disconnect_from_map(long light_index);
void light_reconnect_to_map(long light_index);
void lights_disconnect_from_structure_bsp(
void);
void lights_reconnect_to_structure_bsp(
void);
void lights_prepare_for_object_dynamic(
long object_index,
struct render_lighting *lighting);
/* ---------- globals */
/* ---------- public code */
#endif // __OBJECT_LIGHTS_H