Lots of changes. Good number of small fixes. Some new stuff.
[luagame.git] / funcs_video.h
blob23355903d5346371e3bc70ea6272045c7f202471
1 /*
2 Copyright (c)2006-2007 - Brett Lajzer
4 See LICENSE for license information.
5 */
7 #include "lua.hpp"
9 //function for loading a surface from many different formats (except TIFF)
10 int l_getimage(lua_State *L);
12 //forces an image to be unloaded from memory
13 int l_releaseimage(lua_State *L);
15 //function for updating the display surface
16 int l_flip(lua_State *L);
18 //function for simple direct blits (non-animated)
19 int l_blit(lua_State *L);
21 //function for blitting a frame of an animation
22 // does not do rotation or scaling (yet)
23 //frames are laid out horizontally
24 //frames start at 0
25 int l_blitframe(lua_State *L);
27 //function for simple intermediate blits (non-animated)
28 int l_blit_i(lua_State *L);
30 //function for intermediate blitting a frame of an animation
31 // does not do rotation or scaling (yet)
32 //frames are laid out horizontally
33 //frames start at 0
34 int l_blitframe_i(lua_State *L);
36 //cursor toggler
37 int l_show_cursor(lua_State *L);
39 //fills screen with a color
40 int l_fill_screen(lua_State *L);
42 //creates a surface with the same format as the screen
43 int l_create_intermediate(lua_State *L);
45 //free surface interface
46 int l_delete_image(lua_State *L);
48 //rotozoomer interface
49 int l_rotzoom(lua_State *L);