mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
This precaching stuff doesn't belong in EDUKE32_STANDALONE builds
git-svn-id: https://svn.eduke32.com/eduke32@7125 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
51d4347e2c
commit
cbb9018728
1 changed files with 4 additions and 1 deletions
|
@ -75,6 +75,7 @@ static void G_CacheSpriteNum(int32_t i)
|
||||||
for (j = PN(i); j <= g_tile[PN(i)].cacherange; j++)
|
for (j = PN(i); j <= g_tile[PN(i)].cacherange; j++)
|
||||||
tloadtile(j,1);
|
tloadtile(j,1);
|
||||||
|
|
||||||
|
#ifndef EDUKE32_STANDALONE
|
||||||
switch (DYNAMICTILEMAP(PN(i)))
|
switch (DYNAMICTILEMAP(PN(i)))
|
||||||
{
|
{
|
||||||
case HYDRENT__STATIC:
|
case HYDRENT__STATIC:
|
||||||
|
@ -195,8 +196,8 @@ static void G_CacheSpriteNum(int32_t i)
|
||||||
case DEVISTATORSPRITE__STATIC:
|
case DEVISTATORSPRITE__STATIC:
|
||||||
for (j=DEVISTATOR; j<=DEVISTATOR+1; j++) tloadtile(j,1);
|
for (j=DEVISTATOR; j<=DEVISTATOR+1; j++) tloadtile(j,1);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
for (j = PN(i); j < (PN(i)+maxc); j++) tloadtile(j,1);
|
for (j = PN(i); j < (PN(i)+maxc); j++) tloadtile(j,1);
|
||||||
}
|
}
|
||||||
|
@ -214,6 +215,7 @@ static void G_PrecacheSprites(void)
|
||||||
for (j = i; j <= g_tile[i].cacherange; j++)
|
for (j = i; j <= g_tile[i].cacherange; j++)
|
||||||
tloadtile(j,1);
|
tloadtile(j,1);
|
||||||
}
|
}
|
||||||
|
#ifndef EDUKE32_STANDALONE
|
||||||
tloadtile(BOTTOMSTATUSBAR,1);
|
tloadtile(BOTTOMSTATUSBAR,1);
|
||||||
if ((g_netServer || ud.multimode > 1))
|
if ((g_netServer || ud.multimode > 1))
|
||||||
tloadtile(FRAGBAR,1);
|
tloadtile(FRAGBAR,1);
|
||||||
|
@ -264,6 +266,7 @@ static void G_PrecacheSprites(void)
|
||||||
for (i=SHRINKEREXPLOSION; i<SHRINKEREXPLOSION+4; i++) tloadtile(i,1);
|
for (i=SHRINKEREXPLOSION; i<SHRINKEREXPLOSION+4; i++) tloadtile(i,1);
|
||||||
for (i=MORTER; i<MORTER+4; i++) tloadtile(i,1);
|
for (i=MORTER; i<MORTER+4; i++) tloadtile(i,1);
|
||||||
for (i=0; i<=60; i++) tloadtile(i,1);
|
for (i=0; i<=60; i++) tloadtile(i,1);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static void G_DoLoadScreen(const char *statustext, int32_t percent)
|
static void G_DoLoadScreen(const char *statustext, int32_t percent)
|
||||||
|
|
Loading…
Reference in a new issue