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:
helixhorned 2014-02-08 14:37:51 +00:00
parent 330b744a1b
commit a37c31cab7
6 changed files with 8 additions and 7 deletions

View file

@ -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",

View file

@ -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;

View file

@ -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 })

View file

@ -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

View file

@ -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;

View file

@ -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",