Add SpriteBatch:set(q) and make add(q) return the index

This commit is contained in:
Bart van Strien
2011-10-20 20:19:01 +02:00
parent 7a15953595
commit dc66ea20c1
4 changed files with 209 additions and 165 deletions
@@ -33,6 +33,8 @@ namespace opengl
SpriteBatch * luax_checkspritebatch(lua_State * L, int idx);
int w_SpriteBatch_add(lua_State * L);
int w_SpriteBatch_addq(lua_State * L);
int w_SpriteBatch_set(lua_State * L);
int w_SpriteBatch_setq(lua_State * L);
int w_SpriteBatch_clear(lua_State * L);
int w_SpriteBatch_lock(lua_State * L);
int w_SpriteBatch_unlock(lua_State * L);