mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 04:53:12 +01:00
Add lightfx_get_palette
This commit is contained in:
@@ -591,6 +591,11 @@ void* lightfx_get_front_buffer()
|
||||
return _light_rendered_buffer_front;
|
||||
}
|
||||
|
||||
const SDL_Color * lightfx_get_palette()
|
||||
{
|
||||
return gPalette_light;
|
||||
}
|
||||
|
||||
void lightfx_add_3d_light(uint32 lightID, uint16 lightIDqualifier, sint16 x, sint16 y, uint16 z, uint8 lightType)
|
||||
{
|
||||
if (LightListCurrentCountBack == 15999) {
|
||||
|
||||
@@ -54,6 +54,7 @@ extern void lightfx_render_lights_to_frontbuffer();
|
||||
extern void lightfx_update_viewport_settings();
|
||||
|
||||
extern void* lightfx_get_front_buffer();
|
||||
const SDL_Color * lightfx_get_palette();
|
||||
|
||||
extern void lightfx_add_3d_light(uint32 lightID, uint16 lightIDqualifier, sint16 x, sint16 y, uint16 z, uint8 lightType);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user