mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Forgot to put these in Lua. (Not gonna make a fifth exe today just for this one change, though.)
This commit is contained in:
parent
840eecbb02
commit
e99b0869a3
1 changed files with 10 additions and 0 deletions
|
|
@ -52,6 +52,8 @@ enum skin {
|
||||||
skin_supercolor,
|
skin_supercolor,
|
||||||
skin_prefoppositecolor,
|
skin_prefoppositecolor,
|
||||||
skin_highresscale,
|
skin_highresscale,
|
||||||
|
skin_contspeed,
|
||||||
|
skin_contangle,
|
||||||
skin_soundsid,
|
skin_soundsid,
|
||||||
skin_availability
|
skin_availability
|
||||||
};
|
};
|
||||||
|
|
@ -88,6 +90,8 @@ static const char *const skin_opt[] = {
|
||||||
"supercolor",
|
"supercolor",
|
||||||
"prefoppositecolor",
|
"prefoppositecolor",
|
||||||
"highresscale",
|
"highresscale",
|
||||||
|
"contspeed",
|
||||||
|
"contangle",
|
||||||
"soundsid",
|
"soundsid",
|
||||||
"availability",
|
"availability",
|
||||||
NULL};
|
NULL};
|
||||||
|
|
@ -199,6 +203,12 @@ static int skin_get(lua_State *L)
|
||||||
case skin_highresscale:
|
case skin_highresscale:
|
||||||
lua_pushinteger(L, skin->highresscale);
|
lua_pushinteger(L, skin->highresscale);
|
||||||
break;
|
break;
|
||||||
|
case skin_contspeed:
|
||||||
|
lua_pushinteger(L, skin->contspeed);
|
||||||
|
break;
|
||||||
|
case skin_contangle:
|
||||||
|
lua_pushinteger(L, skin->contangle);
|
||||||
|
break;
|
||||||
case skin_soundsid:
|
case skin_soundsid:
|
||||||
LUA_PushUserdata(L, skin->soundsid, META_SOUNDSID);
|
LUA_PushUserdata(L, skin->soundsid, META_SOUNDSID);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue