Add lightfx_get_palette

This commit is contained in:
Ted John 2016-10-17 22:54:25 +01:00
parent 6d45c5ac5e
commit 1ddb95874a
2 changed files with 6 additions and 0 deletions

View File

@ -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) {

View File

@ -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);