LunaCON: Expose all structs to inline access. Tiledata and paldata are still to-do.

DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@5166 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2015-04-26 00:08:14 +00:00
parent 5979378c4e
commit d11bf55a82
1 changed files with 6 additions and 10 deletions

View File

@ -778,14 +778,6 @@ local WallLabels = {
uhitag = S2U(WAL".hitag"),
}
StructAccessCode =
{
sector = SectorLabels,
wall = WallLabels,
sprite = ActorLabels,
player = PlayerLabels,
}
local function tonegtag(LabelsTab, member, funcname)
local memb = LabelsTab[member]
LabelsTab[member] = { memb, memb.."="..funcname.."(%%s)" }
@ -921,14 +913,18 @@ local InputLabels = {
extbits = INP".extbits",
}
-- These structs cannot be accessed by inline array exprs in CON:
StructAccessCode2 =
StructAccessCode =
{
sector = SectorLabels,
wall = WallLabels,
sprite = ActorLabels,
player = PlayerLabels,
tspr = TspriteLabels,
projectile = ProjectileLabels,
thisprojectile = SpriteProjectileLabels,
userdef = UserdefLabels,
input = InputLabels,
-- TODO: tiledata, paldata
}
-- NOTE: These MUST be in reverse lexicographical order!