mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 09:21:36 +00:00
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:
parent
5979378c4e
commit
d11bf55a82
1 changed files with 6 additions and 10 deletions
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue