mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-16 12:40:38 +00:00
- removed a large bunch of unused dynamic tile names.
This commit is contained in:
parent
b281c34357
commit
54c29258d8
5 changed files with 2 additions and 2140 deletions
|
@ -85,13 +85,7 @@ enum {
|
||||||
|
|
||||||
#define PACKBUF_SIZE 32768
|
#define PACKBUF_SIZE 32768
|
||||||
|
|
||||||
#define TILE_SAVESHOT (MAXTILES-1)
|
|
||||||
#define TILE_LOADSHOT (MAXTILES-3)
|
|
||||||
#define TILE_TILT (MAXTILES-2)
|
|
||||||
#define TILE_ANIM (MAXTILES-4)
|
|
||||||
#define TILE_VIEWSCR (MAXTILES-5)
|
#define TILE_VIEWSCR (MAXTILES-5)
|
||||||
// Reserved: TILE_VIEWSCR_1 (MAXTILES-6)
|
|
||||||
// Reserved: TILE_VIEWSCR_2 (MAXTILES-7)
|
|
||||||
EDUKE32_STATIC_ASSERT(7 <= MAXTILES-MAXUSERTILES);
|
EDUKE32_STATIC_ASSERT(7 <= MAXTILES-MAXUSERTILES);
|
||||||
|
|
||||||
// sprites with these statnums should be considered for fixing
|
// sprites with these statnums should be considered for fixing
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1011,16 +1011,6 @@ int32_t sv_saveandmakesnapshot(FileWriter &fil, int8_t spot, bool isAutoSave)
|
||||||
|
|
||||||
// write header
|
// write header
|
||||||
|
|
||||||
#if 0 // not usable anymore
|
|
||||||
if (spot >= 0 && tileData(TILE_SAVESHOT))
|
|
||||||
{
|
|
||||||
auto fw = WriteSavegameChunk("screenshot.dat");
|
|
||||||
fw->Write(tileData(TILE_SAVESHOT), 320*200);
|
|
||||||
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
if (spot >= 0)
|
if (spot >= 0)
|
||||||
{
|
{
|
||||||
// savegame
|
// savegame
|
||||||
|
|
|
@ -121,7 +121,7 @@ public:
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ammo_sprites = { -1, TILE_AMMO, TILE_SHOTGUNAMMO, TILE_BATTERYAMMO, TILE_HBOMBAMMO, TILE_HBOMBAMMO, TILE_RRTILE43, TILE_DEVISTATORAMMO, TILE_TRIPBOMBSPRITE, TILE_GROWSPRITEICON, TILE_HBOMBAMMO, -1,
|
ammo_sprites = { -1, TILE_AMMO, TILE_SHOTGUNAMMO, TILE_BATTERYAMMO, TILE_HBOMBAMMO, TILE_HBOMBAMMO, 43/*TILE_RRTILE43*/, TILE_DEVISTATORAMMO, TILE_TRIPBOMBSPRITE, TILE_GROWSPRITEICON, TILE_HBOMBAMMO, -1,
|
||||||
TILE_BOWLINGBALLSPRITE, TILE_MOTOAMMO, TILE_BOATAMMO, -1, TILE_RPG2SPRITE };
|
TILE_BOWLINGBALLSPRITE, TILE_MOTOAMMO, TILE_BOATAMMO, -1, TILE_RPG2SPRITE };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -877,7 +877,7 @@ void G_DrawBackground(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto tex = tileGetTexture((g_gameType & GAMEFLAG_RRRA) ? TILE_RRTILE7629 : TILE_BIGHOLE);
|
auto tex = tileGetTexture((g_gameType & GAMEFLAG_RRRA) ? /*TILE_RRTILE*/7629 : TILE_BIGHOLE);
|
||||||
if (tex != nullptr && tex->isValid())
|
if (tex != nullptr && tex->isValid())
|
||||||
{
|
{
|
||||||
if (windowxy1.y > 0)
|
if (windowxy1.y > 0)
|
||||||
|
|
Loading…
Reference in a new issue