89 double x,y, move, scale, angle;
97 x = luaL_checknumber(L,2);
98 y = luaL_checknumber(L,3);
99 move = luaL_optnumber(L,4,0.);
100 scale = luaL_optnumber(L,5,1.);
101 angle = luaL_optnumber(L,6,0.);
102 col = luaL_optcolour(L,7,&cWhite);
103 foreground = lua_toboolean(L,8);
107 lua_pushnumber(L,
id);
unsigned int background_addImage(const glTexture *image, double x, double y, double move, double scale, double angle, const glColour *col, int foreground)
Adds a new background image.
Abstraction for rendering sprite sheets.