nikurizo: Really strange, tl_free() should remove all the lighting system.
Could you add a function to clear all the lights of the system? I hate to use tl_free() and tl_init() every room change.
There is tl_light_delete_all() !
download the latest version ![]()
TehWave: You can draw on the light surface, if you want.
You can retrive the id using tl_get_surface()
Edited by tizzio, 24 April 2013 - 09:54 PM.











