mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-17 14:00:25 +02:00
* wip objects.c work * objects_disconnect_from_structure_bsp * match more functions * more objects work * objects_update work - 93.42% matching * match matrix4x3_transform_point * more objects work - fix duplicate symbol name at 1870800 * match object_choose_random_change_colors * match object_update * objects_garbage_collection work * match object_set_position * more object work * match objects_update * more object work * match object_select_random_region_permutations_by_variant * objects_in_sphere work 99.90% match * object name list calls * match objects_in_sphere * misc matches * match structure_bsp_definitions object * match objects_in_clusters_by_indices * more object work * match `edit_text_handle_key` * mark edit_text as matching * misc changes - match get_next_character - match data section in objects.c * object_export_function_values work * match object_compute_function_values * match object_get_orientation * added functions and adjust formatting * fix profile macros * formatting changes * more formatting * more formatting --------- Co-authored-by: punpckhdq <121350336+punpckhdq@users.noreply.github.com>
35 lines
797 B
C
35 lines
797 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);
|
|
|
|
void light_disconnect_from_map(long light_index);
|
|
void light_reconnect_to_map(long light_index);
|
|
|
|
/* ---------- globals */
|
|
|
|
/* ---------- public code */
|
|
|
|
#endif // __OBJECT_LIGHTS_H
|