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_shieldscale,
|
||||||
skin_starttranscolor,
|
skin_starttranscolor,
|
||||||
skin_prefcolor,
|
skin_prefcolor,
|
||||||
|
skin_prefoppositecolor,
|
||||||
skin_highresscale,
|
skin_highresscale,
|
||||||
skin_soundsid,
|
skin_soundsid,
|
||||||
skin_availability
|
skin_availability
|
||||||
|
@ -85,6 +86,7 @@ static const char *const skin_opt[] = {
|
||||||
"shieldscale",
|
"shieldscale",
|
||||||
"starttranscolor",
|
"starttranscolor",
|
||||||
"prefcolor",
|
"prefcolor",
|
||||||
|
"prefoppositecolor",
|
||||||
"highresscale",
|
"highresscale",
|
||||||
"soundsid",
|
"soundsid",
|
||||||
"availability",
|
"availability",
|
||||||
|
@ -201,6 +203,9 @@ static int skin_get(lua_State *L)
|
||||||
case skin_prefcolor:
|
case skin_prefcolor:
|
||||||
lua_pushinteger(L, skin->prefcolor);
|
lua_pushinteger(L, skin->prefcolor);
|
||||||
break;
|
break;
|
||||||
|
case skin_prefoppositecolor:
|
||||||
|
lua_pushinteger(L, skin->prefoppositecolor);
|
||||||
|
break;
|
||||||
case skin_highresscale:
|
case skin_highresscale:
|
||||||
lua_pushinteger(L, skin->highresscale);
|
lua_pushinteger(L, skin->highresscale);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue