mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Lunatic: rename sprite[].filler member to 'blend' on the Lua side.
From LunaCON, remove 'detail' as alias to that member. git-svn-id: https://svn.eduke32.com/eduke32@4302 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
330b744a1b
commit
a37c31cab7
6 changed files with 8 additions and 7 deletions
|
@ -369,7 +369,8 @@ local ActorLabels = {
|
|||
pal = SP".pal",
|
||||
clipdist = SP".clipdist",
|
||||
-- filler = SP".filler",
|
||||
detail = SP".filler", -- NAME
|
||||
-- detail = SP".filler", -- NAME
|
||||
blend = SP".blend",
|
||||
xrepeat = SP".xrepeat",
|
||||
yrepeat = SP".yrepeat",
|
||||
xoffset = SP".xoffset",
|
||||
|
|
|
@ -217,7 +217,7 @@ struct {
|
|||
]]..bitint_member("UBit16", "cstat")..[[
|
||||
const int16_t picnum;
|
||||
int8_t shade;
|
||||
uint8_t pal, clipdist, filler;
|
||||
uint8_t pal, clipdist, blend;
|
||||
uint8_t xrepeat, yrepeat;
|
||||
int8_t xoffset, yoffset;
|
||||
const int16_t sectnum, statnum;
|
||||
|
|
|
@ -90,7 +90,7 @@ local sprite_members = {
|
|||
-- optional
|
||||
p = "pal",
|
||||
c = { "clipdist", 32 },
|
||||
_ = "filler",
|
||||
b = "blend",
|
||||
x = "xoffset", y = "yoffset",
|
||||
s = "statnum",
|
||||
w = { "owner", -1 },
|
||||
|
@ -98,7 +98,7 @@ local sprite_members = {
|
|||
o = "lotag", i = "hitag", e = { "extra", -1 }
|
||||
}
|
||||
|
||||
local sprite_ord = { mand="123 4 5 6 7 8 90 ", opt="p c _ xy s w XYZ oie" }
|
||||
local sprite_ord = { mand="123 4 5 6 7 8 90 ", opt="p c b xy s w XYZ oie" }
|
||||
local sprite_default = ffi.new("const spritetype", { clipdist=32, owner=-1, extra=-1 })
|
||||
|
||||
|
||||
|
|
|
@ -405,7 +405,7 @@ gameevent
|
|||
local N=1
|
||||
for n=1,N do
|
||||
for i=0,gv.MAXSPRITES-1 do
|
||||
sprite[i].filler = 1
|
||||
sprite[i].blend = 1
|
||||
end
|
||||
for i=gv.MAXSPRITES-1,0,-1 do
|
||||
sprite[i].shade = 1
|
||||
|
|
|
@ -48,7 +48,7 @@ local STRUCTDEF = {
|
|||
uint16_t cstat;
|
||||
int16_t picnum;
|
||||
int8_t shade;
|
||||
uint8_t pal, clipdist, filler;
|
||||
uint8_t pal, clipdist, blend;
|
||||
uint8_t xrepeat, yrepeat;
|
||||
int8_t xoffset, yoffset;
|
||||
int16_t sectnum, statnum;
|
||||
|
|
|
@ -76,7 +76,7 @@ local sprite_members = {
|
|||
"x", "y", "z",
|
||||
"cstat", "picnum",
|
||||
"shade",
|
||||
"pal", "clipdist", "filler",
|
||||
"pal", "clipdist", "blend",
|
||||
"xrepeat", "yrepeat",
|
||||
"xoffset", "yoffset",
|
||||
"sectnum", "statnum",
|
||||
|
|
Loading…
Reference in a new issue