mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +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",
|
yrepeat = SP".yrepeat",
|
||||||
xoffset = SP".xoffset",
|
xoffset = SP".xoffset",
|
||||||
yoffset = SP".yoffset",
|
yoffset = SP".yoffset",
|
||||||
sectnum = { SP".sectnum", SP".sectnum" }, -- set: for tsprite
|
sectnum = { SP".sectnum", SP":changesect(%%s)" }, -- set: for tsprite
|
||||||
statnum = { SP".statnum", SP".statnum" }, -- set: for tsprite
|
statnum = { SP".statnum" },
|
||||||
ang = SP".ang",
|
ang = SP".ang",
|
||||||
owner = { SP".owner", SP":_set_owner(%%s)" },
|
owner = { SP".owner", SP":_set_owner(%%s)" },
|
||||||
xvel = SP".xvel",
|
xvel = SP".xvel",
|
||||||
|
@ -814,6 +814,7 @@ local UserdefLabels = {
|
||||||
god = UDRO".god",
|
god = UDRO".god",
|
||||||
idplayers = UDRO".idplayers",
|
idplayers = UDRO".idplayers",
|
||||||
level_number = { UD".level_number", UD":set_level_number(%%s)" },
|
level_number = { UD".level_number", UD":set_level_number(%%s)" },
|
||||||
|
levelstats = UD".levelstats",
|
||||||
lockout = UDRO".lockout",
|
lockout = UDRO".lockout",
|
||||||
m_player_skill = UDRO".m_player_skill",
|
m_player_skill = UDRO".m_player_skill",
|
||||||
m_volume_number = UDRO".m_volume_number",
|
m_volume_number = UDRO".m_volume_number",
|
||||||
|
@ -823,10 +824,11 @@ local UserdefLabels = {
|
||||||
multimode = { "1" },
|
multimode = { "1" },
|
||||||
noexits = UDRO".noexits",
|
noexits = UDRO".noexits",
|
||||||
overhead_on = UD".overhead_on",
|
overhead_on = UD".overhead_on",
|
||||||
|
runkey_mode = UD".runkey_mode",
|
||||||
show_level_text = UD".show_level_text",
|
show_level_text = UD".show_level_text",
|
||||||
screen_size = { UD".screen_size", UD":set_screen_size(%%s)" },
|
screen_size = { UD".screen_size", UD":set_screen_size(%%s)" },
|
||||||
screen_tilting = UD".screen_tilting",
|
screen_tilting = UD".screen_tilting",
|
||||||
showallmap = UDRO".showallmap",
|
showallmap = UD".showallmap",
|
||||||
showweapons = UDRO".showweapons",
|
showweapons = UDRO".showweapons",
|
||||||
statusbarscale = UDRO".statusbarscale",
|
statusbarscale = UDRO".statusbarscale",
|
||||||
volume_number = { UD".volume_number", UD":set_volume_number(%%s)" },
|
volume_number = { UD".volume_number", UD":set_volume_number(%%s)" },
|
||||||
|
|
|
@ -2882,12 +2882,12 @@ cheat_for_port_credits2:
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 6:
|
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);
|
modval(0,1,(int32_t *)&ud.levelstats,1,probey==io);
|
||||||
mgametextpal(d,yy, ud.levelstats ? "Yes" : "No", MENUHIGHLIGHT(io), 0);
|
mgametextpal(d,yy, ud.levelstats ? "Yes" : "No", MENUHIGHLIGHT(io), 0);
|
||||||
break;
|
break;
|
||||||
case 7:
|
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);
|
modval(0,1,(int32_t *)&ud.runkey_mode,1,probey==io);
|
||||||
mgametextpal(d,yy, ud.runkey_mode ? "No" : "Yes", MENUHIGHLIGHT(io), 0);
|
mgametextpal(d,yy, ud.runkey_mode ? "No" : "Yes", MENUHIGHLIGHT(io), 0);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue