2 Copyright (c)2006-2007 - Brett Lajzer
4 See LICENSE for license information.
11 //loads an SDL_Surface into a texture and returns the handle
12 GLuint
surfaceToTexture(lua_State
*L
, SDL_Surface
*s
);
14 //function for loading a surface from many different formats (except TIFF)
15 int l_getimage(lua_State
*L
);
17 //forces an image to be unloaded from memory
18 int l_releaseimage(lua_State
*L
);
20 //function for updating the display surface
21 int l_flip(lua_State
*L
);
23 //function for simple drawing (non-animated)
24 int l_display(lua_State
*L
);
26 //function for blitting a frame of an animation
27 //frames are laid out horizontally
29 int l_displayframe(lua_State
*L
);
32 int l_show_cursor(lua_State
*L
);
34 //fills screen with a color
35 int l_fill_screen(lua_State
*L
);
37 //free surface interface
38 int l_delete_image(lua_State
*L
);