LunaCON: add read-only variable 'Numsprites', r/w userdef member .mouseaiming.

git-svn-id: https://svn.eduke32.com/eduke32@4475 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2014-05-18 09:55:42 +00:00
parent 8974228a20
commit e810071cfc
5 changed files with 5 additions and 1 deletions

View file

@ -856,6 +856,7 @@ local UserdefLabels = {
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",
mouseaiming = UD".mouseaiming",
pause_on = UDRO".pause_on", pause_on = UDRO".pause_on",
player_skill = UD".player_skill", player_skill = UD".player_skill",
mouseflip = UDRO".mouseflip", mouseflip = UDRO".mouseflip",

View file

@ -376,6 +376,7 @@ enum {
ffi.cdef(maybe_strip_const("const int16_t numsectors, numwalls;")) ffi.cdef(maybe_strip_const("const int16_t numsectors, numwalls;"))
ffi.cdef[[ ffi.cdef[[
const int32_t Numsprites;
const int32_t numyaxbunches; // XXX const int32_t numyaxbunches; // XXX
const int32_t totalclock; const int32_t totalclock;
int32_t randomseed; // DEPRECATED int32_t randomseed; // DEPRECATED

View file

@ -11,6 +11,7 @@ sprite;
tsprite; tsprite;
spriteext; spriteext;
Numsprites;
numsectors; numsectors;
numwalls; numwalls;
numyaxbunches; numyaxbunches;

View file

@ -11,6 +11,7 @@ sprite;
tsprite; tsprite;
spriteext; spriteext;
Numsprites;
numsectors; numsectors;
numwalls; numwalls;
numyaxbunches; numyaxbunches;

View file

@ -385,7 +385,7 @@ local function new_initial_gvartab()
numsectors = RO "_gv.numsectors", numsectors = RO "_gv.numsectors",
NUMSECTORS = RO "_gv.numsectors", NUMSECTORS = RO "_gv.numsectors",
NUMWALLS = RO "_gv.numwalls", NUMWALLS = RO "_gv.numwalls",
-- TODO: Numsprites Numsprites = RO "_gv.Numsprites",
randomseed = RW "_gv.randomseed", randomseed = RW "_gv.randomseed",
totalclock = RO "_gv.totalclock", totalclock = RO "_gv.totalclock",