LunaCON: player[].loogcnt, userdef[].color, minor fixes.

git-svn-id: https://svn.eduke32.com/eduke32@4732 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2014-11-07 22:07:10 +00:00
parent 76d60511bc
commit 0cc9f05b8b
3 changed files with 5 additions and 2 deletions

View File

@ -646,7 +646,7 @@ local PlayerLabels = {
access_incs = PL".access_incs",
numloogs = DISABLED_PL".numloogs",
loogcnt = DISABLED_PL".loogcnt",
loogcnt = PL".loogcnt",
scream_voice = { PL".scream_voice" },
last_weapon = PL".last_weapon",
@ -841,6 +841,7 @@ local UserdefLabels = {
camerasprite = UDRO".camerasprite",
cashman = UDRO".cashman",
clipping = UD".noclip", -- NAME
color = UD".color",
const_visibility = UD".const_visibility",
crosshair = UD".crosshair",
crosshairscale = UDRO".crosshairscale",

View File

@ -926,7 +926,7 @@ function _qgetsysstr(qdst, what, pli)
ffi.copy(dst, "multiplayer not yet implemented") -- TODO_MP
elseif (what == ffiC.STR_VOLUMENAME) then
local vol = ffiC.ud.volume_number
bcheck.volume_number(vol)
bcheck.volume_idx(vol)
ffi.copy(dst, ffiC.EpisodeNames[vol], ffi.sizeof(ffiC.EpisodeNames[0]))
else
error("unknown system string ID "..what, 2)

View File

@ -106,6 +106,8 @@ onevent EVENT_ENTERLEVEL
ifvarn asdsz NEWASDSZ state error
redefinequote 500 [%d]: qwe=%d, qwe1=%d, asd=%d, asd1=%d
redefinequote 501 Because C-CON can't qsprintf into an uninitialized one
setvar i 0
whilevarvarn i -1
{