mirror of https://github.com/OpenRCT2/OpenRCT2.git
Add lightfx_get_palette
This commit is contained in:
parent
6d45c5ac5e
commit
1ddb95874a
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue