X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fvideo%2Fsdl_lightmap.hpp;h=fbde750fb59082681f36a2a718cd9b57a3384dbf;hb=d427db3e7c37d524e540511dd8cfce6e985bf32b;hp=985615ab6d4e5bec18af9b145c5cd98b6b700adb;hpb=20efd7620620892d92b1c7df124c3a0c8df22a82;p=supertux.git diff --git a/src/video/sdl_lightmap.hpp b/src/video/sdl_lightmap.hpp index 985615ab6..fbde750fb 100644 --- a/src/video/sdl_lightmap.hpp +++ b/src/video/sdl_lightmap.hpp @@ -50,9 +50,10 @@ namespace SDL Uint8 *blue_channel; Uint8 *green_channel; int width, height; + int numerator, denominator; + int LIGHTMAP_DIV; - void light_blit(SDL_Surface *src, int dstx, int dsty, - int srcx, int srcy, int blit_width, int blit_height); + void light_blit(SDL_Surface *src, SDL_Rect *src_rect, int dstx, int dsty); }; }