mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 04:21:23 +00:00
Add missing comments
This commit is contained in:
parent
bd641c3857
commit
cb09b90556
1 changed files with 2 additions and 1 deletions
|
@ -377,6 +377,7 @@ static int lib_getSkinSpriteCompat(lua_State *L)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: 2.3: Delete
|
||||||
// #skin.sprites -> NUMPLAYERSPRITES*2
|
// #skin.sprites -> NUMPLAYERSPRITES*2
|
||||||
static int lib_numSkinsSpritesCompat(lua_State *L)
|
static int lib_numSkinsSpritesCompat(lua_State *L)
|
||||||
{
|
{
|
||||||
|
@ -413,7 +414,7 @@ int LUA_SkinLib(lua_State *L)
|
||||||
LUA_RegisterUserdataMetatable(L, META_SOUNDSID, soundsid_get, NULL, soundsid_num);
|
LUA_RegisterUserdataMetatable(L, META_SOUNDSID, soundsid_get, NULL, soundsid_num);
|
||||||
LUA_RegisterUserdataMetatable(L, META_SKINSPRITES, lib_getSkinSprite, NULL, lib_numSkinsSprites);
|
LUA_RegisterUserdataMetatable(L, META_SKINSPRITES, lib_getSkinSprite, NULL, lib_numSkinsSprites);
|
||||||
LUA_RegisterUserdataMetatable(L, META_SKINSPRITESLIST, sprite_get, NULL, NULL);
|
LUA_RegisterUserdataMetatable(L, META_SKINSPRITESLIST, sprite_get, NULL, NULL);
|
||||||
LUA_RegisterUserdataMetatable(L, META_SKINSPRITESCOMPAT, lib_getSkinSpriteCompat, NULL, lib_numSkinsSpritesCompat);
|
LUA_RegisterUserdataMetatable(L, META_SKINSPRITESCOMPAT, lib_getSkinSpriteCompat, NULL, lib_numSkinsSpritesCompat); // TODO: 2.3: Delete
|
||||||
|
|
||||||
skin_fields_ref = Lua_CreateFieldTable(L, skin_opt);
|
skin_fields_ref = Lua_CreateFieldTable(L, skin_opt);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue