EDUKE32_STANDALONE stuff

git-svn-id: https://svn.eduke32.com/eduke32@6980 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-09-28 04:27:23 +00:00
parent 8a2651ac55
commit 64d464e988

View file

@ -1216,11 +1216,27 @@ static void prelevel(char g)
switch (DYNAMICTILEMAP(pWall->picnum)) switch (DYNAMICTILEMAP(pWall->picnum))
{ {
#ifndef EDUKE32_STANDALONE
case WATERTILE2__STATIC: case WATERTILE2__STATIC:
for (bsize_t j = 0; j < 3; j++) for (bsize_t j = 0; j < 3; j++)
tloadtile(pWall->picnum + j, 0); tloadtile(pWall->picnum + j, 0);
break; break;
case FEMPIC1__STATIC:
case FEMPIC2__STATIC:
case FEMPIC3__STATIC:
pWall->extra = pWall->picnum;
animwall[g_animWallCnt].tag = -1;
if (ud.lockout)
pWall->picnum = (pWall->picnum == FEMPIC1) ? BLANKSCREEN : SCREENBREAK6;
animwall[g_animWallCnt].wallnum = i;
animwall[g_animWallCnt].tag = pWall->picnum;
g_animWallCnt++;
break;
#endif
case TECHLIGHT2__STATIC: case TECHLIGHT2__STATIC:
case TECHLIGHT4__STATIC: tloadtile(pWall->picnum, 0); break; case TECHLIGHT4__STATIC: tloadtile(pWall->picnum, 0); break;
case W_TECHWALL1__STATIC: case W_TECHWALL1__STATIC:
@ -1242,20 +1258,6 @@ static void prelevel(char g)
g_animWallCnt++; g_animWallCnt++;
break; break;
case FEMPIC1__STATIC:
case FEMPIC2__STATIC:
case FEMPIC3__STATIC:
pWall->extra = pWall->picnum;
animwall[g_animWallCnt].tag = -1;
if (ud.lockout)
pWall->picnum = (pWall->picnum == FEMPIC1) ? BLANKSCREEN : SCREENBREAK6;
animwall[g_animWallCnt].wallnum = i;
animwall[g_animWallCnt].tag = pWall->picnum;
g_animWallCnt++;
break;
case SCREENBREAK1__STATIC: case SCREENBREAK1__STATIC:
case SCREENBREAK2__STATIC: case SCREENBREAK2__STATIC:
case SCREENBREAK3__STATIC: case SCREENBREAK3__STATIC: