mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-17 10:11:02 +00:00
Add prefoppositecolor to Lua.
This commit is contained in:
parent
4435815c35
commit
d0cd1d951f
1 changed files with 5 additions and 0 deletions
|
@ -50,6 +50,7 @@ enum skin {
|
|||
skin_shieldscale,
|
||||
skin_starttranscolor,
|
||||
skin_prefcolor,
|
||||
skin_prefoppositecolor,
|
||||
skin_highresscale,
|
||||
skin_soundsid,
|
||||
skin_availability
|
||||
|
@ -85,6 +86,7 @@ static const char *const skin_opt[] = {
|
|||
"shieldscale",
|
||||
"starttranscolor",
|
||||
"prefcolor",
|
||||
"prefoppositecolor",
|
||||
"highresscale",
|
||||
"soundsid",
|
||||
"availability",
|
||||
|
@ -201,6 +203,9 @@ static int skin_get(lua_State *L)
|
|||
case skin_prefcolor:
|
||||
lua_pushinteger(L, skin->prefcolor);
|
||||
break;
|
||||
case skin_prefoppositecolor:
|
||||
lua_pushinteger(L, skin->prefoppositecolor);
|
||||
break;
|
||||
case skin_highresscale:
|
||||
lua_pushinteger(L, skin->highresscale);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue