Defs: Add "yoffset" subtoken to "multipsky".

git-svn-id: https://svn.eduke32.com/eduke32@5897 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-10-14 07:40:53 +00:00
parent 527181f151
commit fc1deb5e3d

View file

@ -2655,7 +2655,7 @@ static int32_t defsparser(scriptfile *script)
static const tokenlist subtokens[] =
{
{ "horizfrac", T_HORIZFRAC },
// XXX: yoffs?
{ "yoffset", T_YOFFSET },
{ "lognumtiles", T_LOGNUMTILES },
{ "tile", T_TILE },
{ "panel", T_TILE },
@ -2687,6 +2687,14 @@ static int32_t defsparser(scriptfile *script)
newpsky->horizfrac = horizfrac;
break;
}
case T_YOFFSET:
{
int32_t yoffset;
scriptfile_getsymbol(script,&yoffset);
newpsky->yoffs = yoffset;
break;
}
case T_LOGNUMTILES:
{
int32_t lognumtiles;