mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-18 15:00:26 +02:00
38 lines
982 B
C
38 lines
982 B
C
/*
|
|
OBJECT_LIGHTS.H
|
|
|
|
header included in hcex build.
|
|
*/
|
|
|
|
#ifndef __OBJECT_LIGHTS_H
|
|
#define __OBJECT_LIGHTS_H
|
|
#pragma once
|
|
|
|
/* ---------- constants */
|
|
|
|
/* ---------- macros */
|
|
|
|
/* ---------- structures */
|
|
|
|
/* ---------- 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);
|
|
void light_delete(long light_index);
|
|
|
|
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);
|
|
|
|
/* ---------- globals */
|
|
|
|
/* ---------- public code */
|
|
|
|
#endif // __OBJECT_LIGHTS_H
|