mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
LunaCON: add a couple of userdefs members, fix tsprite's sectnum for writing.
git-svn-id: https://svn.eduke32.com/eduke32@4150 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
78d30bee9b
commit
987eb858d3
2 changed files with 7 additions and 5 deletions
|
@ -364,8 +364,8 @@ local ActorLabels = {
|
|||
yrepeat = SP".yrepeat",
|
||||
xoffset = SP".xoffset",
|
||||
yoffset = SP".yoffset",
|
||||
sectnum = { SP".sectnum", SP".sectnum" }, -- set: for tsprite
|
||||
statnum = { SP".statnum", SP".statnum" }, -- set: for tsprite
|
||||
sectnum = { SP".sectnum", SP":changesect(%%s)" }, -- set: for tsprite
|
||||
statnum = { SP".statnum" },
|
||||
ang = SP".ang",
|
||||
owner = { SP".owner", SP":_set_owner(%%s)" },
|
||||
xvel = SP".xvel",
|
||||
|
@ -814,6 +814,7 @@ local UserdefLabels = {
|
|||
god = UDRO".god",
|
||||
idplayers = UDRO".idplayers",
|
||||
level_number = { UD".level_number", UD":set_level_number(%%s)" },
|
||||
levelstats = UD".levelstats",
|
||||
lockout = UDRO".lockout",
|
||||
m_player_skill = UDRO".m_player_skill",
|
||||
m_volume_number = UDRO".m_volume_number",
|
||||
|
@ -823,10 +824,11 @@ local UserdefLabels = {
|
|||
multimode = { "1" },
|
||||
noexits = UDRO".noexits",
|
||||
overhead_on = UD".overhead_on",
|
||||
runkey_mode = UD".runkey_mode",
|
||||
show_level_text = UD".show_level_text",
|
||||
screen_size = { UD".screen_size", UD":set_screen_size(%%s)" },
|
||||
screen_tilting = UD".screen_tilting",
|
||||
showallmap = UDRO".showallmap",
|
||||
showallmap = UD".showallmap",
|
||||
showweapons = UDRO".showweapons",
|
||||
statusbarscale = UDRO".statusbarscale",
|
||||
volume_number = { UD".volume_number", UD":set_volume_number(%%s)" },
|
||||
|
|
|
@ -2882,12 +2882,12 @@ cheat_for_port_credits2:
|
|||
}
|
||||
break;
|
||||
case 6:
|
||||
if (x==io) ud.levelstats = 1-ud.levelstats;
|
||||
if (x==io) ud.levelstats = !ud.levelstats;
|
||||
modval(0,1,(int32_t *)&ud.levelstats,1,probey==io);
|
||||
mgametextpal(d,yy, ud.levelstats ? "Yes" : "No", MENUHIGHLIGHT(io), 0);
|
||||
break;
|
||||
case 7:
|
||||
if (x==io) ud.runkey_mode = 1-ud.runkey_mode;
|
||||
if (x==io) ud.runkey_mode = !ud.runkey_mode;
|
||||
modval(0,1,(int32_t *)&ud.runkey_mode,1,probey==io);
|
||||
mgametextpal(d,yy, ud.runkey_mode ? "No" : "Yes", MENUHIGHLIGHT(io), 0);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue