mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-24 07:50:59 +00:00
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:
parent
527181f151
commit
fc1deb5e3d
1 changed files with 9 additions and 1 deletions
|
@ -2655,7 +2655,7 @@ static int32_t defsparser(scriptfile *script)
|
||||||
static const tokenlist subtokens[] =
|
static const tokenlist subtokens[] =
|
||||||
{
|
{
|
||||||
{ "horizfrac", T_HORIZFRAC },
|
{ "horizfrac", T_HORIZFRAC },
|
||||||
// XXX: yoffs?
|
{ "yoffset", T_YOFFSET },
|
||||||
{ "lognumtiles", T_LOGNUMTILES },
|
{ "lognumtiles", T_LOGNUMTILES },
|
||||||
{ "tile", T_TILE },
|
{ "tile", T_TILE },
|
||||||
{ "panel", T_TILE },
|
{ "panel", T_TILE },
|
||||||
|
@ -2687,6 +2687,14 @@ static int32_t defsparser(scriptfile *script)
|
||||||
newpsky->horizfrac = horizfrac;
|
newpsky->horizfrac = horizfrac;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case T_YOFFSET:
|
||||||
|
{
|
||||||
|
int32_t yoffset;
|
||||||
|
scriptfile_getsymbol(script,&yoffset);
|
||||||
|
|
||||||
|
newpsky->yoffs = yoffset;
|
||||||
|
break;
|
||||||
|
}
|
||||||
case T_LOGNUMTILES:
|
case T_LOGNUMTILES:
|
||||||
{
|
{
|
||||||
int32_t lognumtiles;
|
int32_t lognumtiles;
|
||||||
|
|
Loading…
Reference in a new issue