From 30cf62d9c2542a784502d5e7f18427cc46dc82bc Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 5 May 2020 14:37:20 +0200 Subject: [PATCH] - renamed all tile variables so that the engine can be reverted to the old constant setup instead of the mostly useless tile remapping feature. If this is supposed to be made customizable it has to be done very differently. # Conflicts: # source/games/duke/src/game.cpp # source/games/duke/src/sbar.cpp --- source/games/duke/src/actors.cpp | 3 +- source/games/duke/src/actors.h | 4 +- source/games/duke/src/actors_e.cpp | 830 ++-- source/games/duke/src/cheats.cpp | 2 +- source/games/duke/src/common.cpp | 10 +- source/games/duke/src/d_menu.cpp | 38 +- source/games/duke/src/demo.cpp | 14 +- source/games/duke/src/game.cpp | 509 +-- source/games/duke/src/gameexec.cpp | 146 +- source/games/duke/src/gamevars.cpp | 24 +- source/games/duke/src/macros.h | 4 +- source/games/duke/src/namesdyn.cpp | 5744 ++++++++++++++-------------- source/games/duke/src/namesdyn.h | 2832 +++++++------- source/games/duke/src/net.cpp | 28 +- source/games/duke/src/player.cpp | 760 ++-- source/games/duke/src/player.h | 4 +- source/games/duke/src/premap.cpp | 274 +- source/games/duke/src/rrdh.cpp | 46 +- source/games/duke/src/savegame.cpp | 6 +- source/games/duke/src/sbar.cpp | 172 +- source/games/duke/src/screens.cpp | 122 +- source/games/duke/src/sector.cpp | 766 ++-- source/games/duke/src/sector.h | 6 +- source/games/duke/src/sounds.cpp | 10 +- source/games/duke/src/sounds.h | 2 +- source/games/duke/src/text.cpp | 14 +- 26 files changed, 6186 insertions(+), 6184 deletions(-) diff --git a/source/games/duke/src/actors.cpp b/source/games/duke/src/actors.cpp index be4c954b5..d76632273 100644 --- a/source/games/duke/src/actors.cpp +++ b/source/games/duke/src/actors.cpp @@ -47,6 +47,7 @@ Note: #include "ns.h" #include "global.h" +#include "names.h" BEGIN_DUKE_NS @@ -55,7 +56,7 @@ bool ifsquished(int i, int p) if (g_gameType & GAMEFLAG_RRALL) return false; // this function is a no-op in RR's source. bool squishme = false; - if (sprite[i].picnum == APLAYER && ud.clipping) + if (sprite[i].picnum == TILE_APLAYER && ud.clipping) return false; auto &sc = sector[sprite[i].sectnum]; diff --git a/source/games/duke/src/actors.h b/source/games/duke/src/actors.h index 9f265baae..2f2844063 100644 --- a/source/games/duke/src/actors.h +++ b/source/games/duke/src/actors.h @@ -324,13 +324,13 @@ ACTOR_INLINE int A_SetSprite(int const spriteNum, uint32_t cliptype) EXTERN_INLINE int G_CheckForSpaceCeiling(int const sectnum) { return ((sector[sectnum].ceilingstat&1) && sector[sectnum].ceilingpal == 0 && - (sector[sectnum].ceilingpicnum==MOONSKY1 || sector[sectnum].ceilingpicnum==BIGORBIT1)); + (sector[sectnum].ceilingpicnum==TILE_MOONSKY1 || sector[sectnum].ceilingpicnum==TILE_BIGORBIT1)); } EXTERN_INLINE int G_CheckForSpaceFloor(int const sectnum) { return ((sector[sectnum].floorstat&1) && sector[sectnum].ceilingpal == 0 && - (sector[sectnum].floorpicnum==MOONSKY1 || sector[sectnum].floorpicnum==BIGORBIT1)); + (sector[sectnum].floorpicnum==TILE_MOONSKY1 || sector[sectnum].floorpicnum==TILE_BIGORBIT1)); } EXTERN_INLINE int A_CheckEnemySprite(void const * const pSprite) diff --git a/source/games/duke/src/actors_e.cpp b/source/games/duke/src/actors_e.cpp index 01a5df7d8..1aa2286fa 100644 --- a/source/games/duke/src/actors_e.cpp +++ b/source/games/duke/src/actors_e.cpp @@ -48,7 +48,7 @@ void G_ClearCameraView(DukePlayer_t *ps) P_UpdateScreenPal(ps); for (bssize_t SPRITES_OF(STAT_ACTOR, k)) - if (sprite[k].picnum==CAMERA1) + if (sprite[k].picnum==TILE_CAMERA1) sprite[k].yvel = 0; } @@ -66,9 +66,9 @@ void A_RadiusDamage(int spriteNum, int blastRadius, int dmg1, int dmg2, int dmg3 int32_t numSectors = 1; int16_t sectorList[64] = { pSprite->sectnum }; - if ((pSprite->picnum == RPG && pSprite->xrepeat < 11) - || (RRRA && pSprite->picnum == RPG2 && pSprite->xrepeat < 11) - || (!RR && pSprite->picnum == SHRINKSPARK)) + if ((pSprite->picnum == TILE_RPG && pSprite->xrepeat < 11) + || (RRRA && pSprite->picnum == TILE_RPG2 && pSprite->xrepeat < 11) + || (!RR && pSprite->picnum == TILE_SHRINKSPARK)) goto SKIPWALLCHECK; do @@ -147,7 +147,7 @@ SKIPWALLCHECK: // DEFAULT, ZOMBIEACTOR, MISC if (stati == STAT_DEFAULT || stati == STAT_ZOMBIEACTOR || stati == STAT_MISC || AFLAMABLE(pOther->picnum)) { - if ((!RR && pSprite->picnum != SHRINKSPARK) || (pOther->cstat&257)) + if ((!RR && pSprite->picnum != TILE_SHRINKSPARK) || (pOther->cstat&257)) { if (dist(pSprite, pOther) < blastRadius) { @@ -158,14 +158,14 @@ SKIPWALLCHECK: } } else if (pOther->extra >= 0 && (uspritetype *)pOther != pSprite && ((pOther->cstat & 257) || - (!RR && pOther->picnum == TRIPBOMB) || pOther->picnum == QUEBALL || (RR && pOther->picnum == RRTILE3440) || pOther->picnum == STRIPEBALL || pOther->picnum == DUKELYINGDEAD || + (!RR && pOther->picnum == TILE_TRIPBOMB) || pOther->picnum == TILE_QUEBALL || (RR && pOther->picnum == TILE_RRTILE3440) || pOther->picnum == TILE_STRIPEBALL || pOther->picnum == TILE_DUKELYINGDEAD || A_CheckEnemySprite(pOther))) { - if ((!RR && pSprite->picnum == SHRINKSPARK && pOther->picnum != SHARK && (otherSprite == pSprite->owner || pOther->xrepeat < 24)) - || (pSprite->picnum == MORTER && otherSprite == pSprite->owner) - || (RRRA && ((pSprite->picnum == CHEERBOMB && otherSprite == pSprite->owner) || (pOther->picnum == MINION && pOther->pal == 19)))) + if ((!RR && pSprite->picnum == TILE_SHRINKSPARK && pOther->picnum != TILE_SHARK && (otherSprite == pSprite->owner || pOther->xrepeat < 24)) + || (pSprite->picnum == TILE_MORTER && otherSprite == pSprite->owner) + || (RRRA && ((pSprite->picnum == TILE_CHEERBOMB && otherSprite == pSprite->owner) || (pOther->picnum == TILE_MINION && pOther->pal == 19)))) goto next_sprite; - int32_t const spriteDist = pOther->picnum == APLAYER + int32_t const spriteDist = pOther->picnum == TILE_APLAYER ? FindDistance3D(pSprite->x - pOther->x, pSprite->y - pOther->y, pSprite->z - (pOther->z - PHEIGHT)) : dist(pSprite, pOther); @@ -177,14 +177,14 @@ SKIPWALLCHECK: dmgActor.ang = getangle(pOther->x - pSprite->x, pOther->y - pSprite->y); - if (RRRA && pOther->extra > 0 && pSprite->picnum == RPG2) - dmgActor.picnum = RPG; - else if ((pOther->extra > 0 && pSprite->picnum == RPG) - || (!RR && pSprite->picnum == SHRINKSPARK)) + if (RRRA && pOther->extra > 0 && pSprite->picnum == TILE_RPG2) + dmgActor.picnum = TILE_RPG; + else if ((pOther->extra > 0 && pSprite->picnum == TILE_RPG) + || (!RR && pSprite->picnum == TILE_SHRINKSPARK)) dmgActor.picnum = pSprite->picnum; - else dmgActor.picnum = RADIUSEXPLOSION; + else dmgActor.picnum = TILE_RADIUSEXPLOSION; - if (RR || pSprite->picnum != SHRINKSPARK) + if (RR || pSprite->picnum != TILE_SHRINKSPARK) { if (spriteDist < blastRadius/3) { @@ -232,10 +232,10 @@ SKIPWALLCHECK: } else if (pSprite->extra == 0) dmgActor.extra = 0; - if (pOther->picnum != RADIUSEXPLOSION && + if (pOther->picnum != TILE_RADIUSEXPLOSION && pSprite->owner >= 0 && sprite[pSprite->owner].statnum < MAXSTATUS) { - if (pOther->picnum == APLAYER) + if (pOther->picnum == TILE_APLAYER) { DukePlayer_t *pPlayer = g_player[P_GetP((uspritetype *)pOther)].ps; @@ -304,7 +304,7 @@ static int32_t A_CheckNeedZUpdate(int32_t spriteNum, int32_t zChange, int32_t *p { if (A_CheckNoSE7Water(pSprite, sprite[spriteNum].sectnum, sectLotag, &otherSect)) { - A_Spawn(spriteNum, WATERSPLASH2); + A_Spawn(spriteNum, TILE_WATERSPLASH2); // NOTE: Don't tweak its z position afterwards like with // SE7-induced projectile teleportation. It doesn't look good // with TROR water. @@ -344,7 +344,7 @@ int32_t A_MoveSprite(int32_t spriteNum, vec3_t const * const change, uint32_t cl clipDist = 192; else if (pSprite->xrepeat > 60) clipDist = 1024; - else if (pSprite->picnum == LIZMAN) + else if (pSprite->picnum == TILE_LIZMAN) clipDist = 292; else if (A_CheckSpriteFlags(spriteNum, SFLAG_BADGUY)) clipDist = pSprite->clipdist<<2; @@ -376,16 +376,16 @@ int32_t A_MoveSprite(int32_t spriteNum, vec3_t const * const change, uint32_t cl // Handle potential stayput condition (map-provided or hard-coded). if (newSectnum < 0 || ((actor[spriteNum].actorstayput >= 0 && actor[spriteNum].actorstayput != newSectnum) - || (!RR && ((pSprite->picnum == BOSS2 && pSprite->pal == 0 && sector[newSectnum].lotag != ST_3) - || ((pSprite->picnum == BOSS1 || pSprite->picnum == BOSS2) && sector[newSectnum].lotag == ST_1_ABOVE_WATER) + || (!RR && ((pSprite->picnum == TILE_BOSS2 && pSprite->pal == 0 && sector[newSectnum].lotag != ST_3) + || ((pSprite->picnum == TILE_BOSS1 || pSprite->picnum == TILE_BOSS2) && sector[newSectnum].lotag == ST_1_ABOVE_WATER) || (sector[newSectnum].lotag == ST_1_ABOVE_WATER - && (pSprite->picnum == LIZMAN || (pSprite->picnum == LIZTROOP && pSprite->zvel == 0))))) + && (pSprite->picnum == TILE_LIZMAN || (pSprite->picnum == TILE_LIZTROOP && pSprite->zvel == 0))))) )) { *(vec2_t *) pSprite = oldPos; - if ((newSectnum >= 0 && sector[newSectnum].lotag == ST_1_ABOVE_WATER && (RR || pSprite->picnum == LIZMAN)) - || ((AC_COUNT(actor[spriteNum].t_data)&3) == 1 && (RR || pSprite->picnum != COMMANDER))) + if ((newSectnum >= 0 && sector[newSectnum].lotag == ST_1_ABOVE_WATER && (RR || pSprite->picnum == TILE_LIZMAN)) + || ((AC_COUNT(actor[spriteNum].t_data)&3) == 1 && (RR || pSprite->picnum != TILE_COMMANDER))) pSprite->ang = krand2()&2047; setsprite(spriteNum, (vec3_t *)pSprite); @@ -482,7 +482,7 @@ void A_DeleteSprite(int spriteNum) #endif // AMBIENT_SFX_PLAYING - if (sprite[spriteNum].picnum == MUSICANDSFX && actor[spriteNum].t_data[0] == 1) + if (sprite[spriteNum].picnum == TILE_MUSICANDSFX && actor[spriteNum].t_data[0] == 1) S_StopEnvSound(sprite[spriteNum].lotag, spriteNum); // NetAlloc @@ -537,14 +537,14 @@ void A_DoGuts(int spriteNum, int tileNum, int spawnCnt) if (gutZ > (floorz-ZOFFSET3)) gutZ = floorz-ZOFFSET3; - if (!RR && pSprite->picnum == COMMANDER) + if (!RR && pSprite->picnum == TILE_COMMANDER) gutZ -= (24<<8); uint8_t pal = 0; if (A_CheckEnemySprite(pSprite) && pSprite->pal == 6) pal = 6; - else if (RRRA && pSprite->picnum == MINION && (pSprite->pal == 8 || pSprite->pal == 19)) + else if (RRRA && pSprite->picnum == TILE_MINION && (pSprite->pal == 8 || pSprite->pal == 19)) pal = pSprite->pal; if (RR) repeat.x >>= 1, repeat.y >>= 1; @@ -557,7 +557,7 @@ void A_DoGuts(int spriteNum, int tileNum, int spawnCnt) pSprite->y + (r4 & 255) - 128, gutZ - (r3 & 8191), tileNum, -32, repeat.x, repeat.y, ang, 48 + (r2 & 31), -512 - (r1 & 2047), spriteNum, 5); - if (!RR && PN(i) == JIBS2) + if (!RR && PN(i) == TILE_JIBS2) { sprite[i].xrepeat >>= 2; sprite[i].yrepeat >>= 2; @@ -581,7 +581,7 @@ void A_DoGutsDir(int spriteNum, int tileNum, int spawnCnt) if (gutZ > (floorZ-ZOFFSET3)) gutZ = floorZ-ZOFFSET3; - if (!RR && s->picnum == COMMANDER) + if (!RR && s->picnum == TILE_COMMANDER) gutZ -= (24<<8); for (bssize_t j=spawnCnt; j>0; j--) @@ -796,7 +796,7 @@ ACTOR_STATIC void G_MoveZombieActors(void) //} canSeePlayer = 0; if (!RR || pSprite->pal == 33 || A_CheckSpriteFlags(spriteNum, SFLAG_NOCANSEECHECK) - || (RRRA && pSprite->picnum == MINION && pSprite->pal == 8) + || (RRRA && pSprite->picnum == TILE_MINION && pSprite->pal == 8) || (sintable[(pSprite->ang+512)&2047]*(p.x-s.x)+sintable[pSprite->ang&2047]*(p.y-s.y) >= 0)) { p.z = pPlayer->opos.z - (krand2() % ZOFFSET5); @@ -880,13 +880,13 @@ static FORCE_INLINE int G_FindExplosionInSector(int const sectNum) if (RR) { for (bssize_t SPRITES_OF(STAT_MISC, i)) - if (PN(i) == EXPLOSION2 || (PN(i) == EXPLOSION3 && sectNum == SECT(i))) + if (PN(i) == TILE_EXPLOSION2 || (PN(i) == TILE_EXPLOSION3 && sectNum == SECT(i))) return i; } else { for (bssize_t SPRITES_OF(STAT_MISC, i)) - if (PN(i) == EXPLOSION2 && sectNum == SECT(i)) + if (PN(i) == TILE_EXPLOSION2 && sectNum == SECT(i)) return i; } @@ -911,14 +911,14 @@ int A_IncurDamage(int const spriteNum) return -1; } - if (pSprite->picnum == APLAYER) + if (pSprite->picnum == TILE_APLAYER) { - if (ud.god && (RR || pActor->picnum != SHRINKSPARK)) + if (ud.god && (RR || pActor->picnum != TILE_SHRINKSPARK)) return -1; int const playerNum = P_GetP(pSprite); - if (pActor->owner >= 0 && (sprite[pActor->owner].picnum == APLAYER)) + if (pActor->owner >= 0 && (sprite[pActor->owner].picnum == TILE_APLAYER)) { if ( (ud.ffire == 0) && @@ -932,14 +932,14 @@ int A_IncurDamage(int const spriteNum) pSprite->extra -= pActor->extra; - if (pActor->owner >= 0 && pSprite->extra <= 0 && pActor->picnum != FREEZEBLAST) + if (pActor->owner >= 0 && pSprite->extra <= 0 && pActor->picnum != TILE_FREEZEBLAST) { int const damageOwner = pActor->owner; pSprite->extra = 0; g_player[playerNum].ps->wackedbyactor = damageOwner; - if (sprite[damageOwner].picnum == APLAYER && playerNum != P_Get(damageOwner)) + if (sprite[damageOwner].picnum == TILE_APLAYER && playerNum != P_Get(damageOwner)) g_player[playerNum].ps->frag_ps = P_Get(damageOwner); pActor->owner = g_player[playerNum].ps->i; @@ -973,12 +973,12 @@ default_case: return pActor->picnum; } - if (pActor->extra == 0 && (RR || pActor->picnum == SHRINKSPARK) && pSprite->xrepeat < 24) + if (pActor->extra == 0 && (RR || pActor->picnum == TILE_SHRINKSPARK) && pSprite->xrepeat < 24) return -1; pSprite->extra -= pActor->extra; - if (pSprite->picnum != RECON && pSprite->owner >= 0 && sprite[pSprite->owner].statnum < MAXSTATUS) + if (pSprite->picnum != TILE_RECON && pSprite->owner >= 0 && sprite[pSprite->owner].statnum < MAXSTATUS) pSprite->owner = pActor->owner; pActor->extra = -1; @@ -1261,7 +1261,7 @@ ACTOR_STATIC void G_MoveFX(void) if (RRRA) { sprite[j].pal = pSprite->pal; - if (sprite[j].picnum == MAMA) + if (sprite[j].picnum == TILE_MAMA) { switch (sprite[j].pal) { @@ -1427,7 +1427,7 @@ ACTOR_STATIC void G_MoveFallers(void) if ((j = A_IncurDamage(spriteNum)) >= 0) { - if ((!RR && j == FIREEXT) || j == RPG || (RRRA && j == RPG2) || j == RADIUSEXPLOSION || j == SEENINE || j == OOZFILTER) + if ((!RR && j == TILE_FIREEXT) || j == TILE_RPG || (RRRA && j == TILE_RPG2) || j == TILE_RADIUSEXPLOSION || j == TILE_SEENINE || j == TILE_OOZFILTER) { if (pSprite->extra <= 0) { @@ -1439,7 +1439,7 @@ ACTOR_STATIC void G_MoveFallers(void) { actor[j].t_data[0] = 1; sprite[j].cstat &= (65535-64); - if (sprite[j].picnum == CEILINGSTEAM || sprite[j].picnum == STEAM) + if (sprite[j].picnum == TILE_CEILINGSTEAM || sprite[j].picnum == TILE_STEAM) sprite[j].cstat |= 32768; } } @@ -1523,7 +1523,7 @@ ACTOR_STATIC void G_MoveStandables(void) Bmemcpy(&actor[spriteNum].bpos, pSprite, sizeof(vec3_t)); - if (PN(spriteNum) >= CRANE && PN(spriteNum) <= CRANE+3) + if (PN(spriteNum) >= TILE_CRANE && PN(spriteNum) <= TILE_CRANE+3) { int32_t nextj; @@ -1558,7 +1558,7 @@ ACTOR_STATIC void G_MoveStandables(void) { if (pSprite->xvel < 184) { - pSprite->picnum = CRANE+1; + pSprite->picnum = TILE_CRANE+1; pSprite->xvel += 8; } A_SetSprite(spriteNum,CLIPMASK0); @@ -1572,7 +1572,7 @@ ACTOR_STATIC void G_MoveStandables(void) if (pData[0]==2) { if (sector[sectNum].floorz - pSprite->z < (64<<8)) - if (pSprite->picnum > CRANE) pSprite->picnum--; + if (pSprite->picnum > TILE_CRANE) pSprite->picnum--; if (sector[sectNum].floorz - pSprite->z < 4096+1024) pData[0]++; @@ -1582,7 +1582,7 @@ ACTOR_STATIC void G_MoveStandables(void) { if (sector[sectNum].floorz - pSprite->z < (64<<8)) { - if (pSprite->picnum > CRANE) pSprite->picnum--; + if (pSprite->picnum > TILE_CRANE) pSprite->picnum--; else { if (pSprite->owner==-2) @@ -1602,7 +1602,7 @@ ACTOR_STATIC void G_MoveStandables(void) else if (pData[0]==3) { pSprite->picnum++; - if (pSprite->picnum == CRANE+2) + if (pSprite->picnum == TILE_CRANE+2) { int32_t p = G_CheckPlayerInSector(pData[1]); @@ -1640,7 +1640,7 @@ ACTOR_STATIC void G_MoveStandables(void) } else if (pData[0]==5 || pData[0] == 8) { - if (pData[0]==8 && pSprite->picnum < (CRANE+2)) + if (pData[0]==8 && pSprite->picnum < (TILE_CRANE+2)) if ((sector[sectNum].floorz-pSprite->z) > 8192) pSprite->picnum++; @@ -1683,7 +1683,7 @@ ACTOR_STATIC void G_MoveStandables(void) if (g_player[p].ps->on_crane == spriteNum) g_player[p].ps->on_crane = -1; pSprite->owner = -1; - pSprite->picnum = CRANE; + pSprite->picnum = TILE_CRANE; goto next_sprite; } @@ -1710,7 +1710,7 @@ ACTOR_STATIC void G_MoveStandables(void) goto next_sprite; } - else if (PN(spriteNum) >= WATERFOUNTAIN && PN(spriteNum) <= WATERFOUNTAIN+3) + else if (PN(spriteNum) >= TILE_WATERFOUNTAIN && PN(spriteNum) <= TILE_WATERFOUNTAIN+3) { if (pData[0] > 0) { @@ -1720,8 +1720,8 @@ ACTOR_STATIC void G_MoveStandables(void) pSprite->picnum++; - if (pSprite->picnum == (WATERFOUNTAIN+3)) - pSprite->picnum = WATERFOUNTAIN+1; + if (pSprite->picnum == (TILE_WATERFOUNTAIN+3)) + pSprite->picnum = TILE_WATERFOUNTAIN+1; } else { @@ -1732,7 +1732,7 @@ ACTOR_STATIC void G_MoveStandables(void) if (playerDist > 512) { pData[0] = 0; - pSprite->picnum = WATERFOUNTAIN; + pSprite->picnum = TILE_WATERFOUNTAIN; } else pData[0] = 1; } @@ -1745,10 +1745,10 @@ ACTOR_STATIC void G_MoveStandables(void) { if ((++T2(spriteNum)&3) > 0) goto next_sprite; - if (pSprite->picnum == TIRE && T2(spriteNum) == 32) + if (pSprite->picnum == TILE_TIRE && T2(spriteNum) == 32) { pSprite->cstat = 0; - j = A_Spawn(spriteNum,BLOODPOOL); + j = A_Spawn(spriteNum,TILE_BLOODPOOL); sprite[j].shade = 127; } else @@ -1769,14 +1769,14 @@ ACTOR_STATIC void G_MoveStandables(void) pSprite->yrepeat = j; } - if (!RR && pSprite->picnum == BOX) + if (!RR && pSprite->picnum == TILE_BOX) { A_Fall(spriteNum); actor[spriteNum].ceilingz = sector[pSprite->sectnum].ceilingz; } goto next_sprite; } - else if (!RR && pSprite->picnum == TRIPBOMB) + else if (!RR && pSprite->picnum == TILE_TRIPBOMB) { int const tripBombMode = Gv_GetVarByLabel("TRIPBOMB_CONTROL", TRIPBOMB_TRIPWIRE, -1, -1); if(tripBombMode & TRIPBOMB_TIMER) @@ -1804,7 +1804,7 @@ ACTOR_STATIC void G_MoveStandables(void) int const dmg = pSprite->extra; A_RadiusDamage(spriteNum, g_tripbombRadius, dmg>>2, dmg>>1, dmg-(dmg>>2), dmg); - j = A_Spawn(spriteNum,EXPLOSION2); + j = A_Spawn(spriteNum,TILE_EXPLOSION2); A_PlaySound(LASERTRIP_EXPLODE,j); sprite[j].ang = pSprite->ang; sprite[j].xvel = 348; @@ -1812,7 +1812,7 @@ ACTOR_STATIC void G_MoveStandables(void) for (SPRITES_OF(STAT_MISC, j)) { - if (sprite[j].picnum == LASERLINE && pSprite->hitag == sprite[j].hitag) + if (sprite[j].picnum == TILE_LASERLINE && pSprite->hitag == sprite[j].hitag) sprite[j].xrepeat = sprite[j].yrepeat = 0; } @@ -1869,7 +1869,7 @@ ACTOR_STATIC void G_MoveStandables(void) while (hitDist > 0) { - j = A_Spawn(spriteNum,LASERLINE); + j = A_Spawn(spriteNum,TILE_LASERLINE); setsprite(j,(vec3_t *)&sprite[j]); sprite[j].hitag = pSprite->hitag; actor[j].t_data[1] = sprite[j].z; @@ -1937,7 +1937,7 @@ ACTOR_STATIC void G_MoveStandables(void) goto next_sprite; } - else if (pSprite->picnum >= CRACK1 && pSprite->picnum <= CRACK4) + else if (pSprite->picnum >= TILE_CRACK1 && pSprite->picnum <= TILE_CRACK4) { if (pSprite->hitag) { @@ -1964,7 +1964,7 @@ ACTOR_STATIC void G_MoveStandables(void) for (SPRITES_OF(STAT_STANDABLE, j)) { if (pSprite->hitag == sprite[j].hitag && - (sprite[j].picnum == OOZFILTER || sprite[j].picnum == SEENINE)) + (sprite[j].picnum == TILE_OOZFILTER || sprite[j].picnum == TILE_SEENINE)) if (sprite[j].shade != -32) sprite[j].shade = -32; } @@ -1982,7 +1982,7 @@ crack_default: } goto next_sprite; } - else if (!RR && pSprite->picnum == FIREEXT) + else if (!RR && pSprite->picnum == TILE_FIREEXT) { if (A_IncurDamage(spriteNum) < 0) goto next_sprite; @@ -1991,13 +1991,13 @@ crack_default: { int32_t const r1 = krand2(), r2 = krand2(), r3 = krand2(), r4 = krand2(), r5 = krand2(); j = A_InsertSprite(SECT(spriteNum), SX(spriteNum), SY(spriteNum), SZ(spriteNum) - (r5 % (48 << 8)), - SCRAP3 + (r4 & 3), -8, 48, 48, r3 & 2047, (r2 & 63) + 64, + TILE_SCRAP3 + (r4 & 3), -8, 48, 48, r3 & 2047, (r2 & 63) + 64, -(r1 & 4095) - (sprite[spriteNum].zvel >> 2), spriteNum, 5); sprite[j].pal = 2; } - j = A_Spawn(spriteNum,EXPLOSION2); + j = A_Spawn(spriteNum,TILE_EXPLOSION2); A_PlaySound(PIPEBOMB_EXPLODE,j); A_PlaySound(GLASS_HEAVYBREAK,j); @@ -2006,14 +2006,14 @@ crack_default: for (SPRITES_OF(STAT_STANDABLE, j)) { // XXX: This block seems to be CODEDUP'd a lot of times. - if (pSprite->hitag == sprite[j].hitag && (sprite[j].picnum == OOZFILTER || sprite[j].picnum == SEENINE)) + if (pSprite->hitag == sprite[j].hitag && (sprite[j].picnum == TILE_OOZFILTER || sprite[j].picnum == TILE_SEENINE)) if (sprite[j].shade != -32) sprite[j].shade = -32; } int const dmg = pSprite->extra; A_RadiusDamage(spriteNum, g_pipebombRadius,dmg>>2, dmg-(dmg>>1),dmg-(dmg>>2), dmg); - j = A_Spawn(spriteNum,EXPLOSION2); + j = A_Spawn(spriteNum,TILE_EXPLOSION2); A_PlaySound(PIPEBOMB_EXPLODE,j); goto DETONATE; @@ -2025,7 +2025,7 @@ crack_default: } goto next_sprite; } - else if (pSprite->picnum == OOZFILTER || pSprite->picnum == SEENINE || pSprite->picnum == SEENINEDEAD || pSprite->picnum == SEENINEDEAD+1) + else if (pSprite->picnum == TILE_OOZFILTER || pSprite->picnum == TILE_SEENINE || pSprite->picnum == TILE_SEENINEDEAD || pSprite->picnum == TILE_SEENINEDEAD+1) { if (pSprite->shade != -32 && pSprite->shade != -33) { @@ -2042,7 +2042,7 @@ crack_default: for (SPRITES_OF(STAT_STANDABLE, j)) { - if (pSprite->hitag == sprite[j].hitag && (sprite[j].picnum == SEENINE || sprite[j].picnum == OOZFILTER)) + if (pSprite->hitag == sprite[j].hitag && (sprite[j].picnum == TILE_SEENINE || sprite[j].picnum == TILE_OOZFILTER)) sprite[j].shade = -32; } } @@ -2067,20 +2067,20 @@ crack_default: T3(spriteNum)++; if (T3(spriteNum) == 3) { - if (pSprite->picnum == OOZFILTER) + if (pSprite->picnum == TILE_OOZFILTER) { T3(spriteNum) = 0; goto DETONATE; } - if (pSprite->picnum != (SEENINEDEAD+1)) + if (pSprite->picnum != (TILE_SEENINEDEAD+1)) { T3(spriteNum) = 0; - if (pSprite->picnum == SEENINEDEAD) + if (pSprite->picnum == TILE_SEENINEDEAD) pSprite->picnum++; - else if (pSprite->picnum == SEENINE) - pSprite->picnum = SEENINEDEAD; + else if (pSprite->picnum == TILE_SEENINE) + pSprite->picnum = TILE_SEENINEDEAD; } else goto DETONATE; } @@ -2115,7 +2115,7 @@ DETONATE: if ((pData[3] == 1 && pSprite->xrepeat) || (int16_t)pSprite->lotag == -99) { - int const newSprite = A_Spawn(spriteNum,EXPLOSION2); + int const newSprite = A_Spawn(spriteNum,TILE_EXPLOSION2); int const dmg = pSprite->extra; A_RadiusDamage(spriteNum,g_seenineRadius,dmg>>2, dmg-(dmg>>1),dmg-(dmg>>2), dmg); @@ -2131,7 +2131,7 @@ DETONATE: } goto next_sprite; } - else if (pSprite->picnum == MASTERSWITCH) + else if (pSprite->picnum == TILE_MASTERSWITCH) { if (pSprite->yvel == 1) { @@ -2178,10 +2178,10 @@ DETONATE: { switchPic = pSprite->picnum; - if (!RR && switchPic > SIDEBOLT1 && switchPic <= SIDEBOLT1 + 3) - switchPic = SIDEBOLT1; - else if (switchPic > BOLT1 && switchPic <= BOLT1 + 3) - switchPic = BOLT1; + if (!RR && switchPic > TILE_SIDEBOLT1 && switchPic <= TILE_SIDEBOLT1 + 3) + switchPic = TILE_SIDEBOLT1; + else if (switchPic > TILE_BOLT1 && switchPic <= TILE_BOLT1 + 3) + switchPic = TILE_BOLT1; switch (DYNAMICTILEMAP(switchPic)) { case VIEWSCREEN__STATIC: @@ -2229,9 +2229,9 @@ DETONATE: break; case SIDEBOLT1__STATIC: - // case SIDEBOLT1+1: - // case SIDEBOLT1+2: - // case SIDEBOLT1+3: + // case TILE_SIDEBOLT1+1: + // case TILE_SIDEBOLT1+2: + // case TILE_SIDEBOLT1+3: { if (RR) goto next_sprite; int32_t playerDist; @@ -2262,24 +2262,24 @@ DETONATE: #if 0 // NOTE: Um, this 'l' was assigned to last at the beginning of this function. - // SIDEBOLT1 never gets translucent as a consequence, unlike BOLT1. + // TILE_SIDEBOLT1 never gets translucent as a consequence, unlike TILE_BOLT1. if (randomRepeat & 1) pSprite->cstat ^= 2; #endif - if ((krand2() & 1) && sector[sectNum].floorpicnum == HURTRAIL) + if ((krand2() & 1) && sector[sectNum].floorpicnum == TILE_HURTRAIL) A_PlaySound(SHORT_CIRCUIT, spriteNum); - if (pSprite->picnum == SIDEBOLT1 + 4) - pSprite->picnum = SIDEBOLT1; + if (pSprite->picnum == TILE_SIDEBOLT1 + 4) + pSprite->picnum = TILE_SIDEBOLT1; goto next_sprite; } case BOLT1__STATIC: - // case BOLT1+1: - // case BOLT1+2: - // case BOLT1+3: + // case TILE_BOLT1+1: + // case TILE_BOLT1+2: + // case TILE_BOLT1+3: { int32_t playerDist; A_FindPlayer(pSprite, &playerDist); @@ -2318,12 +2318,12 @@ DETONATE: if (randomRepeat & 1) pSprite->cstat ^= 2; - if (pSprite->picnum == (BOLT1 + 1) - && (RR ? (krand2() & 1) != 0 : (krand2() & 7) == 0) && sector[sectNum].floorpicnum == HURTRAIL) + if (pSprite->picnum == (TILE_BOLT1 + 1) + && (RR ? (krand2() & 1) != 0 : (krand2() & 7) == 0) && sector[sectNum].floorpicnum == TILE_HURTRAIL) A_PlaySound(SHORT_CIRCUIT, spriteNum); - if (pSprite->picnum == BOLT1 + 4) - pSprite->picnum = BOLT1; + if (pSprite->picnum == TILE_BOLT1 + 4) + pSprite->picnum = TILE_BOLT1; if (pSprite->picnum & 1) { @@ -2359,7 +2359,7 @@ DETONATE: if (pSprite->pal != 2 && (RR || pSprite->hitag == 0)) A_PlaySound(SOMETHING_DRIPPING, spriteNum); - if (sprite[pSprite->owner].picnum != WATERDRIP) + if (sprite[pSprite->owner].picnum != TILE_WATERDRIP) { DELETE_SPRITE_AND_CONTINUE(spriteNum); } @@ -2450,7 +2450,7 @@ DETONATE: { for (SPRITES_OF(STAT_STANDABLE, j)) { - if (j != spriteNum && sprite[j].picnum == TOUCHPLATE && sprite[j].lotag == pSprite->lotag) + if (j != spriteNum && sprite[j].picnum == TILE_TOUCHPLATE && sprite[j].lotag == pSprite->lotag) { actor[j].t_data[1] = 1; actor[j].t_data[3] = pData[3]; @@ -2648,14 +2648,14 @@ ACTOR_STATIC void G_MoveWeapons(void) pSprite->x = sprite[pSprite->owner].x; pSprite->y = sprite[pSprite->owner].y; - if (sprite[pSprite->owner].picnum == APLAYER) + if (sprite[pSprite->owner].picnum == TILE_APLAYER) pSprite->z = sprite[pSprite->owner].z - (34<<8); for (int i = 0; i < T1(spriteNum); i++) { int const newSprite = A_InsertSprite(pSprite->sectnum, pSprite->x+((i*sintable[(pSprite->ang+512)&2047])>>9), pSprite->y+((i*sintable[pSprite->ang])>>9), - pSprite->z+((i*ksgn(pSprite->zvel))*klabs(pSprite->zvel/12)), TONGUE, -40+i*2, + pSprite->z+((i*ksgn(pSprite->zvel))*klabs(pSprite->zvel/12)), TILE_TONGUE, -40+i*2, 8, 8, 0, 0, 0, spriteNum, STAT_MISC); sprite[newSprite].cstat = 48; @@ -2667,19 +2667,19 @@ ACTOR_STATIC void G_MoveWeapons(void) int const newSprite = A_InsertSprite(pSprite->sectnum, pSprite->x+((i*sintable[(pSprite->ang+512)&2047])>>9), pSprite->y+((i*sintable[pSprite->ang])>>9), - pSprite->z+((i*ksgn(pSprite->zvel))*klabs(pSprite->zvel/12)), INNERJAW, -40, + pSprite->z+((i*ksgn(pSprite->zvel))*klabs(pSprite->zvel/12)), TILE_INNERJAW, -40, 32, 32, 0, 0, 0, spriteNum, STAT_MISC); sprite[newSprite].cstat = 128; if (T2(spriteNum) > 512 && T2(spriteNum) < 1024) - sprite[newSprite].picnum = INNERJAW+1; + sprite[newSprite].picnum = TILE_INNERJAW+1; } goto next_sprite; case FREEZEBLAST__STATIC: if (pSprite->yvel < 1 || pSprite->extra < 2 || (pSprite->xvel | pSprite->zvel) == 0) { - int const newSprite = A_Spawn(spriteNum, TRANSPORTERSTAR); + int const newSprite = A_Spawn(spriteNum, TILE_TRANSPORTERSTAR); sprite[newSprite].pal = 1; sprite[newSprite].xrepeat = 32; sprite[newSprite].yrepeat = 32; @@ -2688,7 +2688,7 @@ ACTOR_STATIC void G_MoveWeapons(void) fallthrough__; case RPG2__STATICRR: case RRTILE1790__STATICRR: - if (!RRRA && pSprite->picnum != FREEZEBLAST) goto next_sprite; + if (!RRRA && pSprite->picnum != TILE_FREEZEBLAST) goto next_sprite; fallthrough__; case SHRINKSPARK__STATIC: case RPG__STATIC: @@ -2698,14 +2698,14 @@ ACTOR_STATIC void G_MoveWeapons(void) case OWHIP__STATICRR: case UWHIP__STATICRR: { - if (!RR && pSprite->picnum == COOLEXPLOSION1) + if (!RR && pSprite->picnum == TILE_COOLEXPLOSION1) if (!S_CheckSoundPlaying(spriteNum, WIERDSHOT_FLY)) A_PlaySound(WIERDSHOT_FLY, spriteNum); int spriteXvel = pSprite->xvel; int spriteZvel = pSprite->zvel; - if ((pSprite->picnum == RPG || (RRRA && pSprite->picnum == RPG2)) && sector[pSprite->sectnum].lotag == ST_2_UNDERWATER) + if ((pSprite->picnum == TILE_RPG || (RRRA && pSprite->picnum == TILE_RPG2)) && sector[pSprite->sectnum].lotag == ST_2_UNDERWATER) { spriteXvel >>= 1; spriteZvel >>= 1; @@ -2715,25 +2715,25 @@ ACTOR_STATIC void G_MoveWeapons(void) A_GetZLimits(spriteNum); - if (pSprite->picnum == RPG && actor[spriteNum].picnum != BOSS2 && pSprite->xrepeat >= 10 + if (pSprite->picnum == TILE_RPG && actor[spriteNum].picnum != TILE_BOSS2 && pSprite->xrepeat >= 10 && sector[pSprite->sectnum].lotag != ST_2_UNDERWATER) { - int const newSprite = A_Spawn(spriteNum, SMALLSMOKE); + int const newSprite = A_Spawn(spriteNum, TILE_SMALLSMOKE); sprite[newSprite].z += (1 << 8); } if (RRRA) { - if (pSprite->picnum == RPG2) + if (pSprite->picnum == TILE_RPG2) { pSprite->hitag++; - if (actor[spriteNum].picnum != BOSS2 && pSprite->xrepeat >= 10 + if (actor[spriteNum].picnum != TILE_BOSS2 && pSprite->xrepeat >= 10 && sector[pSprite->sectnum].lotag != ST_2_UNDERWATER) { - int const newSprite = A_Spawn(spriteNum, SMALLSMOKE); + int const newSprite = A_Spawn(spriteNum, TILE_SMALLSMOKE); sprite[newSprite].z += (1 << 8); if ((krand2() & 15) == 2) - A_Spawn(spriteNum, MONEY); + A_Spawn(spriteNum, TILE_MONEY); } if (sprite[pSprite->lotag].extra <= 0) pSprite->lotag = 0; @@ -2764,7 +2764,7 @@ ACTOR_STATIC void G_MoveWeapons(void) pSprite->zvel += 200; } } - else if (pSprite->picnum == RRTILE1790) + else if (pSprite->picnum == TILE_RRTILE1790) { if (pSprite->extra) { @@ -2775,7 +2775,7 @@ ACTOR_STATIC void G_MoveWeapons(void) A_Fall(spriteNum); if (pSprite->xrepeat >= 10 && sector[pSprite->sectnum].lotag != ST_2_UNDERWATER) { - int const newSprite = A_Spawn(spriteNum, SMALLSMOKE); + int const newSprite = A_Spawn(spriteNum, TILE_SMALLSMOKE); sprite[newSprite].z += (1 << 8); } } @@ -2786,7 +2786,7 @@ ACTOR_STATIC void G_MoveWeapons(void) int moveSprite = A_MoveSprite(spriteNum, &tmpvect, CLIPMASK1); - if ((pSprite->picnum == RPG || (RRRA && (pSprite->picnum == RPG2 || pSprite->picnum == RRTILE1790))) + if ((pSprite->picnum == TILE_RPG || (RRRA && (pSprite->picnum == TILE_RPG2 || pSprite->picnum == TILE_RRTILE1790))) && (unsigned) pSprite->yvel < MAXSPRITES) // RPG_YVEL if (FindDistance2D(pSprite->x - sprite[pSprite->yvel].x, pSprite->y - sprite[pSprite->yvel].y) < 256) moveSprite = 49152 | pSprite->yvel; @@ -2799,32 +2799,32 @@ ACTOR_STATIC void G_MoveWeapons(void) //if (RR && g_sectorExtra[pSprite->sectnum] == 800) // DELETE_SPRITE_AND_CONTINUE(spriteNum); - if ((moveSprite & 49152) != 49152 && pSprite->picnum != FREEZEBLAST) + if ((moveSprite & 49152) != 49152 && pSprite->picnum != TILE_FREEZEBLAST) G_WeaponHitCeilingOrFloor(spriteNum, pSprite, &moveSprite); - if (pSprite->picnum == FIRELASER) + if (pSprite->picnum == TILE_FIRELASER) { for (bssize_t k = -3; k < 2; k++) { int const newSprite = A_InsertSprite(pSprite->sectnum, pSprite->x + ((k * sintable[(pSprite->ang + 512) & 2047]) >> 9), pSprite->y + ((k * sintable[pSprite->ang & 2047]) >> 9), - pSprite->z + ((k * ksgn(pSprite->zvel)) * klabs(pSprite->zvel / 24)), FIRELASER, -40 + (k << 2), + pSprite->z + ((k * ksgn(pSprite->zvel)) * klabs(pSprite->zvel / 24)), TILE_FIRELASER, -40 + (k << 2), pSprite->xrepeat, pSprite->yrepeat, 0, 0, 0, pSprite->owner, 5); sprite[newSprite].cstat = 128; sprite[newSprite].pal = pSprite->pal; } } - else if (pSprite->picnum == SPIT) + else if (pSprite->picnum == TILE_SPIT) if (pSprite->zvel < 6144) pSprite->zvel += g_spriteGravity - 112; if (moveSprite != 0) { - if (!RR && pSprite->picnum == COOLEXPLOSION1) + if (!RR && pSprite->picnum == TILE_COOLEXPLOSION1) { - if ((moveSprite & 49152) == 49152 && sprite[moveSprite & (MAXSPRITES - 1)].picnum != APLAYER) + if ((moveSprite & 49152) == 49152 && sprite[moveSprite & (MAXSPRITES - 1)].picnum != TILE_APLAYER) goto COOLEXPLOSION; pSprite->xvel = 0; pSprite->zvel = 0; @@ -2835,10 +2835,10 @@ ACTOR_STATIC void G_MoveWeapons(void) case 49152: moveSprite &= (MAXSPRITES - 1); - if (RRRA && sprite[moveSprite].picnum == MINION && (pSprite->picnum == RPG || pSprite->picnum == RPG2) + if (RRRA && sprite[moveSprite].picnum == TILE_MINION && (pSprite->picnum == TILE_RPG || pSprite->picnum == TILE_RPG2) && sprite[moveSprite].pal == 19) { - int const newSprite = A_Spawn(spriteNum, EXPLOSION2); + int const newSprite = A_Spawn(spriteNum, TILE_EXPLOSION2); A_PlaySound(RPG_EXPLODE, newSprite); sprite[newSprite].x = davect.x; sprite[newSprite].y = davect.y; @@ -2846,10 +2846,10 @@ ACTOR_STATIC void G_MoveWeapons(void) goto next_sprite; } - if (!RRRA && pSprite->picnum == FREEZEBLAST && sprite[moveSprite].pal == 1) - if (A_CheckEnemySprite(&sprite[moveSprite]) || sprite[moveSprite].picnum == APLAYER) + if (!RRRA && pSprite->picnum == TILE_FREEZEBLAST && sprite[moveSprite].pal == 1) + if (A_CheckEnemySprite(&sprite[moveSprite]) || sprite[moveSprite].picnum == TILE_APLAYER) { - int const newSprite = A_Spawn(spriteNum, TRANSPORTERSTAR); + int const newSprite = A_Spawn(spriteNum, TILE_TRANSPORTERSTAR); sprite[newSprite].pal = 1; sprite[newSprite].xrepeat = 32; sprite[newSprite].yrepeat = 32; @@ -2859,18 +2859,18 @@ ACTOR_STATIC void G_MoveWeapons(void) A_DamageObject(moveSprite, spriteNum); - if (sprite[moveSprite].picnum == APLAYER) + if (sprite[moveSprite].picnum == TILE_APLAYER) { int const playerNum = P_Get(moveSprite); A_PlaySound(PISTOL_BODYHIT, moveSprite); - if (pSprite->picnum == SPIT) + if (pSprite->picnum == TILE_SPIT) { - if (RRRA && sprite[pSprite->owner].picnum == MAMA) + if (RRRA && sprite[pSprite->owner].picnum == TILE_MAMA) { - A_DoGuts(spriteNum, RABBITJIBA, 2); - A_DoGuts(spriteNum, RABBITJIBB, 2); - A_DoGuts(spriteNum, RABBITJIBC, 2); + A_DoGuts(spriteNum, TILE_RABBITJIBA, 2); + A_DoGuts(spriteNum, TILE_RABBITJIBB, 2); + A_DoGuts(spriteNum, TILE_RABBITJIBC, 2); } P_HandleBeingSpitOn(g_player[playerNum].ps); } @@ -2880,19 +2880,19 @@ ACTOR_STATIC void G_MoveWeapons(void) case 32768: moveSprite &= (MAXWALLS - 1); - if (RRRA && sprite[pSprite->owner].picnum == MAMA) + if (RRRA && sprite[pSprite->owner].picnum == TILE_MAMA) { - A_DoGuts(spriteNum, RABBITJIBA, 2); - A_DoGuts(spriteNum, RABBITJIBB, 2); - A_DoGuts(spriteNum, RABBITJIBC, 2); + A_DoGuts(spriteNum, TILE_RABBITJIBA, 2); + A_DoGuts(spriteNum, TILE_RABBITJIBB, 2); + A_DoGuts(spriteNum, TILE_RABBITJIBC, 2); } - if (pSprite->picnum != RPG && (!RRRA || pSprite->picnum != RPG2) && pSprite->picnum != FREEZEBLAST && pSprite->picnum != SPIT - && (!RR || pSprite->picnum != SHRINKSPARK) && (wall[moveSprite].overpicnum == MIRROR || wall[moveSprite].picnum == MIRROR)) + if (pSprite->picnum != TILE_RPG && (!RRRA || pSprite->picnum != TILE_RPG2) && pSprite->picnum != TILE_FREEZEBLAST && pSprite->picnum != TILE_SPIT + && (!RR || pSprite->picnum != TILE_SHRINKSPARK) && (wall[moveSprite].overpicnum == TILE_MIRROR || wall[moveSprite].picnum == TILE_MIRROR)) { Proj_BounceOffWall(pSprite, moveSprite); pSprite->owner = spriteNum; - A_Spawn(spriteNum, TRANSPORTERSTAR); + A_Spawn(spriteNum, TILE_TRANSPORTERSTAR); goto next_sprite; } else @@ -2900,9 +2900,9 @@ ACTOR_STATIC void G_MoveWeapons(void) setsprite(spriteNum, &davect); A_DamageWall(spriteNum, moveSprite, (vec3_t *)pSprite, pSprite->picnum); - if (!RRRA && pSprite->picnum == FREEZEBLAST) + if (!RRRA && pSprite->picnum == TILE_FREEZEBLAST) { - if (wall[moveSprite].overpicnum != MIRROR && wall[moveSprite].picnum != MIRROR) + if (wall[moveSprite].overpicnum != TILE_MIRROR && wall[moveSprite].picnum != TILE_MIRROR) { pSprite->extra >>= 1; if (RR) @@ -2919,18 +2919,18 @@ ACTOR_STATIC void G_MoveWeapons(void) goto next_sprite; } - if (RR && pSprite->picnum == SHRINKSPARK) + if (RR && pSprite->picnum == TILE_SHRINKSPARK) { - if (wall[moveSprite].picnum >= RRTILE3643 && wall[moveSprite].picnum < RRTILE3643+3) + if (wall[moveSprite].picnum >= TILE_RRTILE3643 && wall[moveSprite].picnum < TILE_RRTILE3643+3) DELETE_SPRITE_AND_CONTINUE(spriteNum); if (pSprite->extra <= 0) { pSprite->x += sintable[(pSprite->ang+512)&2047]>>7; pSprite->y += sintable[pSprite->ang&2047]>>7; - if (!RRRA || (sprite[pSprite->owner].picnum != CHEER && sprite[pSprite->owner].picnum != CHEERSTAYPUT)) + if (!RRRA || (sprite[pSprite->owner].picnum != TILE_CHEER && sprite[pSprite->owner].picnum != TILE_CHEERSTAYPUT)) { - int const newSprite = A_Spawn(spriteNum, CIRCLESTUCK); + int const newSprite = A_Spawn(spriteNum, TILE_CIRCLESTUCK); sprite[newSprite].xrepeat = 8; sprite[newSprite].yrepeat = 8; sprite[newSprite].cstat = 16; @@ -2939,7 +2939,7 @@ ACTOR_STATIC void G_MoveWeapons(void) } DELETE_SPRITE_AND_CONTINUE(spriteNum); } - if (wall[moveSprite].overpicnum != MIRROR && wall[moveSprite].picnum != MIRROR) + if (wall[moveSprite].overpicnum != TILE_MIRROR && wall[moveSprite].picnum != TILE_MIRROR) { pSprite->extra -= 20; pSprite->yvel--; @@ -2954,17 +2954,17 @@ ACTOR_STATIC void G_MoveWeapons(void) case 16384: setsprite(spriteNum, &davect); - if (RRRA && sprite[pSprite->owner].picnum == MAMA) + if (RRRA && sprite[pSprite->owner].picnum == TILE_MAMA) { - A_DoGuts(spriteNum, RABBITJIBA, 2); - A_DoGuts(spriteNum, RABBITJIBB, 2); - A_DoGuts(spriteNum, RABBITJIBC, 2); + A_DoGuts(spriteNum, TILE_RABBITJIBA, 2); + A_DoGuts(spriteNum, TILE_RABBITJIBB, 2); + A_DoGuts(spriteNum, TILE_RABBITJIBC, 2); } if (Proj_MaybeDamageCF(spriteNum)) DELETE_SPRITE_AND_CONTINUE(spriteNum); - if (!RRRA && pSprite->picnum == FREEZEBLAST) + if (!RRRA && pSprite->picnum == TILE_FREEZEBLAST) { A_DoProjectileBounce(spriteNum); A_SetSprite(spriteNum, CLIPMASK1); @@ -2997,15 +2997,15 @@ ACTOR_STATIC void G_MoveWeapons(void) case RPG2__STATICRR: case RRTILE1790__STATICRR: { - if (!RRRA && (pSprite->picnum == RPG2 || pSprite->picnum == RRTILE1790)) + if (!RRRA && (pSprite->picnum == TILE_RPG2 || pSprite->picnum == TILE_RRTILE1790)) break; - int const newSprite = A_Spawn(spriteNum, EXPLOSION2); - if (pSprite->picnum == RPG2) + int const newSprite = A_Spawn(spriteNum, TILE_EXPLOSION2); + if (pSprite->picnum == TILE_RPG2) { pSprite->extra = 150; A_PlaySound(247, newSprite); } - else if (pSprite->picnum == RRTILE1790) + else if (pSprite->picnum == TILE_RRTILE1790) { pSprite->extra = 160; A_PlaySound(RPG_EXPLODE, newSprite); @@ -3022,7 +3022,7 @@ ACTOR_STATIC void G_MoveWeapons(void) else if ((moveSprite & 49152) == 16384) { if (!RR && pSprite->zvel > 0) - A_Spawn(spriteNum, EXPLOSION2BOT); + A_Spawn(spriteNum, TILE_EXPLOSION2BOT); else { sprite[newSprite].cstat |= 8; @@ -3046,7 +3046,7 @@ ACTOR_STATIC void G_MoveWeapons(void) case SHRINKSPARK__STATIC: if (RR) break; - A_Spawn(spriteNum, SHRINKEREXPLOSION); + A_Spawn(spriteNum, TILE_SHRINKEREXPLOSION); A_PlaySound(SHRINKER_HIT, spriteNum); A_RadiusDamage(spriteNum, g_shrinkerRadius, 0, 0, 0, 0); break; @@ -3054,7 +3054,7 @@ ACTOR_STATIC void G_MoveWeapons(void) default: default_case: { - int const newSprite = A_Spawn(spriteNum, EXPLOSION2); + int const newSprite = A_Spawn(spriteNum, TILE_EXPLOSION2); sprite[newSprite].xrepeat = sprite[newSprite].yrepeat = pSprite->xrepeat >> 1; if ((moveSprite & 49152) == 16384) { @@ -3068,19 +3068,19 @@ default_case: } } - if (RR || pSprite->picnum != COOLEXPLOSION1) + if (RR || pSprite->picnum != TILE_COOLEXPLOSION1) DELETE_SPRITE_AND_CONTINUE(spriteNum); } - if (!RR && pSprite->picnum == COOLEXPLOSION1) + if (!RR && pSprite->picnum == TILE_COOLEXPLOSION1) { COOLEXPLOSION: pSprite->shade++; if (pSprite->shade >= 40) DELETE_SPRITE_AND_CONTINUE(spriteNum); } - else if ((pSprite->picnum == RPG || (RRRA && pSprite->picnum == RPG2)) && sector[pSprite->sectnum].lotag == ST_2_UNDERWATER && pSprite->xrepeat >= 10 && rnd(140)) - A_Spawn(spriteNum, WATERBUBBLE); + else if ((pSprite->picnum == TILE_RPG || (RRRA && pSprite->picnum == TILE_RPG2)) && sector[pSprite->sectnum].lotag == ST_2_UNDERWATER && pSprite->xrepeat >= 10 && rnd(140)) + A_Spawn(spriteNum, TILE_WATERBUBBLE); goto next_sprite; } @@ -3189,12 +3189,12 @@ static void P_FinishWaterChange(int const playerNum, DukePlayer_t * const pPlaye P_UpdateScreenPal(pPlayer); if ((krand2()&255) < 32) - A_Spawn(RR ? pPlayer->i : playerNum, WATERSPLASH2); + A_Spawn(RR ? pPlayer->i : playerNum, TILE_WATERSPLASH2); if (!RR && sectLotag == ST_1_ABOVE_WATER) { for (bssize_t l = 0; l < 9; l++) - sprite[A_Spawn(pPlayer->i, WATERBUBBLE)].z += krand2() & 16383; + sprite[A_Spawn(pPlayer->i, TILE_WATERBUBBLE)].z += krand2() & 16383; } } @@ -3205,16 +3205,16 @@ static int A_CheckNonTeleporting(int const spriteNum) int const tileNum = sprite[spriteNum].picnum; if (RRRA) { - return !!(tileNum == SHARK || tileNum == CHEERBOAT || tileNum == HULKBOAT - || tileNum == MINIONBOAT || tileNum == UFO1); + return !!(tileNum == TILE_SHARK || tileNum == TILE_CHEERBOAT || tileNum == TILE_HULKBOAT + || tileNum == TILE_MINIONBOAT || tileNum == TILE_UFO1); } else if (RR) { - return !!(tileNum == SHARK || tileNum == UFO1 || tileNum == UFO2 - || tileNum == UFO3 || tileNum == UFO4 || tileNum == UFO5); + return !!(tileNum == TILE_SHARK || tileNum == TILE_UFO1 || tileNum == TILE_UFO2 + || tileNum == TILE_UFO3 || tileNum == TILE_UFO4 || tileNum == TILE_UFO5); } - return !!(tileNum == SHARK || tileNum == COMMANDER || tileNum == OCTABRAIN - || (tileNum >= GREENSLIME && tileNum <= GREENSLIME + 7)); + return !!(tileNum == TILE_SHARK || tileNum == TILE_COMMANDER || tileNum == TILE_OCTABRAIN + || (tileNum >= TILE_GREENSLIME && tileNum <= TILE_GREENSLIME + 7)); } ACTOR_STATIC void G_MoveTransports(void) @@ -3259,7 +3259,7 @@ ACTOR_STATIC void G_MoveTransports(void) { if (RR || sprite[spriteNum].pal == 0) { - A_Spawn(spriteNum, TRANSPORTERBEAM); + A_Spawn(spriteNum, TILE_TRANSPORTERBEAM); A_PlaySound(TELEPORTER, spriteNum); } for (int TRAVERSE_CONNECT(otherPlayer)) @@ -3290,7 +3290,7 @@ ACTOR_STATIC void G_MoveTransports(void) if (RR || sprite[spriteNum].pal == 0) { - int const newSprite = A_Spawn(OW(spriteNum), TRANSPORTERBEAM); + int const newSprite = A_Spawn(OW(spriteNum), TILE_TRANSPORTERBEAM); A_PlaySound(TELEPORTER, newSprite); } break; @@ -3402,7 +3402,7 @@ ACTOR_STATIC void G_MoveTransports(void) if (sectLotag == ST_2_UNDERWATER && sprite[sectSprite].z < (sector[sectNum].ceilingz + absZvel)) doWarp = 1; if (sectLotag == ST_1_ABOVE_WATER && sprite[sectSprite].z > (sector[sectNum].floorz - absZvel)) - if (!RRRA || (sprite[sectSprite].picnum != CHEERBOAT && sprite[sectSprite].picnum != HULKBOAT && sprite[sectSprite].picnum != MINIONBOAT)) + if (!RRRA || (sprite[sectSprite].picnum != TILE_CHEERBOAT && sprite[sectSprite].picnum != TILE_HULKBOAT && sprite[sectSprite].picnum != TILE_MINIONBOAT)) doWarp = 1; } @@ -3453,7 +3453,7 @@ ACTOR_STATIC void G_MoveTransports(void) if (RR) goto default_case; fallthrough__; case TRIPBOMBSPRITE__STATIC: - if (!RR && sprite[sectSprite].picnum == TRIPBOMBSPRITE) + if (!RR && sprite[sectSprite].picnum == TILE_TRIPBOMBSPRITE) goto default_case; fallthrough__; case TRANSPORTERSTAR__STATIC: @@ -3477,7 +3477,7 @@ default_case: fallthrough__; case WATERBUBBLE__STATIC: if (RR) - if( rnd(192) && sprite[sectSprite].picnum == WATERBUBBLE) + if( rnd(192) && sprite[sectSprite].picnum == TILE_WATERBUBBLE) break; if (sectLotag > 0) @@ -3487,7 +3487,7 @@ default_case: Bassert(sectLotag == ST_1_ABOVE_WATER || sectLotag == ST_2_UNDERWATER || (RRRA && (sectLotag == 160 || sectLotag == 161))); - int const newSprite = A_Spawn(sectSprite, WATERSPLASH2); + int const newSprite = A_Spawn(sectSprite, TILE_WATERSPLASH2); if (sectLotag == ST_1_ABOVE_WATER && sprite[sectSprite].statnum == STAT_PROJECTILE) { @@ -3546,10 +3546,10 @@ default_case: if (RR || sprite[spriteNum].pal == 0) { - int newSprite = A_Spawn(spriteNum, TRANSPORTERBEAM); + int newSprite = A_Spawn(spriteNum, TILE_TRANSPORTERBEAM); A_PlaySound(TELEPORTER, newSprite); - newSprite = A_Spawn(OW(spriteNum), TRANSPORTERBEAM); + newSprite = A_Spawn(OW(spriteNum), TILE_TRANSPORTERBEAM); A_PlaySound(TELEPORTER, newSprite); } @@ -3630,17 +3630,17 @@ ACTOR_STATIC void A_BallReturn(int16_t const pinSprite) while (spriteNum >= 0) { int const nextSprite = nextspritestat[spriteNum]; - if (sprite[spriteNum].picnum == RRTILE281) + if (sprite[spriteNum].picnum == TILE_RRTILE281) if (sprite[pinSprite].sectnum == sprite[spriteNum].sectnum) { int otherSprite = headspritestat[105]; while (otherSprite >= 0) { int const otherSpriteNext = nextspritestat[otherSprite]; - if (sprite[otherSprite].picnum == RRTILE282) + if (sprite[otherSprite].picnum == TILE_RRTILE282) if (sprite[spriteNum].hitag == sprite[otherSprite].hitag) - A_Spawn(otherSprite, BOWLINGBALLSPRITE); - if (sprite[otherSprite].picnum == RRTILE280) + A_Spawn(otherSprite, TILE_BOWLINGBALLSPRITE); + if (sprite[otherSprite].picnum == TILE_RRTILE280) if (sprite[spriteNum].hitag == sprite[otherSprite].hitag) if (sprite[otherSprite].lotag == 0) { @@ -3668,12 +3668,12 @@ ACTOR_STATIC int A_CheckPins(int16_t const sectNum) while (spriteNum >= 0) { - if (sprite[spriteNum].picnum == RRTILE3440) + if (sprite[spriteNum].picnum == TILE_RRTILE3440) { pinCount++; pins[sprite[spriteNum].lotag] = 1; } - if (sprite[spriteNum].picnum == RRTILE280) + if (sprite[spriteNum].picnum == TILE_RRTILE280) { tag = sprite[spriteNum].hitag; } @@ -3682,9 +3682,9 @@ ACTOR_STATIC int A_CheckPins(int16_t const sectNum) if (tag != 0) { - int const tileNumber = LANEPICS + tag + 1; + int const tileNumber = TILE_LANEPICS + tag + 1; TileFiles.tileMakeWritable(tileNumber); - tileCopySection(LANEPICS+1, 0, 0, 128, 64, tileNumber, 0, 0); + tileCopySection(TILE_LANEPICS+1, 0, 0, 128, 64, tileNumber, 0, 0); for (int pin = 0; pin < 10; pin++) { @@ -3734,7 +3734,7 @@ ACTOR_STATIC int A_CheckPins(int16_t const sectNum) y = 24; break; } - tileCopySection(LANEPICS, 0, 0, 8, 8, tileNumber, x - 4, y - 10); + tileCopySection(TILE_LANEPICS, 0, 0, 8, 8, tileNumber, x - 4, y - 10); } } } @@ -3752,7 +3752,7 @@ ACTOR_STATIC void A_ResetPins(int16_t sect) if (spriteNum > MAXSECTORSV7 || step > 1000) break; int const nextSprite = headspritesect[spriteNum]; - if (sprite[spriteNum].picnum == RRTILE3440) + if (sprite[spriteNum].picnum == TILE_RRTILE3440) deletesprite(spriteNum); spriteNum = nextSprite; step++; @@ -3761,23 +3761,23 @@ ACTOR_STATIC void A_ResetPins(int16_t sect) while (spriteNum >= 0) { int const nextSprite = nextspritesect[spriteNum]; - if (sprite[spriteNum].picnum == RRTILE283) + if (sprite[spriteNum].picnum == TILE_RRTILE283) { - int const newSprite = A_Spawn(spriteNum, RRTILE3440); + int const newSprite = A_Spawn(spriteNum, TILE_RRTILE3440); sprite[newSprite].lotag = sprite[spriteNum].lotag; krand2(); sprite[newSprite].clipdist = 48; sprite[newSprite].ang -= ((krand2()&32)-(krand2()&64))&2047; } - if (sprite[spriteNum].picnum == RRTILE280) + if (sprite[spriteNum].picnum == TILE_RRTILE280) tag = sprite[spriteNum].hitag; spriteNum = nextSprite; } if (tag != 0) { - int const tileNumber = LANEPICS + tag + 1; + int const tileNumber = TILE_LANEPICS + tag + 1; TileFiles.tileMakeWritable(tileNumber); - tileCopySection(LANEPICS+1, 0, 0, 128, 64, tileNumber, 0, 0); + tileCopySection(TILE_LANEPICS+1, 0, 0, 128, 64, tileNumber, 0, 0); for (int pin = 0; pin < 10; pin++) { @@ -3825,7 +3825,7 @@ ACTOR_STATIC void A_ResetPins(int16_t sect) y = 24; break; } - tileCopySection(LANEPICS, 0, 0, 8, 8, tileNumber, x - 4, y - 10); + tileCopySection(TILE_LANEPICS, 0, 0, 8, 8, tileNumber, x - 4, y - 10); } } } @@ -3834,9 +3834,9 @@ void A_ResetLanePics(void) { for (int tag = 1; tag <= 4; tag++) { - int const tileNumber = LANEPICS + tag + 1; + int const tileNumber = TILE_LANEPICS + tag + 1; TileFiles.tileMakeWritable(tileNumber); - tileCopySection(LANEPICS + 1, 0, 0, 128, 64, tileNumber, 0, 0); + tileCopySection(TILE_LANEPICS + 1, 0, 0, 128, 64, tileNumber, 0, 0); for (int pin = 0; pin < 10; pin++) { @@ -3884,7 +3884,7 @@ void A_ResetLanePics(void) y = 24; break; } - tileCopySection(LANEPICS, 0, 0, 8, 8, tileNumber, x - 4, y - 10); + tileCopySection(TILE_LANEPICS, 0, 0, 8, 8, tileNumber, x - 4, y - 10); } } } @@ -3909,7 +3909,7 @@ ACTOR_STATIC void G_MoveActors(void) int const nextSprite = nextspritestat[spriteNum]; if (sprite[spriteNum].hitag > 2) sprite[spriteNum].hitag = 0; - if ((sprite[spriteNum].picnum == RRTILE8488 || sprite[spriteNum].picnum == RRTILE8490) && sprite[spriteNum].hitag != 2) + if ((sprite[spriteNum].picnum == TILE_RRTILE8488 || sprite[spriteNum].picnum == TILE_RRTILE8490) && sprite[spriteNum].hitag != 2) { sprite[spriteNum].hitag = 2; sprite[spriteNum].extra = -100; @@ -4051,8 +4051,8 @@ ACTOR_STATIC void G_MoveActors(void) if (sprite[spriteNum].extra == 90) { sprite[spriteNum].picnum--; - if (sprite[spriteNum].picnum < PIG + 7) - sprite[spriteNum].picnum = PIG + 7; + if (sprite[spriteNum].picnum < TILE_PIG + 7) + sprite[spriteNum].picnum = TILE_PIG + 7; sprite[spriteNum].extra = 1; } @@ -4069,8 +4069,8 @@ ACTOR_STATIC void G_MoveActors(void) vec3_t const pos = { sprite[spriteNum].x, sprite[spriteNum].y, sector[sprite[spriteNum].sectnum].floorz - 10 }; setsprite(spriteNum, &pos); sprite[spriteNum].extra = 1; - sprite[spriteNum].picnum = PIG + 11; - A_Spawn(spriteNum, TRANSPORTERSTAR); + sprite[spriteNum].picnum = TILE_PIG + 11; + A_Spawn(spriteNum, TILE_TRANSPORTERSTAR); } spriteNum = nextSprite; } @@ -4085,7 +4085,7 @@ ACTOR_STATIC void G_MoveActors(void) { sprite[spriteNum].hitag--; sprite[spriteNum].extra = 150; - A_Spawn(spriteNum, RABBIT); + A_Spawn(spriteNum, TILE_RABBIT); } else sprite[spriteNum].extra--; @@ -4128,26 +4128,26 @@ ACTOR_STATIC void G_MoveActors(void) int const nextSprite = nextspritestat[spriteNum]; if (sprite[spriteNum].extra) { - if (sprite[spriteNum].picnum != RRTILE8162) - sprite[spriteNum].picnum = RRTILE8162; + if (sprite[spriteNum].picnum != TILE_RRTILE8162) + sprite[spriteNum].picnum = TILE_RRTILE8162; sprite[spriteNum].extra--; if (sprite[spriteNum].extra == 0) { int const fortune = krand2()&127; if (fortune < 96) { - sprite[spriteNum].picnum = RRTILE8162 + 3; + sprite[spriteNum].picnum = TILE_RRTILE8162 + 3; } else if (fortune < 112) { if (g_slotWin & 1) { - sprite[spriteNum].picnum = RRTILE8162 + 3; + sprite[spriteNum].picnum = TILE_RRTILE8162 + 3; } else { - sprite[spriteNum].picnum = RRTILE8162 + 2; - A_Spawn(spriteNum, BATTERYAMMO); + sprite[spriteNum].picnum = TILE_RRTILE8162 + 2; + A_Spawn(spriteNum, TILE_BATTERYAMMO); g_slotWin |= 1; A_PlaySound(52, spriteNum); } @@ -4156,12 +4156,12 @@ ACTOR_STATIC void G_MoveActors(void) { if (g_slotWin & 2) { - sprite[spriteNum].picnum = RRTILE8162 + 3; + sprite[spriteNum].picnum = TILE_RRTILE8162 + 3; } else { - sprite[spriteNum].picnum = RRTILE8162 + 6; - A_Spawn(spriteNum, HEAVYHBOMB); + sprite[spriteNum].picnum = TILE_RRTILE8162 + 6; + A_Spawn(spriteNum, TILE_HEAVYHBOMB); g_slotWin |= 2; A_PlaySound(52, spriteNum); } @@ -4170,12 +4170,12 @@ ACTOR_STATIC void G_MoveActors(void) { if (g_slotWin & 4) { - sprite[spriteNum].picnum = RRTILE8162 + 3; + sprite[spriteNum].picnum = TILE_RRTILE8162 + 3; } else { - sprite[spriteNum].picnum = RRTILE8162 + 5; - A_Spawn(spriteNum, SIXPAK); + sprite[spriteNum].picnum = TILE_RRTILE8162 + 5; + A_Spawn(spriteNum, TILE_SIXPAK); g_slotWin |= 4; A_PlaySound(52, spriteNum); } @@ -4184,12 +4184,12 @@ ACTOR_STATIC void G_MoveActors(void) { if (g_slotWin & 8) { - sprite[spriteNum].picnum = RRTILE8162 + 3; + sprite[spriteNum].picnum = TILE_RRTILE8162 + 3; } else { - sprite[spriteNum].picnum = RRTILE8162 + 4; - A_Spawn(spriteNum, ATOMICHEALTH); + sprite[spriteNum].picnum = TILE_RRTILE8162 + 4; + A_Spawn(spriteNum, TILE_ATOMICHEALTH); g_slotWin |= 8; A_PlaySound(52, spriteNum); } @@ -4205,26 +4205,26 @@ ACTOR_STATIC void G_MoveActors(void) int const nextSprite = nextspritestat[spriteNum]; if (sprite[spriteNum].extra) { - if (sprite[spriteNum].picnum != RRTILE8589) - sprite[spriteNum].picnum = RRTILE8589; + if (sprite[spriteNum].picnum != TILE_RRTILE8589) + sprite[spriteNum].picnum = TILE_RRTILE8589; sprite[spriteNum].extra--; if (sprite[spriteNum].extra == 0) { int const fortune = krand2()&127; if (fortune < 96) { - sprite[spriteNum].picnum = RRTILE8589 + 4; + sprite[spriteNum].picnum = TILE_RRTILE8589 + 4; } else if (fortune < 112) { if (g_slotWin & 1) { - sprite[spriteNum].picnum = RRTILE8589 + 4; + sprite[spriteNum].picnum = TILE_RRTILE8589 + 4; } else { - sprite[spriteNum].picnum = RRTILE8589 + 5; - A_Spawn(spriteNum, BATTERYAMMO); + sprite[spriteNum].picnum = TILE_RRTILE8589 + 5; + A_Spawn(spriteNum, TILE_BATTERYAMMO); g_slotWin |= 1; A_PlaySound(342, spriteNum); } @@ -4233,12 +4233,12 @@ ACTOR_STATIC void G_MoveActors(void) { if (g_slotWin & 2) { - sprite[spriteNum].picnum = RRTILE8589 + 4; + sprite[spriteNum].picnum = TILE_RRTILE8589 + 4; } else { - sprite[spriteNum].picnum = RRTILE8589 + 6; - A_Spawn(spriteNum, HEAVYHBOMB); + sprite[spriteNum].picnum = TILE_RRTILE8589 + 6; + A_Spawn(spriteNum, TILE_HEAVYHBOMB); g_slotWin |= 2; A_PlaySound(342, spriteNum); } @@ -4247,12 +4247,12 @@ ACTOR_STATIC void G_MoveActors(void) { if (g_slotWin & 4) { - sprite[spriteNum].picnum = RRTILE8589 + 4; + sprite[spriteNum].picnum = TILE_RRTILE8589 + 4; } else { - sprite[spriteNum].picnum = RRTILE8589 + 2; - A_Spawn(spriteNum, SIXPAK); + sprite[spriteNum].picnum = TILE_RRTILE8589 + 2; + A_Spawn(spriteNum, TILE_SIXPAK); g_slotWin |= 4; A_PlaySound(342, spriteNum); } @@ -4261,12 +4261,12 @@ ACTOR_STATIC void G_MoveActors(void) { if (g_slotWin & 8) { - sprite[spriteNum].picnum = RRTILE8589 + 4; + sprite[spriteNum].picnum = TILE_RRTILE8589 + 4; } else { - sprite[spriteNum].picnum = RRTILE8589 + 3; - A_Spawn(spriteNum, ATOMICHEALTH); + sprite[spriteNum].picnum = TILE_RRTILE8589 + 3; + A_Spawn(spriteNum, TILE_ATOMICHEALTH); g_slotWin |= 8; A_PlaySound(342, spriteNum); } @@ -4301,7 +4301,7 @@ ACTOR_STATIC void G_MoveActors(void) sprite[spriteNum].z = sector[sprite[spriteNum].sectnum].floorz + 15168; } - if (sprite[spriteNum].picnum == LUMBERBLADE) + if (sprite[spriteNum].picnum == TILE_LUMBERBLADE) { sprite[spriteNum].extra++; if (sprite[spriteNum].extra == 192) @@ -4309,14 +4309,14 @@ ACTOR_STATIC void G_MoveActors(void) sprite[spriteNum].hitag = 0; sprite[spriteNum].z = sector[sprite[spriteNum].sectnum].floorz - 15168; sprite[spriteNum].extra = 0; - sprite[spriteNum].picnum = RRTILE3410; + sprite[spriteNum].picnum = TILE_RRTILE3410; int otherSprite = headspritestat[0]; while (otherSprite >= 0) { int const nextOtherSprite = nextspritestat[otherSprite]; - if (sprite[otherSprite].picnum == DIPSWITCH3 + 1) + if (sprite[otherSprite].picnum == TILE_DIPSWITCH3 + 1) if (sprite[otherSprite].hitag == 999) - sprite[otherSprite].picnum = DIPSWITCH3; + sprite[otherSprite].picnum = TILE_DIPSWITCH3; otherSprite = nextOtherSprite; } } @@ -4336,7 +4336,7 @@ ACTOR_STATIC void G_MoveActors(void) sprite[spriteNum].lotag--; if (sprite[spriteNum].lotag < 0) { - int const newSprite = A_Spawn(spriteNum, RRTILE3190); + int const newSprite = A_Spawn(spriteNum, TILE_RRTILE3190); sprite[newSprite].ang = sprite[spriteNum].ang; sprite[spriteNum].lotag = 128; } @@ -4345,7 +4345,7 @@ ACTOR_STATIC void G_MoveActors(void) sprite[spriteNum].lotag--; if (sprite[spriteNum].lotag < 0) { - int const newSprite = A_Spawn(spriteNum, RRTILE3192); + int const newSprite = A_Spawn(spriteNum, TILE_RRTILE3192); sprite[newSprite].ang = sprite[spriteNum].ang; sprite[spriteNum].lotag = 256; } @@ -4354,7 +4354,7 @@ ACTOR_STATIC void G_MoveActors(void) sprite[spriteNum].lotag--; if (sprite[spriteNum].lotag < 0) { - A_SpawnMultiple(spriteNum, MONEY, (krand2()&3)+4); + A_SpawnMultiple(spriteNum, TILE_MONEY, (krand2()&3)+4); sprite[spriteNum].lotag = 84; } break; @@ -4362,7 +4362,7 @@ ACTOR_STATIC void G_MoveActors(void) sprite[spriteNum].lotag--; if (sprite[spriteNum].lotag < 0) { - int const newSprite = A_Spawn(spriteNum, RRTILE3132); + int const newSprite = A_Spawn(spriteNum, TILE_RRTILE3132); sprite[spriteNum].lotag = 96; if (!RRRA) A_PlaySound(472, newSprite); @@ -4372,7 +4372,7 @@ ACTOR_STATIC void G_MoveActors(void) sprite[spriteNum].lotag--; if (sprite[spriteNum].lotag < 0) { - int const newSprite = A_Spawn(spriteNum, RRTILE3120); + int const newSprite = A_Spawn(spriteNum, TILE_RRTILE3120); sprite[newSprite].ang = sprite[spriteNum].ang; sprite[spriteNum].lotag = 448; } @@ -4381,7 +4381,7 @@ ACTOR_STATIC void G_MoveActors(void) sprite[spriteNum].lotag--; if (sprite[spriteNum].lotag < 0) { - int const newSprite = A_Spawn(spriteNum, RRTILE3122); + int const newSprite = A_Spawn(spriteNum, TILE_RRTILE3122); sprite[newSprite].ang = sprite[spriteNum].ang; sprite[spriteNum].lotag = 64; } @@ -4390,7 +4390,7 @@ ACTOR_STATIC void G_MoveActors(void) sprite[spriteNum].lotag--; if (sprite[spriteNum].lotag < 0) { - int const newSprite = A_Spawn(spriteNum, RRTILE3123); + int const newSprite = A_Spawn(spriteNum, TILE_RRTILE3123); sprite[newSprite].ang = sprite[spriteNum].ang; sprite[spriteNum].lotag = 512; } @@ -4399,7 +4399,7 @@ ACTOR_STATIC void G_MoveActors(void) sprite[spriteNum].lotag--; if (sprite[spriteNum].lotag < 0) { - int const newSprite = A_Spawn(spriteNum, RRTILE3124); + int const newSprite = A_Spawn(spriteNum, TILE_RRTILE3124); sprite[newSprite].ang = sprite[spriteNum].ang; sprite[spriteNum].lotag = 224; } @@ -4408,10 +4408,10 @@ ACTOR_STATIC void G_MoveActors(void) sprite[spriteNum].lotag--; if (sprite[spriteNum].lotag < 0) { - A_DoGuts(spriteNum, JIBS1, 1); - A_DoGuts(spriteNum, JIBS2, 1); - A_DoGuts(spriteNum, JIBS3, 1); - A_DoGuts(spriteNum, JIBS4, 1); + A_DoGuts(spriteNum, TILE_JIBS1, 1); + A_DoGuts(spriteNum, TILE_JIBS2, 1); + A_DoGuts(spriteNum, TILE_JIBS3, 1); + A_DoGuts(spriteNum, TILE_JIBS4, 1); sprite[spriteNum].lotag = 256; } break; @@ -4424,7 +4424,7 @@ ACTOR_STATIC void G_MoveActors(void) while (spriteNum >= 0) { int const nextSprite = nextspritestat[spriteNum]; - if (sprite[spriteNum].picnum == RRTILE280) + if (sprite[spriteNum].picnum == TILE_RRTILE280) if (sprite[spriteNum].lotag == 100) { if (A_PinSectorResetUp(SECT(spriteNum))) @@ -4453,7 +4453,7 @@ ACTOR_STATIC void G_MoveActors(void) int const nextSprite = nextspritestat[spriteNum]; spritetype *const pSprite= &sprite[spriteNum]; - if (pSprite->picnum == RRTILE296) + if (pSprite->picnum == TILE_RRTILE296) { int playerDist; DukePlayer_t *const pPlayer = g_player[A_FindPlayer(pSprite, &playerDist)].ps; @@ -4464,7 +4464,7 @@ ACTOR_STATIC void G_MoveActors(void) while (otherSprite >= 0) { int const nextOtherSprite = nextspritestat[otherSprite]; - if (sprite[otherSprite].picnum == RRTILE297) + if (sprite[otherSprite].picnum == TILE_RRTILE297) { pPlayer->q16ang = F16(sprite[otherSprite].ang); pPlayer->pos = *(vec3_t*)&sprite[otherSprite]; @@ -4507,10 +4507,10 @@ ACTOR_STATIC void G_MoveActors(void) switchPic = pSprite->picnum; - if (!RR && pSprite->picnum > GREENSLIME && pSprite->picnum <= GREENSLIME+7) - switchPic = GREENSLIME; + if (!RR && pSprite->picnum > TILE_GREENSLIME && pSprite->picnum <= TILE_GREENSLIME+7) + switchPic = TILE_GREENSLIME; - if (RR && (switchPic == RRTILE3440 + 1 || switchPic == HENSTAND + 1)) + if (RR && (switchPic == TILE_RRTILE3440 + 1 || switchPic == TILE_HENSTAND + 1)) switchPic--; @@ -4565,9 +4565,9 @@ ACTOR_STATIC void G_MoveActors(void) DELETE_SPRITE_AND_CONTINUE(spriteNum); if (T1(spriteNum) >= (g_itemRespawnTime>>1) && T1(spriteNum) < ((g_itemRespawnTime>>1)+(g_itemRespawnTime>>2))) - PN(spriteNum) = RESPAWNMARKERYELLOW; + PN(spriteNum) = TILE_RESPAWNMARKERYELLOW; else if (T1(spriteNum) > ((g_itemRespawnTime>>1)+(g_itemRespawnTime>>2))) - PN(spriteNum) = RESPAWNMARKERGREEN; + PN(spriteNum) = TILE_RESPAWNMARKERGREEN; A_Fall(spriteNum); break; @@ -4592,7 +4592,7 @@ ACTOR_STATIC void G_MoveActors(void) DELETE_SPRITE_AND_CONTINUE(spriteNum); } else if ((pData[0]&3) == 0) - A_Spawn(spriteNum,EXPLOSION2); + A_Spawn(spriteNum,TILE_EXPLOSION2); A_SetSprite(spriteNum,CLIPMASK0); break; @@ -4635,10 +4635,10 @@ ACTOR_STATIC void G_MoveActors(void) switch (sector[SECT(spriteNum)].lotag) { case 901: - sprite[spriteNum].picnum = RRTILE3191; + sprite[spriteNum].picnum = TILE_RRTILE3191; break; case 902: - sprite[spriteNum].picnum = RRTILE3192; + sprite[spriteNum].picnum = TILE_RRTILE3192; break; case 903: if (SZ(spriteNum) >= sector[SECT(spriteNum)].floorz - ZOFFSET3) { DELETE_SPRITE_AND_CONTINUE(spriteNum); } @@ -4703,7 +4703,7 @@ ACTOR_STATIC void G_MoveActors(void) { if (sector[pSprite->sectnum].lotag == 1) { - int const newSprite = A_Spawn(spriteNum, WATERSPLASH2); + int const newSprite = A_Spawn(spriteNum, TILE_WATERSPLASH2); sprite[newSprite].z = sector[sprite[newSprite].sectnum].floorz; } DELETE_SPRITE_AND_CONTINUE(spriteNum); @@ -4719,7 +4719,7 @@ ACTOR_STATIC void G_MoveActors(void) } else { - A_Spawn(spriteNum, BOWLINGBALLSPRITE); + A_Spawn(spriteNum, TILE_BOWLINGBALLSPRITE); DELETE_SPRITE_AND_CONTINUE(spriteNum); } if (sector[pSprite->sectnum].lotag == 900) @@ -4729,11 +4729,11 @@ ACTOR_STATIC void G_MoveActors(void) fallthrough__; case RRTILE3440__STATICRR: case HENSTAND__STATICRR: - if (pSprite->picnum == HENSTAND || pSprite->picnum == HENSTAND + 1) + if (pSprite->picnum == TILE_HENSTAND || pSprite->picnum == TILE_HENSTAND + 1) { if (--pSprite->lotag == 0) { - A_Spawn(spriteNum, HEN); + A_Spawn(spriteNum, TILE_HEN); DELETE_SPRITE_AND_CONTINUE(spriteNum); } } @@ -4760,9 +4760,9 @@ ACTOR_STATIC void G_MoveActors(void) { moveSprite &= (MAXSPRITES - 1); A_DamageObject(spriteNum, moveSprite); - if (sprite[moveSprite].picnum == HEN) + if (sprite[moveSprite].picnum == TILE_HEN) { - int const newSprite = A_Spawn(moveSprite, HENSTAND); + int const newSprite = A_Spawn(moveSprite, TILE_HENSTAND); A_DeleteSprite(moveSprite); sprite[newSprite].xvel = 32; sprite[newSprite].lotag = 40; @@ -4772,28 +4772,28 @@ ACTOR_STATIC void G_MoveActors(void) } if (--pSprite->xvel < 0) pSprite->xvel = 0; pSprite->cstat = 257; - if (pSprite->picnum == RRTILE3440) + if (pSprite->picnum == TILE_RRTILE3440) { pSprite->cstat |= 4 & pSprite->xvel; pSprite->cstat |= 8 & pSprite->xvel; if (krand2() & 1) - pSprite->picnum = RRTILE3440 + 1; + pSprite->picnum = TILE_RRTILE3440 + 1; } - else if (pSprite->picnum == HENSTAND) + else if (pSprite->picnum == TILE_HENSTAND) { pSprite->cstat |= 4 & pSprite->xvel; pSprite->cstat |= 8 & pSprite->xvel; if (krand2() & 1) - pSprite->picnum = HENSTAND + 1; + pSprite->picnum = TILE_HENSTAND + 1; if (!pSprite->xvel) deleteAfterExecute = 1; } - if (pSprite->picnum == RRTILE3440 || (pSprite->picnum == RRTILE3440 + 1 && !pSprite->xvel)) + if (pSprite->picnum == TILE_RRTILE3440 || (pSprite->picnum == TILE_RRTILE3440 + 1 && !pSprite->xvel)) deleteAfterExecute = 1; } else if (sector[pSprite->sectnum].lotag == 900) { - if (pSprite->picnum == BOWLINGBALL) + if (pSprite->picnum == TILE_BOWLINGBALL) A_BallReturn(spriteNum); DELETE_SPRITE_AND_CONTINUE(spriteNum); } @@ -4804,7 +4804,7 @@ ACTOR_STATIC void G_MoveActors(void) if (pSprite->xvel) { for (bssize_t SPRITES_OF(STAT_DEFAULT, hitObject)) - if (sprite[hitObject].picnum == POCKET && ldist(&sprite[hitObject],pSprite) < 52) + if (sprite[hitObject].picnum == TILE_POCKET && ldist(&sprite[hitObject],pSprite) < 52) DELETE_SPRITE_AND_CONTINUE(spriteNum); int hitObject = clipmove((vec3_t *)pSprite, &pSprite->sectnum, @@ -4829,7 +4829,7 @@ ACTOR_STATIC void G_MoveActors(void) if (--pSprite->xvel < 0) pSprite->xvel = 0; - if (pSprite->picnum == STRIPEBALL) + if (pSprite->picnum == TILE_STRIPEBALL) { pSprite->cstat = 257; pSprite->cstat |= (4 & pSprite->xvel) | (8 & pSprite->xvel); @@ -4853,7 +4853,7 @@ ACTOR_STATIC void G_MoveActors(void) for (SPRITES_OF(STAT_ACTOR, ballSprite)) { - if (sprite[ballSprite].picnum == QUEBALL || sprite[ballSprite].picnum == STRIPEBALL) + if (sprite[ballSprite].picnum == TILE_QUEBALL || sprite[ballSprite].picnum == TILE_STRIPEBALL) { int const angDiff2 = G_GetAngleDelta( fix16_to_int(pPlayer->q16ang), getangle(sprite[ballSprite].x - pPlayer->pos.x, sprite[ballSprite].y - pPlayer->pos.y)); @@ -4897,7 +4897,7 @@ ACTOR_STATIC void G_MoveActors(void) { for (bssize_t j = 0; j < 2048; j += 128) { - int const newSprite = A_Spawn(spriteNum, FORCESPHERE); + int const newSprite = A_Spawn(spriteNum, TILE_FORCESPHERE); sprite[newSprite].cstat = 257 + 128; sprite[newSprite].clipdist = 64; sprite[newSprite].ang = j; @@ -4925,7 +4925,7 @@ ACTOR_STATIC void G_MoveActors(void) { for (bssize_t SPRITES_OF(STAT_MISC, miscSprite)) { - if (sprite[miscSprite].owner == spriteNum && sprite[miscSprite].picnum == FORCESPHERE) + if (sprite[miscSprite].owner == spriteNum && sprite[miscSprite].picnum == TILE_FORCESPHERE) actor[miscSprite].t_data[1] = 1 + (krand2() & 63); } @@ -5002,7 +5002,7 @@ ACTOR_STATIC void G_MoveActors(void) pData[2]++; if ((pData[2]&3) == 0) - A_Spawn(spriteNum,EXPLOSION2); + A_Spawn(spriteNum,TILE_EXPLOSION2); A_GetZLimits(spriteNum); pSprite->ang += 96; @@ -5013,25 +5013,25 @@ ACTOR_STATIC void G_MoveActors(void) for (bssize_t l = 0; l < 16; l++) RANDOMSCRAP(pSprite, spriteNum); - //int const newSprite = A_Spawn(spriteNum, EXPLOSION2); + //int const newSprite = A_Spawn(spriteNum, TILE_EXPLOSION2); A_PlaySound(LASERTRIP_EXPLODE, spriteNum); if (RR) { if (RRRA && g_ufoSpawnMinion) - A_Spawn(spriteNum, MINION); - else if (pSprite->picnum == UFO1) - A_Spawn(spriteNum, HEN); - else if (pSprite->picnum == UFO2) - A_Spawn(spriteNum, COOT); - else if (pSprite->picnum == UFO3) - A_Spawn(spriteNum, COW); - else if (pSprite->picnum == UFO4) - A_Spawn(spriteNum, PIG); - else if (pSprite->picnum == UFO5) - A_Spawn(spriteNum, BILLYRAY); + A_Spawn(spriteNum, TILE_MINION); + else if (pSprite->picnum == TILE_UFO1) + A_Spawn(spriteNum, TILE_HEN); + else if (pSprite->picnum == TILE_UFO2) + A_Spawn(spriteNum, TILE_COOT); + else if (pSprite->picnum == TILE_UFO3) + A_Spawn(spriteNum, TILE_COW); + else if (pSprite->picnum == TILE_UFO4) + A_Spawn(spriteNum, TILE_PIG); + else if (pSprite->picnum == TILE_UFO5) + A_Spawn(spriteNum, TILE_BILLYRAY); } else - A_Spawn(spriteNum, PIGCOP); + A_Spawn(spriteNum, TILE_PIGCOP); P_AddKills(g_player[myconnectindex].ps, 1); DELETE_SPRITE_AND_CONTINUE(spriteNum); } @@ -5060,7 +5060,7 @@ ACTOR_STATIC void G_MoveActors(void) pSprite->ang = actor[spriteNum].tempang; if (!RR) A_PlaySound(RECO_ATTACK, spriteNum); - A_Shoot(spriteNum, FIRELASER); + A_Shoot(spriteNum, TILE_FIRELASER); pSprite->ang = saveAng; } if (pData[2] > (GAMETICSPERSEC * 3) @@ -5101,7 +5101,7 @@ ACTOR_STATIC void G_MoveActors(void) { if (!RR) A_PlaySound(RECO_ATTACK,spriteNum); - A_Shoot(spriteNum,FIRELASER); + A_Shoot(spriteNum,TILE_FIRELASER); } } pSprite->ang += G_GetAngleDelta(pSprite->ang, getangle(pPlayer->pos.x - pSprite->x, pPlayer->pos.y - pSprite->y)) >> 2; @@ -5246,14 +5246,14 @@ ACTOR_STATIC void G_MoveActors(void) A_Fall(spriteNum); pSprite->cstat = 257; - pSprite->picnum = GREENSLIME + 2; + pSprite->picnum = TILE_GREENSLIME + 2; pSprite->extra = 1; pSprite->pal = 1; int const damageTile = A_IncurDamage(spriteNum); if (damageTile >= 0) { - if (damageTile == FREEZEBLAST) + if (damageTile == TILE_FREEZEBLAST) goto next_sprite; P_AddKills(pPlayer, 1); @@ -5262,7 +5262,7 @@ ACTOR_STATIC void G_MoveActors(void) { int32_t const r1 = krand2(), r2 = krand2(), r3 = krand2(); int32_t newSprite = A_InsertSprite(SECT(spriteNum), SX(spriteNum), SY(spriteNum), SZ(spriteNum), - GLASSPIECES + (j % 3), -32, 36, 36, r3 & 2047, 32 + (r2 & 63), + TILE_GLASSPIECES + (j % 3), -32, 36, 36, r3 & 2047, 32 + (r2 & 63), 1024 - (r1 & 1023), spriteNum, 5); sprite[newSprite].pal = 1; } @@ -5305,7 +5305,7 @@ ACTOR_STATIC void G_MoveActors(void) { int32_t const r1 = krand2(), r2 = krand2(), r3 = krand2(), r4 = krand2(); int const j - = A_InsertSprite(sectNum, pSprite->x, pSprite->y, pSprite->z - ZOFFSET3, SCRAP3 + (r4 & 3), -8, 48, 48, + = A_InsertSprite(sectNum, pSprite->x, pSprite->y, pSprite->z - ZOFFSET3, TILE_SCRAP3 + (r4 & 3), -8, 48, 48, r3 & 2047, (r2 & 63) + 64, -(r1 & 4095) - (pSprite->zvel >> 2), spriteNum, 5); sprite[j].pal = 6; } @@ -5315,7 +5315,7 @@ ACTOR_STATIC void G_MoveActors(void) if ((krand2()&255) < 32) { - int const j = A_Spawn(spriteNum,BLOODPOOL); + int const j = A_Spawn(spriteNum,TILE_BLOODPOOL); sprite[j].pal = 0; } @@ -5343,7 +5343,7 @@ ACTOR_STATIC void G_MoveActors(void) { static const char slimeFrames[] = { 5, 5, 6, 6, 7, 7, 6, 5 }; - pSprite->picnum = GREENSLIME + slimeFrames[pData[3]]; + pSprite->picnum = TILE_GREENSLIME + slimeFrames[pData[3]]; if (pData[3] == 5) { @@ -5358,7 +5358,7 @@ ACTOR_STATIC void G_MoveActors(void) } else { - pSprite->picnum = GREENSLIME + 5; + pSprite->picnum = TILE_GREENSLIME + 5; if (rnd(32)) pData[3] = 1; } @@ -5394,7 +5394,7 @@ ACTOR_STATIC void G_MoveActors(void) if (pPlayer->somethingonplayer == spriteNum) pPlayer->somethingonplayer = -1; - if (damageTile == FREEZEBLAST) + if (damageTile == TILE_FREEZEBLAST) { A_PlaySound(SOMETHINGFROZE, spriteNum); pData[0] = -5; @@ -5404,14 +5404,14 @@ ACTOR_STATIC void G_MoveActors(void) if ((krand2()&255) < 32) { - int const j = A_Spawn(spriteNum,BLOODPOOL); + int const j = A_Spawn(spriteNum,TILE_BLOODPOOL); sprite[j].pal = 0; } for (bssize_t x=0; x<8; x++) { int32_t const r1 = krand2(), r2 = krand2(), r3 = krand2(), r4 = krand2(); - int const j = A_InsertSprite(sectNum, pSprite->x, pSprite->y, pSprite->z - ZOFFSET3, SCRAP3 + (r4 & 3), -8, + int const j = A_InsertSprite(sectNum, pSprite->x, pSprite->y, pSprite->z - ZOFFSET3, TILE_SCRAP3 + (r4 & 3), -8, 48, 48, r3 & 2047, (r2 & 63) + 64, -(r1 & 4095) - (pSprite->zvel >> 2), spriteNum, 5); sprite[j].pal = 6; @@ -5425,10 +5425,10 @@ ACTOR_STATIC void G_MoveActors(void) A_Fall(spriteNum); pSprite->cstat &= 65535-8; - pSprite->picnum = GREENSLIME+4; + pSprite->picnum = TILE_GREENSLIME+4; // if(s->yrepeat > 62) - // A_DoGuts(s,JIBS6,5,myconnectindex); + // A_DoGuts(s,TILE_JIBS6,5,myconnectindex); if (pSprite->xrepeat > 32) pSprite->xrepeat -= krand2()&7; if (pSprite->yrepeat > 16) pSprite->yrepeat -= krand2()&7; @@ -5454,7 +5454,7 @@ ACTOR_STATIC void G_MoveActors(void) pSprite->y = sprite[pData[5]].y + (sintable[ang & 2047] >> 11); pSprite->z = sprite[pData[5]].z; - pSprite->picnum = GREENSLIME + 2 + (g_globalRandom & 1); + pSprite->picnum = TILE_GREENSLIME + 2 + (g_globalRandom & 1); if (pSprite->yrepeat < 64) pSprite->yrepeat += 2; @@ -5497,7 +5497,7 @@ ACTOR_STATIC void G_MoveActors(void) if (pData[0] == 0 || pData[0] == 2) { - pSprite->picnum = GREENSLIME; + pSprite->picnum = TILE_GREENSLIME; if ((krand2()&511) == 0) A_PlaySound(SLIM_ROAM,spriteNum); @@ -5552,7 +5552,7 @@ ACTOR_STATIC void G_MoveActors(void) if (pData[0]==1) { - pSprite->picnum = GREENSLIME; + pSprite->picnum = TILE_GREENSLIME; if (pSprite->yrepeat < 40) pSprite->yrepeat+=8; if (pSprite->xrepeat > 8) pSprite->xrepeat-=4; if (pSprite->zvel > -(2048+1024)) @@ -5568,7 +5568,7 @@ ACTOR_STATIC void G_MoveActors(void) if (pData[0]==3) { - pSprite->picnum = GREENSLIME+1; + pSprite->picnum = TILE_GREENSLIME+1; A_Fall(spriteNum); @@ -5632,7 +5632,7 @@ ACTOR_STATIC void G_MoveActors(void) case MORTER__STATIC: if (!RR) { - int const j = A_Spawn(spriteNum, FRAMEEFFECT1); + int const j = A_Spawn(spriteNum, TILE_FRAMEEFFECT1); actor[j].t_data[0] = 3; } fallthrough__; @@ -5648,7 +5648,7 @@ ACTOR_STATIC void G_MoveActors(void) if (--pData[2] <= 0) { A_PlaySound(TELEPORTER, spriteNum); - A_Spawn(spriteNum, TRANSPORTERSTAR); + A_Spawn(spriteNum, TILE_TRANSPORTERSTAR); pSprite->cstat = 257; } goto next_sprite; @@ -5675,7 +5675,7 @@ ACTOR_STATIC void G_MoveActors(void) } } - if (RR || pSprite->picnum != BOUNCEMINE) + if (RR || pSprite->picnum != TILE_BOUNCEMINE) { A_Fall(spriteNum); @@ -5683,7 +5683,7 @@ ACTOR_STATIC void G_MoveActors(void) { if (pSprite->yvel > 0 || (pSprite->yvel == 0 && actor[spriteNum].floorz == sector[sectNum].floorz)) { - if (RRRA && pSprite->picnum == CHEERBOMB) + if (RRRA && pSprite->picnum == TILE_CHEERBOMB) { pData[3] = 1; pData[4] = 1; @@ -5700,7 +5700,7 @@ ACTOR_STATIC void G_MoveActors(void) } if (RR) { - if ((!RRRA || pSprite->picnum != CHEERBOMB) && pSprite->z < actor[spriteNum].ceilingz+(16<<8) && sector[sectNum].lotag != ST_2_UNDERWATER ) + if ((!RRRA || pSprite->picnum != TILE_CHEERBOMB) && pSprite->z < actor[spriteNum].ceilingz+(16<<8) && sector[sectNum].lotag != ST_2_UNDERWATER ) { pSprite->z = actor[spriteNum].ceilingz+(16<<8); pSprite->zvel = 0; @@ -5733,14 +5733,14 @@ ACTOR_STATIC void G_MoveActors(void) if (pData[5] == 0) { pData[5] = 1; - A_Spawn(spriteNum,WATERSPLASH2); - if (RRRA && pSprite->picnum == MORTER) + A_Spawn(spriteNum,TILE_WATERSPLASH2); + if (RRRA && pSprite->picnum == TILE_MORTER) pSprite->xvel = 0; } } else pData[5] = 0; - if (pData[3] == 0 && ((!RR && pSprite->picnum == BOUNCEMINE) || pSprite->picnum == MORTER || (RRRA && pSprite->picnum == CHEERBOMB)) + if (pData[3] == 0 && ((!RR && pSprite->picnum == TILE_BOUNCEMINE) || pSprite->picnum == TILE_MORTER || (RRRA && pSprite->picnum == TILE_CHEERBOMB)) && (moveSprite || playerDist < 844)) { pData[3] = 1; @@ -5750,7 +5750,7 @@ ACTOR_STATIC void G_MoveActors(void) goto DETONATEB; } - if (sprite[pSprite->owner].picnum == APLAYER) + if (sprite[pSprite->owner].picnum == TILE_APLAYER) detonatePlayer = P_Get(pSprite->owner); else detonatePlayer = -1; @@ -5770,7 +5770,7 @@ ACTOR_STATIC void G_MoveActors(void) vec3_t davect = *(vec3_t *)pSprite; moveSprite &= (MAXWALLS - 1); A_DamageWall(spriteNum, moveSprite, &davect, pSprite->picnum); - if (RRRA && pSprite->picnum == CHEERBOMB) + if (RRRA && pSprite->picnum == TILE_CHEERBOMB) { pData[3] = 1; pData[4] = 0; @@ -5787,7 +5787,7 @@ DETONATEB: bBoom = 0; if ((detonatePlayer >= 0 && g_player[detonatePlayer].ps->hbomb_on == 0) || pData[3] == 1) bBoom = 1; - if (NAM_WW2GI && pSprite->picnum == HEAVYHBOMB) + if (NAM_WW2GI && pSprite->picnum == TILE_HEAVYHBOMB) { pSprite->extra--; if (pSprite->extra <= 0) @@ -5817,14 +5817,14 @@ DETONATEB: { A_RadiusDamage(spriteNum, radius, x >> 2, x >> 1, x - (x >> 2), x); - int const j = A_Spawn(spriteNum, EXPLOSION2); + int const j = A_Spawn(spriteNum, TILE_EXPLOSION2); A_PlaySound(PIPEBOMB_EXPLODE, j); - if (RRRA && pSprite->picnum == CHEERBOMB) - A_Spawn(spriteNum, BURNING); + if (RRRA && pSprite->picnum == TILE_CHEERBOMB) + A_Spawn(spriteNum, TILE_BURNING); if (!RR && pSprite->zvel == 0) - A_Spawn(spriteNum,EXPLOSION2BOT); + A_Spawn(spriteNum,TILE_EXPLOSION2BOT); for (bssize_t x = 0; x < 8; ++x) RANDOMSCRAP(pSprite, spriteNum); @@ -5846,19 +5846,19 @@ DETONATEB: else { pData[4] = g_itemRespawnTime; - A_Spawn(spriteNum,RESPAWNMARKERRED); + A_Spawn(spriteNum,TILE_RESPAWNMARKERRED); pSprite->cstat = 32768; pSprite->yrepeat = 9; goto next_sprite; } } - if (RRRA && pSprite->picnum == CHEERBOMB) + if (RRRA && pSprite->picnum == TILE_CHEERBOMB) { - A_Spawn(spriteNum, BURNING); + A_Spawn(spriteNum, TILE_BURNING); DELETE_SPRITE_AND_CONTINUE(spriteNum); } } - else if (pSprite->picnum == HEAVYHBOMB && playerDist < 788 && pData[0] > 7 && pSprite->xvel == 0) + else if (pSprite->picnum == TILE_HEAVYHBOMB && playerDist < 788 && pData[0] > 7 && pSprite->xvel == 0) { if (cansee(pSprite->x, pSprite->y, pSprite->z - ZOFFSET3, pSprite->sectnum, pPlayer->pos.x, pPlayer->pos.y, pPlayer->pos.z, pPlayer->cursectnum)) @@ -5885,20 +5885,20 @@ DETONATEB: if ((pPlayer->gotweapon & (1<owner == pPlayer->i) P_AddWeapon(pPlayer, HANDBOMB_WEAPON); - if (sprite[pSprite->owner].picnum != APLAYER) + if (sprite[pSprite->owner].picnum != TILE_APLAYER) P_PalFrom(pPlayer, 32, 0, 32, 0); - if ((RR && actor[pSprite->owner].picnum != HEAVYHBOMB) || (!RR && pSprite->owner != spriteNum) + if ((RR && actor[pSprite->owner].picnum != TILE_HEAVYHBOMB) || (!RR && pSprite->owner != spriteNum) || ud.respawn_items == 0) { - if ((!RR || (pSprite->picnum == HEAVYHBOMB && sprite[pSprite->owner].picnum != APLAYER)) && (RR || pSprite->owner == spriteNum) && (g_gametypeFlags[ud.coop] & GAMETYPE_WEAPSTAY)) + if ((!RR || (pSprite->picnum == TILE_HEAVYHBOMB && sprite[pSprite->owner].picnum != TILE_APLAYER)) && (RR || pSprite->owner == spriteNum) && (g_gametypeFlags[ud.coop] & GAMETYPE_WEAPSTAY)) goto next_sprite; DELETE_SPRITE_AND_CONTINUE(spriteNum); } else { pData[2] = g_itemRespawnTime; - A_Spawn(spriteNum, RESPAWNMARKERRED); + A_Spawn(spriteNum, TILE_RESPAWNMARKERRED); pSprite->cstat = 32768; } } @@ -5932,10 +5932,10 @@ DETONATEB: } break; case REACTOR__STATIC: - sprite[j].picnum = REACTORBURNT; + sprite[j].picnum = TILE_REACTORBURNT; break; case REACTOR2__STATIC: - sprite[j].picnum = REACTOR2BURNT; + sprite[j].picnum = TILE_REACTOR2BURNT; break; case REACTORSPARK__STATIC: case REACTOR2SPARK__STATIC: @@ -5993,7 +5993,7 @@ DETONATEB: for (bssize_t SPRITES_OF(STAT_STANDABLE, j)) { - if (sprite[j].picnum == MASTERSWITCH && sprite[j].hitag == pSprite->hitag && sprite[j].yvel == 0) + if (sprite[j].picnum == TILE_MASTERSWITCH && sprite[j].hitag == pSprite->hitag && sprite[j].yvel == 0) sprite[j].yvel = 1; } break; @@ -6110,16 +6110,16 @@ ACTOR_STATIC void G_MoveMisc(void) // STATNUM 5 switchPic = pSprite->picnum; - if (!RR && pSprite->picnum > NUKEBUTTON && pSprite->picnum <= NUKEBUTTON+3) - switchPic = NUKEBUTTON; + if (!RR && pSprite->picnum > TILE_NUKEBUTTON && pSprite->picnum <= TILE_NUKEBUTTON+3) + switchPic = TILE_NUKEBUTTON; - if (pSprite->picnum > GLASSPIECES && pSprite->picnum <= GLASSPIECES+2) - switchPic = GLASSPIECES; + if (pSprite->picnum > TILE_GLASSPIECES && pSprite->picnum <= TILE_GLASSPIECES+2) + switchPic = TILE_GLASSPIECES; - if (pSprite->picnum == INNERJAW+1) + if (pSprite->picnum == TILE_INNERJAW+1) switchPic--; - if ((pSprite->picnum == MONEY+1) || (!RR && (pSprite->picnum == MAIL+1 || pSprite->picnum == PAPER+1))) + if ((pSprite->picnum == TILE_MONEY+1) || (!RR && (pSprite->picnum == TILE_MAIL+1 || pSprite->picnum == TILE_PAPER+1))) { actor[spriteNum].floorz = pSprite->z = getflorzofslope(pSprite->sectnum,pSprite->x,pSprite->y); if (RR && sector[pSprite->sectnum].lotag == 800) @@ -6160,9 +6160,9 @@ ACTOR_STATIC void G_MoveMisc(void) // STATNUM 5 goto next_sprite; case NUKEBUTTON__STATIC: - // case NUKEBUTTON+1: - // case NUKEBUTTON+2: - // case NUKEBUTTON+3: + // case TILE_NUKEBUTTON+1: + // case TILE_NUKEBUTTON+2: + // case TILE_NUKEBUTTON+3: if (RR) break; @@ -6170,14 +6170,14 @@ ACTOR_STATIC void G_MoveMisc(void) // STATNUM 5 { pData[0]++; if (pData[0] == 8) - pSprite->picnum = NUKEBUTTON + 1; + pSprite->picnum = TILE_NUKEBUTTON + 1; else if (pData[0] == 16) { - pSprite->picnum = NUKEBUTTON + 2; + pSprite->picnum = TILE_NUKEBUTTON + 2; g_player[P_Get(pSprite->owner)].ps->fist_incs = 1; } if (g_player[P_Get(pSprite->owner)].ps->fist_incs == GAMETICSPERSEC) - pSprite->picnum = NUKEBUTTON + 3; + pSprite->picnum = TILE_NUKEBUTTON + 3; } goto next_sprite; @@ -6221,7 +6221,7 @@ ACTOR_STATIC void G_MoveMisc(void) // STATNUM 5 pData[0]++; if (pData[0] == 1) { - if (sector[sectNum].floorpicnum != RRTILE3073) + if (sector[sectNum].floorpicnum != TILE_RRTILE3073) DELETE_SPRITE_AND_CONTINUE(spriteNum); if (!S_CheckSoundPlaying(spriteNum,ITEM_SPLASH)) A_PlaySound(ITEM_SPLASH,spriteNum); @@ -6280,7 +6280,7 @@ ACTOR_STATIC void G_MoveMisc(void) // STATNUM 5 goto next_sprite; case INNERJAW__STATIC: { - // case INNERJAW+1: + // case TILE_INNERJAW+1: int32_t playerDist, playerNum = A_FindPlayer(pSprite,&playerDist); if (playerDist < 512) @@ -6291,7 +6291,7 @@ ACTOR_STATIC void G_MoveMisc(void) // STATNUM 5 } fallthrough__; case COOLEXPLOSION1__STATIC: - if (!RR && switchPic == COOLEXPLOSION1) + if (!RR && switchPic == TILE_COOLEXPLOSION1) break; fallthrough__; case OWHIP__STATICRR: @@ -6308,7 +6308,7 @@ ACTOR_STATIC void G_MoveMisc(void) // STATNUM 5 case MAIL__STATIC: case PAPER__STATIC: { - if (RR && (switchPic == MAIL || switchPic == PAPER)) + if (RR && (switchPic == TILE_MAIL || switchPic == TILE_PAPER)) break; pSprite->xvel = (krand2()&7)+(sintable[T1(spriteNum)&2047]>>9); T1(spriteNum) += (krand2()&63); @@ -6341,7 +6341,7 @@ ACTOR_STATIC void G_MoveMisc(void) // STATNUM 5 for (bssize_t SPRITES_OF(STAT_MISC, j)) { - if (sprite[j].picnum == BLOODPOOL && ldist(pSprite, &sprite[j]) < 348) + if (sprite[j].picnum == TILE_BLOODPOOL && ldist(pSprite, &sprite[j]) < 348) { pSprite->pal = 2; break; @@ -6440,7 +6440,7 @@ jib_code: { pData[1] = 0; - if (pSprite->picnum == DUKELEG || pSprite->picnum == DUKETORSO || pSprite->picnum == DUKEGUN) + if (pSprite->picnum == TILE_DUKELEG || pSprite->picnum == TILE_DUKETORSO || pSprite->picnum == TILE_DUKEGUN) { pData[0] = (pData[0] > 6) ? 0 : pData[0] + 1; } @@ -6470,7 +6470,7 @@ jib_code: } else { - if (RRRA || (pSprite->picnum == RRTILE2465 || pSprite->picnum == RRTILE2560)) + if (RRRA || (pSprite->picnum == TILE_RRTILE2465 || pSprite->picnum == TILE_RRTILE2560)) DELETE_SPRITE_AND_CONTINUE(spriteNum); if (pData[2] == 0) { @@ -6487,7 +6487,7 @@ jib_code: pSprite->z = floorZ - (2 << 8); pSprite->xvel = 0; - if (pSprite->picnum == JIBS6) + if (pSprite->picnum == TILE_JIBS6) { pData[1]++; @@ -6499,7 +6499,7 @@ jib_code: } else { - pSprite->picnum = JIBS6; + pSprite->picnum = TILE_JIBS6; pData[0] = 0; pData[1] = 0; } @@ -6537,7 +6537,7 @@ jib_code: { pData[2]++; - if (actor[spriteNum].picnum == TIRE) + if (actor[spriteNum].picnum == TILE_TIRE) { if (pSprite->xrepeat < 64 && pSprite->yrepeat < 64) { @@ -6557,7 +6557,7 @@ jib_code: if (playerDist < 844 && pSprite->xrepeat > 6 && pSprite->yrepeat > 6) { - if (pSprite->pal == 0 && (krand2()&255) < 16 && (RR || pSprite->picnum != PUKE)) + if (pSprite->pal == 0 && (krand2()&255) < 16 && (RR || pSprite->picnum != TILE_PUKE)) { if (pPlayer->inv_amount[GET_BOOTS] > 0) pPlayer->inv_amount[GET_BOOTS]--; @@ -6576,7 +6576,7 @@ jib_code: pData[1] = 1; - pPlayer->footprintcount = (actor[spriteNum].picnum == TIRE) ? 10 : 3; + pPlayer->footprintcount = (actor[spriteNum].picnum == TILE_TIRE) ? 10 : 3; pPlayer->footprintpal = pSprite->pal; pPlayer->footprintshade = pSprite->shade; @@ -6661,8 +6661,8 @@ jib_code: case GLASSPIECES__STATIC: case POPCORN__STATICRR: - // case GLASSPIECES+1: - // case GLASSPIECES+2: + // case TILE_GLASSPIECES+1: + // case TILE_GLASSPIECES+2: A_Fall(spriteNum); @@ -6696,7 +6696,7 @@ jib_code: goto next_sprite; } - if (PN(spriteNum) >= SCRAP6 && PN(spriteNum) <= SCRAP5+3) + if (PN(spriteNum) >= TILE_SCRAP6 && PN(spriteNum) <= TILE_SCRAP5+3) { if (pSprite->xvel > 0) pSprite->xvel--; @@ -6715,7 +6715,7 @@ jib_code: { pData[1] = 0; - if (pSprite->picnum < SCRAP6 + 8) + if (pSprite->picnum < TILE_SCRAP6 + 8) pData[0] = (pData[0] > 6) ? 0 : pData[0] + 1; else pData[0] = (pData[0] > 2) ? 0 : pData[0] + 1; @@ -6728,7 +6728,7 @@ jib_code: } else { - if (pSprite->picnum == SCRAP1 && pSprite->yvel > 0 && pSprite->yvel < MAXUSERTILES) + if (pSprite->picnum == TILE_SCRAP1 && pSprite->yvel > 0 && pSprite->yvel < MAXUSERTILES) { int32_t j = A_Spawn(spriteNum, pSprite->yvel); @@ -6775,7 +6775,7 @@ static void HandleSE31(int spriteNum, int setFloorZ, int spriteZ, int SEdir, int for (bssize_t SPRITES_OF_SECT(pSprite->sectnum, j)) { - if (sprite[j].picnum == APLAYER && sprite[j].owner >= 0) + if (sprite[j].picnum == TILE_APLAYER && sprite[j].owner >= 0) { int const playerNum = P_Get(j); @@ -6839,7 +6839,7 @@ static void MaybeTrainKillEnemies(int const spriteNum, int const gutSpawnCnt) if (sprite[findSprite].extra >= 0 && sectNum == sprite[spriteNum].sectnum) { - A_DoGutsDir(findSprite, JIBS6, gutSpawnCnt); + A_DoGutsDir(findSprite, TILE_JIBS6, gutSpawnCnt); A_PlaySound(SQUISHED, findSprite); A_DeleteSprite(findSprite); } @@ -6994,9 +6994,9 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 { // KEEPINSYNC1 if (sprite[p].statnum != STAT_EFFECTOR && sprite[p].statnum != STAT_PROJECTILE) - if (RR || sprite[p].picnum != LASERLINE) + if (RR || sprite[p].picnum != TILE_LASERLINE) { - if (sprite[p].picnum == APLAYER && sprite[p].owner >= 0) + if (sprite[p].picnum == TILE_APLAYER && sprite[p].owner >= 0) continue; sprite[p].ang += (l*q); @@ -7049,18 +7049,18 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 if (RR && (!RRRA || g_lastLevel) && g_hulkSpawn) { g_hulkSpawn--; - int newSprite = A_Spawn(spriteNum, HULK); + int newSprite = A_Spawn(spriteNum, TILE_HULK); sprite[newSprite].z = sector[sprite[newSprite].sectnum].ceilingz; sprite[newSprite].pal = 33; if (!g_hulkSpawn) { newSprite = A_InsertSprite(pSprite->sectnum, pSprite->x, pSprite->y, - sector[pSprite->sectnum].ceilingz + 119428, RRTILE3677, -8, 16, 16, 0, 0, 0, spriteNum, STAT_MISC); + sector[pSprite->sectnum].ceilingz + 119428, TILE_RRTILE3677, -8, 16, 16, 0, 0, 0, spriteNum, STAT_MISC); sprite[newSprite].cstat = 514; sprite[newSprite].pal = 7; sprite[newSprite].xrepeat = 80; sprite[newSprite].yrepeat = 255; - newSprite = A_Spawn(spriteNum, RRTILE296); + newSprite = A_Spawn(spriteNum, TILE_RRTILE296); sprite[newSprite].cstat = 0; sprite[newSprite].cstat |= 32768; sprite[newSprite].z = sector[pSprite->sectnum].floorz - 6144; @@ -7078,30 +7078,30 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 while (otherSprite >= 0) { int const nextOtherSprite = nextspritesect[otherSprite]; - if (sprite[otherSprite].picnum == UFOBEAM) + if (sprite[otherSprite].picnum == TILE_UFOBEAM) if (g_ufoSpawn) if (++g_ufoCnt == 64) { g_ufoCnt = 0; g_ufoSpawn--; - int ufoTile = UFO1; + int ufoTile = TILE_UFO1; switch (krand2()&3) { case 0: - ufoTile = UFO1; + ufoTile = TILE_UFO1; break; case 1: - ufoTile = UFO2; + ufoTile = TILE_UFO2; break; case 2: - ufoTile = UFO3; + ufoTile = TILE_UFO3; break; case 3: - ufoTile = UFO4; + ufoTile = TILE_UFO4; break; } if (RRRA) - ufoTile = UFO1; + ufoTile = TILE_UFO1; int const newSprite = A_Spawn(spriteNum, ufoTile); sprite[newSprite].z = sector[sprite[newSprite].sectnum].ceilingz; } @@ -7188,7 +7188,7 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 { j = pSprite->ang; pSprite->ang = getangle(pSprite->x-g_player[playerNum].ps->pos.x,pSprite->y-g_player[playerNum].ps->pos.y); - A_Shoot(spriteNum,RPG); + A_Shoot(spriteNum,TILE_RPG); pSprite->ang = j; } } @@ -7260,8 +7260,8 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 // KEEPINSYNC2 // XXX: underwater check? if (sprite[j].statnum != STAT_PLAYER && sector[sprite[j].sectnum].lotag != ST_2_UNDERWATER && - (sprite[j].picnum != SECTOREFFECTOR || (sprite[j].lotag == SE_49_POINT_LIGHT||sprite[j].lotag == SE_50_SPOT_LIGHT)) - && sprite[j].picnum != LOCATORS) + (sprite[j].picnum != TILE_SECTOREFFECTOR || (sprite[j].lotag == SE_49_POINT_LIGHT||sprite[j].lotag == SE_50_SPOT_LIGHT)) + && sprite[j].picnum != TILE_LOCATORS) { rotatepoint(*(vec2_t *)pSprite,*(vec2_t *)&sprite[j],q,(vec2_t *)&sprite[j].x); @@ -7344,7 +7344,7 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 for (SPRITES_OF_SECT(pSprite->sectnum, j)) { - if (sprite[j].picnum != SECTOREFFECTOR && sprite[j].picnum != LOCATORS) + if (sprite[j].picnum != TILE_SECTOREFFECTOR && sprite[j].picnum != TILE_LOCATORS) { actor[j].bpos.x = sprite[j].x; actor[j].bpos.y = sprite[j].y; @@ -7393,8 +7393,8 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 for (SPRITES_OF_SECT(pSprite->sectnum, j)) { // TODO: replace some checks for SE 49/50 with statnum LIGHT instead? - if ((sprite[j].picnum != SECTOREFFECTOR || sprite[j].lotag==SE_49_POINT_LIGHT || sprite[j].lotag==SE_50_SPOT_LIGHT) - && sprite[j].picnum != LOCATORS) + if ((sprite[j].picnum != TILE_SECTOREFFECTOR || sprite[j].lotag==SE_49_POINT_LIGHT || sprite[j].lotag==SE_50_SPOT_LIGHT) + && sprite[j].picnum != TILE_LOCATORS) { if (numplayers < 2 && !g_netServer) { @@ -7480,7 +7480,7 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 for (bssize_t nextSprite, SPRITES_OF_SECT_SAFE(pSprite->sectnum, sectSprite, nextSprite)) { - if (sprite[sectSprite].picnum != SECTOREFFECTOR) + if (sprite[sectSprite].picnum != TILE_SECTOREFFECTOR) { sprite[sectSprite].x+=vect.x; sprite[sectSprite].y+=vect.y; @@ -7493,7 +7493,7 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 } break; - //Flashing sector lights after reactor EXPLOSION2 + //Flashing sector lights after reactor TILE_EXPLOSION2 case SE_3_RANDOM_LIGHTS_AFTER_SHOT_OUT: { @@ -7599,7 +7599,7 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 { int const saveAng = pSprite->ang; pSprite->ang = getangle(pSprite->x - pPlayer->pos.x, pSprite->y - pPlayer->pos.y); - A_Shoot(spriteNum, FIRELASER); + A_Shoot(spriteNum, TILE_FIRELASER); pSprite->ang = saveAng; } @@ -8155,7 +8155,7 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 for (SPRITES_OF_SECT(pSprite->sectnum, j)) { - if (sprite[j].picnum == REACTOR || sprite[j].picnum == REACTOR2) + if (sprite[j].picnum == TILE_REACTOR || sprite[j].picnum == TILE_REACTOR2) break; } @@ -8303,7 +8303,7 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 if (!RR) for (bssize_t SPRITES_OF_SECT(pSprite->sectnum, sectSprite)) { - if (sprite[sectSprite].picnum == APLAYER && sprite[sectSprite].owner >= 0 && g_player[P_Get(sectSprite)].ps->on_ground == 1) + if (sprite[sectSprite].picnum == TILE_APLAYER && sprite[sectSprite].owner >= 0 && g_player[P_Get(sectSprite)].ps->on_ground == 1) g_player[P_Get(sectSprite)].ps->pos.z += pSector->extra; if (sprite[sectSprite].zvel == 0 && sprite[sectSprite].statnum != STAT_EFFECTOR && sprite[sectSprite].statnum != STAT_PROJECTILE) @@ -8338,7 +8338,7 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 if (!RR) for (bssize_t SPRITES_OF_SECT(pSprite->sectnum, sectSprite)) { - if (sprite[sectSprite].picnum == APLAYER && sprite[sectSprite].owner >= 0 &&g_player[P_Get(sectSprite)].ps->on_ground == 1) + if (sprite[sectSprite].picnum == TILE_APLAYER && sprite[sectSprite].owner >= 0 &&g_player[P_Get(sectSprite)].ps->on_ground == 1) g_player[P_Get(sectSprite)].ps->pos.z -= pSector->extra; if (sprite[sectSprite].zvel == 0 && sprite[sectSprite].statnum != STAT_EFFECTOR && sprite[sectSprite].statnum != STAT_PROJECTILE) @@ -8376,7 +8376,7 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 for (j=x; j= CRANE && sprite[sectSprite].picnum <= CRANE + 3)) + if (!(sprite[sectSprite].picnum >= TILE_CRANE && sprite[sectSprite].picnum <= TILE_CRANE + 3)) { if (sprite[sectSprite].z > actor[sectSprite].floorz - ZOFFSET2) { @@ -8665,12 +8665,12 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 for (j = 0; j < 8; j++) { pSprite->ang += krand2()&511; - k = A_Spawn(spriteNum, SMALLSMOKE); + k = A_Spawn(spriteNum, TILE_SMALLSMOKE); sprite[k].xvel = 96+(krand2()&127); A_SetSprite(k, CLIPMASK0); setsprite(k, (vec3_t *) &sprite[k]); if (rnd(16)) - A_Spawn(spriteNum, EXPLOSION2); + A_Spawn(spriteNum, TILE_EXPLOSION2); } } @@ -8866,7 +8866,7 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 else if (T3(spriteNum) == (T2(spriteNum)>>2)) { for (SPRITES_OF(STAT_DEFAULT, j)) - if (sprite[j].picnum == NATURALLIGHTNING && sprite[j].hitag == pSprite->hitag) + if (sprite[j].picnum == TILE_NATURALLIGHTNING && sprite[j].hitag == pSprite->hitag) sprite[j].cstat |= 32768; } else if (T3(spriteNum) > (T2(spriteNum)>>3) && T3(spriteNum) < (T2(spriteNum)>>2)) @@ -8885,7 +8885,7 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 for (SPRITES_OF(STAT_DEFAULT, j)) { - if (sprite[j].picnum == NATURALLIGHTNING && sprite[j].hitag == pSprite->hitag) + if (sprite[j].picnum == TILE_NATURALLIGHTNING && sprite[j].hitag == pSprite->hitag) { if (rnd(32) && (T3(spriteNum)&1)) { @@ -8893,7 +8893,7 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 DukePlayer_t *ps; sprite[j].cstat &= 32767; - A_Spawn(j,SMALLSMOKE); + A_Spawn(j,TILE_SMALLSMOKE); p = A_FindPlayer(pSprite, NULL); ps = g_player[p].ps; @@ -9075,7 +9075,7 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 if (rnd(64)) { - k = A_Spawn(spriteNum,EXPLOSION2); + k = A_Spawn(spriteNum,TILE_EXPLOSION2); sprite[k].xrepeat = sprite[k].yrepeat = 2+(krand2()&7); sprite[k].z = pSector->floorz-(krand2()%x); sprite[k].ang += 256-(krand2()%511); @@ -9095,7 +9095,7 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 if (rnd(32)) { - k = A_Spawn(spriteNum,EXPLOSION2); + k = A_Spawn(spriteNum,TILE_EXPLOSION2); sprite[k].xrepeat = sprite[k].yrepeat = 2+(krand2()&3); sprite[k].z = pSector->floorz-(krand2()%x); sprite[k].ang += 256-(krand2()%511); @@ -9314,7 +9314,7 @@ static void A_DoLight(int spriteNum) int savedFires = 0; if (((sector[pSprite->sectnum].floorz - sector[pSprite->sectnum].ceilingz) < 16) || pSprite->z > sector[pSprite->sectnum].floorz || pSprite->z > actor[spriteNum].floorz || - (pSprite->picnum != SECTOREFFECTOR && ((pSprite->cstat & 32768) || pSprite->yrepeat < 4)) || + (pSprite->picnum != TILE_SECTOREFFECTOR && ((pSprite->cstat & 32768) || pSprite->yrepeat < 4)) || A_CheckSpriteFlags(spriteNum, SFLAG_NOLIGHT) || (A_CheckSpriteFlags(spriteNum, SFLAG_USEACTIVATOR) && sector[pSprite->sectnum].lotag & 16384)) { if (actor[spriteNum].lightptr != NULL) @@ -9370,12 +9370,12 @@ static void A_DoLight(int spriteNum) updatesector(pSprite->x, pSprite->y, §num); if ((unsigned) sectnum >= MAXSECTORS || pSprite->z > sector[sectnum].floorz || pSprite->z < sector[sectnum].ceilingz) - goto POOP; + goto TILE_POOP; G_AddGameLight(0, spriteNum, (pSprite->yrepeat*tilesiz[pSprite->picnum].y)<<1, 512-ii*128, ii==0 ? (172+(200<<8)+(104<<16)) : 216+(52<<8)+(20<<16), PR_LIGHT_PRIO_LOW); - POOP: + TILE_POOP: pSprite->x -= d.x; pSprite->y -= d.y; } @@ -9596,14 +9596,14 @@ int A_CheckSwitchTile(int spriteNum) if (PN(spriteNum) <= 0) return 0; - // MULTISWITCH has 4 states so deal with it separately, - // ACCESSSWITCH and ACCESSSWITCH2 are only active in one state so deal with + // TILE_MULTISWITCH has 4 states so deal with it separately, + // TILE_ACCESSSWITCH and TILE_ACCESSSWITCH2 are only active in one state so deal with // them separately. - if ((PN(spriteNum) >= MULTISWITCH && PN(spriteNum) <= MULTISWITCH + 3) || (PN(spriteNum) == ACCESSSWITCH || PN(spriteNum) == ACCESSSWITCH2)) + if ((PN(spriteNum) >= TILE_MULTISWITCH && PN(spriteNum) <= TILE_MULTISWITCH + 3) || (PN(spriteNum) == TILE_ACCESSSWITCH || PN(spriteNum) == TILE_ACCESSSWITCH2)) return 1; - if (RRRA && PN(spriteNum) >= MULTISWITCH2 && PN(spriteNum) <= MULTISWITCH2 + 3) + if (RRRA && PN(spriteNum) >= TILE_MULTISWITCH2 && PN(spriteNum) <= TILE_MULTISWITCH2 + 3) return 1; // Loop to catch both states of switches. diff --git a/source/games/duke/src/cheats.cpp b/source/games/duke/src/cheats.cpp index 2024c59a6..75615ac37 100644 --- a/source/games/duke/src/cheats.cpp +++ b/source/games/duke/src/cheats.cpp @@ -824,7 +824,7 @@ void G_DoCheats(void) case CHEAT_RAKFC: for (int i = 0; i < 7; i++) { - int const newSprite = A_Spawn(pPlayer->i, HEN); + int const newSprite = A_Spawn(pPlayer->i, TILE_HEN); sprite[newSprite].pal = 1; sprite[newSprite].xrepeat <<= 2; sprite[newSprite].yrepeat <<= 2; diff --git a/source/games/duke/src/common.cpp b/source/games/duke/src/common.cpp index 7cbc57c7f..bd2d2cecf 100644 --- a/source/games/duke/src/common.cpp +++ b/source/games/duke/src/common.cpp @@ -32,13 +32,13 @@ void G_InitMultiPsky(int CLOUDYOCEAN__DYN, int MOONSKY1__DYN, int BIGORBIT1__DYN sky->lognumtiles = 3; sky->horizfrac = 32768; - // CLOUDYOCEAN + // TILE_CLOUDYOCEAN // Aligns with the drawn scene horizon because it has one itself. sky = tileSetupSky(CLOUDYOCEAN__DYN); sky->lognumtiles = 3; sky->horizfrac = 65536; - // MOONSKY1 + // TILE_MOONSKY1 // earth mountain mountain sun sky = tileSetupSky(MOONSKY1__DYN); sky->lognumtiles = 3; @@ -48,7 +48,7 @@ void G_InitMultiPsky(int CLOUDYOCEAN__DYN, int MOONSKY1__DYN, int BIGORBIT1__DYN sky->tileofs[4] = 2; sky->tileofs[2] = 3; - // BIGORBIT1 // orbit + // TILE_BIGORBIT1 // orbit // earth1 2 3 moon/sun sky = tileSetupSky(BIGORBIT1__DYN); sky->lognumtiles = 3; @@ -58,7 +58,7 @@ void G_InitMultiPsky(int CLOUDYOCEAN__DYN, int MOONSKY1__DYN, int BIGORBIT1__DYN sky->tileofs[7] = 3; sky->tileofs[2] = 4; - // LA // la city + // TILE_LA // la city // earth1 2 3 moon/sun sky = tileSetupSky(LA__DYN); sky->lognumtiles = 3; @@ -123,7 +123,7 @@ void G_LoadLookups(void) for (j=1; j<=5; j++) { - // Account for TITLE and REALMS swap between basepal number and on-disk order. + // Account for TILE_TITLE and REALMS swap between basepal number and on-disk order. int32_t basepalnum = (j == 3 || j == 4) ? 4+3-j : j; if (fr.Read(paldata, 768) != 768) diff --git a/source/games/duke/src/d_menu.cpp b/source/games/duke/src/d_menu.cpp index c3d988954..85aef5511 100644 --- a/source/games/duke/src/d_menu.cpp +++ b/source/games/duke/src/d_menu.cpp @@ -87,9 +87,9 @@ void Menu_Init(void) // prepare menu fonts // check if tilenum is -1 in case it was set in EVENT_SETDEFAULTS - if ((unsigned)MF_Redfont.tilenum >= MAXTILES) MF_Redfont.tilenum = BIGALPHANUM; - if ((unsigned)MF_Bluefont.tilenum >= MAXTILES) MF_Bluefont.tilenum = STARTALPHANUM; - if ((unsigned)MF_Minifont.tilenum >= MAXTILES) MF_Minifont.tilenum = MINIFONT; + if ((unsigned)MF_Redfont.tilenum >= MAXTILES) MF_Redfont.tilenum = TILE_BIGALPHANUM; + if ((unsigned)MF_Bluefont.tilenum >= MAXTILES) MF_Bluefont.tilenum = TILE_STARTALPHANUM; + if ((unsigned)MF_Minifont.tilenum >= MAXTILES) MF_Minifont.tilenum = TILE_MINIFONT; MF_Redfont.emptychar.y = tilesiz[MF_Redfont.tilenum].y << 16; MF_Bluefont.emptychar.y = tilesiz[MF_Bluefont.tilenum].y << 16; MF_Minifont.emptychar.y = tilesiz[MF_Minifont.tilenum].y << 16; @@ -122,12 +122,12 @@ void Menu_Init(void) static void Menu_DrawBackground(const DVector2 &origin) { - rotatesprite_fs(int(origin.X * 65536) + (MENU_MARGIN_CENTER << 16), int(origin.Y * 65536) + (100 << 16), 65536L, 0, MENUSCREEN, 16, 0, 10 + 64); + rotatesprite_fs(int(origin.X * 65536) + (MENU_MARGIN_CENTER << 16), int(origin.Y * 65536) + (100 << 16), 65536L, 0, TILE_MENUSCREEN, 16, 0, 10 + 64); } static void Menu_DrawTopBar(const DVector2 &origin) { - rotatesprite_fs(int(origin.X*65536) + (MENU_MARGIN_CENTER<<16), int(origin.Y*65536) + (19<<16), MF_Redfont.cursorScale3, 0,MENUBAR,16,0,10); + rotatesprite_fs(int(origin.X*65536) + (MENU_MARGIN_CENTER<<16), int(origin.Y*65536) + (19<<16), MF_Redfont.cursorScale3, 0,TILE_MENUBAR,16,0,10); } static void Menu_DrawTopBarCaption(const char* caption, const DVector2& origin) @@ -198,13 +198,13 @@ static void Menu_DrawCursorCommon(int32_t x, int32_t y, int32_t z, int32_t picnu static void Menu_DrawCursorLeft(int32_t x, int32_t y, int32_t z) { const int frames = RR ? 16 : 7; - Menu_DrawCursorCommon(x, y, z, SPINNINGNUKEICON+(((int32_t) totalclock>>3)%frames)); + Menu_DrawCursorCommon(x, y, z, TILE_SPINNINGNUKEICON+(((int32_t) totalclock>>3)%frames)); } static void Menu_DrawCursorRight(int32_t x, int32_t y, int32_t z) { const int frames = RR ? 16 : 7; - Menu_DrawCursorCommon(x, y, z, SPINNINGNUKEICON+frames-1-((frames-1+((int32_t) totalclock>>3))%frames)); + Menu_DrawCursorCommon(x, y, z, TILE_SPINNINGNUKEICON+frames-1-((frames-1+((int32_t) totalclock>>3))%frames)); } static int Menu_GetFontHeight(int fontnum) @@ -248,7 +248,7 @@ void Menu_DHLeaonardHeadDisplay(vec2_t pos) dword_A99A4 = 160 - ((rrdh_random() & 255) - 128); word_A99B0 = ((rrdh_random() & 127) + 1984) & 2047; dword_A99AC = (rrdh_random() & 4095) - 4090; - word_A99B2 = SPINNINGNUKEICON + (rrdh_random() & 15); + word_A99B2 = TILE_SPINNINGNUKEICON + (rrdh_random() & 15); } break; case 1: @@ -285,10 +285,10 @@ void Menu_DHLeaonardHeadDisplay(vec2_t pos) dword_A99A0 = 3; } } - if (word_A99B2 < SPINNINGNUKEICON) - word_A99B2 = SPINNINGNUKEICON + 15; - if (word_A99B2 > SPINNINGNUKEICON + 15) - word_A99B2 = SPINNINGNUKEICON; + if (word_A99B2 < TILE_SPINNINGNUKEICON) + word_A99B2 = TILE_SPINNINGNUKEICON + 15; + if (word_A99B2 > TILE_SPINNINGNUKEICON + 15) + word_A99B2 = TILE_SPINNINGNUKEICON; pos.x += dword_A99A4 << 16; pos.y += (240 - dword_A99A8) << 16; rotatesprite(pos.x, pos.y, 32768 - dword_A99AC, word_A99B0, word_A99B2, 0, 0, 10, 0, 0, xdim - 1, ydim - 1); @@ -384,21 +384,21 @@ class DukeMainMenu : public DukeListMenu { vec2_t forigin = { int(origin.X * 65536), int(origin.Y * 65536) }; Menu_DHLeaonardHeadDisplay(forigin); - rotatesprite_fs(forigin.x + (MENU_MARGIN_CENTER << 16), forigin.y + ((32) << 16), 20480L, 0, DUKENUKEM, 0, 0, 10); + rotatesprite_fs(forigin.x + (MENU_MARGIN_CENTER << 16), forigin.y + ((32) << 16), 20480L, 0, TILE_DUKENUKEM, 0, 0, 10); } else if (RRRA) { - rotatesprite_fs(int(origin.X * 65536) + ((MENU_MARGIN_CENTER - 5) << 16), int(origin.Y * 65536) + ((57) << 16), 16592L, 0, THREEDEE, 0, 0, 10); + rotatesprite_fs(int(origin.X * 65536) + ((MENU_MARGIN_CENTER - 5) << 16), int(origin.Y * 65536) + ((57) << 16), 16592L, 0, TILE_THREEDEE, 0, 0, 10); } else if (RR) { - rotatesprite_fs(int(origin.X * 65536) + ((MENU_MARGIN_CENTER + 5) << 16), int(origin.Y * 65536) + ((24) << 16), 23592L, 0, INGAMEDUKETHREEDEE, 0, 0, 10); + rotatesprite_fs(int(origin.X * 65536) + ((MENU_MARGIN_CENTER + 5) << 16), int(origin.Y * 65536) + ((24) << 16), 23592L, 0, TILE_INGAMEDUKETHREEDEE, 0, 0, 10); } else { - rotatesprite_fs(int(origin.X * 65536) + (MENU_MARGIN_CENTER<<16), int(origin.Y * 65536) + ((28)<<16), 65536L,0,INGAMEDUKETHREEDEE,0,0,10); + rotatesprite_fs(int(origin.X * 65536) + (MENU_MARGIN_CENTER<<16), int(origin.Y * 65536) + ((28)<<16), 65536L,0,TILE_INGAMEDUKETHREEDEE,0,0,10); if (PLUTOPAK) // JBF 20030804 - rotatesprite_fs(int(origin.X * 65536) + ((MENU_MARGIN_CENTER+100)<<16), int(origin.Y * 65536) + (36<<16), 65536L,0,PLUTOPAKSPRITE+2,(sintable[((int32_t) totalclock<<4)&2047]>>11),0,2+8); + rotatesprite_fs(int(origin.X * 65536) + ((MENU_MARGIN_CENTER+100)<<16), int(origin.Y * 65536) + (36<<16), 65536L,0,TILE_PLUTOPAKSPRITE+2,(sintable[((int32_t) totalclock<<4)&2047]>>11),0,2+8); } } @@ -753,9 +753,9 @@ void GameInterface::DrawCenteredTextScreen(const DVector2 &origin, const char *t void GameInterface::DrawPlayerSprite(const DVector2& origin, bool onteam) { if (RR) - rotatesprite_fs(int(origin.X * 65536) + (260<<16), int(origin.Y * 65536) + ((24+(tilesiz[APLAYER].y>>2))<<16), 24576L,0,3845+36-((((8-((int32_t) totalclock>>4)))&7)*5),0,onteam ? G_GetTeamPalette(playerteam) : G_CheckPlayerColor(playercolor),10); + rotatesprite_fs(int(origin.X * 65536) + (260<<16), int(origin.Y * 65536) + ((24+(tilesiz[TILE_APLAYER].y>>2))<<16), 24576L,0,3845+36-((((8-((int32_t) totalclock>>4)))&7)*5),0,onteam ? G_GetTeamPalette(playerteam) : G_CheckPlayerColor(playercolor),10); else - rotatesprite_fs(int(origin.X * 65536) + (260<<16), int(origin.Y * 65536) + ((24+(tilesiz[APLAYER].y>>1))<<16), 49152L,0,1441-((((4-((int32_t) totalclock>>4)))&3)*5),0,onteam ? G_GetTeamPalette(playerteam) : G_CheckPlayerColor(playercolor),10); + rotatesprite_fs(int(origin.X * 65536) + (260<<16), int(origin.Y * 65536) + ((24+(tilesiz[TILE_APLAYER].y>>1))<<16), 49152L,0,1441-((((4-((int32_t) totalclock>>4)))&3)*5),0,onteam ? G_GetTeamPalette(playerteam) : G_CheckPlayerColor(playercolor),10); } void GameInterface::QuitToTitle() diff --git a/source/games/duke/src/demo.cpp b/source/games/duke/src/demo.cpp index c7c4b69d7..f9c706ce6 100644 --- a/source/games/duke/src/demo.cpp +++ b/source/games/duke/src/demo.cpp @@ -828,16 +828,16 @@ nextdemo_nomenu: Bsprintf(buf, "%02d:%02d", j/60, j%60); gametext_widenumber(18, 16, buf); - rotatesprite(60<<16, 16<<16, 32768, 0, SLIDEBAR, 0, 0, 2+8+16+1024, 0, 0, (xdim*95)/320, ydim-1); - rotatesprite(90<<16, 16<<16, 32768, 0, SLIDEBAR, 0, 0, 2+8+16+1024, (xdim*95)/320, 0, (xdim*125)/320, ydim-1); - rotatesprite(120<<16, 16<<16, 32768, 0, SLIDEBAR, 0, 0, 2+8+16+1024, (xdim*125)/320, 0, (xdim*155)/320, ydim-1); - rotatesprite(150<<16, 16<<16, 32768, 0, SLIDEBAR, 0, 0, 2+8+16+1024, (xdim*155)/320, 0, xdim-1, ydim-1); + rotatesprite(60<<16, 16<<16, 32768, 0, TILE_SLIDEBAR, 0, 0, 2+8+16+1024, 0, 0, (xdim*95)/320, ydim-1); + rotatesprite(90<<16, 16<<16, 32768, 0, TILE_SLIDEBAR, 0, 0, 2+8+16+1024, (xdim*95)/320, 0, (xdim*125)/320, ydim-1); + rotatesprite(120<<16, 16<<16, 32768, 0, TILE_SLIDEBAR, 0, 0, 2+8+16+1024, (xdim*125)/320, 0, (xdim*155)/320, ydim-1); + rotatesprite(150<<16, 16<<16, 32768, 0, TILE_SLIDEBAR, 0, 0, 2+8+16+1024, (xdim*155)/320, 0, xdim-1, ydim-1); j = (182<<16) - (tabledivide32_noinline((120*(g_demo_totalCnt-g_demo_cnt))<<4, g_demo_totalCnt)<<12); if (RR) - rotatesprite_fs(j, (15<<16)+(1<<15), 16384, 0, BIGALPHANUM-9, 0, 0, 2+8+16+1024); + rotatesprite_fs(j, (15<<16)+(1<<15), 16384, 0, TILE_BIGALPHANUM-9, 0, 0, 2+8+16+1024); else - rotatesprite_fs(j, (16<<16)+(1<<15), 32768, 0, SLIDEBAR+1, 0, 0, 2+8+16+1024); + rotatesprite_fs(j, (16<<16)+(1<<15), 32768, 0, TILE_SLIDEBAR+1, 0, 0, 2+8+16+1024); j=(g_demo_totalCnt-g_demo_cnt)/REALGAMETICSPERSEC; Bsprintf(buf, "-%02d:%02d%s", j/60, j%60, g_demo_paused ? " ^15PAUSED" : ""); @@ -895,7 +895,7 @@ nextdemo_nomenu: if (VOLUMEONE) { if ((g_player[myconnectindex].ps->gm&MODE_MENU) == 0) - rotatesprite_fs((320-50)<<16, 9<<16, 65536L, 0, BETAVERSION, 0, 0, 2+8+16+128); + rotatesprite_fs((320-50)<<16, 9<<16, 65536L, 0, TILE_BETAVERSION, 0, 0, 2+8+16+128); } videoNextPage(); diff --git a/source/games/duke/src/game.cpp b/source/games/duke/src/game.cpp index 8dd980e82..9dbd6e7b7 100644 --- a/source/games/duke/src/game.cpp +++ b/source/games/duke/src/game.cpp @@ -269,7 +269,7 @@ void G_OffMotorcycle(DukePlayer_t *pPlayer) pPlayer->vel.x -= sintable[(fix16_to_int(pPlayer->q16ang)+512)&2047]<<7; pPlayer->vel.y -= sintable[fix16_to_int(pPlayer->q16ang)&2047]<<7; pPlayer->moto_underwater = 0; - j = A_Spawn(pPlayer->i, EMPTYBIKE); + j = A_Spawn(pPlayer->i, TILE_EMPTYBIKE); sprite[j].ang = fix16_to_int(pPlayer->q16ang); sprite[j].xvel += sintable[(fix16_to_int(pPlayer->q16ang)+512)&2047]<<7; sprite[j].yvel += sintable[fix16_to_int(pPlayer->q16ang)&2047]<<7; @@ -322,7 +322,7 @@ void G_OffBoat(DukePlayer_t *pPlayer) pPlayer->vel.x -= sintable[(fix16_to_int(pPlayer->q16ang)+512)&2047]<<7; pPlayer->vel.y -= sintable[fix16_to_int(pPlayer->q16ang)&2047]<<7; pPlayer->moto_underwater = 0; - j = A_Spawn(pPlayer->i, EMPTYBOAT); + j = A_Spawn(pPlayer->i, TILE_EMPTYBOAT); sprite[j].ang = fix16_to_int(pPlayer->q16ang); sprite[j].xvel += sintable[(fix16_to_int(pPlayer->q16ang)+512)&2047]<<7; sprite[j].yvel += sintable[fix16_to_int(pPlayer->q16ang)&2047]<<7; @@ -604,7 +604,7 @@ static void G_OROR_DupeSprites(const spritetype *sp) if (spritesortcnt >= maxspritesonscreen) break; - if (sprite[k].picnum != SECTOREFFECTOR && sprite[k].z >= sp->z) + if (sprite[k].picnum != TILE_SECTOREFFECTOR && sprite[k].z >= sp->z) { tspriteptr_t tsp = renderAddTSpriteFromSprite(k); @@ -737,7 +737,7 @@ static void G_SE40(int32_t smoothratio) void G_HandleMirror(int32_t x, int32_t y, int32_t z, fix16_t a, fix16_t q16horiz, int32_t smoothratio) { - if ((gotpic[MIRROR>>3]&(1<<(MIRROR&7))) + if ((gotpic[TILE_MIRROR>>3]&(1<<(TILE_MIRROR&7))) #ifdef POLYMER && (videoGetRenderMode() != REND_POLYMER) #endif @@ -745,9 +745,9 @@ void G_HandleMirror(int32_t x, int32_t y, int32_t z, fix16_t a, fix16_t q16horiz { if (g_mirrorCount == 0) { - // NOTE: We can have g_mirrorCount==0 but gotpic'd MIRROR, + // NOTE: We can have g_mirrorCount==0 but gotpic'd TILE_MIRROR, // for example in LNGA2. - gotpic[MIRROR>>3] &= ~(1<<(MIRROR&7)); + gotpic[TILE_MIRROR>>3] &= ~(1<<(TILE_MIRROR&7)); return; } @@ -766,7 +766,7 @@ void G_HandleMirror(int32_t x, int32_t y, int32_t z, fix16_t a, fix16_t q16horiz dst = j, i = k; } - if (wall[g_mirrorWall[i]].overpicnum != MIRROR) + if (wall[g_mirrorWall[i]].overpicnum != TILE_MIRROR) { // Try to find a new mirror wall in case the original one was broken. @@ -776,7 +776,7 @@ void G_HandleMirror(int32_t x, int32_t y, int32_t z, fix16_t a, fix16_t q16horiz for (bssize_t k=startwall; k= 0 && (wall[j].cstat&32) && wall[j].overpicnum==MIRROR) // cmp. premap.c + if (j >= 0 && (wall[j].cstat&32) && wall[j].overpicnum==TILE_MIRROR) // cmp. premap.c { g_mirrorWall[i] = j; break; @@ -784,7 +784,7 @@ void G_HandleMirror(int32_t x, int32_t y, int32_t z, fix16_t a, fix16_t q16horiz } } - if (wall[g_mirrorWall[i]].overpicnum == MIRROR) + if (wall[g_mirrorWall[i]].overpicnum == TILE_MIRROR) { int32_t tposx, tposy; fix16_t tang; @@ -814,7 +814,7 @@ void G_HandleMirror(int32_t x, int32_t y, int32_t z, fix16_t a, fix16_t q16horiz // XXX: fix the sequence of setting/clearing this bit. Right now, // we always draw one frame without drawing the mirror, after which // the bit gets set and drawn subsequently. - gotpic[MIRROR>>3] &= ~(1<<(MIRROR&7)); + gotpic[TILE_MIRROR>>3] &= ~(1<<(TILE_MIRROR&7)); } } } @@ -1135,7 +1135,7 @@ void G_DrawRooms(int32_t playerNum, int32_t smoothRatio) dr_viewingrange = viewingrange; dr_yxaspect = yxaspect; #ifdef DEBUG_MIRRORS_ONLY - gotpic[MIRROR>>3] |= (1<<(MIRROR&7)); + gotpic[TILE_MIRROR>>3] |= (1<<(TILE_MIRROR&7)); #else if (RR && sector[CAMERA(sect)].lotag == 848) { @@ -1449,7 +1449,7 @@ int A_Spawn(int spriteNum, int tileNum) pActor->picnum = pSprite->picnum; - if (pSprite->picnum == SECTOREFFECTOR && pSprite->lotag == 50) + if (pSprite->picnum == TILE_SECTOREFFECTOR && pSprite->lotag == 50) pActor->picnum = pSprite->owner; pSprite->owner = pActor->owner = newSprite; @@ -1464,21 +1464,21 @@ int A_Spawn(int spriteNum, int tileNum) #endif if ((pSprite->cstat & 48) - && (RR || (pSprite->picnum != SPEAKER - && pSprite->picnum != LETTER - && pSprite->picnum != DUCK - && pSprite->picnum != TARGET - && pSprite->picnum != TRIPBOMB - && pSprite->picnum != VIEWSCREEN - && pSprite->picnum != VIEWSCREEN2)) - && (!(pSprite->picnum >= CRACK1 && pSprite->picnum <= CRACK4))) + && (RR || (pSprite->picnum != TILE_SPEAKER + && pSprite->picnum != TILE_LETTER + && pSprite->picnum != TILE_DUCK + && pSprite->picnum != TILE_TARGET + && pSprite->picnum != TILE_TRIPBOMB + && pSprite->picnum != TILE_VIEWSCREEN + && pSprite->picnum != TILE_VIEWSCREEN2)) + && (!(pSprite->picnum >= TILE_CRACK1 && pSprite->picnum <= TILE_CRACK4))) { if (pSprite->shade == 127) goto SPAWN_END; if (A_CheckSwitchTile(newSprite) && (pSprite->cstat & 16)) { - if (pSprite->pal && pSprite->picnum != ACCESSSWITCH && pSprite->picnum != ACCESSSWITCH2) + if (pSprite->pal && pSprite->picnum != TILE_ACCESSSWITCH && pSprite->picnum != TILE_ACCESSSWITCH2) { if (((!g_netServer && ud.multimode < 2)) || ((g_netServer || ud.multimode > 1) && !GTFLAGS(GAMETYPE_DMSWITCHES))) { @@ -1491,7 +1491,7 @@ int A_Spawn(int spriteNum, int tileNum) pSprite->cstat |= 257; - if (pSprite->pal && pSprite->picnum != ACCESSSWITCH && pSprite->picnum != ACCESSSWITCH2) + if (pSprite->pal && pSprite->picnum != TILE_ACCESSSWITCH && pSprite->picnum != TILE_ACCESSSWITCH2) pSprite->pal = 0; goto SPAWN_END; @@ -1519,17 +1519,17 @@ int A_Spawn(int spriteNum, int tileNum) //some special cases that can't be handled through the dynamictostatic system. - if (pSprite->picnum >= CAMERA1 && pSprite->picnum <= CAMERA1 + 4) - pSprite->picnum = CAMERA1; - else if (pSprite->picnum >= BOLT1 && pSprite->picnum <= BOLT1 + 3) - pSprite->picnum = BOLT1; - else if (!RR && pSprite->picnum >= SIDEBOLT1 && pSprite->picnum <= SIDEBOLT1 + 3) - pSprite->picnum = SIDEBOLT1; - if (DEER && pSprite->picnum != APLAYER && pSprite->picnum != RRTILE7936) + if (pSprite->picnum >= TILE_CAMERA1 && pSprite->picnum <= TILE_CAMERA1 + 4) + pSprite->picnum = TILE_CAMERA1; + else if (pSprite->picnum >= TILE_BOLT1 && pSprite->picnum <= TILE_BOLT1 + 3) + pSprite->picnum = TILE_BOLT1; + else if (!RR && pSprite->picnum >= TILE_SIDEBOLT1 && pSprite->picnum <= TILE_SIDEBOLT1 + 3) + pSprite->picnum = TILE_SIDEBOLT1; + if (DEER && pSprite->picnum != TILE_APLAYER && pSprite->picnum != TILE_RRTILE7936) { goto default_case; } - else if (RRRA && pSprite->picnum == PIG+11) + else if (RRRA && pSprite->picnum == TILE_PIG+11) { pSprite->xrepeat = 16; pSprite->yrepeat = 16; @@ -1576,7 +1576,7 @@ default_case: if (spriteNum >= 0) { - if (sprite[spriteNum].picnum == RESPAWN) + if (sprite[spriteNum].picnum == TILE_RESPAWN) pActor->tempang = sprite[newSprite].pal = sprite[spriteNum].pal; A_PlayAlertSound(newSprite); @@ -1748,7 +1748,7 @@ default_case: pSprite->z = getflorzofslope(pSprite->sectnum, pSprite->x, pSprite->y); } - if (sector[sectNum].floorpicnum == FLOORSLIME || sector[sectNum].ceilingpicnum == FLOORSLIME) + if (sector[sectNum].floorpicnum == TILE_FLOORSLIME || sector[sectNum].ceilingpicnum == TILE_FLOORSLIME) pSprite->pal = 7; fallthrough__; case NEON1__STATIC: @@ -1758,13 +1758,13 @@ default_case: case NEON5__STATIC: case NEON6__STATIC: case DOMELITE__STATIC: - if (pSprite->picnum != WATERSPLASH2) + if (pSprite->picnum != TILE_WATERSPLASH2) pSprite->cstat |= 257; fallthrough__; case NUKEBUTTON__STATIC: - if (RR && pSprite->picnum == NUKEBUTTON) + if (RR && pSprite->picnum == TILE_NUKEBUTTON) goto default_case; - if (pSprite->picnum == DOMELITE) + if (pSprite->picnum == TILE_DOMELITE) pSprite->cstat |= 257; fallthrough__; case JIBS1__STATIC: @@ -1776,7 +1776,7 @@ default_case: case DUKETORSO__STATIC: case DUKEGUN__STATIC: case DUKELEG__STATIC: - if (RR && pSprite->picnum == JIBS6) + if (RR && pSprite->picnum == TILE_JIBS6) { pSprite->xrepeat >>= 1; pSprite->yrepeat >>= 1; @@ -1813,17 +1813,17 @@ default_case: case MAMAJIBA__STATICRR: case MAMAJIBB__STATICRR: if (!RRRA) goto default_case; - if (pSprite->picnum == RABBITJIBA) + if (pSprite->picnum == TILE_RABBITJIBA) { pSprite->xrepeat = 18; pSprite->yrepeat = 18; } - else if (pSprite->picnum == RABBITJIBB) + else if (pSprite->picnum == TILE_RABBITJIBB) { pSprite->xrepeat = 36; pSprite->yrepeat = 36; } - else if (pSprite->picnum == RABBITJIBC) + else if (pSprite->picnum == TILE_RABBITJIBC) { pSprite->xrepeat = 54; pSprite->yrepeat = 54; @@ -1858,7 +1858,7 @@ default_case: case TRANSPORTERSTAR__STATIC: case TRANSPORTERBEAM__STATIC: if (spriteNum == -1) break; - if (pSprite->picnum == TRANSPORTERBEAM) + if (pSprite->picnum == TILE_TRANSPORTERBEAM) { pSprite->xrepeat = 31; pSprite->yrepeat = 1; @@ -1892,8 +1892,8 @@ default_case: { pSprite->xrepeat = sprite[spriteNum].xrepeat; pSprite->yrepeat = sprite[spriteNum].yrepeat; - if (RR && sprite[spriteNum].picnum == APLAYER) - T2(newSprite) = SMALLSMOKE; + if (RR && sprite[spriteNum].picnum == TILE_APLAYER) + T2(newSprite) = TILE_SMALLSMOKE; else T2(newSprite) = sprite[spriteNum].picnum; } @@ -1945,7 +1945,7 @@ default_case: case BLOODPOOL__STATIC: case PUKE__STATIC: { - if (RR && pSprite->picnum == PUKE) goto default_case; + if (RR && pSprite->picnum == TILE_PUKE) goto default_case; int16_t pukeSect = pSprite->sectnum; updatesector(pSprite->x + 108, pSprite->y + 108, &pukeSect); @@ -1979,16 +1979,16 @@ default_case: break; } - if (spriteNum >= 0 && (RR || pSprite->picnum != PUKE)) + if (spriteNum >= 0 && (RR || pSprite->picnum != TILE_PUKE)) { if (sprite[spriteNum].pal == 1) pSprite->pal = 1; - else if (sprite[spriteNum].pal != 6 && sprite[spriteNum].picnum != NUKEBARREL && sprite[spriteNum].picnum != TIRE) - pSprite->pal = (!RR && sprite[spriteNum].picnum == FECES) ? 7 : 2; // Brown or red + else if (sprite[spriteNum].pal != 6 && sprite[spriteNum].picnum != TILE_NUKEBARREL && sprite[spriteNum].picnum != TILE_TIRE) + pSprite->pal = (!RR && sprite[spriteNum].picnum == TILE_FECES) ? 7 : 2; // Brown or red else pSprite->pal = 0; // green - if (sprite[spriteNum].picnum == TIRE) + if (sprite[spriteNum].picnum == TILE_TIRE) pSprite->shade = 127; } pSprite->cstat |= 32; @@ -2012,7 +2012,7 @@ rrbloodpool_fallthrough: pSprite->yrepeat = 7 + (krand2() & 7); pSprite->z -= ZOFFSET2; - if (pSprite->picnum == BLOODPOOL) + if (pSprite->picnum == TILE_BLOODPOOL) pSprite->cstat |= 32768; if (spriteNum >= 0 && sprite[spriteNum].pal == 6) @@ -2124,7 +2124,7 @@ rrbloodpool_fallthrough: pSprite->cstat |= 257; fallthrough__; case OCEANSPRITE4__STATIC: - if (RR && pSprite->picnum == OCEANSPRITE4) goto default_case; + if (RR && pSprite->picnum == TILE_OCEANSPRITE4) goto default_case; changespritestat(newSprite, STAT_DEFAULT); break; case FEMMAG1__STATIC: @@ -2239,7 +2239,7 @@ rrbloodpool_fallthrough: pSprite->hitag = -1; fallthrough__; case BLOODYPOLE__STATIC: - if (RR && pSprite->picnum == BLOODYPOLE) goto default_case; + if (RR && pSprite->picnum == TILE_BLOODYPOLE) goto default_case; pSprite->cstat |= 257; pSprite->clipdist = 32; changespritestat(newSprite, STAT_ZOMBIEACTOR); @@ -2335,7 +2335,7 @@ rrbloodpool_fallthrough: break; case DUKELYINGDEAD__STATIC: - if (spriteNum >= 0 && sprite[spriteNum].picnum == APLAYER) + if (spriteNum >= 0 && sprite[spriteNum].picnum == TILE_APLAYER) { pSprite->xrepeat = sprite[spriteNum].xrepeat; pSprite->yrepeat = sprite[spriteNum].yrepeat; @@ -2345,15 +2345,15 @@ rrbloodpool_fallthrough: fallthrough__; case DUKECAR__STATIC: case HELECOPT__STATIC: - // if(sp->picnum == HELECOPT || sp->picnum == DUKECAR) sp->xvel = 1024; - if (RR && (pSprite->picnum == DUKECAR || pSprite->picnum == HELECOPT)) goto default_case; + // if(sp->picnum == TILE_HELECOPT || sp->picnum == TILE_DUKECAR) sp->xvel = 1024; + if (RR && (pSprite->picnum == TILE_DUKECAR || pSprite->picnum == TILE_HELECOPT)) goto default_case; pSprite->cstat = 0; pSprite->extra = 1; pSprite->xvel = 292; pSprite->zvel = 360; fallthrough__; case BLIMP__STATIC: - if (RR && pSprite->picnum == BLIMP) goto default_case; + if (RR && pSprite->picnum == TILE_BLIMP) goto default_case; pSprite->cstat |= 257; pSprite->clipdist = 128; changespritestat(newSprite, STAT_ACTOR); @@ -2392,7 +2392,7 @@ rrbloodpool_fallthrough: case MONEY__STATIC: case MAIL__STATIC: case PAPER__STATIC: - if (RR && (pSprite->picnum == MAIL || pSprite->picnum == PAPER)) goto default_case; + if (RR && (pSprite->picnum == TILE_MAIL || pSprite->picnum == TILE_PAPER)) goto default_case; pActor->t_data[0] = krand2() & 2047; pSprite->cstat = krand2() & 12; @@ -2417,7 +2417,7 @@ rrbloodpool_fallthrough: { int shellAng; - if (sprite[spriteNum].picnum == APLAYER) + if (sprite[spriteNum].picnum == TILE_APLAYER) { int const playerNum = P_Get(spriteNum); const DukePlayer_t *const pPlayer = g_player[playerNum].ps; @@ -2428,7 +2428,7 @@ rrbloodpool_fallthrough: pSprite->z = (3 << 8) + pPlayer->pyoff + pPlayer->pos.z - (fix16_to_int((pPlayer->q16horizoff + pPlayer->q16horiz - F16(100))) << 4); - if (pSprite->picnum == SHOTGUNSHELL) + if (pSprite->picnum == TILE_SHOTGUNSHELL) pSprite->z += (3 << 8); pSprite->zvel = -(krand2() & 255); @@ -2454,7 +2454,7 @@ rrbloodpool_fallthrough: pSprite->xvel = 20; } - if (RR && pSprite->picnum == SHELL) + if (RR && pSprite->picnum == TILE_SHELL) pSprite->xrepeat = pSprite->yrepeat = 2; else pSprite->xrepeat = pSprite->yrepeat = 4; @@ -2496,8 +2496,8 @@ rrbloodpool_fallthrough: case SMALLSMOKE__STATIC: case SHRINKEREXPLOSION__STATIC: case COOLEXPLOSION1__STATIC: - if (RR && (pSprite->picnum == EXPLOSION2BOT || pSprite->picnum == BURNING2 - || pSprite->picnum == SHRINKEREXPLOSION || pSprite->picnum == COOLEXPLOSION1)) goto default_case; + if (RR && (pSprite->picnum == TILE_EXPLOSION2BOT || pSprite->picnum == TILE_BURNING2 + || pSprite->picnum == TILE_SHRINKEREXPLOSION || pSprite->picnum == TILE_COOLEXPLOSION1)) goto default_case; if (spriteNum >= 0) { pSprite->ang = sprite[spriteNum].ang; @@ -2505,26 +2505,26 @@ rrbloodpool_fallthrough: pSprite->cstat = 128|(krand2()&4); } - if (pSprite->picnum == EXPLOSION2 || (!RR && pSprite->picnum == EXPLOSION2BOT)) + if (pSprite->picnum == TILE_EXPLOSION2 || (!RR && pSprite->picnum == TILE_EXPLOSION2BOT)) { pSprite->xrepeat = pSprite->yrepeat = 48; pSprite->shade = -127; pSprite->cstat |= 128; } - else if (RR && pSprite->picnum == EXPLOSION3) + else if (RR && pSprite->picnum == TILE_EXPLOSION3) { pSprite->xrepeat = pSprite->yrepeat = 128; pSprite->shade = -127; pSprite->cstat |= 128; } - else if (!RR && pSprite->picnum == SHRINKEREXPLOSION) + else if (!RR && pSprite->picnum == TILE_SHRINKEREXPLOSION) pSprite->xrepeat = pSprite->yrepeat = 32; - else if (pSprite->picnum == SMALLSMOKE) + else if (pSprite->picnum == TILE_SMALLSMOKE) { // 64 "money" pSprite->xrepeat = pSprite->yrepeat = RR ? 12 : 24; } - else if (pSprite->picnum == BURNING || (!RR && pSprite->picnum == BURNING2)) + else if (pSprite->picnum == TILE_BURNING || (!RR && pSprite->picnum == TILE_BURNING2)) pSprite->xrepeat = pSprite->yrepeat = 4; pSprite->cstat |= 8192; @@ -2567,7 +2567,7 @@ rrbloodpool_fallthrough: case WATERBUBBLE__STATIC: if (spriteNum >= 0) { - if (sprite[spriteNum].picnum == APLAYER) + if (sprite[spriteNum].picnum == TILE_APLAYER) pSprite->z -= (16 << 8); pSprite->ang = sprite[spriteNum].ang; @@ -2595,7 +2595,7 @@ rrbloodpool_fallthrough: do { - if (sprite[findSprite].picnum == CRANEPOLE && pSprite->hitag == (sprite[findSprite].hitag)) + if (sprite[findSprite].picnum == TILE_CRANEPOLE && pSprite->hitag == (sprite[findSprite].hitag)) { g_origins[tempwallptr + 2].y = findSprite; @@ -2652,7 +2652,7 @@ rrbloodpool_fallthrough: } fallthrough__; case WATERDRIPSPLASH__STATIC: - if (RR && pSprite->picnum == WATERDRIPSPLASH) goto default_case; + if (RR && pSprite->picnum == TILE_WATERDRIPSPLASH) goto default_case; pSprite->xrepeat = pSprite->yrepeat = 24; changespritestat(newSprite, STAT_STANDABLE); break; @@ -2675,10 +2675,10 @@ rrbloodpool_fallthrough: } fallthrough__; case WATERBUBBLEMAKER__STATIC: - if (EDUKE32_PREDICT_FALSE(pSprite->hitag && pSprite->picnum == WATERBUBBLEMAKER)) + if (EDUKE32_PREDICT_FALSE(pSprite->hitag && pSprite->picnum == TILE_WATERBUBBLEMAKER)) { // JBF 20030913: Pisses off X_Move(), eg. in bobsp2 - Printf(TEXTCOLOR_RED "WARNING: WATERBUBBLEMAKER %d @ %d,%d with hitag!=0. Applying fixup.\n", + Printf(TEXTCOLOR_RED "WARNING: TILE_WATERBUBBLEMAKER %d @ %d,%d with hitag!=0. Applying fixup.\n", newSprite,TrackerCast(pSprite->x),TrackerCast(pSprite->y)); pSprite->hitag = 0; } @@ -2688,7 +2688,7 @@ rrbloodpool_fallthrough: case BOLT1__STATIC: case SIDEBOLT1__STATIC: - if (RR && pSprite->picnum >= SIDEBOLT1 && pSprite->picnum <= SIDEBOLT1+3) goto default_case; + if (RR && pSprite->picnum >= TILE_SIDEBOLT1 && pSprite->picnum <= TILE_SIDEBOLT1+3) goto default_case; T1(newSprite) = pSprite->xrepeat; T2(newSprite) = pSprite->yrepeat; pSprite->yvel = 0; @@ -2697,7 +2697,7 @@ rrbloodpool_fallthrough: break; case MASTERSWITCH__STATIC: - if (pSprite->picnum == MASTERSWITCH) + if (pSprite->picnum == TILE_MASTERSWITCH) pSprite->cstat |= 32768; pSprite->yvel = 0; changespritestat(newSprite, STAT_STANDABLE); @@ -2730,7 +2730,7 @@ rrbloodpool_fallthrough: case ROTATEGUN__STATIC: case GREENSLIME__STATIC: if (RR) goto default_case; - if (pSprite->picnum == GREENSLIME) + if (pSprite->picnum == TILE_GREENSLIME) pSprite->extra = 1; fallthrough__; case DRONE__STATIC: @@ -2753,7 +2753,7 @@ rrbloodpool_fallthrough: case SHARK__STATIC: if (RR) { - if (pSprite->picnum == RAT || pSprite->picnum == SHARK || pSprite->picnum == DRONE) + if (pSprite->picnum == TILE_RAT || pSprite->picnum == TILE_SHARK || pSprite->picnum == TILE_DRONE) goto rr_badguy; goto default_case; } @@ -2778,10 +2778,10 @@ rrbloodpool_fallthrough: pSprite->extra <<= 1; } - if (pSprite->picnum == BOSS4STAYPUT || pSprite->picnum == BOSS1 || pSprite->picnum == BOSS2 || - pSprite->picnum == BOSS1STAYPUT || pSprite->picnum == BOSS3 || pSprite->picnum == BOSS4) + if (pSprite->picnum == TILE_BOSS4STAYPUT || pSprite->picnum == TILE_BOSS1 || pSprite->picnum == TILE_BOSS2 || + pSprite->picnum == TILE_BOSS1STAYPUT || pSprite->picnum == TILE_BOSS3 || pSprite->picnum == TILE_BOSS4) { - if (spriteNum >= 0 && sprite[spriteNum].picnum == RESPAWN) + if (spriteNum >= 0 && sprite[spriteNum].picnum == TILE_RESPAWN) pSprite->pal = sprite[spriteNum].pal; if (pSprite->pal) @@ -2797,7 +2797,7 @@ rrbloodpool_fallthrough: } else { - if (pSprite->picnum != SHARK) + if (pSprite->picnum != TILE_SHARK) { pSprite->xrepeat = pSprite->yrepeat = 40; pSprite->clipdist = 80; @@ -2824,7 +2824,7 @@ rrbloodpool_fallthrough: { A_Fall(newSprite); - if (pSprite->picnum == RAT) + if (pSprite->picnum == TILE_RAT) { pSprite->ang = krand2()&2047; pSprite->xrepeat = pSprite->yrepeat = 48; @@ -2834,11 +2834,11 @@ rrbloodpool_fallthrough: { pSprite->cstat |= 257; - if (pSprite->picnum != SHARK) + if (pSprite->picnum != TILE_SHARK) g_player[myconnectindex].ps->max_actors_killed++; } - if (pSprite->picnum == ORGANTIC) pSprite->cstat |= 128; + if (pSprite->picnum == TILE_ORGANTIC) pSprite->cstat |= 128; if (spriteNum >= 0) { @@ -2849,7 +2849,7 @@ rrbloodpool_fallthrough: else changespritestat(newSprite, STAT_ZOMBIEACTOR); } - if (pSprite->picnum == ROTATEGUN) + if (pSprite->picnum == TILE_ROTATEGUN) pSprite->zvel = 0; break; @@ -2882,7 +2882,7 @@ rrbloodpool_fallthrough: case SBSWIPE__STATICRR: case CHEERSTAYPUT__STATICRR: case SBMOVE__STATICRR: - if ((RRRA && pSprite->picnum == SBMOVE) || (!RRRA && (pSprite->picnum == SBSWIPE || pSprite->picnum == CHEERSTAYPUT))) goto default_case; + if ((RRRA && pSprite->picnum == TILE_SBMOVE) || (!RRRA && (pSprite->picnum == TILE_SBSWIPE || pSprite->picnum == TILE_CHEERSTAYPUT))) goto default_case; pActor->actorstayput = pSprite->sectnum; fallthrough__; case BOULDER__STATICRR: @@ -3144,7 +3144,7 @@ rr_badguy: { A_Fall(newSprite); - if (pSprite->picnum == RAT) + if (pSprite->picnum == TILE_RAT) { pSprite->ang = krand2() & 2047; pSprite->xrepeat = pSprite->yrepeat = 48; @@ -3154,7 +3154,7 @@ rr_badguy: { pSprite->cstat |= 257; - if (pSprite->picnum != SHARK) + if (pSprite->picnum != TILE_SHARK) if (!RR || A_CheckSpriteFlags(newSprite, SFLAG_KILLCOUNT)) g_player[myconnectindex].ps->max_actors_killed++; } @@ -3181,13 +3181,13 @@ rr_badguy: if (RR) { pSprite->cstat |= 32768; - if (pSprite->picnum == ACTIVATORLOCKED) + if (pSprite->picnum == TILE_ACTIVATORLOCKED) sector[pSprite->sectnum].lotag ^= 16384; } else { pSprite->cstat = 32768; - if (pSprite->picnum == ACTIVATORLOCKED) + if (pSprite->picnum == TILE_ACTIVATORLOCKED) sector[pSprite->sectnum].lotag |= 16384; } changespritestat(newSprite, STAT_ACTIVATOR); @@ -3202,12 +3202,12 @@ rr_badguy: case OOZ__STATIC: case OOZ2__STATIC: { - if (RR && pSprite->picnum == OOZ2) goto default_case; + if (RR && pSprite->picnum == TILE_OOZ2) goto default_case; pSprite->shade = -12; if (spriteNum >= 0) { - if (sprite[spriteNum].picnum == NUKEBARREL) + if (sprite[spriteNum].picnum == TILE_NUKEBARREL) pSprite->pal = 8; if (!RR) A_AddToDeleteQueue(newSprite); @@ -3332,12 +3332,12 @@ rr_badguy: case MOTOAMMO__STATICRR: case BOATAMMO__STATICRR: - if (RR && !RRRA && (pSprite->picnum == RPG2SPRITE || pSprite->picnum == MOTOAMMO || pSprite->picnum == BOATAMMO)) goto default_case; + if (RR && !RRRA && (pSprite->picnum == TILE_RPG2SPRITE || pSprite->picnum == TILE_MOTOAMMO || pSprite->picnum == TILE_BOATAMMO)) goto default_case; if (spriteNum >= 0) { pSprite->lotag = 0; - if (RR && pSprite->picnum == BOWLINGBALLSPRITE) + if (RR && pSprite->picnum == TILE_BOWLINGBALLSPRITE) pSprite->zvel = 0; else { @@ -3362,12 +3362,12 @@ rr_badguy: pSprite->pal = 0; - if (pSprite->picnum == ATOMICHEALTH) + if (pSprite->picnum == TILE_ATOMICHEALTH) pSprite->cstat |= 128; fallthrough__; case ACCESSCARD__STATIC: - if ((g_netServer || ud.multimode > 1) && !GTFLAGS(GAMETYPE_ACCESSCARDSPRITES) && pSprite->picnum == ACCESSCARD) + if ((g_netServer || ud.multimode > 1) && !GTFLAGS(GAMETYPE_ACCESSCARDSPRITES) && pSprite->picnum == TILE_ACCESSCARD) { pSprite->xrepeat = pSprite->yrepeat = 0; changespritestat(newSprite, STAT_MISC); @@ -3375,7 +3375,7 @@ rr_badguy: } else { - if (pSprite->picnum == AMMO) + if (pSprite->picnum == TILE_AMMO) pSprite->xrepeat = pSprite->yrepeat = 16; else pSprite->xrepeat = pSprite->yrepeat = 32; } @@ -3517,7 +3517,7 @@ rr_badguy: case TIRE__STATIC: case CONE__STATIC: case BOX__STATIC: - if (RR && (pSprite->picnum == CONE || pSprite->picnum == BOX)) goto default_case; + if (RR && (pSprite->picnum == TILE_CONE || pSprite->picnum == TILE_BOX)) goto default_case; pSprite->cstat = 257; // Make it hitable sprite[newSprite].extra = 1; changespritestat(newSprite, STAT_STANDABLE); @@ -3564,7 +3564,7 @@ rr_badguy: pSprite->cstat |= 257; fallthrough__; case GENERICPOLE__STATIC: - if (RR && pSprite->picnum == GENERICPOLE) goto default_case; + if (RR && pSprite->picnum == TILE_GENERICPOLE) goto default_case; if ((!g_netServer && ud.multimode < 2) && pSprite->pal != 0) { pSprite->xrepeat = pSprite->yrepeat = 0; @@ -3602,7 +3602,7 @@ rr_badguy: pSprite->xrepeat = pSprite->yrepeat = 64; changespritestat(newSprite, STAT_EFFECTOR); for (spriteNum=0; spriteNum < MAXSPRITES; spriteNum++) - if (sprite[spriteNum].picnum == SECTOREFFECTOR && (sprite[spriteNum].lotag == 40 || sprite[spriteNum].lotag == 41) && + if (sprite[spriteNum].picnum == TILE_SECTOREFFECTOR && (sprite[spriteNum].lotag == 40 || sprite[spriteNum].lotag == 41) && sprite[spriteNum].hitag == pSprite->hitag && newSprite != spriteNum) { // Printf("found ror match\n"); @@ -3623,7 +3623,7 @@ rr_badguy: int32_t j, nextj; for (TRAVERSE_SPRITE_SECT(headspritesect[pSprite->sectnum], j, nextj)) - if (sprite[j].picnum == ACTIVATOR || sprite[j].picnum == ACTIVATORLOCKED) + if (sprite[j].picnum == TILE_ACTIVATOR || sprite[j].picnum == TILE_ACTIVATORLOCKED) pActor->flags |= SFLAG_USEACTIVATOR; } changespritestat(newSprite, pSprite->lotag==46 ? STAT_EFFECTOR : STAT_LIGHT); @@ -3644,7 +3644,7 @@ rr_badguy: if (pSprite->lotag != SE_23_ONE_WAY_TELEPORT) { for (spriteNum=0; spriteNum=0; spriteNum--) { if (sprite[spriteNum].statnum < MAXSTATUS) - if (sprite[spriteNum].picnum == SECTOREFFECTOR && + if (sprite[spriteNum].picnum == TILE_SECTOREFFECTOR && sprite[spriteNum].lotag == SE_1_PIVOT && sprite[spriteNum].hitag == pSprite->hitag) { @@ -4115,7 +4115,7 @@ rr_badguy: int foundEffector = headspritesect[upperSect]; for (; foundEffector >= 0; foundEffector = nextspritesect[foundEffector]) - if (sprite[foundEffector].picnum == SECTOREFFECTOR && sprite[foundEffector].lotag == pSprite->lotag) + if (sprite[foundEffector].picnum == TILE_SECTOREFFECTOR && sprite[foundEffector].lotag == pSprite->lotag) break; if (foundEffector < 0) @@ -4211,8 +4211,8 @@ rr_badguy: case CRACK3__STATIC: case CRACK4__STATIC: case FIREEXT__STATIC: - if (RR && pSprite->picnum == FIREEXT) goto default_case; - if (!RR && pSprite->picnum == FIREEXT) + if (RR && pSprite->picnum == TILE_FIREEXT) goto default_case; + if (!RR && pSprite->picnum == TILE_FIREEXT) { pSprite->cstat = 257; pSprite->extra = g_impactDamage<<2; @@ -4307,14 +4307,14 @@ rr_badguy: else pSprite->owner = newSprite; fallthrough__; case EGG__STATIC: - if (ud.monsters_off == 1 && pSprite->picnum == EGG) + if (ud.monsters_off == 1 && pSprite->picnum == TILE_EGG) { pSprite->xrepeat = pSprite->yrepeat = 0; changespritestat(newSprite, STAT_MISC); } else { - if (pSprite->picnum == EGG) + if (pSprite->picnum == TILE_EGG) pSprite->clipdist = 24; pSprite->cstat = 257|(krand2()&4); changespritestat(newSprite, STAT_ZOMBIEACTOR); @@ -4500,7 +4500,7 @@ void G_DoSpriteAnimations(int32_t ourx, int32_t oury, int32_t ourz, int32_t oura const int32_t i = t->owner; spritetype *const s = &sprite[i]; - if (t->picnum < GREENSLIME || t->picnum > GREENSLIME+7) + if (t->picnum < TILE_GREENSLIME || t->picnum > TILE_GREENSLIME+7) switch (DYNAMICTILEMAP(t->picnum)) { case PIG__STATICRR: @@ -4638,7 +4638,7 @@ default_case1: continue; } - if (!RR && pSprite->picnum == NATURALLIGHTNING) + if (!RR && pSprite->picnum == TILE_NATURALLIGHTNING) { t->shade = -127; t->clipdist |= TSPR_FLAGS_NO_SHADOW; @@ -4649,7 +4649,7 @@ default_case1: Bassert(i >= 0); - const DukePlayer_t *const ps = (pSprite->statnum != STAT_ACTOR && pSprite->picnum == APLAYER && pSprite->owner >= 0) ? g_player[P_GetP(pSprite)].ps : NULL; + const DukePlayer_t *const ps = (pSprite->statnum != STAT_ACTOR && pSprite->picnum == TILE_APLAYER && pSprite->owner >= 0) ? g_player[P_GetP(pSprite)].ps : NULL; if (ps && ps->newowner == -1) { t->x -= mulscale16(65536-smoothratio,ps->pos.x-ps->opos.x); @@ -4662,7 +4662,7 @@ default_case1: pSprite->yrepeat = 17; } } - else if ((pSprite->statnum == STAT_DEFAULT && pSprite->picnum != CRANEPOLE) || pSprite->statnum == STAT_PLAYER || + else if ((pSprite->statnum == STAT_DEFAULT && pSprite->picnum != TILE_CRANEPOLE) || pSprite->statnum == STAT_PLAYER || pSprite->statnum == STAT_STANDABLE || pSprite->statnum == STAT_PROJECTILE || pSprite->statnum == STAT_MISC || pSprite->statnum == STAT_ACTOR) { t->x -= mulscale16(65536-smoothratio,pSprite->x-actor[i].bpos.x); @@ -4677,9 +4677,9 @@ default_case1: switchpic = pSprite->picnum; // Some special cases because dynamictostatic system can't handle // addition to constants. - if ((pSprite->picnum >= SCRAP6) && (pSprite->picnum<=SCRAP6+7)) - switchpic = SCRAP5; - else if ((pSprite->picnum==MONEY+1) || (pSprite->picnum==MAIL+1) || (pSprite->picnum==PAPER+1)) + if ((pSprite->picnum >= TILE_SCRAP6) && (pSprite->picnum<=TILE_SCRAP6+7)) + switchpic = TILE_SCRAP5; + else if ((pSprite->picnum==TILE_MONEY+1) || (pSprite->picnum==TILE_MAIL+1) || (pSprite->picnum==TILE_PAPER+1)) switchpic--; switch (DYNAMICTILEMAP(switchpic)) @@ -4689,9 +4689,9 @@ default_case1: case RESPAWNMARKERGREEN__STATICRR: if (!RR) goto default_case2; t->picnum = 861 + (((int32_t) totalclock >> 4) & 13); - if (pSprite->picnum == RESPAWNMARKERRED) + if (pSprite->picnum == TILE_RESPAWNMARKERRED) t->pal = 0; - else if (pSprite->picnum == RESPAWNMARKERYELLOW) + else if (pSprite->picnum == TILE_RESPAWNMARKERYELLOW) t->pal = 1; else t->pal = 2; @@ -4719,12 +4719,12 @@ default_case1: fallthrough__; case PUKE__STATIC: case MONEY__STATIC: - //case MONEY+1__STATIC: + //case TILE_MONEY+1__STATIC: case MAIL__STATIC: - //case MAIL+1__STATIC: + //case TILE_MAIL+1__STATIC: case PAPER__STATIC: - //case PAPER+1__STATIC: - if (RR && (switchpic == PUKE || switchpic == MAIL || switchpic == PAPER)) goto default_case2; + //case TILE_PAPER+1__STATIC: + if (RR && (switchpic == TILE_PUKE || switchpic == TILE_MAIL || switchpic == TILE_PAPER)) goto default_case2; if (adult_lockout && pSprite->pal == 2) { t->xrepeat = t->yrepeat = 0; @@ -4783,7 +4783,7 @@ default_case1: if (g_curViewscreen >= 0 && actor[OW(i)].t_data[0] == 1) { - t->picnum = STATIC; + t->picnum = TILE_STATIC; t->cstat |= (rand()&12); t->xrepeat += 10; t->yrepeat += 9; @@ -4800,38 +4800,38 @@ default_case1: case SHRINKSPARK__STATIC: if (RR) { - if (RRRA && (sprite[pSprite->owner].picnum == CHEER || sprite[pSprite->owner].picnum == CHEERSTAYPUT)) + if (RRRA && (sprite[pSprite->owner].picnum == TILE_CHEER || sprite[pSprite->owner].picnum == TILE_CHEERSTAYPUT)) { - t->picnum = CHEERBLADE + (((int32_t) totalclock >> 4) & 3); + t->picnum = TILE_CHEERBLADE + (((int32_t) totalclock >> 4) & 3); t->shade = -127; } else - t->picnum = SHRINKSPARK + (((int32_t) totalclock >> 4) & 7); + t->picnum = TILE_SHRINKSPARK + (((int32_t) totalclock >> 4) & 7); } else - t->picnum = SHRINKSPARK+(((int32_t) totalclock>>4)&3); + t->picnum = TILE_SHRINKSPARK+(((int32_t) totalclock>>4)&3); break; case CHEERBOMB__STATICRR: if (!RRRA) goto default_case2; - t->picnum = CHEERBOMB+( ((int32_t) totalclock>>4)&3 ); + t->picnum = TILE_CHEERBOMB+( ((int32_t) totalclock>>4)&3 ); break; case GROWSPARK__STATIC: if (RR) goto default_case2; - t->picnum = GROWSPARK+(((int32_t) totalclock>>4)&3); + t->picnum = TILE_GROWSPARK+(((int32_t) totalclock>>4)&3); break; case SPIT__STATIC: if (!RR) goto default_case2; - t->picnum = SPIT + (((int32_t) totalclock >> 4) & 3); + t->picnum = TILE_SPIT + (((int32_t) totalclock >> 4) & 3); if (RRRA) { - if (sprite[pSprite->owner].picnum == MINION && sprite[pSprite->owner].pal == 8) - t->picnum = RRTILE3500 + (((int32_t) totalclock >> 4) % 6); - else if (sprite[pSprite->owner].picnum == MINION && sprite[pSprite->owner].pal == 19) + if (sprite[pSprite->owner].picnum == TILE_MINION && sprite[pSprite->owner].pal == 8) + t->picnum = TILE_RRTILE3500 + (((int32_t) totalclock >> 4) % 6); + else if (sprite[pSprite->owner].picnum == TILE_MINION && sprite[pSprite->owner].pal == 19) { - t->picnum = RRTILE5090 + (((int32_t) totalclock >> 4) & 3); + t->picnum = TILE_RRTILE5090 + (((int32_t) totalclock >> 4) & 3); t->shade = -127; } - else if (sprite[pSprite->owner].picnum == MAMA) + else if (sprite[pSprite->owner].picnum == TILE_MAMA) { #ifdef USE_OPENGL if (videoGetRenderMode() >= REND_POLYMOST && hw_models && md_tilehasmodel(t->picnum, t->pal) >= 0 && @@ -4841,12 +4841,12 @@ default_case1: spriteext[i].pitch = (v > 1023 ? v - 2048 : v); t->cstat &= ~4; - t->picnum = RRTILE7274; + t->picnum = TILE_RRTILE7274; break; } #endif frameOffset = getofs_viewtype_mirrored<5>(t->cstat, pSprite->ang - getangle(pSprite->x-ourx, pSprite->y-oury)); - t->picnum = RRTILE7274 + frameOffset; + t->picnum = TILE_RRTILE7274 + frameOffset; } } break; @@ -4860,7 +4860,7 @@ default_case1: } #endif frameOffset = getofs_viewtype_mirrored<7>(t->cstat, pSprite->ang - getangle(pSprite->x - ourx, pSprite->y - oury)); - t->picnum = EMPTYBIKE + frameOffset; + t->picnum = TILE_EMPTYBIKE + frameOffset; break; case EMPTYBOAT__STATICRR: if (!RRRA) goto default_case2; @@ -4872,7 +4872,7 @@ default_case1: } #endif frameOffset = getofs_viewtype_mirrored<7>(t->cstat, pSprite->ang - getangle(pSprite->x - ourx, pSprite->y - oury)); - t->picnum = EMPTYBOAT + frameOffset; + t->picnum = TILE_EMPTYBOAT + frameOffset; break; case RPG__STATIC: #ifdef USE_OPENGL @@ -4887,7 +4887,7 @@ default_case1: } #endif frameOffset = getofs_viewtype_mirrored<7>(t->cstat, pSprite->ang - getangle(pSprite->x-ourx, pSprite->y-oury)); - t->picnum = RPG+frameOffset; + t->picnum = TILE_RPG+frameOffset; break; case RPG2__STATICRR: if (!RRRA) goto default_case2; @@ -4903,7 +4903,7 @@ default_case1: } #endif frameOffset = getofs_viewtype_mirrored<7>(t->cstat, pSprite->ang - getangle(pSprite->x-ourx, pSprite->y-oury)); - t->picnum = RPG2+frameOffset; + t->picnum = TILE_RPG2+frameOffset; break; case RECON__STATIC: @@ -4920,7 +4920,7 @@ default_case1: if (klabs(curframe) > 64) frameOffset += 7; // tilted recon car - t->picnum = RECON+frameOffset; + t->picnum = TILE_RECON+frameOffset; break; case APLAYER__STATIC: @@ -4982,29 +4982,29 @@ default_case1: newTspr->statnum = TSPR_TEMP; newTspr->cstat = 0; newTspr->pal = 0; - newTspr->picnum = (currentWeapon == GROW_WEAPON ? GROWSPRITEICON : WeaponPickupSprites[currentWeapon]); + newTspr->picnum = (currentWeapon == GROW_WEAPON ? TILE_GROWSPRITEICON : WeaponPickupSprites[currentWeapon]); if (RR) { newTspr->picnum = 0; switch(DYNAMICWEAPONMAP(g_player[playerNum].ps->curr_weapon)) { - case PISTOL_WEAPON__STATIC: newTspr->picnum = FIRSTGUNSPRITE; break; - case SHOTGUN_WEAPON__STATIC: newTspr->picnum = SHOTGUNSPRITE; break; - case CHAINGUN_WEAPON__STATIC: newTspr->picnum = CHAINGUNSPRITE; break; - case RPG_WEAPON__STATIC: newTspr->picnum = RPGSPRITE; break; - case CHICKEN_WEAPON__STATIC: newTspr->picnum = RPGSPRITE; break; + case PISTOL_WEAPON__STATIC: newTspr->picnum = TILE_FIRSTGUNSPRITE; break; + case SHOTGUN_WEAPON__STATIC: newTspr->picnum = TILE_SHOTGUNSPRITE; break; + case CHAINGUN_WEAPON__STATIC: newTspr->picnum = TILE_CHAINGUNSPRITE; break; + case RPG_WEAPON__STATIC: newTspr->picnum = TILE_RPGSPRITE; break; + case CHICKEN_WEAPON__STATIC: newTspr->picnum = TILE_RPGSPRITE; break; case HANDREMOTE_WEAPON__STATIC: - case HANDBOMB_WEAPON__STATIC: newTspr->picnum = HEAVYHBOMB; break; - case TRIPBOMB_WEAPON__STATIC: newTspr->picnum = TRIPBOMBSPRITE; break; - case BOWLINGBALL_WEAPON__STATIC: newTspr->picnum = BOWLINGBALLSPRITE; break; - case SHRINKER_WEAPON__STATIC: newTspr->picnum = SHRINKSPARK; break; - case GROW_WEAPON__STATIC: newTspr->picnum = SHRINKSPARK; break; - case FREEZE_WEAPON__STATIC: newTspr->picnum = DEVISTATORSPRITE; break; - case DEVISTATOR_WEAPON__STATIC: newTspr->picnum = FREEZESPRITE; break; + case HANDBOMB_WEAPON__STATIC: newTspr->picnum = TILE_HEAVYHBOMB; break; + case TRIPBOMB_WEAPON__STATIC: newTspr->picnum = TILE_TRIPBOMBSPRITE; break; + case BOWLINGBALL_WEAPON__STATIC: newTspr->picnum = TILE_BOWLINGBALLSPRITE; break; + case SHRINKER_WEAPON__STATIC: newTspr->picnum = TILE_SHRINKSPARK; break; + case GROW_WEAPON__STATIC: newTspr->picnum = TILE_SHRINKSPARK; break; + case FREEZE_WEAPON__STATIC: newTspr->picnum = TILE_DEVISTATORSPRITE; break; + case DEVISTATOR_WEAPON__STATIC: newTspr->picnum = TILE_FREEZESPRITE; break; } } newTspr->z = (pSprite->owner >= 0) ? g_player[playerNum].ps->pos.z - ZOFFSET4 : pSprite->z - (51 << 8); - newTspr->xrepeat = (newTspr->picnum == HEAVYHBOMB) ? 10 : 16; + newTspr->xrepeat = (newTspr->picnum == TILE_HEAVYHBOMB) ? 10 : 16; if (RRRA && (g_player[playerNum].ps->on_motorcycle || g_player[playerNum].ps->on_boat)) newTspr->xrepeat = 0; newTspr->yrepeat = newTspr->xrepeat; @@ -5018,7 +5018,7 @@ default_case1: playerTyping->statnum = TSPR_TEMP; playerTyping->cstat = 0; - playerTyping->picnum = RESPAWNMARKERGREEN; + playerTyping->picnum = TILE_RESPAWNMARKERGREEN; playerTyping->z = (pSprite->owner >= 0) ? (g_player[playerNum].ps->pos.z - (20 << 8)) : (pSprite->z - (96 << 8)); playerTyping->xrepeat = 32; playerTyping->yrepeat = 32; @@ -5060,9 +5060,9 @@ default_case1: if (g_player[playerNum].ps->newowner > -1) { - // Display APLAYER sprites with action PSTAND when viewed through + // Display TILE_APLAYER sprites with action PSTAND when viewed through // a camera. - const intptr_t *aplayer_scr = g_tile[APLAYER].execPtr; + const intptr_t *aplayer_scr = g_tile[TILE_APLAYER].execPtr; // [0]=strength, [1]=actionofs, [2]=moveofs scrofs_action = aplayer_scr[1]; @@ -5114,7 +5114,7 @@ PALONLY: { if (g_player[playerNum].ps->on_motorcycle && playerNum == screenpeek) { - t->picnum = RRTILE7219; + t->picnum = TILE_RRTILE7219; t->xrepeat = 18; t->yrepeat = 18; scrofs_action = 0; @@ -5131,17 +5131,17 @@ PALONLY: { frameOffset = 0; t->cstat &= ~4; - t->picnum = RRTILE7213; + t->picnum = TILE_RRTILE7213; } else #endif frameOffset = getofs_viewtype_mirrored<7>(t->cstat, pSprite->ang - oura); - t->picnum = RRTILE7213 + frameOffset; + t->picnum = TILE_RRTILE7213 + frameOffset; } else if (g_player[playerNum].ps->on_boat && playerNum == screenpeek) { - t->picnum = RRTILE7190; + t->picnum = TILE_RRTILE7190; t->xrepeat = 32; t->yrepeat = 32; scrofs_action = 0; @@ -5158,13 +5158,13 @@ PALONLY: { frameOffset = 0; t->cstat &= ~4; - t->picnum = RRTILE7213; + t->picnum = TILE_RRTILE7213; } else #endif frameOffset = getofs_viewtype_mirrored<7>(t->cstat, pSprite->ang - oura); - t->picnum = RRTILE7184 + frameOffset; + t->picnum = TILE_RRTILE7184 + frameOffset; } } @@ -5219,11 +5219,11 @@ PALONLY: case COOTJIBC__STATICRR: if (RR) { - if (switchpic == HEADJIB1 || switchpic == LEGJIB1 || switchpic == ARMJIB1 - || switchpic == LIZMANHEAD1 || switchpic == LIZMANARM1 || switchpic == LIZMANLEG1) + if (switchpic == TILE_HEADJIB1 || switchpic == TILE_LEGJIB1 || switchpic == TILE_ARMJIB1 + || switchpic == TILE_LIZMANHEAD1 || switchpic == TILE_LIZMANARM1 || switchpic == TILE_LIZMANLEG1) goto default_case2; } - if (RRRA && t->pal == 19 && (switchpic == MINJIBA || switchpic == MINJIBB || switchpic == MINJIBC)) + if (RRRA && t->pal == 19 && (switchpic == TILE_MINJIBA || switchpic == TILE_MINJIBB || switchpic == TILE_MINJIBC)) t->shade = -127; if (adult_lockout) { @@ -5240,7 +5240,7 @@ PALONLY: case SCRAP3__STATIC: case SCRAP4__STATIC: case SCRAP5__STATIC: - if ((RR || actor[i].picnum == BLIMP) && t->picnum == SCRAP1 && pSprite->yvel >= 0) + if ((RR || actor[i].picnum == TILE_BLIMP) && t->picnum == TILE_SCRAP1 && pSprite->yvel >= 0) t->picnum = pSprite->yvel < MAXUSERTILES ? pSprite->yvel : 0; else t->picnum += T1(i); if (!RR) @@ -5249,7 +5249,7 @@ PALONLY: G_MaybeTakeOnFloorPal(t, sect); break; case WATERBUBBLE__STATIC: - if (sector[t->sectnum].floorpicnum == FLOORSLIME) + if (sector[t->sectnum].floorpicnum == TILE_FLOORSLIME) { t->pal = 7; break; @@ -5352,19 +5352,19 @@ skip: // player has nightvision on. We should pass stuff like "from which player is this view // supposed to be" as parameters ("drawing context") instead of relying on globals. if (!RR && g_player[screenpeek].ps->inv_amount[GET_HEATS] > 0 && g_player[screenpeek].ps->heat_on && - (A_CheckEnemySprite(pSprite) || A_CheckSpriteFlags(t->owner,SFLAG_NVG) || pSprite->picnum == APLAYER || pSprite->statnum == STAT_DUMMYPLAYER)) + (A_CheckEnemySprite(pSprite) || A_CheckSpriteFlags(t->owner,SFLAG_NVG) || pSprite->picnum == TILE_APLAYER || pSprite->statnum == STAT_DUMMYPLAYER)) { t->pal = 6; t->shade = 0; } - if (RR && !RRRA && pSprite->picnum == SBMOVE) + if (RR && !RRRA && pSprite->picnum == TILE_SBMOVE) t->shade = -127; // Fake floor shadow, implemented by inserting a new tsprite. - if (pSprite->statnum == STAT_DUMMYPLAYER || A_CheckEnemySprite(pSprite) || A_CheckSpriteFlags(t->owner,SFLAG_SHADOW) || (pSprite->picnum == APLAYER && pSprite->owner >= 0)) - if ((!RR || (pSprite->cstat&48) == 0) && t->statnum != TSPR_TEMP && pSprite->picnum != EXPLOSION2 && (RR || pSprite->picnum != HANGLIGHT) && pSprite->picnum != DOMELITE && (RR || pSprite->picnum != HOTMEAT) - && (!RR || pSprite->picnum != TORNADO) && (!RR || pSprite->picnum != EXPLOSION3) && (!RR || RRRA || pSprite->picnum != SBMOVE)) + if (pSprite->statnum == STAT_DUMMYPLAYER || A_CheckEnemySprite(pSprite) || A_CheckSpriteFlags(t->owner,SFLAG_SHADOW) || (pSprite->picnum == TILE_APLAYER && pSprite->owner >= 0)) + if ((!RR || (pSprite->cstat&48) == 0) && t->statnum != TSPR_TEMP && pSprite->picnum != TILE_EXPLOSION2 && (RR || pSprite->picnum != TILE_HANGLIGHT) && pSprite->picnum != TILE_DOMELITE && (RR || pSprite->picnum != TILE_HOTMEAT) + && (!RR || pSprite->picnum != TILE_TORNADO) && (!RR || pSprite->picnum != TILE_EXPLOSION3) && (!RR || RRRA || pSprite->picnum != TILE_SBMOVE)) { if (actor[i].dispicnum < 0) { @@ -5389,7 +5389,7 @@ skip: if (DEER && klabs(sector[sect].ceilingheinum - sector[sect].floorheinum) > 576) continue; if (RRRA && sector[sect].lotag == 160) continue; int const shadowZ = (DEER || (sector[sect].lotag & 0xff) > 2 || pSprite->statnum == STAT_PROJECTILE || - pSprite->statnum == STAT_MISC || pSprite->picnum == DRONE || (!RR && pSprite->picnum == COMMANDER)) + pSprite->statnum == STAT_MISC || pSprite->picnum == TILE_DRONE || (!RR && pSprite->picnum == TILE_COMMANDER)) ? sector[sect].floorz : actor[i].floorz; @@ -5469,16 +5469,16 @@ skip: case RPG2__STATICRR: case RRTILE1790__STATICRR: rrcoolexplosion1: - if (RR && !RRRA && (pSprite->picnum == RPG2 || pSprite->picnum == RRTILE1790)) break; - if (t->picnum == EXPLOSION2) + if (RR && !RRRA && (pSprite->picnum == TILE_RPG2 || pSprite->picnum == TILE_RRTILE1790)) break; + if (t->picnum == TILE_EXPLOSION2) { g_player[screenpeek].ps->visibility = -127; //g_restorePalette = 1; // JBF 20040101: why? if (RR) t->pal = 0; } - else if (RR && t->picnum == FIRELASER) - t->picnum = FIRELASER+(((int32_t) totalclock>>2)&5); + else if (RR && t->picnum == TILE_FIRELASER) + t->picnum = TILE_FIRELASER+(((int32_t) totalclock>>2)&5); t->shade = -127; t->clipdist |= TSPR_FLAGS_DRAW_LAST | TSPR_FLAGS_NO_SHADOW; break; @@ -5493,13 +5493,13 @@ rrcoolexplosion1: break; case FIRE__STATIC: case FIRE2__STATIC: - if (RR && pSprite->picnum == FIRE2) break; + if (RR && pSprite->picnum == TILE_FIRE2) break; t->cstat |= 128; fallthrough__; case BURNING__STATIC: case BURNING2__STATIC: - if (RR && pSprite->picnum == BURNING2) break; - if (sprite[pSprite->owner].picnum != TREE1 && sprite[pSprite->owner].picnum != TREE2) + if (RR && pSprite->picnum == TILE_BURNING2) break; + if (sprite[pSprite->owner].picnum != TILE_TREE1 && sprite[pSprite->owner].picnum != TILE_TREE2) t->z = sector[t->sectnum].floorz; t->shade = -127; fallthrough__; @@ -5571,7 +5571,7 @@ rrcoolexplosion1: break; case CHEER__STATICRR: if (!RRRA) break; - if (t->picnum >= CHEER + 102 && t->picnum <= CHEER + 151) + if (t->picnum >= TILE_CHEER + 102 && t->picnum <= TILE_CHEER + 151) t->shade = -127; break; case MINION__STATICRR: @@ -5581,23 +5581,23 @@ rrcoolexplosion1: break; case BIKER__STATICRR: if (!RRRA) break; - if (t->picnum >= BIKER + 54 && t->picnum <= BIKER + 58) + if (t->picnum >= TILE_BIKER + 54 && t->picnum <= TILE_BIKER + 58) t->shade = -127; - else if (t->picnum >= BIKER + 84 && t->picnum <= BIKER + 88) + else if (t->picnum >= TILE_BIKER + 84 && t->picnum <= TILE_BIKER + 88) t->shade = -127; break; case BILLYRAY__STATICRR: case BILLYRAYSTAYPUT__STATICRR: if (!RRRA) break; - if (t->picnum >= BILLYRAY + 5 && t->picnum <= BILLYRAY + 9) + if (t->picnum >= TILE_BILLYRAY + 5 && t->picnum <= TILE_BILLYRAY + 9) t->shade = -127; break; case RRTILE2034__STATICRR: - t->picnum = RRTILE2034 + ((int32_t) totalclock & 1); + t->picnum = TILE_RRTILE2034 + ((int32_t) totalclock & 1); break; case RRTILE2944__STATICRR: t->shade = -127; - t->picnum = RRTILE2944 + (((int32_t) totalclock >> 2) & 4); + t->picnum = TILE_RRTILE2944 + (((int32_t) totalclock >> 2) & 4); break; case PLAYERONWATER__STATIC: #ifdef USE_OPENGL @@ -5616,11 +5616,11 @@ rrcoolexplosion1: break; case MUD__STATICRR: - t->picnum = MUD+T2(i); + t->picnum = TILE_MUD+T2(i); break; case WATERSPLASH2__STATIC: // WATERSPLASH_T2 - t->picnum = WATERSPLASH2+T2(i); + t->picnum = TILE_WATERSPLASH2+T2(i); break; case SHELL__STATIC: t->picnum = pSprite->picnum+(T1(i)&1); @@ -5633,7 +5633,7 @@ rrcoolexplosion1: case FRAMEEFFECT1__STATIC: if (pSprite->owner >= 0 && sprite[pSprite->owner].statnum < MAXSTATUS) { - if (sprite[pSprite->owner].picnum == APLAYER) + if (sprite[pSprite->owner].picnum == TILE_APLAYER) if (ud.camerasprite == -1) if (screenpeek == P_Get(pSprite->owner) && display_mirror == 0) { @@ -5646,8 +5646,8 @@ rrcoolexplosion1: t->picnum = actor[i].t_data[1]; else t->picnum = actor[pSprite->owner].dispicnum; - if (RR && sprite[pSprite->owner].picnum == APLAYER) - t->picnum = SMALLSMOKE; + if (RR && sprite[pSprite->owner].picnum == TILE_APLAYER) + t->picnum = TILE_SMALLSMOKE; if (!G_MaybeTakeOnFloorPal(t, sect)) t->pal = sprite[pSprite->owner].pal; @@ -5676,7 +5676,7 @@ rrcoolexplosion1: actor[i].dispicnum = t->picnum; #if 0 // why? - if (sector[t->sectnum].floorpicnum == MIRROR) + if (sector[t->sectnum].floorpicnum == TILE_MIRROR) t->xrepeat = t->yrepeat = 0; #endif } @@ -6586,13 +6586,13 @@ static inline void G_CheckGametype(void) #define SETFLAG(Tilenum, Flag) g_tile[Tilenum].flags |= Flag -// Has to be after setting the dynamic names (e.g. SHARK). +// Has to be after setting the dynamic names (e.g. TILE_SHARK). static void A_InitEnemyFlags(void) { if (DEER) { int DukeEnemies[] = { - DOGRUN, PIG, VIXEN, CHEER }; + TILE_DOGRUN, TILE_PIG, TILE_VIXEN, TILE_CHEER }; for (bssize_t i = ARRAY_SIZE(DukeEnemies) - 1; i >= 0; i--) SETFLAG(DukeEnemies[i], SFLAG_HARDCODED_BADGUY|SFLAG_BADGUY_TILE|SFLAG_KILLCOUNT); @@ -6600,33 +6600,33 @@ static void A_InitEnemyFlags(void) else if (RRRA) { int DukeEnemies[] = { - BOULDER, BOULDER1, EGG, RAT, TORNADO, BILLYCOCK, BILLYRAY, BILLYRAYSTAYPUT, - BRAYSNIPER, DOGRUN, LTH, HULKJUMP, BUBBASTAND, HULK, HULKSTAYPUT, HEN, - DRONE, PIG, RECON, MINION, MINIONSTAYPUT, UFO1, COOT, COOTSTAYPUT, SHARK, - VIXEN, SBSWIPE, BIKERB, BIKERBV2, BIKER, MAKEOUT, CHEERB, CHEER, CHEERSTAYPUT, - COOTPLAY, BILLYPLAY, MINIONBOAT, HULKBOAT, CHEERBOAT, RABBIT, MAMA }; + TILE_BOULDER, TILE_BOULDER1, TILE_EGG, TILE_RAT, TILE_TORNADO, TILE_BILLYCOCK, TILE_BILLYRAY, TILE_BILLYRAYSTAYPUT, + TILE_BRAYSNIPER, TILE_DOGRUN, TILE_LTH, TILE_HULKJUMP, TILE_BUBBASTAND, TILE_HULK, TILE_HULKSTAYPUT, TILE_HEN, + TILE_DRONE, TILE_PIG, TILE_RECON, TILE_MINION, TILE_MINIONSTAYPUT, TILE_UFO1, TILE_COOT, TILE_COOTSTAYPUT, TILE_SHARK, + TILE_VIXEN, TILE_SBSWIPE, TILE_BIKERB, TILE_BIKERBV2, TILE_BIKER, TILE_MAKEOUT, TILE_CHEERB, TILE_CHEER, TILE_CHEERSTAYPUT, + TILE_COOTPLAY, TILE_BILLYPLAY, TILE_MINIONBOAT, TILE_HULKBOAT, TILE_CHEERBOAT, TILE_RABBIT, TILE_MAMA }; int DukeEnemiesTile[] = { - BOULDER, BOULDER1, EGG, RAT, TORNADO, BILLYCOCK, BILLYRAY, BILLYRAYSTAYPUT, - BRAYSNIPER, DOGRUN, LTH, HULKJUMP, BUBBASTAND, HULK, HULKSTAYPUT, - DRONE, PIG, RECON, MINION, MINIONSTAYPUT, UFO1, COOT, COOTSTAYPUT, SHARK, - VIXEN, SBSWIPE, BIKERB, BIKERBV2, BIKER, MAKEOUT, CHEERB, CHEER, CHEERSTAYPUT, - COOTPLAY, BILLYPLAY, MINIONBOAT, HULKBOAT, CHEERBOAT, RABBIT, MAMA }; + TILE_BOULDER, TILE_BOULDER1, TILE_EGG, TILE_RAT, TILE_TORNADO, TILE_BILLYCOCK, TILE_BILLYRAY, TILE_BILLYRAYSTAYPUT, + TILE_BRAYSNIPER, TILE_DOGRUN, TILE_LTH, TILE_HULKJUMP, TILE_BUBBASTAND, TILE_HULK, TILE_HULKSTAYPUT, + TILE_DRONE, TILE_PIG, TILE_RECON, TILE_MINION, TILE_MINIONSTAYPUT, TILE_UFO1, TILE_COOT, TILE_COOTSTAYPUT, TILE_SHARK, + TILE_VIXEN, TILE_SBSWIPE, TILE_BIKERB, TILE_BIKERBV2, TILE_BIKER, TILE_MAKEOUT, TILE_CHEERB, TILE_CHEER, TILE_CHEERSTAYPUT, + TILE_COOTPLAY, TILE_BILLYPLAY, TILE_MINIONBOAT, TILE_HULKBOAT, TILE_CHEERBOAT, TILE_RABBIT, TILE_MAMA }; int KillCountEnemies[] = { - BOULDER, BOULDER1, EGG, RAT, TORNADO, BILLYCOCK, BILLYRAY, BILLYRAYSTAYPUT, - BRAYSNIPER, DOGRUN, LTH, HULKJUMP, BUBBASTAND, HULK, HULKSTAYPUT, - DRONE, PIG, RECON, MINION, MINIONSTAYPUT, UFO1, COOT, COOTSTAYPUT, SHARK, - VIXEN, SBSWIPE, BIKERB, BIKERBV2, BIKER, MAKEOUT, CHEERB, CHEER, CHEERSTAYPUT, - COOTPLAY, BILLYPLAY, MINIONBOAT, HULKBOAT, CHEERBOAT, RABBIT, MAMA, - ROCK, ROCK2 }; + TILE_BOULDER, TILE_BOULDER1, TILE_EGG, TILE_RAT, TILE_TORNADO, TILE_BILLYCOCK, TILE_BILLYRAY, TILE_BILLYRAYSTAYPUT, + TILE_BRAYSNIPER, TILE_DOGRUN, TILE_LTH, TILE_HULKJUMP, TILE_BUBBASTAND, TILE_HULK, TILE_HULKSTAYPUT, + TILE_DRONE, TILE_PIG, TILE_RECON, TILE_MINION, TILE_MINIONSTAYPUT, TILE_UFO1, TILE_COOT, TILE_COOTSTAYPUT, TILE_SHARK, + TILE_VIXEN, TILE_SBSWIPE, TILE_BIKERB, TILE_BIKERBV2, TILE_BIKER, TILE_MAKEOUT, TILE_CHEERB, TILE_CHEER, TILE_CHEERSTAYPUT, + TILE_COOTPLAY, TILE_BILLYPLAY, TILE_MINIONBOAT, TILE_HULKBOAT, TILE_CHEERBOAT, TILE_RABBIT, TILE_MAMA, + TILE_ROCK, TILE_ROCK2 }; - int SolidEnemies[] = { HULK, MAMA, BILLYPLAY, COOTPLAY, MAMACLOUD }; - int NoWaterDipEnemies[] = { DRONE }; + int SolidEnemies[] = { TILE_HULK, TILE_MAMA, TILE_BILLYPLAY, TILE_COOTPLAY, TILE_MAMACLOUD }; + int NoWaterDipEnemies[] = { TILE_DRONE }; int NoCanSeeCheck[] = { - COOT, COOTSTAYPUT, VIXEN, BIKERB, BIKERBV2, CHEER, CHEERB, - CHEERSTAYPUT, MINIONBOAT, HULKBOAT, CHEERBOAT, RABBIT, COOTPLAY, - BILLYPLAY, MAKEOUT, MAMA }; + TILE_COOT, TILE_COOTSTAYPUT, TILE_VIXEN, TILE_BIKERB, TILE_BIKERBV2, TILE_CHEER, TILE_CHEERB, + TILE_CHEERSTAYPUT, TILE_MINIONBOAT, TILE_HULKBOAT, TILE_CHEERBOAT, TILE_RABBIT, TILE_COOTPLAY, + TILE_BILLYPLAY, TILE_MAKEOUT, TILE_MAMA }; for (bssize_t i = ARRAY_SIZE(DukeEnemies) - 1; i >= 0; i--) SETFLAG(DukeEnemies[i], SFLAG_HARDCODED_BADGUY); @@ -6649,26 +6649,26 @@ static void A_InitEnemyFlags(void) else if (RR) { int DukeEnemies[] = { - BOULDER, BOULDER1, EGG, RAT, TORNADO, BILLYCOCK, BILLYRAY, BILLYRAYSTAYPUT, - BRAYSNIPER, DOGRUN, LTH, HULKJUMP, BUBBASTAND, HULK, HULKSTAYPUT, HEN, - DRONE, PIG, RECON, SBMOVE, MINION, MINIONSTAYPUT, UFO1, UFO2, UFO3, UFO4, UFO5, - COOT, COOTSTAYPUT, SHARK, VIXEN }; + TILE_BOULDER, TILE_BOULDER1, TILE_EGG, TILE_RAT, TILE_TORNADO, TILE_BILLYCOCK, TILE_BILLYRAY, TILE_BILLYRAYSTAYPUT, + TILE_BRAYSNIPER, TILE_DOGRUN, TILE_LTH, TILE_HULKJUMP, TILE_BUBBASTAND, TILE_HULK, TILE_HULKSTAYPUT, TILE_HEN, + TILE_DRONE, TILE_PIG, TILE_RECON, TILE_SBMOVE, TILE_MINION, TILE_MINIONSTAYPUT, TILE_UFO1, TILE_UFO2, TILE_UFO3, TILE_UFO4, TILE_UFO5, + TILE_COOT, TILE_COOTSTAYPUT, TILE_SHARK, TILE_VIXEN }; int DukeEnemiesTile[] = { - BOULDER, BOULDER1, EGG, RAT, TORNADO, BILLYCOCK, BILLYRAY, BILLYRAYSTAYPUT, - BRAYSNIPER, DOGRUN, LTH, HULKJUMP, BUBBASTAND, HULK, HULKSTAYPUT, - DRONE, PIG, RECON, SBMOVE, MINION, MINIONSTAYPUT, UFO1, UFO2, UFO3, UFO4, UFO5, - COOT, COOTSTAYPUT, SHARK, VIXEN }; + TILE_BOULDER, TILE_BOULDER1, TILE_EGG, TILE_RAT, TILE_TORNADO, TILE_BILLYCOCK, TILE_BILLYRAY, TILE_BILLYRAYSTAYPUT, + TILE_BRAYSNIPER, TILE_DOGRUN, TILE_LTH, TILE_HULKJUMP, TILE_BUBBASTAND, TILE_HULK, TILE_HULKSTAYPUT, + TILE_DRONE, TILE_PIG, TILE_RECON, TILE_SBMOVE, TILE_MINION, TILE_MINIONSTAYPUT, TILE_UFO1, TILE_UFO2, TILE_UFO3, TILE_UFO4, TILE_UFO5, + TILE_COOT, TILE_COOTSTAYPUT, TILE_SHARK, TILE_VIXEN }; int KillCountEnemies[] = { - BOULDER, BOULDER1, EGG, RAT, TORNADO, BILLYCOCK, BILLYRAY, BILLYRAYSTAYPUT, - BRAYSNIPER, DOGRUN, LTH, HULKJUMP, BUBBASTAND, HULK, HULKSTAYPUT, - DRONE, PIG, RECON, SBMOVE, MINION, MINIONSTAYPUT, UFO1, UFO2, UFO3, UFO4, UFO5, - COOT, COOTSTAYPUT, SHARK, VIXEN }; + TILE_BOULDER, TILE_BOULDER1, TILE_EGG, TILE_RAT, TILE_TORNADO, TILE_BILLYCOCK, TILE_BILLYRAY, TILE_BILLYRAYSTAYPUT, + TILE_BRAYSNIPER, TILE_DOGRUN, TILE_LTH, TILE_HULKJUMP, TILE_BUBBASTAND, TILE_HULK, TILE_HULKSTAYPUT, + TILE_DRONE, TILE_PIG, TILE_RECON, TILE_SBMOVE, TILE_MINION, TILE_MINIONSTAYPUT, TILE_UFO1, TILE_UFO2, TILE_UFO3, TILE_UFO4, TILE_UFO5, + TILE_COOT, TILE_COOTSTAYPUT, TILE_SHARK, TILE_VIXEN }; - int SolidEnemies[] = { HULK, SBMOVE }; - int NoWaterDipEnemies[] = { DRONE }; - int NoCanSeeCheck[] = { VIXEN }; + int SolidEnemies[] = { TILE_HULK, TILE_SBMOVE }; + int NoWaterDipEnemies[] = { TILE_DRONE }; + int NoCanSeeCheck[] = { TILE_VIXEN }; for (bssize_t i = ARRAY_SIZE(DukeEnemies) - 1; i >= 0; i--) SETFLAG(DukeEnemies[i], SFLAG_HARDCODED_BADGUY); @@ -6691,18 +6691,18 @@ static void A_InitEnemyFlags(void) else { int DukeEnemies[] = { - SHARK, RECON, DRONE, - LIZTROOPONTOILET, LIZTROOPJUSTSIT, LIZTROOPSTAYPUT, LIZTROOPSHOOT, - LIZTROOPJETPACK, LIZTROOPDUCKING, LIZTROOPRUNNING, LIZTROOP, - OCTABRAIN, COMMANDER, COMMANDERSTAYPUT, PIGCOP, EGG, PIGCOPSTAYPUT, PIGCOPDIVE, - LIZMAN, LIZMANSPITTING, LIZMANFEEDING, LIZMANJUMP, ORGANTIC, - BOSS1, BOSS2, BOSS3, BOSS4, RAT, ROTATEGUN }; + TILE_SHARK, TILE_RECON, TILE_DRONE, + TILE_LIZTROOPONTOILET, TILE_LIZTROOPJUSTSIT, TILE_LIZTROOPSTAYPUT, TILE_LIZTROOPSHOOT, + TILE_LIZTROOPJETPACK, TILE_LIZTROOPDUCKING, TILE_LIZTROOPRUNNING, TILE_LIZTROOP, + TILE_OCTABRAIN, TILE_COMMANDER, TILE_COMMANDERSTAYPUT, TILE_PIGCOP, TILE_EGG, TILE_PIGCOPSTAYPUT, TILE_PIGCOPDIVE, + TILE_LIZMAN, TILE_LIZMANSPITTING, TILE_LIZMANFEEDING, TILE_LIZMANJUMP, TILE_ORGANTIC, + TILE_BOSS1, TILE_BOSS2, TILE_BOSS3, TILE_BOSS4, TILE_RAT, TILE_ROTATEGUN }; - int SolidEnemies[] = { TANK, BOSS1, BOSS2, BOSS3, BOSS4, RECON, ROTATEGUN }; - int NoWaterDipEnemies[] = { OCTABRAIN, COMMANDER, DRONE }; - int GreenSlimeFoodEnemies[] = { LIZTROOP, LIZMAN, PIGCOP, NEWBEAST }; + int SolidEnemies[] = { TILE_TANK, TILE_BOSS1, TILE_BOSS2, TILE_BOSS3, TILE_BOSS4, TILE_RECON, TILE_ROTATEGUN }; + int NoWaterDipEnemies[] = { TILE_OCTABRAIN, TILE_COMMANDER, TILE_DRONE }; + int GreenSlimeFoodEnemies[] = { TILE_LIZTROOP, TILE_LIZMAN, TILE_PIGCOP, TILE_NEWBEAST }; - for (bssize_t i=GREENSLIME; i<=GREENSLIME+7; i++) + for (bssize_t i=TILE_GREENSLIME; i<=TILE_GREENSLIME+7; i++) SETFLAG(i, SFLAG_HARDCODED_BADGUY|SFLAG_BADGUY_TILE); for (bssize_t i=ARRAY_SIZE(DukeEnemies)-1; i>=0; i--) @@ -6746,7 +6746,7 @@ static void G_Startup(void) G_InitDynamicSounds(); // These depend on having the dynamic tile and/or sound mappings set up: - G_InitMultiPsky(CLOUDYOCEAN, MOONSKY1, BIGORBIT1, LA); + G_InitMultiPsky(TILE_CLOUDYOCEAN, TILE_MOONSKY1, TILE_BIGORBIT1, TILE_LA); G_PostCreateGameState(); if (g_netServer || ud.multimode > 1) G_CheckGametype(); @@ -6793,7 +6793,7 @@ static void G_Startup(void) // Make the fullscreen nuke logo background non-fullbright. Has to be // after dynamic tile remapping (from C_Compile) and loading tiles. - picanm[LOADSCREEN].sf |= PICANM_NOFULLBRIGHT_BIT; + picanm[TILE_LOADSCREEN].sf |= PICANM_NOFULLBRIGHT_BIT; // Printf("Loading palette/lookups...\n"); G_LoadLookups(); @@ -6822,7 +6822,7 @@ void G_UpdatePlayerFromMenu(void) if (numplayers > 1) { Net_SendClientInfo(); - if (sprite[g_player[myconnectindex].ps->i].picnum == APLAYER && sprite[g_player[myconnectindex].ps->i].pal != 1) + if (sprite[g_player[myconnectindex].ps->i].picnum == TILE_APLAYER && sprite[g_player[myconnectindex].ps->i].pal != 1) sprite[g_player[myconnectindex].ps->i].pal = g_player[myconnectindex].pcolor; } else @@ -6834,7 +6834,7 @@ void G_UpdatePlayerFromMenu(void) g_player[myconnectindex].pteam = playerteam; - if (sprite[g_player[myconnectindex].ps->i].picnum == APLAYER && sprite[g_player[myconnectindex].ps->i].pal != 1) + if (sprite[g_player[myconnectindex].ps->i].picnum == TILE_APLAYER && sprite[g_player[myconnectindex].ps->i].pal != 1) sprite[g_player[myconnectindex].ps->i].pal = g_player[myconnectindex].pcolor; } } @@ -7106,6 +7106,7 @@ int GameInterface::app_main() tileDelete(MIRROR); + tileDelete(TILE_MIRROR); skiptile = W_FORCEFIELD + 1; if (RR) @@ -7152,7 +7153,7 @@ int GameInterface::app_main() // there is room for them in tiles012.art between "[\]^_." and "{|}~" minitext_lowercase = 1; - for (bssize_t i = MINIFONT + ('a'-'!'); minitext_lowercase && i < MINIFONT + ('z'-'!') + 1; ++i) + for (bssize_t i = TILE_MINIFONT + ('a'-'!'); minitext_lowercase && i < TILE_MINIFONT + ('z'-'!') + 1; ++i) minitext_lowercase &= (int)tileCheck(i); /*if (RRRA) @@ -7434,7 +7435,7 @@ int G_DoMoveThings(void) sprite[g_player[i].ps->holoduke_on].cstat ^= 256; if ((hitData.sprite >= 0) && !(g_player[myconnectindex].ps->gm & MODE_MENU) && - sprite[hitData.sprite].picnum == APLAYER) + sprite[hitData.sprite].picnum == TILE_APLAYER) { int const playerNum = P_Get(hitData.sprite); @@ -7514,7 +7515,7 @@ int G_DoMoveThings(void) g_player[i].ps->team = g_player[i].pteam; if (g_gametypeFlags[ud.coop] & GAMETYPE_TDM) { - actor[g_player[i].ps->i].picnum = APLAYERTOP; + actor[g_player[i].ps->i].picnum = TILE_APLAYERTOP; P_QuickKill(g_player[i].ps); } } @@ -7578,7 +7579,7 @@ void A_SpawnWallGlass(int spriteNum, int wallNum, int glassCnt) { int const a = SA(spriteNum) - 256 + (krand2() & 511) + 1024; int32_t const r1 = krand2(), r2 = krand2(); - A_InsertSprite(SECT(spriteNum), SX(spriteNum), SY(spriteNum), SZ(spriteNum), GLASSPIECES + (j % 3), -32, 36, 36, a, + A_InsertSprite(SECT(spriteNum), SX(spriteNum), SY(spriteNum), SZ(spriteNum), TILE_GLASSPIECES + (j % 3), -32, 36, 36, a, 32 + (r2 & 63), 1024 - (r1 & 1023), spriteNum, 5); } return; @@ -7609,7 +7610,7 @@ void A_SpawnWallGlass(int spriteNum, int wallNum, int glassCnt) z = SZ(spriteNum) - ZOFFSET5 + (krand2() & ((64 << 8) - 1)); int32_t const r1 = krand2(), r2 = krand2(); - A_InsertSprite(SECT(spriteNum), v1.x, v1.y, z, GLASSPIECES + (j % 3), -32, 36, 36, SA(spriteNum) - 1024, 32 + (r2 & 63), + A_InsertSprite(SECT(spriteNum), v1.x, v1.y, z, TILE_GLASSPIECES + (j % 3), -32, 36, 36, SA(spriteNum) - 1024, 32 + (r2 & 63), -(r1 & 1023), spriteNum, 5); } } @@ -7623,7 +7624,7 @@ void A_SpawnWallPopcorn(int spriteNum, int wallNum, int glassCnt) { int const a = SA(spriteNum) - 256 + (krand2() & 511) + 1024; int32_t const r1 = krand2(), r2 = krand2(); - A_InsertSprite(SECT(spriteNum), SX(spriteNum), SY(spriteNum), SZ(spriteNum), POPCORN, -32, 36, 36, a, + A_InsertSprite(SECT(spriteNum), SX(spriteNum), SY(spriteNum), SZ(spriteNum), TILE_POPCORN, -32, 36, 36, a, 32 + (r2 & 63), 1024 - (r1 & 1023), spriteNum, 5); } return; @@ -7654,7 +7655,7 @@ void A_SpawnWallPopcorn(int spriteNum, int wallNum, int glassCnt) z = SZ(spriteNum) - ZOFFSET5 + (krand2() & ((64 << 8) - 1)); int32_t const r1 = krand2(), r2 = krand2(); - A_InsertSprite(SECT(spriteNum), v1.x, v1.y, z, POPCORN, -32, 36, 36, SA(spriteNum) - 1024, 32 + (r2 & 63), + A_InsertSprite(SECT(spriteNum), v1.x, v1.y, z, TILE_POPCORN, -32, 36, 36, SA(spriteNum) - 1024, 32 + (r2 & 63), -(r1 & 1023), spriteNum, 5); } } @@ -7668,7 +7669,7 @@ void A_SpawnGlass(int spriteNum, int glassCnt) int const z = SZ(spriteNum)-((krand2()&16)<<8); int32_t const r1 = krand2(), r2 = krand2(), r3 = krand2(); int const k - = A_InsertSprite(SECT(spriteNum), SX(spriteNum), SY(spriteNum), z, GLASSPIECES + (glassCnt % 3), + = A_InsertSprite(SECT(spriteNum), SX(spriteNum), SY(spriteNum), z, TILE_GLASSPIECES + (glassCnt % 3), r3 & 15, 36, 36, a, 32 + (r2 & 63), -512 - (r1 & 2047), spriteNum, 5); sprite[k].pal = sprite[spriteNum].pal; } @@ -7691,7 +7692,7 @@ void A_SpawnCeilingGlass(int spriteNum, int sectNum, int glassCnt) v1.y += v.y; int const a = krand2()&2047; int const z = sector[sectNum].ceilingz+((krand2()&15)<<8); - A_InsertSprite(sectNum, v1.x, v1.y, z, GLASSPIECES + (j % 3), -32, 36, 36, + A_InsertSprite(sectNum, v1.x, v1.y, z, TILE_GLASSPIECES + (j % 3), -32, 36, 36, a, (krand2() & 31), 0, spriteNum, 5); } } @@ -7706,7 +7707,7 @@ void A_SpawnRandomGlass(int spriteNum, int wallNum, int glassCnt) int const a = krand2() & 2047; int32_t const r1 = krand2(), r2 = krand2(), r3 = krand2(); int const k - = A_InsertSprite(SECT(spriteNum), SX(spriteNum), SY(spriteNum), SZ(spriteNum) - (r3 & (63 << 8)), GLASSPIECES + (j % 3), + = A_InsertSprite(SECT(spriteNum), SX(spriteNum), SY(spriteNum), SZ(spriteNum) - (r3 & (63 << 8)), TILE_GLASSPIECES + (j % 3), -32, 36, 36, a, 32 + (r2 & 63), 1024 - (r1 & 2047), spriteNum, 5); sprite[k].pal = krand2() & 15; } @@ -7731,7 +7732,7 @@ void A_SpawnRandomGlass(int spriteNum, int wallNum, int glassCnt) z = SZ(spriteNum) - ZOFFSET5 + (krand2() & ((64 << 8) - 1)); int32_t const r1 = krand2(), r2 = krand2(); - int const k = A_InsertSprite(SECT(spriteNum), v1.x, v1.y, z, GLASSPIECES + (j % 3), -32, 36, 36, SA(spriteNum) - 1024, + int const k = A_InsertSprite(SECT(spriteNum), v1.x, v1.y, z, TILE_GLASSPIECES + (j % 3), -32, 36, 36, SA(spriteNum) - 1024, 32 + (r2 & 63), -(r1 & 2047), spriteNum, 5); sprite[k].pal = krand2() & 7; } diff --git a/source/games/duke/src/gameexec.cpp b/source/games/duke/src/gameexec.cpp index 88c0cf604..d7a721003 100644 --- a/source/games/duke/src/gameexec.cpp +++ b/source/games/duke/src/gameexec.cpp @@ -267,7 +267,7 @@ int32_t A_GetFurthestAngle(int const spriteNum, int const angDiv) { uspritetype *const pSprite = (uspritetype *)&sprite[spriteNum]; - if (pSprite->picnum != APLAYER && (AC_COUNT(actor[spriteNum].t_data)&63) > 2) + if (pSprite->picnum != TILE_APLAYER && (AC_COUNT(actor[spriteNum].t_data)&63) > 2) return pSprite->ang + 1024; int32_t furthestAngle = 0; @@ -357,13 +357,13 @@ void A_GetZLimits(int const spriteNum) // If a non-projectile would fall onto non-frozen enemy OR an enemy onto a player... if ((A_CheckEnemySprite(hitspr) && hitspr->pal != 1 && pSprite->statnum != STAT_PROJECTILE) - || (hitspr->picnum == APLAYER && A_CheckEnemySprite(pSprite))) + || (hitspr->picnum == TILE_APLAYER && A_CheckEnemySprite(pSprite))) { actor[spriteNum].flags |= SFLAG_NOFLOORSHADOW; // No shadows on actors pSprite->xvel = -256; // SLIDE_ABOVE_ENEMY A_SetSprite(spriteNum, CLIPMASK0); } - else if (pSprite->statnum == STAT_PROJECTILE && hitspr->picnum == APLAYER && pSprite->owner==florhit) + else if (pSprite->statnum == STAT_PROJECTILE && hitspr->picnum == TILE_APLAYER && pSprite->owner==florhit) { actor[spriteNum].ceilingz = sector[pSprite->sectnum].ceilingz; actor[spriteNum].floorz = sector[pSprite->sectnum].floorz; @@ -389,9 +389,9 @@ void A_Fall(int const spriteNum) if (RRRA && spriteGravity == g_spriteGravity) { - if (pSprite->picnum == BIKERB || pSprite->picnum == CHEERB) + if (pSprite->picnum == TILE_BIKERB || pSprite->picnum == TILE_CHEERB) spriteGravity >>= 2; - else if (pSprite->picnum == BIKERBV2) + else if (pSprite->picnum == TILE_BIKERBV2) spriteGravity >>= 3; } @@ -491,11 +491,11 @@ GAMEEXEC_STATIC void VM_AlterAng(int32_t const moveFlags) ? holoDukeSprite : vm.pPlayer->i; - int const goalAng = (sprite[vm.pSprite->owner].picnum == APLAYER) + int const goalAng = (sprite[vm.pSprite->owner].picnum == TILE_APLAYER) ? getangle(vm.pActor->lastv.x - vm.pSprite->x, vm.pActor->lastv.y - vm.pSprite->y) : getangle(sprite[vm.pSprite->owner].x - vm.pSprite->x, sprite[vm.pSprite->owner].y - vm.pSprite->y); - if (vm.pSprite->xvel && vm.pSprite->picnum != DRONE) + if (vm.pSprite->xvel && vm.pSprite->picnum != TILE_DRONE) { int const angDiff = G_GetAngleDelta(spriteAngle, goalAng); @@ -624,7 +624,7 @@ GAMEEXEC_STATIC void VM_Move(void) if ((movflags&jumptoplayer_bits) == jumptoplayer_bits) { if (AC_COUNT(vm.pData) < 16) - vm.pSprite->zvel -= (!DEER && RRRA && vm.pSprite->picnum == CHEER) ? (sintable[(512+(AC_COUNT(vm.pData)<<4))&2047]/40) + vm.pSprite->zvel -= (!DEER && RRRA && vm.pSprite->picnum == TILE_CHEER) ? (sintable[(512+(AC_COUNT(vm.pData)<<4))&2047]/40) : (sintable[(512+(AC_COUNT(vm.pData)<<4))&2047]>>5); } @@ -634,17 +634,17 @@ GAMEEXEC_STATIC void VM_Move(void) VM_AddAngle(2, getangle(vect.x - vm.pSprite->x, vect.y - vm.pSprite->y)); } - if (RRRA && (vm.pSprite->picnum == RABBIT || vm.pSprite->picnum == MAMA)) + if (RRRA && (vm.pSprite->picnum == TILE_RABBIT || vm.pSprite->picnum == TILE_MAMA)) { if(movflags&jumptoplayer_only) { if (AC_COUNT(vm.pData) < 8) - vm.pSprite->zvel -= sintable[(512+(AC_COUNT(vm.pData)<<4))&2047]/(vm.pSprite->picnum == RABBIT ? 30 : 35); + vm.pSprite->zvel -= sintable[(512+(AC_COUNT(vm.pData)<<4))&2047]/(vm.pSprite->picnum == TILE_RABBIT ? 30 : 35); } if(movflags&justjump2) { if (AC_COUNT(vm.pData) < 8) - vm.pSprite->zvel -= sintable[(512+(AC_COUNT(vm.pData)<<4))&2047]/(vm.pSprite->picnum == RABBIT ? 24 : 28); + vm.pSprite->zvel -= sintable[(512+(AC_COUNT(vm.pData)<<4))&2047]/(vm.pSprite->picnum == TILE_RABBIT ? 24 : 28); } } @@ -687,7 +687,7 @@ GAMEEXEC_STATIC void VM_Move(void) if (movflags&dodgebullet) A_Dodge(vm.pSprite); - if (vm.pSprite->picnum != APLAYER) + if (vm.pSprite->picnum != TILE_APLAYER) VM_AlterAng(movflags); if (vm.pSprite->xvel > -6 && vm.pSprite->xvel < 6) @@ -700,14 +700,14 @@ GAMEEXEC_STATIC void VM_Move(void) int spriteXvel = vm.pSprite->xvel; int angDiff = vm.pSprite->ang; - if (badguyp && (vm.pSprite->picnum != ROTATEGUN || RR)) + if (badguyp && (vm.pSprite->picnum != TILE_ROTATEGUN || RR)) { - if ((vm.pSprite->picnum == DRONE || (!RR && vm.pSprite->picnum == COMMANDER)) && vm.pSprite->extra > 0) + if ((vm.pSprite->picnum == TILE_DRONE || (!RR && vm.pSprite->picnum == TILE_COMMANDER)) && vm.pSprite->extra > 0) { - if (!RR && vm.pSprite->picnum == COMMANDER) + if (!RR && vm.pSprite->picnum == TILE_COMMANDER) { int32_t nSectorZ; - // NOTE: COMMANDER updates both actor[].floorz and + // NOTE: TILE_COMMANDER updates both actor[].floorz and // .ceilingz regardless of its zvel. vm.pActor->floorz = nSectorZ = VM_GetFlorZOfSlope(); if (vm.pSprite->z > nSectorZ-ZOFFSET3) @@ -726,7 +726,7 @@ GAMEEXEC_STATIC void VM_Move(void) else { int32_t nSectorZ; - // The DRONE updates either .floorz or .ceilingz, not both. + // The TILE_DRONE updates either .floorz or .ceilingz, not both. if (vm.pSprite->zvel > 0) { vm.pActor->floorz = nSectorZ = VM_GetFlorZOfSlope(); @@ -745,9 +745,9 @@ GAMEEXEC_STATIC void VM_Move(void) } } } - else if (vm.pSprite->picnum != ORGANTIC || RR) + else if (vm.pSprite->picnum != TILE_ORGANTIC || RR) { - // All other actors besides ORGANTIC don't update .floorz or + // All other actors besides TILE_ORGANTIC don't update .floorz or // .ceilingz here. if (vm.pSprite->zvel > 0) { @@ -783,10 +783,10 @@ GAMEEXEC_STATIC void VM_Move(void) vm.pPlayer->vel.y = mulscale16(vm.pPlayer->vel.y, vm.pPlayer->runspeed - 0x2000); } } - else if (vm.pSprite->picnum != DRONE && vm.pSprite->picnum != SHARK - && ((!RR && vm.pSprite->picnum != COMMANDER) - || (RR && vm.pSprite->picnum != UFO1) - || (RR && !RRRA && vm.pSprite->picnum != UFO2 && vm.pSprite->picnum != UFO3 && vm.pSprite->picnum != UFO4 && vm.pSprite->picnum != UFO5))) + else if (vm.pSprite->picnum != TILE_DRONE && vm.pSprite->picnum != TILE_SHARK + && ((!RR && vm.pSprite->picnum != TILE_COMMANDER) + || (RR && vm.pSprite->picnum != TILE_UFO1) + || (RR && !RRRA && vm.pSprite->picnum != TILE_UFO2 && vm.pSprite->picnum != TILE_UFO3 && vm.pSprite->picnum != TILE_UFO4 && vm.pSprite->picnum != TILE_UFO5))) { if (vm.pPlayer->actorsqu == vm.spriteNum) return; @@ -803,7 +803,7 @@ GAMEEXEC_STATIC void VM_Move(void) } } } - else if (vm.pSprite->picnum == APLAYER) + else if (vm.pSprite->picnum == TILE_APLAYER) if (vm.pSprite->z < vm.pActor->ceilingz+ZOFFSET5) vm.pSprite->z = vm.pActor->ceilingz+ZOFFSET5; @@ -837,7 +837,7 @@ GAMEEXEC_STATIC void VM_Move(void) = { (spriteXvel * (sintable[(angDiff + 512) & 2047])) >> 14, (spriteXvel * (sintable[angDiff & 2047])) >> 14, vm.pSprite->zvel }; vm.pActor->movflag = A_MoveSprite(vm.spriteNum, &vect, CLIPMASK0); - if (DEER && vm.pSprite->picnum != DOGRUN) + if (DEER && vm.pSprite->picnum != TILE_DOGRUN) { if ((vm.pActor->movflag & 49152) == 32768) { @@ -867,7 +867,7 @@ GAMEEXEC_STATIC void VM_Move(void) vm.pSprite->shade += (sector[vm.pSprite->sectnum].ceilingstat & 1) ? ((g_shadedSector[vm.pSprite->sectnum] == 1 ? 16 : sector[vm.pSprite->sectnum].ceilingshade) - vm.pSprite->shade) >> 1 : (sector[vm.pSprite->sectnum].floorshade - vm.pSprite->shade) >> 1; - if (sector[vm.pSprite->sectnum].floorpicnum == MIRROR) + if (sector[vm.pSprite->sectnum].floorpicnum == TILE_MIRROR) A_DeleteSprite(vm.spriteNum); } @@ -1004,25 +1004,25 @@ static void VM_Fall(int const spriteNum, spritetype * const pSprite) { if (sector[vm.pSprite->sectnum].lotag == 801) { - if (vm.pSprite->picnum == ROCK) + if (vm.pSprite->picnum == TILE_ROCK) { - A_Spawn(vm.spriteNum, ROCK2); - A_Spawn(vm.spriteNum, ROCK2); + A_Spawn(vm.spriteNum, TILE_ROCK2); + A_Spawn(vm.spriteNum, TILE_ROCK2); vm.flags |= VM_SAFEDELETE; } } else if (sector[vm.pSprite->sectnum].lotag == 802) { - if (vm.pSprite->picnum != APLAYER && A_CheckEnemySprite(vm.pSprite) && vm.pSprite->z == vm.pActor->floorz - ZOFFSET) + if (vm.pSprite->picnum != TILE_APLAYER && A_CheckEnemySprite(vm.pSprite) && vm.pSprite->z == vm.pActor->floorz - ZOFFSET) { - A_DoGuts(vm.spriteNum, JIBS6, 5); + A_DoGuts(vm.spriteNum, TILE_JIBS6, 5); A_PlaySound(SQUISHED, vm.spriteNum); vm.flags |= VM_SAFEDELETE; } } else if (sector[vm.pSprite->sectnum].lotag == 803) { - if (vm.pSprite->picnum == ROCK2) + if (vm.pSprite->picnum == TILE_ROCK2) { vm.flags |= VM_SAFEDELETE; } @@ -1030,12 +1030,12 @@ static void VM_Fall(int const spriteNum, spritetype * const pSprite) } if (sector[vm.pSprite->sectnum].lotag == 800) { - if (vm.pSprite->picnum == AMMO) + if (vm.pSprite->picnum == TILE_AMMO) { vm.flags |= VM_SAFEDELETE; return; } - if (vm.pSprite->picnum != APLAYER && (A_CheckEnemySprite(vm.pSprite) || vm.pSprite->picnum == COW) && g_spriteExtra[vm.spriteNum] < 128) + if (vm.pSprite->picnum != TILE_APLAYER && (A_CheckEnemySprite(vm.pSprite) || vm.pSprite->picnum == TILE_COW) && g_spriteExtra[vm.spriteNum] < 128) { vm.pSprite->z = vm.pActor->floorz-ZOFFSET; vm.pSprite->zvel = 8000; @@ -1043,23 +1043,23 @@ static void VM_Fall(int const spriteNum, spritetype * const pSprite) g_spriteExtra[vm.spriteNum]++; hitSprite = 1; } - else if (vm.pSprite->picnum != APLAYER) + else if (vm.pSprite->picnum != TILE_APLAYER) { if (!g_spriteExtra[vm.spriteNum]) vm.flags |= VM_SAFEDELETE; return; } - vm.pActor->picnum = SHOTSPARK1; + vm.pActor->picnum = TILE_SHOTSPARK1; vm.pActor->extra = 1; } if (RRRA && EDUKE32_PREDICT_TRUE(sector[vm.pSprite->sectnum].lotag < 800 || sector[vm.pSprite->sectnum].lotag > 803) - && (sector[vm.pSprite->sectnum].floorpicnum == RRTILE7820 || sector[vm.pSprite->sectnum].floorpicnum == RRTILE7768)) + && (sector[vm.pSprite->sectnum].floorpicnum == TILE_RRTILE7820 || sector[vm.pSprite->sectnum].floorpicnum == TILE_RRTILE7768)) { - if (vm.pSprite->picnum != MINION && vm.pSprite->pal != 19) + if (vm.pSprite->picnum != TILE_MINION && vm.pSprite->pal != 19) { if ((krand2()&3) == 1) { - vm.pActor->picnum = SHOTSPARK1; + vm.pActor->picnum = TILE_SHOTSPARK1; vm.pActor->extra = 5; } } @@ -1095,26 +1095,26 @@ static void VM_Fall(int const spriteNum, spritetype * const pSprite) pSprite->z = actor[spriteNum].floorz - ZOFFSET; - if (A_CheckEnemySprite(pSprite) || (pSprite->picnum == APLAYER && pSprite->owner >= 0)) + if (A_CheckEnemySprite(pSprite) || (pSprite->picnum == TILE_APLAYER && pSprite->owner >= 0)) { if (pSprite->zvel > 3084 && pSprite->extra <= 1) { - // I'm guessing this DRONE check is from a beta version of the game + // I'm guessing this TILE_DRONE check is from a beta version of the game // where they crashed into the ground when killed - if (!(pSprite->picnum == APLAYER && pSprite->extra > 0) && pSprite->pal != 1 && pSprite->picnum != DRONE) + if (!(pSprite->picnum == TILE_APLAYER && pSprite->extra > 0) && pSprite->pal != 1 && pSprite->picnum != TILE_DRONE) { A_PlaySound(SQUISHED,spriteNum); if (hitSprite) { - A_DoGuts(spriteNum,JIBS6,5); + A_DoGuts(spriteNum,TILE_JIBS6,5); } else { - A_DoGuts(spriteNum,JIBS6,15); - A_Spawn(spriteNum,BLOODPOOL); + A_DoGuts(spriteNum,TILE_JIBS6,15); + A_Spawn(spriteNum,TILE_BLOODPOOL); } } - actor[spriteNum].picnum = SHOTSPARK1; + actor[spriteNum].picnum = TILE_SHOTSPARK1; actor[spriteNum].extra = 1; pSprite->zvel = 0; } @@ -1430,7 +1430,7 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) case CON_IFSQUISHED: VM_CONDITIONAL(VM_CheckSquished()); continue; - case CON_IFDEAD: VM_CONDITIONAL(vm.pSprite->extra - (vm.pSprite->picnum == APLAYER) < 0); continue; + case CON_IFDEAD: VM_CONDITIONAL(vm.pSprite->extra - (vm.pSprite->picnum == TILE_APLAYER) < 0); continue; case CON_AI: insptr++; @@ -1492,16 +1492,16 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) switch (++g_fakeBubbaCnt) { case 1: - A_Spawn(vm.spriteNum, PIG); + A_Spawn(vm.spriteNum, TILE_PIG); break; case 2: - A_Spawn(vm.spriteNum, MINION); + A_Spawn(vm.spriteNum, TILE_MINION); break; case 3: - A_Spawn(vm.spriteNum, CHEER); + A_Spawn(vm.spriteNum, TILE_CHEER); break; case 4: - A_Spawn(vm.spriteNum, VIXEN); + A_Spawn(vm.spriteNum, TILE_VIXEN); G_OperateActivators(666, vm.playerNum); break; } @@ -1523,7 +1523,7 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) if (g_mamaSpawnCnt) { g_mamaSpawnCnt--; - A_Spawn(vm.spriteNum, RABBIT); + A_Spawn(vm.spriteNum, TILE_RABBIT); } continue; @@ -1589,7 +1589,7 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) case CON_GETLASTPAL: insptr++; - if (vm.pSprite->picnum == APLAYER) + if (vm.pSprite->picnum == TILE_APLAYER) vm.pSprite->pal = g_player[P_GetP(vm.pSprite)].ps->palookup; else vm.pSprite->pal = vm.pActor->tempang; @@ -1598,7 +1598,7 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) case CON_TOSSWEAPON: insptr++; - // NOTE: assumes that current actor is APLAYER + // NOTE: assumes that current actor is TILE_APLAYER P_DropWeapon(P_GetP(vm.pSprite)); continue; @@ -1616,12 +1616,12 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) case CON_PKICK: insptr++; - if ((g_netServer || ud.multimode > 1) && vm.pSprite->picnum == APLAYER) + if ((g_netServer || ud.multimode > 1) && vm.pSprite->picnum == TILE_APLAYER) { if (g_player[otherp].ps->quick_kick == 0) g_player[otherp].ps->quick_kick = 14; } - else if (vm.pSprite->picnum != APLAYER && pPlayer->quick_kick == 0) + else if (vm.pSprite->picnum != TILE_APLAYER && pPlayer->quick_kick == 0) pPlayer->quick_kick = 14; continue; @@ -1631,7 +1631,7 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) tw = (*insptr++ - vm.pSprite->xrepeat) << 1; vm.pSprite->xrepeat += ksgn(tw); - if ((vm.pSprite->picnum == APLAYER && vm.pSprite->yrepeat < 36) || *insptr < vm.pSprite->yrepeat + if ((vm.pSprite->picnum == TILE_APLAYER && vm.pSprite->yrepeat < 36) || *insptr < vm.pSprite->yrepeat || ((vm.pSprite->yrepeat * (tilesiz[vm.pSprite->picnum].y + 8)) << 2) < (vm.pActor->floorz - vm.pActor->ceilingz)) { tw = ((*insptr) - vm.pSprite->yrepeat) << 1; @@ -1812,9 +1812,9 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) insptr++; for (bssize_t SPRITES_OF_SECT(vm.pSprite->sectnum, spriteNum)) { - if (sprite[spriteNum].picnum == DESTRUCTO) + if (sprite[spriteNum].picnum == TILE_DESTRUCTO) { - actor[spriteNum].picnum = SHOTSPARK1; + actor[spriteNum].picnum = TILE_SHOTSPARK1; actor[spriteNum].extra = 1; } } @@ -1840,12 +1840,12 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) case CON_MONEY: insptr++; - A_SpawnMultiple(vm.spriteNum, MONEY, *insptr++); + A_SpawnMultiple(vm.spriteNum, TILE_MONEY, *insptr++); continue; case CON_MAIL: insptr++; - A_SpawnMultiple(vm.spriteNum, RR ? MONEY : MAIL, *insptr++); + A_SpawnMultiple(vm.spriteNum, RR ? TILE_MONEY : TILE_MAIL, *insptr++); continue; case CON_SLEEPTIME: @@ -1855,7 +1855,7 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) case CON_PAPER: insptr++; - A_SpawnMultiple(vm.spriteNum, RR ? MONEY : PAPER, *insptr++); + A_SpawnMultiple(vm.spriteNum, RR ? TILE_MONEY : TILE_PAPER, *insptr++); continue; case CON_ADDKILLS: @@ -1980,7 +1980,7 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) hitag = 0; for (SPRITES_OF_SECT(vm.pSprite->sectnum,k)) { - if (sprite[k].picnum == RRTILE63) + if (sprite[k].picnum == TILE_RRTILE63) { lotag = sprite[k].lotag; spr = k; @@ -1995,9 +1995,9 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) { for (SPRITES_OF_SECT(js->sectnum,k)) { - if (sprite[k].picnum == DESTRUCTO) + if (sprite[k].picnum == TILE_DESTRUCTO) { - actor[k].picnum = SHOTSPARK1; + actor[k].picnum = TILE_SHOTSPARK1; actor[k].extra = 1; } } @@ -2079,7 +2079,7 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) int newHealth = sprite[pPlayer->i].extra; - if (vm.pSprite->picnum != ATOMICHEALTH) + if (vm.pSprite->picnum != TILE_ATOMICHEALTH) { if (newHealth > pPlayer->max_player_health && *insptr > 0) { @@ -2130,7 +2130,7 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) int newHealth = sprite[pPlayer->i].extra; - if (vm.pSprite->picnum != ATOMICHEALTH) + if (vm.pSprite->picnum != TILE_ATOMICHEALTH) { if (newHealth > pPlayer->max_player_health && *insptr > 0) { @@ -2226,7 +2226,7 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) if ((unsigned)vm.pSprite->sectnum < MAXSECTORS) for (native_t cnt = (*insptr) - 1; cnt >= 0; cnt--) { - int const tileOffset = ((RR || vm.pSprite->picnum == BLIMP) && debrisTile == SCRAP1) ? 0 : (krand2() % 3); + int const tileOffset = ((RR || vm.pSprite->picnum == TILE_BLIMP) && debrisTile == TILE_SCRAP1) ? 0 : (krand2() % 3); int32_t const r1 = krand2(), r2 = krand2(), r3 = krand2(), r4 = krand2(), r5 = krand2(), r6 = krand2(), r7 = krand2(), r8 = krand2(); int const spriteNum = A_InsertSprite(vm.pSprite->sectnum, vm.pSprite->x + (r8 & 255) - 128, @@ -2234,7 +2234,7 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) debrisTile + tileOffset, vm.pSprite->shade, 32 + (r5 & 15), 32 + (r4 & 15), r3 & 2047, (r2 & 127) + 32, -(r1 & 2047), vm.spriteNum, 5); - sprite[spriteNum].yvel = ((RR || vm.pSprite->picnum == BLIMP) && debrisTile == SCRAP1) ? g_blimpSpawnItems[cnt % 14] : -1; + sprite[spriteNum].yvel = ((RR || vm.pSprite->picnum == TILE_BLIMP) && debrisTile == TILE_SCRAP1) ? g_blimpSpawnItems[cnt % 14] : -1; sprite[spriteNum].pal = vm.pSprite->pal; } insptr++; @@ -2281,7 +2281,7 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) continue; case CON_IFONMUD: - VM_CONDITIONAL(sector[vm.pSprite->sectnum].floorpicnum == RRTILE3073 + VM_CONDITIONAL(sector[vm.pSprite->sectnum].floorpicnum == TILE_RRTILE3073 && klabs(vm.pSprite->z - sector[vm.pSprite->sectnum].floorz) < ZOFFSET5); continue; @@ -2388,7 +2388,7 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) else if ((moveFlags & pfacing)) { nResult - = (vm.pSprite->picnum == APLAYER && (g_netServer || ud.multimode > 1)) + = (vm.pSprite->picnum == TILE_APLAYER && (g_netServer || ud.multimode > 1)) ? G_GetAngleDelta(fix16_to_int(g_player[otherp].ps->q16ang), getangle(pPlayer->pos.x - g_player[otherp].ps->pos.x, pPlayer->pos.y - g_player[otherp].ps->pos.y)) : G_GetAngleDelta(fix16_to_int(pPlayer->q16ang), getangle(vm.pSprite->x - pPlayer->pos.x, vm.pSprite->y - pPlayer->pos.y)); @@ -2464,7 +2464,7 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) int32_t j; for (SPRITES_OF_SECT(foundSect, j)) - if (sprite[j].picnum == ACTIVATOR) + if (sprite[j].picnum == TILE_ACTIVATOR) break; if (j == -1) @@ -2477,7 +2477,7 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) case CON_SPRITEPAL: insptr++; - if (vm.pSprite->picnum != APLAYER) + if (vm.pSprite->picnum != TILE_APLAYER) vm.pActor->tempang = vm.pSprite->pal; vm.pSprite->pal = *insptr++; continue; diff --git a/source/games/duke/src/gamevars.cpp b/source/games/duke/src/gamevars.cpp index 6cd4a3e92..549111e6e 100644 --- a/source/games/duke/src/gamevars.cpp +++ b/source/games/duke/src/gamevars.cpp @@ -617,18 +617,18 @@ static int32_t G_StaticToDynamicTile(int32_t const tile) switch (tile) { #ifndef EDUKE32_STANDALONE - case CHAINGUN__STATIC: return CHAINGUN; - case FREEZEBLAST__STATIC: return FREEZEBLAST; - case GROWSPARK__STATIC: return GROWSPARK; - case HANDHOLDINGLASER__STATIC: return HANDHOLDINGLASER; - case HEAVYHBOMB__STATIC: return HEAVYHBOMB; - case KNEE__STATIC: return KNEE; - case RPG__STATIC: return RPG; - case SHELL__STATIC: return SHELL; - case SHOTGUNSHELL__STATIC: return SHOTGUNSHELL; - case SHOTGUN__STATIC: return SHOTGUN; - case SHOTSPARK1__STATIC: return SHOTSPARK1; - case SHRINKER__STATIC: return SHRINKER; + case CHAINGUN__STATIC: return TILE_CHAINGUN; + case FREEZEBLAST__STATIC: return TILE_FREEZEBLAST; + case GROWSPARK__STATIC: return TILE_GROWSPARK; + case HANDHOLDINGLASER__STATIC: return TILE_HANDHOLDINGLASER; + case HEAVYHBOMB__STATIC: return TILE_HEAVYHBOMB; + case KNEE__STATIC: return TILE_KNEE; + case RPG__STATIC: return TILE_RPG; + case SHELL__STATIC: return TILE_SHELL; + case SHOTGUNSHELL__STATIC: return TILE_SHOTGUNSHELL; + case SHOTGUN__STATIC: return TILE_SHOTGUN; + case SHOTSPARK1__STATIC: return TILE_SHOTSPARK1; + case SHRINKER__STATIC: return TILE_SHRINKER; #endif default: return tile; } diff --git a/source/games/duke/src/macros.h b/source/games/duke/src/macros.h index c09bfdaeb..f193feff3 100644 --- a/source/games/duke/src/macros.h +++ b/source/games/duke/src/macros.h @@ -41,7 +41,7 @@ static FORCE_INLINE int32_t krand2(void) { \ int32_t const r1 = krand2(), r2 = krand2(), r3 = krand2(), r4 = krand2(), r5 = krand2(), r6 = krand2(), r7 = krand2(); \ A_InsertSprite(s->sectnum,s->x+(r7&255)-128,s->y+(r6&255)-128,s->z-ZOFFSET3-(r5&8191),\ - SCRAP6+(r4&15),-8,RR?16:48,RR?16:48,r3&2047,(r2&63)+64,-512-(r1&2047),i,5); \ + TILE_SCRAP6+(r4&15),-8,RR?16:48,RR?16:48,r3&2047,(r2&63)+64,-512-(r1&2047),i,5); \ } #define GTFLAGS(x) (g_gametypeFlags[ud.coop] & x) @@ -61,7 +61,7 @@ static FORCE_INLINE int32_t krand2(void) #define TEST_SYNC_KEY(bits, sync_num) (!!TEST((bits), BIT(sync_num))) -#define AFLAMABLE(X) (X==BOX||X==TREE1||X==TREE2||X==TIRE||X==CONE) +#define AFLAMABLE(X) (X==TILE_BOX||X==TILE_TREE1||X==TILE_TREE2||X==TILE_TIRE||X==TILE_CONE) #define rnd(X) ((krand2()>>8)>=(255-(X))) // diff --git a/source/games/duke/src/namesdyn.cpp b/source/games/duke/src/namesdyn.cpp index 90722929a..e1ebb3e99 100644 --- a/source/games/duke/src/namesdyn.cpp +++ b/source/games/duke/src/namesdyn.cpp @@ -45,2843 +45,2843 @@ struct dynitem static struct dynitem g_dynTileList[] = { - { "SECTOREFFECTOR", DVPTR(SECTOREFFECTOR), SECTOREFFECTOR__STATIC, SECTOREFFECTOR__STATICRR }, - { "ACTIVATOR", DVPTR(ACTIVATOR), ACTIVATOR__STATIC, ACTIVATOR__STATICRR }, - { "TOUCHPLATE", DVPTR(TOUCHPLATE), TOUCHPLATE__STATIC, TOUCHPLATE__STATICRR }, - { "ACTIVATORLOCKED", DVPTR(ACTIVATORLOCKED), ACTIVATORLOCKED__STATIC, ACTIVATORLOCKED__STATICRR }, - { "MUSICANDSFX", DVPTR(MUSICANDSFX), MUSICANDSFX__STATIC, MUSICANDSFX__STATICRR }, - { "LOCATORS", DVPTR(LOCATORS), LOCATORS__STATIC, LOCATORS__STATICRR }, - { "CYCLER", DVPTR(CYCLER), CYCLER__STATIC, CYCLER__STATICRR }, - { "MASTERSWITCH", DVPTR(MASTERSWITCH), MASTERSWITCH__STATIC, MASTERSWITCH__STATICRR }, - { "RESPAWN", DVPTR(RESPAWN), RESPAWN__STATIC, RESPAWN__STATICRR }, - { "GPSPEED", DVPTR(GPSPEED), GPSPEED__STATIC, GPSPEED__STATICRR }, - { "FOF", DVPTR(FOF), FOF__STATIC, FOF__STATICRR }, - { "ARROW", DVPTR(ARROW), ARROW__STATIC, ARROW__STATICRR }, - { "FIRSTGUNSPRITE", DVPTR(FIRSTGUNSPRITE), FIRSTGUNSPRITE__STATIC, FIRSTGUNSPRITE__STATICRR }, - { "CHAINGUNSPRITE", DVPTR(CHAINGUNSPRITE), CHAINGUNSPRITE__STATIC, CHAINGUNSPRITE__STATICRR }, - { "RPGSPRITE", DVPTR(RPGSPRITE), RPGSPRITE__STATIC, RPGSPRITE__STATICRR }, - { "FREEZESPRITE", DVPTR(FREEZESPRITE), FREEZESPRITE__STATIC, FREEZESPRITE__STATICRR }, - { "SHRINKERSPRITE", DVPTR(SHRINKERSPRITE), SHRINKERSPRITE__STATIC, SHRINKERSPRITE__STATICRR }, - { "HEAVYHBOMB", DVPTR(HEAVYHBOMB), HEAVYHBOMB__STATIC, HEAVYHBOMB__STATICRR }, - { "TRIPBOMBSPRITE", DVPTR(TRIPBOMBSPRITE), TRIPBOMBSPRITE__STATIC, TRIPBOMBSPRITE__STATICRR }, - { "SHOTGUNSPRITE", DVPTR(SHOTGUNSPRITE), SHOTGUNSPRITE__STATIC, SHOTGUNSPRITE__STATICRR }, - { "DEVISTATORSPRITE", DVPTR(DEVISTATORSPRITE), DEVISTATORSPRITE__STATIC, DEVISTATORSPRITE__STATICRR }, - { "HEALTHBOX", DVPTR(HEALTHBOX), HEALTHBOX__STATIC, HEALTHBOX__STATICRR }, - { "AMMOBOX", DVPTR(AMMOBOX), AMMOBOX__STATIC, AMMOBOX__STATICRR }, - { "GROWSPRITEICON", DVPTR(GROWSPRITEICON), GROWSPRITEICON__STATIC, GROWSPRITEICON__STATICRR }, - { "INVENTORYBOX", DVPTR(INVENTORYBOX), INVENTORYBOX__STATIC, INVENTORYBOX__STATICRR }, - { "FREEZEAMMO", DVPTR(FREEZEAMMO), FREEZEAMMO__STATIC, FREEZEAMMO__STATICRR }, - { "AMMO", DVPTR(AMMO), AMMO__STATIC, AMMO__STATICRR }, - { "BATTERYAMMO", DVPTR(BATTERYAMMO), BATTERYAMMO__STATIC, BATTERYAMMO__STATICRR }, - { "DEVISTATORAMMO", DVPTR(DEVISTATORAMMO), DEVISTATORAMMO__STATIC, DEVISTATORAMMO__STATICRR }, - { "RPGAMMO", DVPTR(RPGAMMO), RPGAMMO__STATIC, RPGAMMO__STATICRR }, - { "GROWAMMO", DVPTR(GROWAMMO), GROWAMMO__STATIC, GROWAMMO__STATICRR }, - { "CRYSTALAMMO", DVPTR(CRYSTALAMMO), CRYSTALAMMO__STATIC, CRYSTALAMMO__STATICRR }, - { "HBOMBAMMO", DVPTR(HBOMBAMMO), HBOMBAMMO__STATIC, HBOMBAMMO__STATICRR }, - { "AMMOLOTS", DVPTR(AMMOLOTS), AMMOLOTS__STATIC, AMMOLOTS__STATICRR }, - { "SHOTGUNAMMO", DVPTR(SHOTGUNAMMO), SHOTGUNAMMO__STATIC, SHOTGUNAMMO__STATICRR }, - { "COLA", DVPTR(COLA), COLA__STATIC, COLA__STATICRR }, - { "SIXPAK", DVPTR(SIXPAK), SIXPAK__STATIC, SIXPAK__STATICRR }, - { "FIRSTAID", DVPTR(FIRSTAID), FIRSTAID__STATIC, FIRSTAID__STATICRR }, - { "SHIELD", DVPTR(SHIELD), SHIELD__STATIC, SHIELD__STATICRR }, - { "STEROIDS", DVPTR(STEROIDS), STEROIDS__STATIC, STEROIDS__STATICRR }, - { "AIRTANK", DVPTR(AIRTANK), AIRTANK__STATIC, AIRTANK__STATICRR }, - { "JETPACK", DVPTR(JETPACK), JETPACK__STATIC, JETPACK__STATICRR }, - { "HEATSENSOR", DVPTR(HEATSENSOR), HEATSENSOR__STATIC, HEATSENSOR__STATICRR }, - { "ACCESSCARD", DVPTR(ACCESSCARD), ACCESSCARD__STATIC, ACCESSCARD__STATICRR }, - { "BOOTS", DVPTR(BOOTS), BOOTS__STATIC, BOOTS__STATICRR }, - { "MIRRORBROKE", DVPTR(MIRRORBROKE), MIRRORBROKE__STATIC, MIRRORBROKE__STATICRR }, - { "CLOUDYOCEAN", DVPTR(CLOUDYOCEAN), CLOUDYOCEAN__STATIC, 0 }, - { "CLOUDYSKIES", DVPTR(CLOUDYSKIES), CLOUDYSKIES__STATIC, CLOUDYSKIES__STATICRR }, - { "MOONSKY1", DVPTR(MOONSKY1), MOONSKY1__STATIC, MOONSKY1__STATICRR }, - { "MOONSKY2", DVPTR(MOONSKY2), MOONSKY2__STATIC, MOONSKY2__STATICRR }, - { "MOONSKY3", DVPTR(MOONSKY3), MOONSKY3__STATIC, MOONSKY3__STATICRR }, - { "MOONSKY4", DVPTR(MOONSKY4), MOONSKY4__STATIC, MOONSKY4__STATICRR }, - { "BIGORBIT1", DVPTR(BIGORBIT1), BIGORBIT1__STATIC, BIGORBIT1__STATICRR }, - { "BIGORBIT2", DVPTR(BIGORBIT2), BIGORBIT2__STATIC, BIGORBIT2__STATICRR }, - { "BIGORBIT3", DVPTR(BIGORBIT3), BIGORBIT3__STATIC, BIGORBIT3__STATICRR }, - { "BIGORBIT4", DVPTR(BIGORBIT4), BIGORBIT4__STATIC, BIGORBIT4__STATICRR }, - { "BIGORBIT5", DVPTR(BIGORBIT5), BIGORBIT5__STATIC, BIGORBIT5__STATICRR }, - { "LA", DVPTR(LA), LA__STATIC, LA__STATICRR }, - { "REDSKY1", DVPTR(REDSKY1), REDSKY1__STATIC, REDSKY1__STATICRR }, - { "REDSKY2", DVPTR(REDSKY2), REDSKY2__STATIC, REDSKY2__STATICRR }, - { "ATOMICHEALTH", DVPTR(ATOMICHEALTH), ATOMICHEALTH__STATIC, ATOMICHEALTH__STATICRR }, - { "TECHLIGHT2", DVPTR(TECHLIGHT2), TECHLIGHT2__STATIC, TECHLIGHT2__STATICRR }, - { "TECHLIGHTBUST2", DVPTR(TECHLIGHTBUST2), TECHLIGHTBUST2__STATIC, TECHLIGHTBUST2__STATICRR }, - { "TECHLIGHT4", DVPTR(TECHLIGHT4), TECHLIGHT4__STATIC, TECHLIGHT4__STATICRR }, - { "TECHLIGHTBUST4", DVPTR(TECHLIGHTBUST4), TECHLIGHTBUST4__STATIC, TECHLIGHTBUST4__STATICRR }, - { "WALLLIGHT4", DVPTR(WALLLIGHT4), WALLLIGHT4__STATIC, WALLLIGHT4__STATICRR }, - { "WALLLIGHTBUST4", DVPTR(WALLLIGHTBUST4), WALLLIGHTBUST4__STATIC, WALLLIGHTBUST4__STATICRR }, - { "ACCESSSWITCH", DVPTR(ACCESSSWITCH), ACCESSSWITCH__STATIC, ACCESSSWITCH__STATICRR }, - { "SLOTDOOR", DVPTR(SLOTDOOR), SLOTDOOR__STATIC, SLOTDOOR__STATICRR }, - { "LIGHTSWITCH", DVPTR(LIGHTSWITCH), LIGHTSWITCH__STATIC, LIGHTSWITCH__STATICRR }, - { "SPACEDOORSWITCH", DVPTR(SPACEDOORSWITCH), SPACEDOORSWITCH__STATIC, SPACEDOORSWITCH__STATICRR }, - { "SPACELIGHTSWITCH", DVPTR(SPACELIGHTSWITCH), SPACELIGHTSWITCH__STATIC, SPACELIGHTSWITCH__STATICRR }, - { "FRANKENSTINESWITCH", DVPTR(FRANKENSTINESWITCH), FRANKENSTINESWITCH__STATIC, FRANKENSTINESWITCH__STATICRR }, - { "NUKEBUTTON", DVPTR(NUKEBUTTON), NUKEBUTTON__STATIC, NUKEBUTTON__STATICRR }, - { "MULTISWITCH", DVPTR(MULTISWITCH), MULTISWITCH__STATIC, MULTISWITCH__STATICRR }, - { "DOORTILE5", DVPTR(DOORTILE5), DOORTILE5__STATIC, DOORTILE5__STATICRR }, - { "DOORTILE6", DVPTR(DOORTILE6), DOORTILE6__STATIC, DOORTILE6__STATICRR }, - { "DOORTILE1", DVPTR(DOORTILE1), DOORTILE1__STATIC, DOORTILE1__STATICRR }, - { "DOORTILE2", DVPTR(DOORTILE2), DOORTILE2__STATIC, DOORTILE2__STATICRR }, - { "DOORTILE3", DVPTR(DOORTILE3), DOORTILE3__STATIC, DOORTILE3__STATICRR }, - { "DOORTILE4", DVPTR(DOORTILE4), DOORTILE4__STATIC, DOORTILE4__STATICRR }, - { "DOORTILE7", DVPTR(DOORTILE7), DOORTILE7__STATIC, DOORTILE7__STATICRR }, - { "DOORTILE8", DVPTR(DOORTILE8), DOORTILE8__STATIC, DOORTILE8__STATICRR }, - { "DOORTILE9", DVPTR(DOORTILE9), DOORTILE9__STATIC, DOORTILE9__STATICRR }, - { "DOORTILE10", DVPTR(DOORTILE10), DOORTILE10__STATIC, DOORTILE10__STATICRR }, - { "DOORSHOCK", DVPTR(DOORSHOCK), DOORSHOCK__STATIC, DOORSHOCK__STATICRR }, - { "DIPSWITCH", DVPTR(DIPSWITCH), DIPSWITCH__STATIC, DIPSWITCH__STATICRR }, - { "DIPSWITCH2", DVPTR(DIPSWITCH2), DIPSWITCH2__STATIC, DIPSWITCH2__STATICRR }, - { "TECHSWITCH", DVPTR(TECHSWITCH), TECHSWITCH__STATIC, TECHSWITCH__STATICRR }, - { "DIPSWITCH3", DVPTR(DIPSWITCH3), DIPSWITCH3__STATIC, DIPSWITCH3__STATICRR }, - { "ACCESSSWITCH2", DVPTR(ACCESSSWITCH2), ACCESSSWITCH2__STATIC, ACCESSSWITCH2__STATICRR }, - { "REFLECTWATERTILE", DVPTR(REFLECTWATERTILE), REFLECTWATERTILE__STATIC, REFLECTWATERTILE__STATICRR }, - { "FLOORSLIME", DVPTR(FLOORSLIME), FLOORSLIME__STATIC, FLOORSLIME__STATICRR }, - { "BIGFORCE", DVPTR(BIGFORCE), BIGFORCE__STATIC, BIGFORCE__STATICRR }, - { "EPISODE", DVPTR(EPISODE), EPISODE__STATIC, EPISODE__STATICRR }, - { "MASKWALL9", DVPTR(MASKWALL9), MASKWALL9__STATIC, MASKWALL9__STATICRR }, - { "W_LIGHT", DVPTR(W_LIGHT), W_LIGHT__STATIC, W_LIGHT__STATICRR }, - { "SCREENBREAK1", DVPTR(SCREENBREAK1), SCREENBREAK1__STATIC, SCREENBREAK1__STATICRR }, - { "SCREENBREAK2", DVPTR(SCREENBREAK2), SCREENBREAK2__STATIC, SCREENBREAK2__STATICRR }, - { "SCREENBREAK3", DVPTR(SCREENBREAK3), SCREENBREAK3__STATIC, SCREENBREAK3__STATICRR }, - { "SCREENBREAK4", DVPTR(SCREENBREAK4), SCREENBREAK4__STATIC, SCREENBREAK4__STATICRR }, - { "SCREENBREAK5", DVPTR(SCREENBREAK5), SCREENBREAK5__STATIC, SCREENBREAK5__STATICRR }, - { "SCREENBREAK6", DVPTR(SCREENBREAK6), SCREENBREAK6__STATIC, SCREENBREAK6__STATICRR }, - { "SCREENBREAK7", DVPTR(SCREENBREAK7), SCREENBREAK7__STATIC, SCREENBREAK7__STATICRR }, - { "SCREENBREAK8", DVPTR(SCREENBREAK8), SCREENBREAK8__STATIC, SCREENBREAK8__STATICRR }, - { "SCREENBREAK9", DVPTR(SCREENBREAK9), SCREENBREAK9__STATIC, SCREENBREAK9__STATICRR }, - { "SCREENBREAK10", DVPTR(SCREENBREAK10), SCREENBREAK10__STATIC, SCREENBREAK10__STATICRR }, - { "SCREENBREAK11", DVPTR(SCREENBREAK11), SCREENBREAK11__STATIC, SCREENBREAK11__STATICRR }, - { "SCREENBREAK12", DVPTR(SCREENBREAK12), SCREENBREAK12__STATIC, SCREENBREAK12__STATICRR }, - { "SCREENBREAK13", DVPTR(SCREENBREAK13), SCREENBREAK13__STATIC, SCREENBREAK13__STATICRR }, - { "MASKWALL1", DVPTR(MASKWALL1), MASKWALL1__STATIC, MASKWALL1__STATICRR }, - { "W_TECHWALL1", DVPTR(W_TECHWALL1), W_TECHWALL1__STATIC, W_TECHWALL1__STATICRR }, - { "W_TECHWALL2", DVPTR(W_TECHWALL2), W_TECHWALL2__STATIC, W_TECHWALL2__STATICRR }, - { "W_TECHWALL15", DVPTR(W_TECHWALL15), W_TECHWALL15__STATIC, W_TECHWALL15__STATICRR }, - { "W_TECHWALL3", DVPTR(W_TECHWALL3), W_TECHWALL3__STATIC, W_TECHWALL3__STATICRR }, - { "W_TECHWALL4", DVPTR(W_TECHWALL4), W_TECHWALL4__STATIC, W_TECHWALL4__STATICRR }, - { "W_TECHWALL10", DVPTR(W_TECHWALL10), W_TECHWALL10__STATIC, W_TECHWALL10__STATICRR }, - { "W_TECHWALL16", DVPTR(W_TECHWALL16), W_TECHWALL16__STATIC, W_TECHWALL16__STATICRR }, - { "WATERTILE2", DVPTR(WATERTILE2), WATERTILE2__STATIC, WATERTILE2__STATICRR }, - { "BPANNEL1", DVPTR(BPANNEL1), BPANNEL1__STATIC, BPANNEL1__STATICRR }, - { "PANNEL1", DVPTR(PANNEL1), PANNEL1__STATIC, PANNEL1__STATICRR }, - { "PANNEL2", DVPTR(PANNEL2), PANNEL2__STATIC, PANNEL2__STATICRR }, - { "WATERTILE", DVPTR(WATERTILE), WATERTILE__STATIC, WATERTILE__STATICRR }, - { "STATIC", DVPTR(STATIC), STATIC__STATIC, STATIC__STATICRR }, - { "W_SCREENBREAK", DVPTR(W_SCREENBREAK), W_SCREENBREAK__STATIC, W_SCREENBREAK__STATICRR }, - { "W_HITTECHWALL3", DVPTR(W_HITTECHWALL3), W_HITTECHWALL3__STATIC, W_HITTECHWALL3__STATICRR }, - { "W_HITTECHWALL4", DVPTR(W_HITTECHWALL4), W_HITTECHWALL4__STATIC, W_HITTECHWALL4__STATICRR }, - { "W_HITTECHWALL2", DVPTR(W_HITTECHWALL2), W_HITTECHWALL2__STATIC, W_HITTECHWALL2__STATICRR }, - { "W_HITTECHWALL1", DVPTR(W_HITTECHWALL1), W_HITTECHWALL1__STATIC, W_HITTECHWALL1__STATICRR }, - { "MASKWALL10", DVPTR(MASKWALL10), MASKWALL10__STATIC, MASKWALL10__STATICRR }, - { "MASKWALL11", DVPTR(MASKWALL11), MASKWALL11__STATIC, MASKWALL11__STATICRR }, - { "DOORTILE22", DVPTR(DOORTILE22), DOORTILE22__STATIC, DOORTILE22__STATICRR }, - { "FANSPRITE", DVPTR(FANSPRITE), FANSPRITE__STATIC, FANSPRITE__STATICRR }, - { "FANSPRITEBROKE", DVPTR(FANSPRITEBROKE), FANSPRITEBROKE__STATIC, FANSPRITEBROKE__STATICRR }, - { "FANSHADOW", DVPTR(FANSHADOW), FANSHADOW__STATIC, FANSHADOW__STATICRR }, - { "FANSHADOWBROKE", DVPTR(FANSHADOWBROKE), FANSHADOWBROKE__STATIC, FANSHADOWBROKE__STATICRR }, - { "DOORTILE18", DVPTR(DOORTILE18), DOORTILE18__STATIC, DOORTILE18__STATICRR }, - { "DOORTILE19", DVPTR(DOORTILE19), DOORTILE19__STATIC, DOORTILE19__STATICRR }, - { "DOORTILE20", DVPTR(DOORTILE20), DOORTILE20__STATIC, DOORTILE20__STATICRR }, - { "SATELLITE", DVPTR(SATELLITE), SATELLITE__STATIC, SATELLITE__STATICRR }, - { "VIEWSCREEN2", DVPTR(VIEWSCREEN2), VIEWSCREEN2__STATIC, VIEWSCREEN2__STATICRR }, - { "VIEWSCREENBROKE", DVPTR(VIEWSCREENBROKE), VIEWSCREENBROKE__STATIC, VIEWSCREENBROKE__STATICRR }, - { "VIEWSCREEN", DVPTR(VIEWSCREEN), VIEWSCREEN__STATIC, VIEWSCREEN__STATICRR }, - { "GLASS", DVPTR(GLASS), GLASS__STATIC, GLASS__STATICRR }, - { "GLASS2", DVPTR(GLASS2), GLASS2__STATIC, GLASS2__STATICRR }, - { "STAINGLASS1", DVPTR(STAINGLASS1), STAINGLASS1__STATIC, STAINGLASS1__STATICRR }, - { "MASKWALL5", DVPTR(MASKWALL5), MASKWALL5__STATIC, MASKWALL5__STATICRR }, - { "SATELITE", DVPTR(SATELITE), SATELITE__STATIC, SATELITE__STATICRR }, - { "FUELPOD", DVPTR(FUELPOD), FUELPOD__STATIC, FUELPOD__STATICRR }, - { "SLIMEPIPE", DVPTR(SLIMEPIPE), SLIMEPIPE__STATIC, SLIMEPIPE__STATICRR }, - { "CRACK1", DVPTR(CRACK1), CRACK1__STATIC, CRACK1__STATICRR }, - { "CRACK2", DVPTR(CRACK2), CRACK2__STATIC, CRACK2__STATICRR }, - { "CRACK3", DVPTR(CRACK3), CRACK3__STATIC, CRACK3__STATICRR }, - { "CRACK4", DVPTR(CRACK4), CRACK4__STATIC, CRACK4__STATICRR }, - { "FOOTPRINTS", DVPTR(FOOTPRINTS), FOOTPRINTS__STATIC, FOOTPRINTS__STATICRR }, - { "DOMELITE", DVPTR(DOMELITE), DOMELITE__STATIC, DOMELITE__STATICRR }, - { "CAMERAPOLE", DVPTR(CAMERAPOLE), CAMERAPOLE__STATIC, CAMERAPOLE__STATICRR }, - { "CHAIR1", DVPTR(CHAIR1), CHAIR1__STATIC, CHAIR1__STATICRR }, - { "CHAIR2", DVPTR(CHAIR2), CHAIR2__STATIC, CHAIR2__STATICRR }, - { "BROKENCHAIR", DVPTR(BROKENCHAIR), BROKENCHAIR__STATIC, BROKENCHAIR__STATICRR }, - { "MIRROR", DVPTR(MIRROR), MIRROR__STATIC, MIRROR__STATICRR }, - { "WATERFOUNTAIN", DVPTR(WATERFOUNTAIN), WATERFOUNTAIN__STATIC, WATERFOUNTAIN__STATICRR }, - { "WATERFOUNTAINBROKE", DVPTR(WATERFOUNTAINBROKE), WATERFOUNTAINBROKE__STATIC, WATERFOUNTAINBROKE__STATICRR }, - { "FEMMAG1", DVPTR(FEMMAG1), FEMMAG1__STATIC, FEMMAG1__STATICRR }, - { "TOILET", DVPTR(TOILET), TOILET__STATIC, TOILET__STATICRR }, - { "STALL", DVPTR(STALL), STALL__STATIC, STALL__STATICRR }, - { "STALLBROKE", DVPTR(STALLBROKE), STALLBROKE__STATIC, STALLBROKE__STATICRR }, - { "FEMMAG2", DVPTR(FEMMAG2), FEMMAG2__STATIC, FEMMAG2__STATICRR }, - { "REACTOR2", DVPTR(REACTOR2), REACTOR2__STATIC, REACTOR2__STATICRR }, - { "REACTOR2BURNT", DVPTR(REACTOR2BURNT), REACTOR2BURNT__STATIC, REACTOR2BURNT__STATICRR }, - { "REACTOR2SPARK", DVPTR(REACTOR2SPARK), REACTOR2SPARK__STATIC, REACTOR2SPARK__STATICRR }, - { "GRATE1", DVPTR(GRATE1), GRATE1__STATIC, GRATE1__STATICRR }, - { "BGRATE1", DVPTR(BGRATE1), BGRATE1__STATIC, BGRATE1__STATICRR }, - { "SOLARPANNEL", DVPTR(SOLARPANNEL), SOLARPANNEL__STATIC, SOLARPANNEL__STATICRR }, - { "NAKED1", DVPTR(NAKED1), NAKED1__STATIC, NAKED1__STATICRR }, - { "ANTENNA", DVPTR(ANTENNA), ANTENNA__STATIC, ANTENNA__STATICRR }, - { "MASKWALL12", DVPTR(MASKWALL12), MASKWALL12__STATIC, MASKWALL12__STATICRR }, - { "TOILETBROKE", DVPTR(TOILETBROKE), TOILETBROKE__STATIC, TOILETBROKE__STATICRR }, - { "PIPE2", DVPTR(PIPE2), PIPE2__STATIC, PIPE2__STATICRR }, - { "PIPE1B", DVPTR(PIPE1B), PIPE1B__STATIC, PIPE1B__STATICRR }, - { "PIPE3", DVPTR(PIPE3), PIPE3__STATIC, PIPE3__STATICRR }, - { "PIPE1", DVPTR(PIPE1), PIPE1__STATIC, PIPE1__STATICRR }, - { "CAMERA1", DVPTR(CAMERA1), CAMERA1__STATIC, CAMERA1__STATICRR }, - { "BRICK", DVPTR(BRICK), BRICK__STATIC, BRICK__STATICRR }, - { "SPLINTERWOOD", DVPTR(SPLINTERWOOD), SPLINTERWOOD__STATIC, SPLINTERWOOD__STATICRR }, - { "PIPE2B", DVPTR(PIPE2B), PIPE2B__STATIC, PIPE2B__STATICRR }, - { "BOLT1", DVPTR(BOLT1), BOLT1__STATIC, BOLT1__STATICRR }, - { "W_NUMBERS", DVPTR(W_NUMBERS), W_NUMBERS__STATIC, W_NUMBERS__STATICRR }, - { "WATERDRIP", DVPTR(WATERDRIP), WATERDRIP__STATIC, WATERDRIP__STATICRR }, - { "WATERBUBBLE", DVPTR(WATERBUBBLE), WATERBUBBLE__STATIC, WATERBUBBLE__STATICRR }, - { "WATERBUBBLEMAKER", DVPTR(WATERBUBBLEMAKER), WATERBUBBLEMAKER__STATIC, WATERBUBBLEMAKER__STATICRR }, - { "W_FORCEFIELD", DVPTR(W_FORCEFIELD), W_FORCEFIELD__STATIC, W_FORCEFIELD__STATICRR }, - { "VACUUM", DVPTR(VACUUM), VACUUM__STATIC, VACUUM__STATICRR }, - { "FOOTPRINTS2", DVPTR(FOOTPRINTS2), FOOTPRINTS2__STATIC, FOOTPRINTS2__STATICRR }, - { "FOOTPRINTS3", DVPTR(FOOTPRINTS3), FOOTPRINTS3__STATIC, FOOTPRINTS3__STATICRR }, - { "FOOTPRINTS4", DVPTR(FOOTPRINTS4), FOOTPRINTS4__STATIC, FOOTPRINTS4__STATICRR }, - { "EGG", DVPTR(EGG), EGG__STATIC, EGG__STATICRR }, - { "SCALE", DVPTR(SCALE), SCALE__STATIC, SCALE__STATICRR }, - { "CHAIR3", DVPTR(CHAIR3), CHAIR3__STATIC, CHAIR3__STATICRR }, - { "CAMERALIGHT", DVPTR(CAMERALIGHT), CAMERALIGHT__STATIC, CAMERALIGHT__STATICRR }, - { "MOVIECAMERA", DVPTR(MOVIECAMERA), MOVIECAMERA__STATIC, MOVIECAMERA__STATICRR }, - { "IVUNIT", DVPTR(IVUNIT), IVUNIT__STATIC, IVUNIT__STATICRR }, - { "POT1", DVPTR(POT1), POT1__STATIC, POT1__STATICRR }, - { "POT2", DVPTR(POT2), POT2__STATIC, POT2__STATICRR }, - { "POT3", DVPTR(POT3), POT3__STATIC, POT3__STATICRR }, - { "PIPE3B", DVPTR(PIPE3B), PIPE3B__STATIC, PIPE3B__STATICRR }, - { "WALLLIGHT3", DVPTR(WALLLIGHT3), WALLLIGHT3__STATIC, WALLLIGHT3__STATICRR }, - { "WALLLIGHTBUST3", DVPTR(WALLLIGHTBUST3), WALLLIGHTBUST3__STATIC, WALLLIGHTBUST3__STATICRR }, - { "WALLLIGHT1", DVPTR(WALLLIGHT1), WALLLIGHT1__STATIC, WALLLIGHT1__STATICRR }, - { "WALLLIGHTBUST1", DVPTR(WALLLIGHTBUST1), WALLLIGHTBUST1__STATIC, WALLLIGHTBUST1__STATICRR }, - { "WALLLIGHT2", DVPTR(WALLLIGHT2), WALLLIGHT2__STATIC, WALLLIGHT2__STATICRR }, - { "WALLLIGHTBUST2", DVPTR(WALLLIGHTBUST2), WALLLIGHTBUST2__STATIC, WALLLIGHTBUST2__STATICRR }, - { "LIGHTSWITCH2", DVPTR(LIGHTSWITCH2), LIGHTSWITCH2__STATIC, LIGHTSWITCH2__STATICRR }, - { "WAITTOBESEATED", DVPTR(WAITTOBESEATED), WAITTOBESEATED__STATIC, WAITTOBESEATED__STATICRR }, - { "DOORTILE14", DVPTR(DOORTILE14), DOORTILE14__STATIC, DOORTILE14__STATICRR }, - { "STATUE", DVPTR(STATUE), STATUE__STATIC, STATUE__STATICRR }, - { "MIKE", DVPTR(MIKE), MIKE__STATIC, MIKE__STATICRR }, - { "VASE", DVPTR(VASE), VASE__STATIC, VASE__STATICRR }, - { "SUSHIPLATE1", DVPTR(SUSHIPLATE1), SUSHIPLATE1__STATIC, SUSHIPLATE1__STATICRR }, - { "SUSHIPLATE2", DVPTR(SUSHIPLATE2), SUSHIPLATE2__STATIC, SUSHIPLATE2__STATICRR }, - { "SUSHIPLATE3", DVPTR(SUSHIPLATE3), SUSHIPLATE3__STATIC, SUSHIPLATE3__STATICRR }, - { "SUSHIPLATE4", DVPTR(SUSHIPLATE4), SUSHIPLATE4__STATIC, SUSHIPLATE4__STATICRR }, - { "DOORTILE16", DVPTR(DOORTILE16), DOORTILE16__STATIC, DOORTILE16__STATICRR }, - { "SUSHIPLATE5", DVPTR(SUSHIPLATE5), SUSHIPLATE5__STATIC, SUSHIPLATE5__STATICRR }, - { "OJ", DVPTR(OJ), OJ__STATIC, OJ__STATICRR }, - { "MASKWALL13", DVPTR(MASKWALL13), MASKWALL13__STATIC, MASKWALL13__STATICRR }, - { "HURTRAIL", DVPTR(HURTRAIL), HURTRAIL__STATIC, HURTRAIL__STATICRR }, - { "POWERSWITCH1", DVPTR(POWERSWITCH1), POWERSWITCH1__STATIC, POWERSWITCH1__STATICRR }, - { "LOCKSWITCH1", DVPTR(LOCKSWITCH1), LOCKSWITCH1__STATIC, LOCKSWITCH1__STATICRR }, - { "POWERSWITCH2", DVPTR(POWERSWITCH2), POWERSWITCH2__STATIC, POWERSWITCH2__STATICRR }, - { "ATM", DVPTR(ATM), ATM__STATIC, ATM__STATICRR }, - { "STATUEFLASH", DVPTR(STATUEFLASH), STATUEFLASH__STATIC, STATUEFLASH__STATICRR }, - { "ATMBROKE", DVPTR(ATMBROKE), ATMBROKE__STATIC, ATMBROKE__STATICRR }, - { "BIGHOLE2", DVPTR(BIGHOLE2), BIGHOLE2__STATIC, BIGHOLE2__STATICRR }, - { "STRIPEBALL", DVPTR(STRIPEBALL), STRIPEBALL__STATIC, STRIPEBALL__STATICRR }, - { "QUEBALL", DVPTR(QUEBALL), QUEBALL__STATIC, QUEBALL__STATICRR }, - { "POCKET", DVPTR(POCKET), POCKET__STATIC, POCKET__STATICRR }, - { "WOODENHORSE", DVPTR(WOODENHORSE), WOODENHORSE__STATIC, WOODENHORSE__STATICRR }, - { "TREE1", DVPTR(TREE1), TREE1__STATIC, TREE1__STATICRR }, - { "TREE2", DVPTR(TREE2), TREE2__STATIC, TREE2__STATICRR }, - { "CACTUS", DVPTR(CACTUS), CACTUS__STATIC, CACTUS__STATICRR }, - { "MASKWALL2", DVPTR(MASKWALL2), MASKWALL2__STATIC, MASKWALL2__STATICRR }, - { "MASKWALL3", DVPTR(MASKWALL3), MASKWALL3__STATIC, MASKWALL3__STATICRR }, - { "MASKWALL4", DVPTR(MASKWALL4), MASKWALL4__STATIC, MASKWALL4__STATICRR }, - { "FIREEXT", DVPTR(FIREEXT), FIREEXT__STATIC, FIREEXT__STATICRR }, - { "TOILETWATER", DVPTR(TOILETWATER), TOILETWATER__STATIC, TOILETWATER__STATICRR }, - { "NEON1", DVPTR(NEON1), NEON1__STATIC, NEON1__STATICRR }, - { "NEON2", DVPTR(NEON2), NEON2__STATIC, NEON2__STATICRR }, - { "CACTUSBROKE", DVPTR(CACTUSBROKE), CACTUSBROKE__STATIC, CACTUSBROKE__STATICRR }, - { "BOUNCEMINE", DVPTR(BOUNCEMINE), BOUNCEMINE__STATIC, BOUNCEMINE__STATICRR }, - { "BROKEFIREHYDRENT", DVPTR(BROKEFIREHYDRENT), BROKEFIREHYDRENT__STATIC, BROKEFIREHYDRENT__STATICRR }, - { "BOX", DVPTR(BOX), BOX__STATIC, BOX__STATICRR }, - { "BULLETHOLE", DVPTR(BULLETHOLE), BULLETHOLE__STATIC, BULLETHOLE__STATICRR }, - { "BOTTLE1", DVPTR(BOTTLE1), BOTTLE1__STATIC, BOTTLE1__STATICRR }, - { "BOTTLE2", DVPTR(BOTTLE2), BOTTLE2__STATIC, BOTTLE2__STATICRR }, - { "BOTTLE3", DVPTR(BOTTLE3), BOTTLE3__STATIC, BOTTLE3__STATICRR }, - { "BOTTLE4", DVPTR(BOTTLE4), BOTTLE4__STATIC, BOTTLE4__STATICRR }, - { "FEMPIC5", DVPTR(FEMPIC5), FEMPIC5__STATIC, FEMPIC5__STATICRR }, - { "FEMPIC6", DVPTR(FEMPIC6), FEMPIC6__STATIC, FEMPIC6__STATICRR }, - { "FEMPIC7", DVPTR(FEMPIC7), FEMPIC7__STATIC, FEMPIC7__STATICRR }, - { "HYDROPLANT", DVPTR(HYDROPLANT), HYDROPLANT__STATIC, HYDROPLANT__STATICRR }, - { "OCEANSPRITE1", DVPTR(OCEANSPRITE1), OCEANSPRITE1__STATIC, OCEANSPRITE1__STATICRR }, - { "OCEANSPRITE2", DVPTR(OCEANSPRITE2), OCEANSPRITE2__STATIC, OCEANSPRITE2__STATICRR }, - { "OCEANSPRITE3", DVPTR(OCEANSPRITE3), OCEANSPRITE3__STATIC, OCEANSPRITE3__STATICRR }, - { "OCEANSPRITE4", DVPTR(OCEANSPRITE4), OCEANSPRITE4__STATIC, OCEANSPRITE4__STATICRR }, - { "OCEANSPRITE5", DVPTR(OCEANSPRITE5), OCEANSPRITE5__STATIC, OCEANSPRITE5__STATICRR }, - { "GENERICPOLE", DVPTR(GENERICPOLE), GENERICPOLE__STATIC, GENERICPOLE__STATICRR }, - { "CONE", DVPTR(CONE), CONE__STATIC, CONE__STATICRR }, - { "HANGLIGHT", DVPTR(HANGLIGHT), HANGLIGHT__STATIC, HANGLIGHT__STATICRR }, - { "HYDRENT", DVPTR(HYDRENT), HYDRENT__STATIC, HYDRENT__STATICRR }, - { "MASKWALL14", DVPTR(MASKWALL14), MASKWALL14__STATIC, MASKWALL14__STATICRR }, - { "TIRE", DVPTR(TIRE), TIRE__STATIC, TIRE__STATICRR }, - { "PIPE5", DVPTR(PIPE5), PIPE5__STATIC, PIPE5__STATICRR }, - { "PIPE6", DVPTR(PIPE6), PIPE6__STATIC, PIPE6__STATICRR }, - { "PIPE4", DVPTR(PIPE4), PIPE4__STATIC, PIPE4__STATICRR }, - { "PIPE4B", DVPTR(PIPE4B), PIPE4B__STATIC, PIPE4B__STATICRR }, - { "BROKEHYDROPLANT", DVPTR(BROKEHYDROPLANT), BROKEHYDROPLANT__STATIC, BROKEHYDROPLANT__STATICRR }, - { "PIPE5B", DVPTR(PIPE5B), PIPE5B__STATIC, PIPE5B__STATICRR }, - { "NEON3", DVPTR(NEON3), NEON3__STATIC, NEON3__STATICRR }, - { "NEON4", DVPTR(NEON4), NEON4__STATIC, NEON4__STATICRR }, - { "NEON5", DVPTR(NEON5), NEON5__STATIC, NEON5__STATICRR }, - { "BOTTLE5", DVPTR(BOTTLE5), BOTTLE5__STATIC, BOTTLE5__STATICRR }, - { "BOTTLE6", DVPTR(BOTTLE6), BOTTLE6__STATIC, BOTTLE6__STATICRR }, - { "BOTTLE8", DVPTR(BOTTLE8), BOTTLE8__STATIC, BOTTLE8__STATICRR }, - { "SPOTLITE", DVPTR(SPOTLITE), SPOTLITE__STATIC, SPOTLITE__STATICRR }, - { "HANGOOZ", DVPTR(HANGOOZ), HANGOOZ__STATIC, HANGOOZ__STATICRR }, - { "MASKWALL15", DVPTR(MASKWALL15), MASKWALL15__STATIC, MASKWALL15__STATICRR }, - { "BOTTLE7", DVPTR(BOTTLE7), BOTTLE7__STATIC, BOTTLE7__STATICRR }, - { "HORSEONSIDE", DVPTR(HORSEONSIDE), HORSEONSIDE__STATIC, HORSEONSIDE__STATICRR }, - { "GLASSPIECES", DVPTR(GLASSPIECES), GLASSPIECES__STATIC, GLASSPIECES__STATICRR }, - { "HORSELITE", DVPTR(HORSELITE), HORSELITE__STATIC, HORSELITE__STATICRR }, - { "DONUTS", DVPTR(DONUTS), DONUTS__STATIC, DONUTS__STATICRR }, - { "NEON6", DVPTR(NEON6), NEON6__STATIC, NEON6__STATICRR }, - { "MASKWALL6", DVPTR(MASKWALL6), MASKWALL6__STATIC, MASKWALL6__STATICRR }, - { "CLOCK", DVPTR(CLOCK), CLOCK__STATIC, CLOCK__STATICRR }, - { "RUBBERCAN", DVPTR(RUBBERCAN), RUBBERCAN__STATIC, RUBBERCAN__STATICRR }, - { "BROKENCLOCK", DVPTR(BROKENCLOCK), BROKENCLOCK__STATIC, BROKENCLOCK__STATICRR }, - { "PLUG", DVPTR(PLUG), PLUG__STATIC, PLUG__STATICRR }, - { "OOZFILTER", DVPTR(OOZFILTER), OOZFILTER__STATIC, OOZFILTER__STATICRR }, - { "FLOORPLASMA", DVPTR(FLOORPLASMA), FLOORPLASMA__STATIC, FLOORPLASMA__STATICRR }, - { "REACTOR", DVPTR(REACTOR), REACTOR__STATIC, REACTOR__STATICRR }, - { "REACTORSPARK", DVPTR(REACTORSPARK), REACTORSPARK__STATIC, REACTORSPARK__STATICRR }, - { "REACTORBURNT", DVPTR(REACTORBURNT), REACTORBURNT__STATIC, REACTORBURNT__STATICRR }, - { "DOORTILE15", DVPTR(DOORTILE15), DOORTILE15__STATIC, DOORTILE15__STATICRR }, - { "HANDSWITCH", DVPTR(HANDSWITCH), HANDSWITCH__STATIC, HANDSWITCH__STATICRR }, - { "CIRCLEPANNEL", DVPTR(CIRCLEPANNEL), CIRCLEPANNEL__STATIC, CIRCLEPANNEL__STATICRR }, - { "CIRCLEPANNELBROKE", DVPTR(CIRCLEPANNELBROKE), CIRCLEPANNELBROKE__STATIC, CIRCLEPANNELBROKE__STATICRR }, - { "PULLSWITCH", DVPTR(PULLSWITCH), PULLSWITCH__STATIC, PULLSWITCH__STATICRR }, - { "MASKWALL8", DVPTR(MASKWALL8), MASKWALL8__STATIC, MASKWALL8__STATICRR }, - { "BIGHOLE", DVPTR(BIGHOLE), BIGHOLE__STATIC, BIGHOLE__STATICRR }, - { "ALIENSWITCH", DVPTR(ALIENSWITCH), ALIENSWITCH__STATIC, ALIENSWITCH__STATICRR }, - { "DOORTILE21", DVPTR(DOORTILE21), DOORTILE21__STATIC, DOORTILE21__STATICRR }, - { "HANDPRINTSWITCH", DVPTR(HANDPRINTSWITCH), HANDPRINTSWITCH__STATIC, HANDPRINTSWITCH__STATICRR }, - { "BOTTLE10", DVPTR(BOTTLE10), BOTTLE10__STATIC, BOTTLE10__STATICRR }, - { "BOTTLE11", DVPTR(BOTTLE11), BOTTLE11__STATIC, BOTTLE11__STATICRR }, - { "BOTTLE12", DVPTR(BOTTLE12), BOTTLE12__STATIC, BOTTLE12__STATICRR }, - { "BOTTLE13", DVPTR(BOTTLE13), BOTTLE13__STATIC, BOTTLE13__STATICRR }, - { "BOTTLE14", DVPTR(BOTTLE14), BOTTLE14__STATIC, BOTTLE14__STATICRR }, - { "BOTTLE15", DVPTR(BOTTLE15), BOTTLE15__STATIC, BOTTLE15__STATICRR }, - { "BOTTLE16", DVPTR(BOTTLE16), BOTTLE16__STATIC, BOTTLE16__STATICRR }, - { "BOTTLE17", DVPTR(BOTTLE17), BOTTLE17__STATIC, BOTTLE17__STATICRR }, - { "BOTTLE18", DVPTR(BOTTLE18), BOTTLE18__STATIC, BOTTLE18__STATICRR }, - { "BOTTLE19", DVPTR(BOTTLE19), BOTTLE19__STATIC, BOTTLE19__STATICRR }, - { "DOORTILE17", DVPTR(DOORTILE17), DOORTILE17__STATIC, DOORTILE17__STATICRR }, - { "MASKWALL7", DVPTR(MASKWALL7), MASKWALL7__STATIC, MASKWALL7__STATICRR }, - { "JAILBARBREAK", DVPTR(JAILBARBREAK), JAILBARBREAK__STATIC, JAILBARBREAK__STATICRR }, - { "DOORTILE11", DVPTR(DOORTILE11), DOORTILE11__STATIC, DOORTILE11__STATICRR }, - { "DOORTILE12", DVPTR(DOORTILE12), DOORTILE12__STATIC, DOORTILE12__STATICRR }, - { "VENDMACHINE", DVPTR(VENDMACHINE), VENDMACHINE__STATIC, VENDMACHINE__STATICRR }, - { "VENDMACHINEBROKE", DVPTR(VENDMACHINEBROKE), VENDMACHINEBROKE__STATIC, VENDMACHINEBROKE__STATICRR }, - { "COLAMACHINE", DVPTR(COLAMACHINE), COLAMACHINE__STATIC, COLAMACHINE__STATICRR }, - { "COLAMACHINEBROKE", DVPTR(COLAMACHINEBROKE), COLAMACHINEBROKE__STATIC, COLAMACHINEBROKE__STATICRR }, - { "CRANEPOLE", DVPTR(CRANEPOLE), CRANEPOLE__STATIC, CRANEPOLE__STATICRR }, - { "CRANE", DVPTR(CRANE), CRANE__STATIC, CRANE__STATICRR }, - { "BARBROKE", DVPTR(BARBROKE), BARBROKE__STATIC, BARBROKE__STATICRR }, - { "BLOODPOOL", DVPTR(BLOODPOOL), BLOODPOOL__STATIC, BLOODPOOL__STATICRR }, - { "NUKEBARREL", DVPTR(NUKEBARREL), NUKEBARREL__STATIC, NUKEBARREL__STATICRR }, - { "NUKEBARRELDENTED", DVPTR(NUKEBARRELDENTED), NUKEBARRELDENTED__STATIC, NUKEBARRELDENTED__STATICRR }, - { "NUKEBARRELLEAKED", DVPTR(NUKEBARRELLEAKED), NUKEBARRELLEAKED__STATIC, NUKEBARRELLEAKED__STATICRR }, - { "CANWITHSOMETHING", DVPTR(CANWITHSOMETHING), CANWITHSOMETHING__STATIC, CANWITHSOMETHING__STATICRR }, - { "MONEY", DVPTR(MONEY), MONEY__STATIC, MONEY__STATICRR }, - { "BANNER", DVPTR(BANNER), BANNER__STATIC, BANNER__STATICRR }, - { "EXPLODINGBARREL", DVPTR(EXPLODINGBARREL), EXPLODINGBARREL__STATIC, EXPLODINGBARREL__STATICRR }, - { "EXPLODINGBARREL2", DVPTR(EXPLODINGBARREL2), EXPLODINGBARREL2__STATIC, EXPLODINGBARREL2__STATICRR }, - { "FIREBARREL", DVPTR(FIREBARREL), FIREBARREL__STATIC, FIREBARREL__STATICRR }, - { "SEENINE", DVPTR(SEENINE), SEENINE__STATIC, SEENINE__STATICRR }, - { "SEENINEDEAD", DVPTR(SEENINEDEAD), SEENINEDEAD__STATIC, SEENINEDEAD__STATICRR }, - { "STEAM", DVPTR(STEAM), STEAM__STATIC, STEAM__STATICRR }, - { "CEILINGSTEAM", DVPTR(CEILINGSTEAM), CEILINGSTEAM__STATIC, CEILINGSTEAM__STATICRR }, - { "PIPE6B", DVPTR(PIPE6B), PIPE6B__STATIC, PIPE6B__STATICRR }, - { "TRANSPORTERBEAM", DVPTR(TRANSPORTERBEAM), TRANSPORTERBEAM__STATIC, TRANSPORTERBEAM__STATICRR }, - { "RAT", DVPTR(RAT), RAT__STATIC, RAT__STATICRR }, - { "TRASH", DVPTR(TRASH), TRASH__STATIC, TRASH__STATICRR }, - { "FEMPIC1", DVPTR(FEMPIC1), FEMPIC1__STATIC, FEMPIC1__STATICRR }, - { "FEMPIC2", DVPTR(FEMPIC2), FEMPIC2__STATIC, FEMPIC2__STATICRR }, - { "BLANKSCREEN", DVPTR(BLANKSCREEN), BLANKSCREEN__STATIC, BLANKSCREEN__STATICRR }, - { "PODFEM1", DVPTR(PODFEM1), PODFEM1__STATIC, PODFEM1__STATICRR }, - { "FEMPIC3", DVPTR(FEMPIC3), FEMPIC3__STATIC, FEMPIC3__STATICRR }, - { "FEMPIC4", DVPTR(FEMPIC4), FEMPIC4__STATIC, FEMPIC4__STATICRR }, - { "FEM1", DVPTR(FEM1), FEM1__STATIC, FEM1__STATICRR }, - { "FEM2", DVPTR(FEM2), FEM2__STATIC, FEM2__STATICRR }, - { "FEM3", DVPTR(FEM3), FEM3__STATIC, FEM3__STATICRR }, - { "FEM5", DVPTR(FEM5), FEM5__STATIC, FEM5__STATICRR }, - { "BLOODYPOLE", DVPTR(BLOODYPOLE), BLOODYPOLE__STATIC, BLOODYPOLE__STATICRR }, - { "FEM4", DVPTR(FEM4), FEM4__STATIC, FEM4__STATICRR }, - { "FEM6", DVPTR(FEM6), FEM6__STATIC, FEM6__STATICRR }, - { "FEM6PAD", DVPTR(FEM6PAD), FEM6PAD__STATIC, FEM6PAD__STATICRR }, - { "FEM8", DVPTR(FEM8), FEM8__STATIC, FEM8__STATICRR }, - { "HELECOPT", DVPTR(HELECOPT), HELECOPT__STATIC, HELECOPT__STATICRR }, - { "FETUSJIB", DVPTR(FETUSJIB), FETUSJIB__STATIC, FETUSJIB__STATICRR }, - { "HOLODUKE", DVPTR(HOLODUKE), HOLODUKE__STATIC, HOLODUKE__STATICRR }, - { "SPACEMARINE", DVPTR(SPACEMARINE), SPACEMARINE__STATIC, SPACEMARINE__STATICRR }, - { "INDY", DVPTR(INDY), INDY__STATIC, INDY__STATICRR }, - { "FETUS", DVPTR(FETUS), FETUS__STATIC, FETUS__STATICRR }, - { "FETUSBROKE", DVPTR(FETUSBROKE), FETUSBROKE__STATIC, FETUSBROKE__STATICRR }, - { "MONK", DVPTR(MONK), MONK__STATIC, MONK__STATICRR }, - { "LUKE", DVPTR(LUKE), LUKE__STATIC, LUKE__STATICRR }, - { "COOLEXPLOSION1", DVPTR(COOLEXPLOSION1), COOLEXPLOSION1__STATIC, COOLEXPLOSION1__STATICRR }, - { "WATERSPLASH2", DVPTR(WATERSPLASH2), WATERSPLASH2__STATIC, WATERSPLASH2__STATICRR }, - { "FIREVASE", DVPTR(FIREVASE), FIREVASE__STATIC, FIREVASE__STATICRR }, - { "SCRATCH", DVPTR(SCRATCH), SCRATCH__STATIC, SCRATCH__STATICRR }, - { "FEM7", DVPTR(FEM7), FEM7__STATIC, FEM7__STATICRR }, - { "APLAYERTOP", DVPTR(APLAYERTOP), APLAYERTOP__STATIC, APLAYERTOP__STATICRR }, - { "APLAYER", DVPTR(APLAYER), APLAYER__STATIC, APLAYER__STATICRR }, - { "PLAYERONWATER", DVPTR(PLAYERONWATER), PLAYERONWATER__STATIC, PLAYERONWATER__STATICRR }, - { "DUKELYINGDEAD", DVPTR(DUKELYINGDEAD), DUKELYINGDEAD__STATIC, DUKELYINGDEAD__STATICRR }, - { "DUKETORSO", DVPTR(DUKETORSO), DUKETORSO__STATIC, DUKETORSO__STATICRR }, - { "DUKEGUN", DVPTR(DUKEGUN), DUKEGUN__STATIC, DUKEGUN__STATICRR }, - { "DUKELEG", DVPTR(DUKELEG), DUKELEG__STATIC, DUKELEG__STATICRR }, - { "SHARK", DVPTR(SHARK), SHARK__STATIC, SHARK__STATICRR }, - { "BLOOD", DVPTR(BLOOD), BLOOD__STATIC, BLOOD__STATICRR }, - { "FIRELASER", DVPTR(FIRELASER), FIRELASER__STATIC, FIRELASER__STATICRR }, - { "TRANSPORTERSTAR", DVPTR(TRANSPORTERSTAR), TRANSPORTERSTAR__STATIC, TRANSPORTERSTAR__STATICRR }, - { "SPIT", DVPTR(SPIT), SPIT__STATIC, SPIT__STATICRR }, - { "LOOGIE", DVPTR(LOOGIE), LOOGIE__STATIC, LOOGIE__STATICRR }, - { "FIST", DVPTR(FIST), FIST__STATIC, FIST__STATICRR }, - { "FREEZEBLAST", DVPTR(FREEZEBLAST), FREEZEBLAST__STATIC, FREEZEBLAST__STATICRR }, - { "DEVISTATORBLAST", DVPTR(DEVISTATORBLAST), DEVISTATORBLAST__STATIC, DEVISTATORBLAST__STATICRR }, - { "SHRINKSPARK", DVPTR(SHRINKSPARK), SHRINKSPARK__STATIC, SHRINKSPARK__STATICRR }, - { "TONGUE", DVPTR(TONGUE), TONGUE__STATIC, TONGUE__STATICRR }, - { "MORTER", DVPTR(MORTER), MORTER__STATIC, MORTER__STATICRR }, - { "SHRINKEREXPLOSION", DVPTR(SHRINKEREXPLOSION), SHRINKEREXPLOSION__STATIC, SHRINKEREXPLOSION__STATICRR }, - { "RADIUSEXPLOSION", DVPTR(RADIUSEXPLOSION), RADIUSEXPLOSION__STATIC, RADIUSEXPLOSION__STATICRR }, - { "FORCERIPPLE", DVPTR(FORCERIPPLE), FORCERIPPLE__STATIC, FORCERIPPLE__STATICRR }, - { "LIZTROOP", DVPTR(LIZTROOP), LIZTROOP__STATIC, 0 }, - { "LIZTROOPRUNNING", DVPTR(LIZTROOPRUNNING), LIZTROOPRUNNING__STATIC, 0 }, - { "LIZTROOPSTAYPUT", DVPTR(LIZTROOPSTAYPUT), LIZTROOPSTAYPUT__STATIC, 0 }, - { "LIZTOP", DVPTR(LIZTOP), LIZTOP__STATIC, 0 }, - { "LIZTROOPSHOOT", DVPTR(LIZTROOPSHOOT), LIZTROOPSHOOT__STATIC, 0 }, - { "LIZTROOPJETPACK", DVPTR(LIZTROOPJETPACK), LIZTROOPJETPACK__STATIC, 0 }, - { "LIZTROOPDSPRITE", DVPTR(LIZTROOPDSPRITE), LIZTROOPDSPRITE__STATIC, 0 }, - { "LIZTROOPONTOILET", DVPTR(LIZTROOPONTOILET), LIZTROOPONTOILET__STATIC, 0 }, - { "LIZTROOPJUSTSIT", DVPTR(LIZTROOPJUSTSIT), LIZTROOPJUSTSIT__STATIC, 0 }, - { "LIZTROOPDUCKING", DVPTR(LIZTROOPDUCKING), LIZTROOPDUCKING__STATIC, 0 }, - { "HEADJIB1", DVPTR(HEADJIB1), HEADJIB1__STATIC, 0 }, - { "ARMJIB1", DVPTR(ARMJIB1), ARMJIB1__STATIC, 0 }, - { "LEGJIB1", DVPTR(LEGJIB1), LEGJIB1__STATIC, 0 }, - { "CANNONBALL", DVPTR(CANNONBALL), CANNONBALL__STATIC, CANNONBALL__STATICRR }, - { "OCTABRAIN", DVPTR(OCTABRAIN), OCTABRAIN__STATIC, 0 }, - { "OCTABRAINSTAYPUT", DVPTR(OCTABRAINSTAYPUT), OCTABRAINSTAYPUT__STATIC, 0 }, - { "OCTATOP", DVPTR(OCTATOP), OCTATOP__STATIC, 0 }, - { "OCTADEADSPRITE", DVPTR(OCTADEADSPRITE), OCTADEADSPRITE__STATIC, 0 }, - { "INNERJAW", DVPTR(INNERJAW), INNERJAW__STATIC, INNERJAW__STATICRR }, - { "DRONE", DVPTR(DRONE), DRONE__STATIC, DRONE__STATICRR }, - { "EXPLOSION2", DVPTR(EXPLOSION2), EXPLOSION2__STATIC, EXPLOSION2__STATICRR }, - { "COMMANDER", DVPTR(COMMANDER), COMMANDER__STATIC, 0 }, - { "COMMANDERSTAYPUT", DVPTR(COMMANDERSTAYPUT), COMMANDERSTAYPUT__STATIC, 0 }, - { "RECON", DVPTR(RECON), RECON__STATIC, RECON__STATICRR }, - { "TANK", DVPTR(TANK), TANK__STATIC, 0 }, - { "PIGCOP", DVPTR(PIGCOP), PIGCOP__STATIC, 0 }, - { "PIGCOPSTAYPUT", DVPTR(PIGCOPSTAYPUT), PIGCOPSTAYPUT__STATIC, 0 }, - { "PIGCOPDIVE", DVPTR(PIGCOPDIVE), PIGCOPDIVE__STATIC, 0 }, - { "PIGCOPDEADSPRITE", DVPTR(PIGCOPDEADSPRITE), PIGCOPDEADSPRITE__STATIC, 0 }, - { "PIGTOP", DVPTR(PIGTOP), PIGTOP__STATIC, 0 }, - { "LIZMAN", DVPTR(LIZMAN), LIZMAN__STATIC, 0 }, - { "LIZMANSTAYPUT", DVPTR(LIZMANSTAYPUT), LIZMANSTAYPUT__STATIC, 0 }, - { "LIZMANSPITTING", DVPTR(LIZMANSPITTING), LIZMANSPITTING__STATIC, 0 }, - { "LIZMANFEEDING", DVPTR(LIZMANFEEDING), LIZMANFEEDING__STATIC, 0 }, - { "LIZMANJUMP", DVPTR(LIZMANJUMP), LIZMANJUMP__STATIC, 0 }, - { "LIZMANDEADSPRITE", DVPTR(LIZMANDEADSPRITE), LIZMANDEADSPRITE__STATIC, 0 }, - { "FECES", DVPTR(FECES), FECES__STATIC, FECES__STATICRR }, - { "LIZMANHEAD1", DVPTR(LIZMANHEAD1), LIZMANHEAD1__STATIC, 0 }, - { "LIZMANARM1", DVPTR(LIZMANARM1), LIZMANARM1__STATIC, 0 }, - { "LIZMANLEG1", DVPTR(LIZMANLEG1), LIZMANLEG1__STATIC, 0 }, - { "EXPLOSION2BOT", DVPTR(EXPLOSION2BOT), EXPLOSION2BOT__STATIC, EXPLOSION2BOT__STATICRR }, - { "USERWEAPON", DVPTR(USERWEAPON), USERWEAPON__STATIC, USERWEAPON__STATICRR }, - { "HEADERBAR", DVPTR(HEADERBAR), HEADERBAR__STATIC, HEADERBAR__STATICRR }, - { "JIBS1", DVPTR(JIBS1), JIBS1__STATIC, JIBS1__STATICRR }, - { "JIBS2", DVPTR(JIBS2), JIBS2__STATIC, JIBS2__STATICRR }, - { "JIBS3", DVPTR(JIBS3), JIBS3__STATIC, JIBS3__STATICRR }, - { "JIBS4", DVPTR(JIBS4), JIBS4__STATIC, JIBS4__STATICRR }, - { "JIBS5", DVPTR(JIBS5), JIBS5__STATIC, JIBS5__STATICRR }, - { "BURNING", DVPTR(BURNING), BURNING__STATIC, BURNING__STATICRR }, - { "FIRE", DVPTR(FIRE), FIRE__STATIC, FIRE__STATICRR }, - { "JIBS6", DVPTR(JIBS6), JIBS6__STATIC, JIBS6__STATICRR }, - { "BLOODSPLAT1", DVPTR(BLOODSPLAT1), BLOODSPLAT1__STATIC, BLOODSPLAT1__STATICRR }, - { "BLOODSPLAT3", DVPTR(BLOODSPLAT3), BLOODSPLAT3__STATIC, BLOODSPLAT3__STATICRR }, - { "BLOODSPLAT2", DVPTR(BLOODSPLAT2), BLOODSPLAT2__STATIC, BLOODSPLAT2__STATICRR }, - { "BLOODSPLAT4", DVPTR(BLOODSPLAT4), BLOODSPLAT4__STATIC, BLOODSPLAT4__STATICRR }, - { "OOZ", DVPTR(OOZ), OOZ__STATIC, OOZ__STATICRR }, - { "OOZ2", DVPTR(OOZ2), OOZ2__STATIC, OOZ2__STATICRR }, - { "WALLBLOOD1", DVPTR(WALLBLOOD1), WALLBLOOD1__STATIC, WALLBLOOD1__STATICRR }, - { "WALLBLOOD2", DVPTR(WALLBLOOD2), WALLBLOOD2__STATIC, WALLBLOOD2__STATICRR }, - { "WALLBLOOD3", DVPTR(WALLBLOOD3), WALLBLOOD3__STATIC, WALLBLOOD3__STATICRR }, - { "WALLBLOOD4", DVPTR(WALLBLOOD4), WALLBLOOD4__STATIC, WALLBLOOD4__STATICRR }, - { "WALLBLOOD5", DVPTR(WALLBLOOD5), WALLBLOOD5__STATIC, WALLBLOOD5__STATICRR }, - { "WALLBLOOD6", DVPTR(WALLBLOOD6), WALLBLOOD6__STATIC, WALLBLOOD6__STATICRR }, - { "WALLBLOOD7", DVPTR(WALLBLOOD7), WALLBLOOD7__STATIC, WALLBLOOD7__STATICRR }, - { "WALLBLOOD8", DVPTR(WALLBLOOD8), WALLBLOOD8__STATIC, WALLBLOOD8__STATICRR }, - { "BURNING2", DVPTR(BURNING2), BURNING2__STATIC, BURNING2__STATICRR }, - { "FIRE2", DVPTR(FIRE2), FIRE2__STATIC, FIRE2__STATICRR }, - { "CRACKKNUCKLES", DVPTR(CRACKKNUCKLES), CRACKKNUCKLES__STATIC, CRACKKNUCKLES__STATICRR }, - { "SMALLSMOKE", DVPTR(SMALLSMOKE), SMALLSMOKE__STATIC, SMALLSMOKE__STATICRR }, - { "SMALLSMOKEMAKER", DVPTR(SMALLSMOKEMAKER), SMALLSMOKEMAKER__STATIC, SMALLSMOKEMAKER__STATICRR }, - { "FLOORFLAME", DVPTR(FLOORFLAME), FLOORFLAME__STATIC, FLOORFLAME__STATICRR }, - { "ROTATEGUN", DVPTR(ROTATEGUN), ROTATEGUN__STATIC, ROTATEGUN__STATICRR }, - { "GREENSLIME", DVPTR(GREENSLIME), GREENSLIME__STATIC, GREENSLIME__STATICRR }, - { "WATERDRIPSPLASH", DVPTR(WATERDRIPSPLASH), WATERDRIPSPLASH__STATIC, WATERDRIPSPLASH__STATICRR }, - { "SCRAP6", DVPTR(SCRAP6), SCRAP6__STATIC, SCRAP6__STATICRR }, - { "SCRAP1", DVPTR(SCRAP1), SCRAP1__STATIC, SCRAP1__STATICRR }, - { "SCRAP2", DVPTR(SCRAP2), SCRAP2__STATIC, SCRAP2__STATICRR }, - { "SCRAP3", DVPTR(SCRAP3), SCRAP3__STATIC, SCRAP3__STATICRR }, - { "SCRAP4", DVPTR(SCRAP4), SCRAP4__STATIC, SCRAP4__STATICRR }, - { "SCRAP5", DVPTR(SCRAP5), SCRAP5__STATIC, SCRAP5__STATICRR }, - { "ORGANTIC", DVPTR(ORGANTIC), ORGANTIC__STATIC, ORGANTIC__STATICRR }, - { "BETAVERSION", DVPTR(BETAVERSION), BETAVERSION__STATIC, BETAVERSION__STATICRR }, - { "PLAYERISHERE", DVPTR(PLAYERISHERE), PLAYERISHERE__STATIC, PLAYERISHERE__STATICRR }, - { "PLAYERWASHERE", DVPTR(PLAYERWASHERE), PLAYERWASHERE__STATIC, PLAYERWASHERE__STATICRR }, - { "SELECTDIR", DVPTR(SELECTDIR), SELECTDIR__STATIC, SELECTDIR__STATICRR }, - { "F1HELP", DVPTR(F1HELP), F1HELP__STATIC, F1HELP__STATICRR }, - { "NOTCHON", DVPTR(NOTCHON), NOTCHON__STATIC, NOTCHON__STATICRR }, - { "NOTCHOFF", DVPTR(NOTCHOFF), NOTCHOFF__STATIC, NOTCHOFF__STATICRR }, - { "GROWSPARK", DVPTR(GROWSPARK), GROWSPARK__STATIC, GROWSPARK__STATICRR }, - { "DUKEICON", DVPTR(DUKEICON), DUKEICON__STATIC, DUKEICON__STATICRR }, - { "BADGUYICON", DVPTR(BADGUYICON), BADGUYICON__STATIC, BADGUYICON__STATICRR }, - { "FOODICON", DVPTR(FOODICON), FOODICON__STATIC, FOODICON__STATICRR }, - { "GETICON", DVPTR(GETICON), GETICON__STATIC, GETICON__STATICRR }, - { "MENUSCREEN", DVPTR(MENUSCREEN), MENUSCREEN__STATIC, MENUSCREEN__STATICRR }, - { "MENUBAR", DVPTR(MENUBAR), MENUBAR__STATIC, MENUBAR__STATICRR }, - { "KILLSICON", DVPTR(KILLSICON), KILLSICON__STATIC, KILLSICON__STATICRR }, - { "FIRSTAID_ICON", DVPTR(FIRSTAID_ICON), FIRSTAID_ICON__STATIC, FIRSTAID_ICON__STATICRR }, - { "HEAT_ICON", DVPTR(HEAT_ICON), HEAT_ICON__STATIC, HEAT_ICON__STATICRR }, - { "BOTTOMSTATUSBAR", DVPTR(BOTTOMSTATUSBAR), BOTTOMSTATUSBAR__STATIC, BOTTOMSTATUSBAR__STATICRR }, - { "BOOT_ICON", DVPTR(BOOT_ICON), BOOT_ICON__STATIC, BOOT_ICON__STATICRR }, - { "FRAGBAR", DVPTR(FRAGBAR), FRAGBAR__STATIC, FRAGBAR__STATICRR }, - { "JETPACK_ICON", DVPTR(JETPACK_ICON), JETPACK_ICON__STATIC, JETPACK_ICON__STATICRR }, - { "AIRTANK_ICON", DVPTR(AIRTANK_ICON), AIRTANK_ICON__STATIC, AIRTANK_ICON__STATICRR }, - { "STEROIDS_ICON", DVPTR(STEROIDS_ICON), STEROIDS_ICON__STATIC, STEROIDS_ICON__STATICRR }, - { "HOLODUKE_ICON", DVPTR(HOLODUKE_ICON), HOLODUKE_ICON__STATIC, HOLODUKE_ICON__STATICRR }, - { "ACCESS_ICON", DVPTR(ACCESS_ICON), ACCESS_ICON__STATIC, ACCESS_ICON__STATICRR }, - { "DIGITALNUM", DVPTR(DIGITALNUM), DIGITALNUM__STATIC, DIGITALNUM__STATICRR }, - { "DUKECAR", DVPTR(DUKECAR), DUKECAR__STATIC, DUKECAR__STATICRR }, - { "CAMCORNER", DVPTR(CAMCORNER), CAMCORNER__STATIC, CAMCORNER__STATICRR }, - { "CAMLIGHT", DVPTR(CAMLIGHT), CAMLIGHT__STATIC, CAMLIGHT__STATICRR }, - { "LOGO", DVPTR(LOGO), LOGO__STATIC, LOGO__STATICRR }, - { "TITLE", DVPTR(TITLE), TITLE__STATIC, TITLE__STATICRR }, - { "NUKEWARNINGICON", DVPTR(NUKEWARNINGICON), NUKEWARNINGICON__STATIC, NUKEWARNINGICON__STATICRR }, - { "MOUSECURSOR", DVPTR(MOUSECURSOR), MOUSECURSOR__STATIC, MOUSECURSOR__STATICRR }, - { "SLIDEBAR", DVPTR(SLIDEBAR), SLIDEBAR__STATIC, SLIDEBAR__STATICRR }, - { "DREALMS", DVPTR(DREALMS), DREALMS__STATIC, DREALMS__STATICRR }, - { "BETASCREEN", DVPTR(BETASCREEN), BETASCREEN__STATIC, BETASCREEN__STATICRR }, - { "WINDOWBORDER1", DVPTR(WINDOWBORDER1), WINDOWBORDER1__STATIC, WINDOWBORDER1__STATICRR }, - { "TEXTBOX", DVPTR(TEXTBOX), TEXTBOX__STATIC, TEXTBOX__STATICRR }, - { "WINDOWBORDER2", DVPTR(WINDOWBORDER2), WINDOWBORDER2__STATIC, WINDOWBORDER2__STATICRR }, - { "DUKENUKEM", DVPTR(DUKENUKEM), DUKENUKEM__STATIC, DUKENUKEM__STATICRR }, - { "THREEDEE", DVPTR(THREEDEE), THREEDEE__STATIC, THREEDEE__STATICRR }, - { "INGAMEDUKETHREEDEE", DVPTR(INGAMEDUKETHREEDEE), INGAMEDUKETHREEDEE__STATIC, INGAMEDUKETHREEDEE__STATICRR }, - { "TENSCREEN", DVPTR(TENSCREEN), TENSCREEN__STATIC, TENSCREEN__STATICRR }, - { "PLUTOPAKSPRITE", DVPTR(PLUTOPAKSPRITE), PLUTOPAKSPRITE__STATIC, PLUTOPAKSPRITE__STATICRR }, - { "DEVISTATOR", DVPTR(DEVISTATOR), DEVISTATOR__STATIC, DEVISTATOR__STATICRR }, - { "KNEE", DVPTR(KNEE), KNEE__STATIC, KNEE__STATICRR }, - { "CROSSHAIR", DVPTR(CROSSHAIR), CROSSHAIR__STATIC, CROSSHAIR__STATICRR }, - { "FIRSTGUN", DVPTR(FIRSTGUN), FIRSTGUN__STATIC, FIRSTGUN__STATICRR }, - { "FIRSTGUNRELOAD", DVPTR(FIRSTGUNRELOAD), FIRSTGUNRELOAD__STATIC, FIRSTGUNRELOAD__STATICRR }, - { "FALLINGCLIP", DVPTR(FALLINGCLIP), FALLINGCLIP__STATIC, FALLINGCLIP__STATICRR }, - { "CLIPINHAND", DVPTR(CLIPINHAND), CLIPINHAND__STATIC, CLIPINHAND__STATICRR }, - { "HAND", DVPTR(HAND), HAND__STATIC, HAND__STATICRR }, - { "SHELL", DVPTR(SHELL), SHELL__STATIC, SHELL__STATICRR }, - { "SHOTGUNSHELL", DVPTR(SHOTGUNSHELL), SHOTGUNSHELL__STATIC, SHOTGUNSHELL__STATICRR }, - { "CHAINGUN", DVPTR(CHAINGUN), CHAINGUN__STATIC, CHAINGUN__STATICRR }, - { "RPGGUN", DVPTR(RPGGUN), RPGGUN__STATIC, RPGGUN__STATICRR }, - { "RPGMUZZLEFLASH", DVPTR(RPGMUZZLEFLASH), RPGMUZZLEFLASH__STATIC, RPGMUZZLEFLASH__STATICRR }, - { "FREEZE", DVPTR(FREEZE), FREEZE__STATIC, FREEZE__STATICRR }, - { "CATLITE", DVPTR(CATLITE), CATLITE__STATIC, CATLITE__STATICRR }, - { "SHRINKER", DVPTR(SHRINKER), SHRINKER__STATIC, SHRINKER__STATICRR }, - { "HANDHOLDINGLASER", DVPTR(HANDHOLDINGLASER), HANDHOLDINGLASER__STATIC, HANDHOLDINGLASER__STATICRR }, - { "TRIPBOMB", DVPTR(TRIPBOMB), TRIPBOMB__STATIC, TRIPBOMB__STATICRR }, - { "LASERLINE", DVPTR(LASERLINE), LASERLINE__STATIC, LASERLINE__STATICRR }, - { "HANDHOLDINGACCESS", DVPTR(HANDHOLDINGACCESS), HANDHOLDINGACCESS__STATIC, HANDHOLDINGACCESS__STATICRR }, - { "HANDREMOTE", DVPTR(HANDREMOTE), HANDREMOTE__STATIC, HANDREMOTE__STATICRR }, - { "HANDTHROW", DVPTR(HANDTHROW), HANDTHROW__STATIC, HANDTHROW__STATICRR }, - { "TIP", DVPTR(TIP), TIP__STATIC, TIP__STATICRR }, - { "GLAIR", DVPTR(GLAIR), GLAIR__STATIC, GLAIR__STATICRR }, - { "SCUBAMASK", DVPTR(SCUBAMASK), SCUBAMASK__STATIC, SCUBAMASK__STATICRR }, - { "SPACEMASK", DVPTR(SPACEMASK), SPACEMASK__STATIC, SPACEMASK__STATICRR }, - { "FORCESPHERE", DVPTR(FORCESPHERE), FORCESPHERE__STATIC, FORCESPHERE__STATICRR }, - { "SHOTSPARK1", DVPTR(SHOTSPARK1), SHOTSPARK1__STATIC, SHOTSPARK1__STATICRR }, - { "RPG", DVPTR(RPG), RPG__STATIC, RPG__STATICRR }, - { "LASERSITE", DVPTR(LASERSITE), LASERSITE__STATIC, 0 }, - { "SHOTGUN", DVPTR(SHOTGUN), SHOTGUN__STATIC, SHOTGUN__STATICRR }, - { "BOSS1", DVPTR(BOSS1), BOSS1__STATIC, BOSS1__STATICRR }, - { "BOSS1STAYPUT", DVPTR(BOSS1STAYPUT), BOSS1STAYPUT__STATIC, 0 }, - { "BOSS1SHOOT", DVPTR(BOSS1SHOOT), BOSS1SHOOT__STATIC, 0 }, - { "BOSS1LOB", DVPTR(BOSS1LOB), BOSS1LOB__STATIC, 0 }, - { "BOSSTOP", DVPTR(BOSSTOP), BOSSTOP__STATIC, 0 }, - { "BOSS2", DVPTR(BOSS2), BOSS2__STATIC, BOSS2__STATICRR }, - { "BOSS3", DVPTR(BOSS3), BOSS3__STATIC, BOSS3__STATICRR }, - { "SPINNINGNUKEICON", DVPTR(SPINNINGNUKEICON), SPINNINGNUKEICON__STATIC, SPINNINGNUKEICON__STATICRR }, - { "BIGFNTCURSOR", DVPTR(BIGFNTCURSOR), BIGFNTCURSOR__STATIC, BIGFNTCURSOR__STATICRR }, - { "SMALLFNTCURSOR", DVPTR(SMALLFNTCURSOR), SMALLFNTCURSOR__STATIC, SMALLFNTCURSOR__STATICRR }, - { "STARTALPHANUM", DVPTR(STARTALPHANUM), STARTALPHANUM__STATIC, STARTALPHANUM__STATICRR }, - { "ENDALPHANUM", DVPTR(ENDALPHANUM), ENDALPHANUM__STATIC, ENDALPHANUM__STATICRR }, - { "BIGALPHANUM", DVPTR(BIGALPHANUM), BIGALPHANUM__STATIC, BIGALPHANUM__STATICRR }, - { "BIGPERIOD", DVPTR(BIGPERIOD), BIGPERIOD__STATIC, BIGPERIOD__STATICRR }, - { "BIGCOMMA", DVPTR(BIGCOMMA), BIGCOMMA__STATIC, BIGCOMMA__STATICRR }, - { "BIGX", DVPTR(BIGX_), BIGX__STATIC, BIGX__STATICRR }, - { "BIGQ", DVPTR(BIGQ), BIGQ__STATIC, BIGQ__STATICRR }, - { "BIGSEMI", DVPTR(BIGSEMI), BIGSEMI__STATIC, BIGSEMI__STATICRR }, - { "BIGCOLIN", DVPTR(BIGCOLIN), BIGCOLIN__STATIC, BIGCOLIN__STATICRR }, - { "THREEBYFIVE", DVPTR(THREEBYFIVE), THREEBYFIVE__STATIC, THREEBYFIVE__STATICRR }, - { "BIGAPPOS", DVPTR(BIGAPPOS), BIGAPPOS__STATIC, BIGAPPOS__STATICRR }, - { "BLANK", DVPTR(BLANK), BLANK__STATIC, BLANK__STATICRR }, - { "MINIFONT", DVPTR(MINIFONT), MINIFONT__STATIC, MINIFONT__STATICRR }, - { "BUTTON1", DVPTR(BUTTON1), BUTTON1__STATIC, BUTTON1__STATICRR }, - { "GLASS3", DVPTR(GLASS3), GLASS3__STATIC, GLASS3__STATICRR }, - { "RESPAWNMARKERRED", DVPTR(RESPAWNMARKERRED), RESPAWNMARKERRED__STATIC, RESPAWNMARKERRED__STATICRR }, - { "RESPAWNMARKERYELLOW", DVPTR(RESPAWNMARKERYELLOW), RESPAWNMARKERYELLOW__STATIC, RESPAWNMARKERYELLOW__STATICRR }, - { "RESPAWNMARKERGREEN", DVPTR(RESPAWNMARKERGREEN), RESPAWNMARKERGREEN__STATIC, RESPAWNMARKERGREEN__STATICRR }, - { "BONUSSCREEN", DVPTR(BONUSSCREEN), BONUSSCREEN__STATIC, BONUSSCREEN__STATICRR }, - { "VIEWBORDER", DVPTR(VIEWBORDER), VIEWBORDER__STATIC, VIEWBORDER__STATICRR }, - { "VICTORY1", DVPTR(VICTORY1), VICTORY1__STATIC, VICTORY1__STATICRR }, - { "ORDERING", DVPTR(ORDERING), ORDERING__STATIC, ORDERING__STATICRR }, - { "TEXTSTORY", DVPTR(TEXTSTORY), TEXTSTORY__STATIC, TEXTSTORY__STATICRR }, - { "LOADSCREEN", DVPTR(LOADSCREEN), LOADSCREEN__STATIC, LOADSCREEN__STATICRR }, - { "BORNTOBEWILDSCREEN", DVPTR(BORNTOBEWILDSCREEN), BORNTOBEWILDSCREEN__STATIC, BORNTOBEWILDSCREEN__STATICRR }, - { "BLIMP", DVPTR(BLIMP), BLIMP__STATIC, BLIMP__STATICRR }, - { "FEM9", DVPTR(FEM9), FEM9__STATIC, FEM9__STATICRR }, - { "FOOTPRINT", DVPTR(FOOTPRINT), FOOTPRINT__STATIC, FOOTPRINT__STATICRR }, - { "POOP", DVPTR(POOP), POOP__STATIC, POOP__STATICRR }, - { "FRAMEEFFECT1", DVPTR(FRAMEEFFECT1), FRAMEEFFECT1__STATIC, FRAMEEFFECT1__STATICRR }, - { "PANNEL3", DVPTR(PANNEL3), PANNEL3__STATIC, PANNEL3__STATICRR }, - { "SCREENBREAK14", DVPTR(SCREENBREAK14), SCREENBREAK14__STATIC, SCREENBREAK14__STATICRR }, - { "SCREENBREAK15", DVPTR(SCREENBREAK15), SCREENBREAK15__STATIC, SCREENBREAK15__STATICRR }, - { "SCREENBREAK19", DVPTR(SCREENBREAK19), SCREENBREAK19__STATIC, SCREENBREAK19__STATICRR }, - { "SCREENBREAK16", DVPTR(SCREENBREAK16), SCREENBREAK16__STATIC, SCREENBREAK16__STATICRR }, - { "SCREENBREAK17", DVPTR(SCREENBREAK17), SCREENBREAK17__STATIC, SCREENBREAK17__STATICRR }, - { "SCREENBREAK18", DVPTR(SCREENBREAK18), SCREENBREAK18__STATIC, SCREENBREAK18__STATICRR }, - { "W_TECHWALL11", DVPTR(W_TECHWALL11), W_TECHWALL11__STATIC, W_TECHWALL11__STATICRR }, - { "W_TECHWALL12", DVPTR(W_TECHWALL12), W_TECHWALL12__STATIC, W_TECHWALL12__STATICRR }, - { "W_TECHWALL13", DVPTR(W_TECHWALL13), W_TECHWALL13__STATIC, W_TECHWALL13__STATICRR }, - { "W_TECHWALL14", DVPTR(W_TECHWALL14), W_TECHWALL14__STATIC, W_TECHWALL14__STATICRR }, - { "W_TECHWALL5", DVPTR(W_TECHWALL5), W_TECHWALL5__STATIC, W_TECHWALL5__STATICRR }, - { "W_TECHWALL6", DVPTR(W_TECHWALL6), W_TECHWALL6__STATIC, W_TECHWALL6__STATICRR }, - { "W_TECHWALL7", DVPTR(W_TECHWALL7), W_TECHWALL7__STATIC, W_TECHWALL7__STATICRR }, - { "W_TECHWALL8", DVPTR(W_TECHWALL8), W_TECHWALL8__STATIC, W_TECHWALL8__STATICRR }, - { "W_TECHWALL9", DVPTR(W_TECHWALL9), W_TECHWALL9__STATIC, W_TECHWALL9__STATICRR }, - { "BPANNEL3", DVPTR(BPANNEL3), BPANNEL3__STATIC, BPANNEL3__STATICRR }, - { "W_HITTECHWALL16", DVPTR(W_HITTECHWALL16), W_HITTECHWALL16__STATIC, W_HITTECHWALL16__STATICRR }, - { "W_HITTECHWALL10", DVPTR(W_HITTECHWALL10), W_HITTECHWALL10__STATIC, W_HITTECHWALL10__STATICRR }, - { "W_HITTECHWALL15", DVPTR(W_HITTECHWALL15), W_HITTECHWALL15__STATIC, W_HITTECHWALL15__STATICRR }, - { "W_MILKSHELF", DVPTR(W_MILKSHELF), W_MILKSHELF__STATIC, W_MILKSHELF__STATICRR }, - { "W_MILKSHELFBROKE", DVPTR(W_MILKSHELFBROKE), W_MILKSHELFBROKE__STATIC, W_MILKSHELFBROKE__STATICRR }, - { "PURPLELAVA", DVPTR(PURPLELAVA), PURPLELAVA__STATIC, PURPLELAVA__STATICRR }, - { "LAVABUBBLE", DVPTR(LAVABUBBLE), LAVABUBBLE__STATIC, LAVABUBBLE__STATICRR }, - { "DUKECUTOUT", DVPTR(DUKECUTOUT), DUKECUTOUT__STATIC, DUKECUTOUT__STATICRR }, - { "TARGET", DVPTR(TARGET), TARGET__STATIC, TARGET__STATICRR }, - { "GUNPOWDERBARREL", DVPTR(GUNPOWDERBARREL), GUNPOWDERBARREL__STATIC, GUNPOWDERBARREL__STATICRR }, - { "DUCK", DVPTR(DUCK), DUCK__STATIC, DUCK__STATICRR }, - { "HATRACK", DVPTR(HATRACK), HATRACK__STATIC, HATRACK__STATICRR }, - { "DESKLAMP", DVPTR(DESKLAMP), DESKLAMP__STATIC, DESKLAMP__STATICRR }, - { "COFFEEMACHINE", DVPTR(COFFEEMACHINE), COFFEEMACHINE__STATIC, COFFEEMACHINE__STATICRR }, - { "CUPS", DVPTR(CUPS), CUPS__STATIC, CUPS__STATICRR }, - { "GAVALS", DVPTR(GAVALS), GAVALS__STATIC, GAVALS__STATICRR }, - { "GAVALS2", DVPTR(GAVALS2), GAVALS2__STATIC, GAVALS2__STATICRR }, - { "POLICELIGHTPOLE", DVPTR(POLICELIGHTPOLE), POLICELIGHTPOLE__STATIC, POLICELIGHTPOLE__STATICRR }, - { "FLOORBASKET", DVPTR(FLOORBASKET), FLOORBASKET__STATIC, FLOORBASKET__STATICRR }, - { "PUKE", DVPTR(PUKE), PUKE__STATIC, PUKE__STATICRR }, - { "DOORTILE23", DVPTR(DOORTILE23), DOORTILE23__STATIC, DOORTILE23__STATICRR }, - { "TOPSECRET", DVPTR(TOPSECRET), TOPSECRET__STATIC, TOPSECRET__STATICRR }, - { "SPEAKER", DVPTR(SPEAKER), SPEAKER__STATIC, SPEAKER__STATICRR }, - { "TEDDYBEAR", DVPTR(TEDDYBEAR), TEDDYBEAR__STATIC, TEDDYBEAR__STATICRR }, - { "ROBOTDOG", DVPTR(ROBOTDOG), ROBOTDOG__STATIC, ROBOTDOG__STATICRR }, - { "ROBOTPIRATE", DVPTR(ROBOTPIRATE), ROBOTPIRATE__STATIC, ROBOTPIRATE__STATICRR }, - { "ROBOTMOUSE", DVPTR(ROBOTMOUSE), ROBOTMOUSE__STATIC, ROBOTMOUSE__STATICRR }, - { "MAIL", DVPTR(MAIL), MAIL__STATIC, MAIL__STATICRR }, - { "MAILBAG", DVPTR(MAILBAG), MAILBAG__STATIC, MAILBAG__STATICRR }, - { "HOTMEAT", DVPTR(HOTMEAT), HOTMEAT__STATIC, HOTMEAT__STATICRR }, - { "COFFEEMUG", DVPTR(COFFEEMUG), COFFEEMUG__STATIC, COFFEEMUG__STATICRR }, - { "DONUTS2", DVPTR(DONUTS2), DONUTS2__STATIC, DONUTS2__STATICRR }, - { "TRIPODCAMERA", DVPTR(TRIPODCAMERA), TRIPODCAMERA__STATIC, TRIPODCAMERA__STATICRR }, - { "METER", DVPTR(METER), METER__STATIC, METER__STATICRR }, - { "DESKPHONE", DVPTR(DESKPHONE), DESKPHONE__STATIC, DESKPHONE__STATICRR }, - { "GUMBALLMACHINE", DVPTR(GUMBALLMACHINE), GUMBALLMACHINE__STATIC, GUMBALLMACHINE__STATICRR }, - { "GUMBALLMACHINEBROKE", DVPTR(GUMBALLMACHINEBROKE), GUMBALLMACHINEBROKE__STATIC, GUMBALLMACHINEBROKE__STATICRR }, - { "PAPER", DVPTR(PAPER), PAPER__STATIC, PAPER__STATICRR }, - { "MACE", DVPTR(MACE), MACE__STATIC, MACE__STATICRR }, - { "GENERICPOLE2", DVPTR(GENERICPOLE2), GENERICPOLE2__STATIC, GENERICPOLE2__STATICRR }, - { "XXXSTACY", DVPTR(XXXSTACY), XXXSTACY__STATIC, XXXSTACY__STATICRR }, - { "WETFLOOR", DVPTR(WETFLOOR), WETFLOOR__STATIC, WETFLOOR__STATICRR }, - { "BROOM", DVPTR(BROOM), BROOM__STATIC, BROOM__STATICRR }, - { "MOP", DVPTR(MOP), MOP__STATIC, MOP__STATICRR }, - { "LETTER", DVPTR(LETTER), LETTER__STATIC, 0 }, - { "PIRATE1A", DVPTR(PIRATE1A), PIRATE1A__STATIC, PIRATE1A__STATICRR }, - { "PIRATE4A", DVPTR(PIRATE4A), PIRATE4A__STATIC, PIRATE4A__STATICRR }, - { "PIRATE2A", DVPTR(PIRATE2A), PIRATE2A__STATIC, PIRATE2A__STATICRR }, - { "PIRATE5A", DVPTR(PIRATE5A), PIRATE5A__STATIC, PIRATE5A__STATICRR }, - { "PIRATE3A", DVPTR(PIRATE3A), PIRATE3A__STATIC, PIRATE3A__STATICRR }, - { "PIRATE6A", DVPTR(PIRATE6A), PIRATE6A__STATIC, PIRATE6A__STATICRR }, - { "PIRATEHALF", DVPTR(PIRATEHALF), PIRATEHALF__STATIC, PIRATEHALF__STATICRR }, - { "CHESTOFGOLD", DVPTR(CHESTOFGOLD), CHESTOFGOLD__STATIC, CHESTOFGOLD__STATICRR }, - { "SIDEBOLT1", DVPTR(SIDEBOLT1), SIDEBOLT1__STATIC, SIDEBOLT1__STATICRR }, - { "FOODOBJECT1", DVPTR(FOODOBJECT1), FOODOBJECT1__STATIC, FOODOBJECT1__STATICRR }, - { "FOODOBJECT2", DVPTR(FOODOBJECT2), FOODOBJECT2__STATIC, FOODOBJECT2__STATICRR }, - { "FOODOBJECT3", DVPTR(FOODOBJECT3), FOODOBJECT3__STATIC, FOODOBJECT3__STATICRR }, - { "FOODOBJECT4", DVPTR(FOODOBJECT4), FOODOBJECT4__STATIC, FOODOBJECT4__STATICRR }, - { "FOODOBJECT5", DVPTR(FOODOBJECT5), FOODOBJECT5__STATIC, FOODOBJECT5__STATICRR }, - { "FOODOBJECT6", DVPTR(FOODOBJECT6), FOODOBJECT6__STATIC, FOODOBJECT6__STATICRR }, - { "FOODOBJECT7", DVPTR(FOODOBJECT7), FOODOBJECT7__STATIC, FOODOBJECT7__STATICRR }, - { "FOODOBJECT8", DVPTR(FOODOBJECT8), FOODOBJECT8__STATIC, FOODOBJECT8__STATICRR }, - { "FOODOBJECT9", DVPTR(FOODOBJECT9), FOODOBJECT9__STATIC, FOODOBJECT9__STATICRR }, - { "FOODOBJECT10", DVPTR(FOODOBJECT10), FOODOBJECT10__STATIC, FOODOBJECT10__STATICRR }, - { "FOODOBJECT11", DVPTR(FOODOBJECT11), FOODOBJECT11__STATIC, FOODOBJECT11__STATICRR }, - { "FOODOBJECT12", DVPTR(FOODOBJECT12), FOODOBJECT12__STATIC, FOODOBJECT12__STATICRR }, - { "FOODOBJECT13", DVPTR(FOODOBJECT13), FOODOBJECT13__STATIC, FOODOBJECT13__STATICRR }, - { "FOODOBJECT14", DVPTR(FOODOBJECT14), FOODOBJECT14__STATIC, FOODOBJECT14__STATICRR }, - { "FOODOBJECT15", DVPTR(FOODOBJECT15), FOODOBJECT15__STATIC, FOODOBJECT15__STATICRR }, - { "FOODOBJECT16", DVPTR(FOODOBJECT16), FOODOBJECT16__STATIC, FOODOBJECT16__STATICRR }, - { "FOODOBJECT17", DVPTR(FOODOBJECT17), FOODOBJECT17__STATIC, FOODOBJECT17__STATICRR }, - { "FOODOBJECT18", DVPTR(FOODOBJECT18), FOODOBJECT18__STATIC, FOODOBJECT18__STATICRR }, - { "FOODOBJECT19", DVPTR(FOODOBJECT19), FOODOBJECT19__STATIC, FOODOBJECT19__STATICRR }, - { "FOODOBJECT20", DVPTR(FOODOBJECT20), FOODOBJECT20__STATIC, FOODOBJECT20__STATICRR }, - { "HEADLAMP", DVPTR(HEADLAMP), HEADLAMP__STATIC, HEADLAMP__STATICRR }, - { "TAMPON", DVPTR(TAMPON), TAMPON__STATIC, TAMPON__STATICRR }, - { "SKINNEDCHICKEN", DVPTR(SKINNEDCHICKEN), SKINNEDCHICKEN__STATIC, SKINNEDCHICKEN__STATICRR }, - { "FEATHEREDCHICKEN", DVPTR(FEATHEREDCHICKEN), FEATHEREDCHICKEN__STATIC, FEATHEREDCHICKEN__STATICRR }, - { "ROBOTDOG2", DVPTR(ROBOTDOG2), ROBOTDOG2__STATIC, ROBOTDOG2__STATICRR }, - { "JOLLYMEAL", DVPTR(JOLLYMEAL), JOLLYMEAL__STATIC, JOLLYMEAL__STATICRR }, - { "DUKEBURGER", DVPTR(DUKEBURGER), DUKEBURGER__STATIC, DUKEBURGER__STATICRR }, - { "SHOPPINGCART", DVPTR(SHOPPINGCART), SHOPPINGCART__STATIC, SHOPPINGCART__STATICRR }, - { "CANWITHSOMETHING2", DVPTR(CANWITHSOMETHING2), CANWITHSOMETHING2__STATIC, CANWITHSOMETHING2__STATICRR }, - { "CANWITHSOMETHING3", DVPTR(CANWITHSOMETHING3), CANWITHSOMETHING3__STATIC, CANWITHSOMETHING3__STATICRR }, - { "CANWITHSOMETHING4", DVPTR(CANWITHSOMETHING4), CANWITHSOMETHING4__STATIC, CANWITHSOMETHING4__STATICRR }, - { "SNAKEP", DVPTR(SNAKEP), SNAKEP__STATIC, SNAKEP__STATICRR }, - { "DOLPHIN1", DVPTR(DOLPHIN1), DOLPHIN1__STATIC, DOLPHIN1__STATICRR }, - { "DOLPHIN2", DVPTR(DOLPHIN2), DOLPHIN2__STATIC, DOLPHIN2__STATICRR }, - { "NEWBEAST", DVPTR(NEWBEAST), NEWBEAST__STATIC, 0 }, - { "NEWBEASTSTAYPUT", DVPTR(NEWBEASTSTAYPUT), NEWBEASTSTAYPUT__STATIC, 0 }, - { "NEWBEASTJUMP", DVPTR(NEWBEASTJUMP), NEWBEASTJUMP__STATIC, 0 }, - { "NEWBEASTHANG", DVPTR(NEWBEASTHANG), NEWBEASTHANG__STATIC, 0 }, - { "NEWBEASTHANGDEAD", DVPTR(NEWBEASTHANGDEAD), NEWBEASTHANGDEAD__STATIC, 0 }, - { "BOSS4", DVPTR(BOSS4), BOSS4__STATIC, BOSS4__STATICRR }, - { "BOSS4STAYPUT", DVPTR(BOSS4STAYPUT), BOSS4STAYPUT__STATIC, 0 }, - { "FEM10", DVPTR(FEM10), FEM10__STATIC, FEM10__STATICRR }, - { "TOUGHGAL", DVPTR(TOUGHGAL), TOUGHGAL__STATIC, TOUGHGAL__STATICRR }, - { "MAN", DVPTR(MAN), MAN__STATIC, MAN__STATICRR }, - { "MAN2", DVPTR(MAN2), MAN2__STATIC, MAN2__STATICRR }, - { "WOMAN", DVPTR(WOMAN), WOMAN__STATIC, WOMAN__STATICRR }, - { "PLEASEWAIT", DVPTR(PLEASEWAIT), PLEASEWAIT__STATIC, PLEASEWAIT__STATICRR }, - { "NATURALLIGHTNING", DVPTR(NATURALLIGHTNING), NATURALLIGHTNING__STATIC, 0 }, - { "WEATHERWARN", DVPTR(WEATHERWARN), WEATHERWARN__STATIC, 0 }, - { "DUKETAG", DVPTR(DUKETAG), DUKETAG__STATIC, DUKETAG__STATICRR }, - { "SIGN1", DVPTR(SIGN1), SIGN1__STATIC, SIGN1__STATICRR }, - { "SIGN2", DVPTR(SIGN2), SIGN2__STATIC, SIGN2__STATICRR }, - { "JURYGUY", DVPTR(JURYGUY), JURYGUY__STATIC, JURYGUY__STATICRR }, - { "RRTILE11", DVPTR(RRTILE11), 0, RRTILE11__STATICRR }, - { "RPG2SPRITE", DVPTR(RPG2SPRITE), 0, RPG2SPRITE__STATICRR }, - { "RRTILE18", DVPTR(RRTILE18), 0, RRTILE18__STATICRR }, - { "RRTILE19", DVPTR(RRTILE19), 0, RRTILE19__STATICRR }, - { "RRTILE34", DVPTR(RRTILE34), 0, RRTILE34__STATICRR }, - { "RRTILE35", DVPTR(RRTILE35), 0, RRTILE35__STATICRR }, - { "DESTRUCTO", DVPTR(DESTRUCTO), 0, DESTRUCTO__STATICRR }, - { "RRTILE38", DVPTR(RRTILE38), 0, RRTILE38__STATICRR }, - { "RRTILE43", DVPTR(RRTILE43), 0, RRTILE43__STATICRR }, - { "GUTMETER", DVPTR(GUTMETER), 0, GUTMETER__STATICRR }, - { "RRTILE63", DVPTR(RRTILE63), 0, RRTILE63__STATICRR }, - { "RRTILE64", DVPTR(RRTILE64), 0, RRTILE64__STATICRR }, - { "RRTILE65", DVPTR(RRTILE65), 0, RRTILE65__STATICRR }, - { "RRTILE66", DVPTR(RRTILE66), 0, RRTILE66__STATICRR }, - { "RRTILE67", DVPTR(RRTILE67), 0, RRTILE67__STATICRR }, - { "RRTILE68", DVPTR(RRTILE68), 0, RRTILE68__STATICRR }, - { "SOUNDFX", DVPTR(SOUNDFX), 0, SOUNDFX__STATICRR }, - { "MOTOAMMO", DVPTR(MOTOAMMO), 0, MOTOAMMO__STATICRR }, - { "UFOBEAM", DVPTR(UFOBEAM), 0, UFOBEAM__STATICRR }, - { "RRTILE280", DVPTR(RRTILE280), 0, RRTILE280__STATICRR }, - { "RRTILE281", DVPTR(RRTILE281), 0, RRTILE281__STATICRR }, - { "RRTILE282", DVPTR(RRTILE282), 0, RRTILE282__STATICRR }, - { "RRTILE283", DVPTR(RRTILE283), 0, RRTILE283__STATICRR }, - { "RRTILE285", DVPTR(RRTILE285), 0, RRTILE285__STATICRR }, - { "RRTILE286", DVPTR(RRTILE286), 0, RRTILE286__STATICRR }, - { "RRTILE287", DVPTR(RRTILE287), 0, RRTILE287__STATICRR }, - { "RRTILE288", DVPTR(RRTILE288), 0, RRTILE288__STATICRR }, - { "RRTILE289", DVPTR(RRTILE289), 0, RRTILE289__STATICRR }, - { "RRTILE290", DVPTR(RRTILE290), 0, RRTILE290__STATICRR }, - { "RRTILE291", DVPTR(RRTILE291), 0, RRTILE291__STATICRR }, - { "RRTILE292", DVPTR(RRTILE292), 0, RRTILE292__STATICRR }, - { "RRTILE293", DVPTR(RRTILE293), 0, RRTILE293__STATICRR }, - { "RRTILE295", DVPTR(RRTILE295), 0, RRTILE295__STATICRR }, - { "RRTILE296", DVPTR(RRTILE296), 0, RRTILE296__STATICRR }, - { "RRTILE297", DVPTR(RRTILE297), 0, RRTILE297__STATICRR }, - { "CDPLAYER", DVPTR(CDPLAYER), 0, CDPLAYER__STATICRR }, - { "RRTILE380", DVPTR(RRTILE380), 0, RRTILE380__STATICRR }, - { "RRTILE403", DVPTR(RRTILE403), 0, RRTILE403__STATICRR }, - { "RRTILE409", DVPTR(RRTILE409), 0, RRTILE409__STATICRR }, - { "GUTMETER_LIGHT1", DVPTR(GUTMETER_LIGHT1), 0, GUTMETER_LIGHT1__STATICRR }, - { "GUTMETER_LIGHT2", DVPTR(GUTMETER_LIGHT2), 0, GUTMETER_LIGHT2__STATICRR }, - { "GUTMETER_LIGHT3", DVPTR(GUTMETER_LIGHT3), 0, GUTMETER_LIGHT3__STATICRR }, - { "GUTMETER_LIGHT4", DVPTR(GUTMETER_LIGHT4), 0, GUTMETER_LIGHT4__STATICRR }, - { "AMMO_ICON", DVPTR(AMMO_ICON), 0, AMMO_ICON__STATICRR }, - { "RRTILE409", DVPTR(RRTILE1076), 0, RRTILE1076__STATICRR }, - { "MUD", DVPTR(MUD), 0, MUD__STATICRR }, - { "EXPLOSION3", DVPTR(EXPLOSION3), 0, EXPLOSION3__STATICRR }, - { "RRTILE1636", DVPTR(RRTILE1636), 0, RRTILE1636__STATICRR }, - { "WEAPONBAR", DVPTR(WEAPONBAR), 0, WEAPONBAR__STATICRR }, - { "RRTILE1752", DVPTR(RRTILE1752), 0, RRTILE1752__STATICRR }, - { "RPG2", DVPTR(RPG2), 0, RPG2__STATICRR }, - { "RRTILE1790", DVPTR(RRTILE1790), 0, RRTILE1790__STATICRR }, - { "RRTILE1792", DVPTR(RRTILE1792), 0, RRTILE1792__STATICRR }, - { "RRTILE1801", DVPTR(RRTILE1801), 0, RRTILE1801__STATICRR }, - { "RRTILE1805", DVPTR(RRTILE1805), 0, RRTILE1805__STATICRR }, - { "RRTILE1807", DVPTR(RRTILE1807), 0, RRTILE1807__STATICRR }, - { "RRTILE1808", DVPTR(RRTILE1808), 0, RRTILE1808__STATICRR }, - { "RRTILE1812", DVPTR(RRTILE1812), 0, RRTILE1812__STATICRR }, - { "RRTILE1814", DVPTR(RRTILE1814), 0, RRTILE1814__STATICRR }, - { "RRTILE1817", DVPTR(RRTILE1817), 0, RRTILE1817__STATICRR }, - { "RRTILE1821", DVPTR(RRTILE1821), 0, RRTILE1821__STATICRR }, - { "RRTILE1824", DVPTR(RRTILE1824), 0, RRTILE1824__STATICRR }, - { "RRTILE1826", DVPTR(RRTILE1826), 0, RRTILE1826__STATICRR }, - { "RRTILE1850", DVPTR(RRTILE1850), 0, RRTILE1850__STATICRR }, - { "RRTILE1851", DVPTR(RRTILE1851), 0, RRTILE1851__STATICRR }, - { "RRTILE1856", DVPTR(RRTILE1856), 0, RRTILE1856__STATICRR }, - { "RRTILE1877", DVPTR(RRTILE1877), 0, RRTILE1877__STATICRR }, - { "RRTILE1878", DVPTR(RRTILE1878), 0, RRTILE1878__STATICRR }, - { "RRTILE1938", DVPTR(RRTILE1938), 0, RRTILE1938__STATICRR }, - { "RRTILE1939", DVPTR(RRTILE1939), 0, RRTILE1939__STATICRR }, - { "RRTILE1942", DVPTR(RRTILE1942), 0, RRTILE1942__STATICRR }, - { "RRTILE1944", DVPTR(RRTILE1944), 0, RRTILE1944__STATICRR }, - { "RRTILE1945", DVPTR(RRTILE1945), 0, RRTILE1945__STATICRR }, - { "RRTILE1947", DVPTR(RRTILE1947), 0, RRTILE1947__STATICRR }, - { "RRTILE1951", DVPTR(RRTILE1951), 0, RRTILE1951__STATICRR }, - { "RRTILE1952", DVPTR(RRTILE1952), 0, RRTILE1952__STATICRR }, - { "RRTILE1953", DVPTR(RRTILE1953), 0, RRTILE1953__STATICRR }, - { "RRTILE1961", DVPTR(RRTILE1961), 0, RRTILE1961__STATICRR }, - { "RRTILE1964", DVPTR(RRTILE1964), 0, RRTILE1964__STATICRR }, - { "RRTILE1973", DVPTR(RRTILE1973), 0, RRTILE1973__STATICRR }, - { "RRTILE1985", DVPTR(RRTILE1985), 0, RRTILE1985__STATICRR }, - { "RRTILE1986", DVPTR(RRTILE1986), 0, RRTILE1986__STATICRR }, - { "RRTILE1987", DVPTR(RRTILE1987), 0, RRTILE1987__STATICRR }, - { "RRTILE1988", DVPTR(RRTILE1988), 0, RRTILE1988__STATICRR }, - { "RRTILE1990", DVPTR(RRTILE1990), 0, RRTILE1990__STATICRR }, - { "RRTILE1995", DVPTR(RRTILE1995), 0, RRTILE1995__STATICRR }, - { "RRTILE1996", DVPTR(RRTILE1996), 0, RRTILE1996__STATICRR }, - { "RRTILE2004", DVPTR(RRTILE2004), 0, RRTILE2004__STATICRR }, - { "RRTILE2005", DVPTR(RRTILE2005), 0, RRTILE2005__STATICRR }, - { "POPCORN", DVPTR(POPCORN), 0, POPCORN__STATICRR }, - { "RRTILE2022", DVPTR(RRTILE2022), 0, RRTILE2022__STATICRR }, - { "LANEPICS", DVPTR(LANEPICS), 0, LANEPICS__STATICRR }, - { "RRTILE2025", DVPTR(RRTILE2025), 0, RRTILE2025__STATICRR }, - { "RRTILE2026", DVPTR(RRTILE2026), 0, RRTILE2026__STATICRR }, - { "RRTILE2027", DVPTR(RRTILE2027), 0, RRTILE2027__STATICRR }, - { "RRTILE2028", DVPTR(RRTILE2028), 0, RRTILE2028__STATICRR }, - { "RRTILE2034", DVPTR(RRTILE2034), 0, RRTILE2034__STATICRR }, - { "RRTILE2050", DVPTR(RRTILE2050), 0, RRTILE2050__STATICRR }, - { "RRTILE2052", DVPTR(RRTILE2052), 0, RRTILE2052__STATICRR }, - { "RRTILE2053", DVPTR(RRTILE2053), 0, RRTILE2053__STATICRR }, - { "RRTILE2056", DVPTR(RRTILE2056), 0, RRTILE2056__STATICRR }, - { "RRTILE2060", DVPTR(RRTILE2060), 0, RRTILE2060__STATICRR }, - { "RRTILE2072", DVPTR(RRTILE2072), 0, RRTILE2072__STATICRR }, - { "RRTILE2074", DVPTR(RRTILE2074), 0, RRTILE2074__STATICRR }, - { "RRTILE2075", DVPTR(RRTILE2075), 0, RRTILE2075__STATICRR }, - { "RRTILE2083", DVPTR(RRTILE2083), 0, RRTILE2083__STATICRR }, - { "RRTILE2097", DVPTR(RRTILE2097), 0, RRTILE2097__STATICRR }, - { "RRTILE2121", DVPTR(RRTILE2121), 0, RRTILE2121__STATICRR }, - { "RRTILE2122", DVPTR(RRTILE2122), 0, RRTILE2122__STATICRR }, - { "RRTILE2123", DVPTR(RRTILE2123), 0, RRTILE2123__STATICRR }, - { "RRTILE2124", DVPTR(RRTILE2124), 0, RRTILE2124__STATICRR }, - { "RRTILE2125", DVPTR(RRTILE2125), 0, RRTILE2125__STATICRR }, - { "RRTILE2126", DVPTR(RRTILE2126), 0, RRTILE2126__STATICRR }, - { "RRTILE2137", DVPTR(RRTILE2137), 0, RRTILE2137__STATICRR }, - { "RRTILE2132", DVPTR(RRTILE2132), 0, RRTILE2132__STATICRR }, - { "RRTILE2136", DVPTR(RRTILE2136), 0, RRTILE2136__STATICRR }, - { "RRTILE2139", DVPTR(RRTILE2139), 0, RRTILE2139__STATICRR }, - { "RRTILE2150", DVPTR(RRTILE2150), 0, RRTILE2150__STATICRR }, - { "RRTILE2151", DVPTR(RRTILE2151), 0, RRTILE2151__STATICRR }, - { "RRTILE2152", DVPTR(RRTILE2152), 0, RRTILE2152__STATICRR }, - { "RRTILE2156", DVPTR(RRTILE2156), 0, RRTILE2156__STATICRR }, - { "RRTILE2157", DVPTR(RRTILE2157), 0, RRTILE2157__STATICRR }, - { "RRTILE2158", DVPTR(RRTILE2158), 0, RRTILE2158__STATICRR }, - { "RRTILE2159", DVPTR(RRTILE2159), 0, RRTILE2159__STATICRR }, - { "RRTILE2160", DVPTR(RRTILE2160), 0, RRTILE2160__STATICRR }, - { "RRTILE2161", DVPTR(RRTILE2161), 0, RRTILE2161__STATICRR }, - { "RRTILE2175", DVPTR(RRTILE2175), 0, RRTILE2175__STATICRR }, - { "RRTILE2176", DVPTR(RRTILE2176), 0, RRTILE2176__STATICRR }, - { "RRTILE2178", DVPTR(RRTILE2178), 0, RRTILE2178__STATICRR }, - { "RRTILE2186", DVPTR(RRTILE2186), 0, RRTILE2186__STATICRR }, - { "RRTILE2214", DVPTR(RRTILE2214), 0, RRTILE2214__STATICRR }, - { "RRTILE2319", DVPTR(RRTILE2319), 0, RRTILE2319__STATICRR }, - { "RRTILE2321", DVPTR(RRTILE2321), 0, RRTILE2321__STATICRR }, - { "RRTILE2326", DVPTR(RRTILE2326), 0, RRTILE2326__STATICRR }, - { "RRTILE2329", DVPTR(RRTILE2329), 0, RRTILE2329__STATICRR }, - { "RRTILE2357", DVPTR(RRTILE2357), 0, RRTILE2357__STATICRR }, - { "RRTILE2382", DVPTR(RRTILE2382), 0, RRTILE2382__STATICRR }, - { "RRTILE2430", DVPTR(RRTILE2430), 0, RRTILE2430__STATICRR }, - { "RRTILE2431", DVPTR(RRTILE2431), 0, RRTILE2431__STATICRR }, - { "RRTILE2432", DVPTR(RRTILE2432), 0, RRTILE2432__STATICRR }, - { "RRTILE2437", DVPTR(RRTILE2437), 0, RRTILE2437__STATICRR }, - { "RRTILE2443", DVPTR(RRTILE2443), 0, RRTILE2443__STATICRR }, - { "RRTILE2445", DVPTR(RRTILE2445), 0, RRTILE2445__STATICRR }, - { "RRTILE2446", DVPTR(RRTILE2446), 0, RRTILE2446__STATICRR }, - { "RRTILE2450", DVPTR(RRTILE2450), 0, RRTILE2450__STATICRR }, - { "RRTILE2451", DVPTR(RRTILE2451), 0, RRTILE2451__STATICRR }, - { "RRTILE2455", DVPTR(RRTILE2455), 0, RRTILE2455__STATICRR }, - { "RRTILE2460", DVPTR(RRTILE2460), 0, RRTILE2460__STATICRR }, - { "RRTILE2465", DVPTR(RRTILE2465), 0, RRTILE2465__STATICRR }, - { "RRTILE2560", DVPTR(RRTILE2560), 0, RRTILE2560__STATICRR }, - { "RRTILE2562", DVPTR(RRTILE2562), 0, RRTILE2562__STATICRR }, - { "RRTILE2564", DVPTR(RRTILE2564), 0, RRTILE2564__STATICRR }, - { "RRTILE2573", DVPTR(RRTILE2573), 0, RRTILE2573__STATICRR }, - { "RRTILE2574", DVPTR(RRTILE2574), 0, RRTILE2574__STATICRR }, - { "RRTILE2577", DVPTR(RRTILE2577), 0, RRTILE2577__STATICRR }, - { "RRTILE2578", DVPTR(RRTILE2578), 0, RRTILE2578__STATICRR }, - { "RRTILE2581", DVPTR(RRTILE2581), 0, RRTILE2581__STATICRR }, - { "RRTILE2583", DVPTR(RRTILE2583), 0, RRTILE2583__STATICRR }, - { "RRTILE2604", DVPTR(RRTILE2604), 0, RRTILE2604__STATICRR }, - { "RRTILE2610", DVPTR(RRTILE2610), 0, RRTILE2610__STATICRR }, - { "RRTILE2613", DVPTR(RRTILE2613), 0, RRTILE2613__STATICRR }, - { "RRTILE2621", DVPTR(RRTILE2621), 0, RRTILE2621__STATICRR }, - { "RRTILE2622", DVPTR(RRTILE2622), 0, RRTILE2622__STATICRR }, - { "RRTILE2636", DVPTR(RRTILE2636), 0, RRTILE2636__STATICRR }, - { "RRTILE2637", DVPTR(RRTILE2637), 0, RRTILE2637__STATICRR }, - { "RRTILE2654", DVPTR(RRTILE2654), 0, RRTILE2654__STATICRR }, - { "RRTILE2656", DVPTR(RRTILE2656), 0, RRTILE2656__STATICRR }, - { "RRTILE2676", DVPTR(RRTILE2676), 0, RRTILE2676__STATICRR }, - { "RRTILE2689", DVPTR(RRTILE2689), 0, RRTILE2689__STATICRR }, - { "RRTILE2697", DVPTR(RRTILE2697), 0, RRTILE2697__STATICRR }, - { "RRTILE2702", DVPTR(RRTILE2702), 0, RRTILE2702__STATICRR }, - { "RRTILE2707", DVPTR(RRTILE2707), 0, RRTILE2707__STATICRR }, - { "RRTILE2732", DVPTR(RRTILE2732), 0, RRTILE2732__STATICRR }, - { "RRTILE2030", DVPTR(RRTILE2030), 0, RRTILE2030__STATICRR }, - { "RRTILE2831", DVPTR(RRTILE2831), 0, RRTILE2831__STATICRR }, - { "RRTILE2832", DVPTR(RRTILE2832), 0, RRTILE2832__STATICRR }, - { "RRTILE2842", DVPTR(RRTILE2842), 0, RRTILE2842__STATICRR }, - { "RRTILE2859", DVPTR(RRTILE2859), 0, RRTILE2859__STATICRR }, - { "RRTILE2876", DVPTR(RRTILE2876), 0, RRTILE2876__STATICRR }, - { "RRTILE2878", DVPTR(RRTILE2878), 0, RRTILE2878__STATICRR }, - { "RRTILE2879", DVPTR(RRTILE2879), 0, RRTILE2879__STATICRR }, - { "RRTILE2893", DVPTR(RRTILE2893), 0, RRTILE2893__STATICRR }, - { "RRTILE2894", DVPTR(RRTILE2894), 0, RRTILE2894__STATICRR }, - { "RRTILE2898", DVPTR(RRTILE2898), 0, RRTILE2898__STATICRR }, - { "RRTILE2899", DVPTR(RRTILE2899), 0, RRTILE2899__STATICRR }, - { "RRTILE2915", DVPTR(RRTILE2915), 0, RRTILE2915__STATICRR }, - { "RRTILE2940", DVPTR(RRTILE2940), 0, RRTILE2940__STATICRR }, - { "RRTILE2944", DVPTR(RRTILE2944), 0, RRTILE2944__STATICRR }, - { "RRTILE2945", DVPTR(RRTILE2945), 0, RRTILE2945__STATICRR }, - { "RRTILE2946", DVPTR(RRTILE2946), 0, RRTILE2946__STATICRR }, - { "RRTILE2947", DVPTR(RRTILE2947), 0, RRTILE2947__STATICRR }, - { "RRTILE2948", DVPTR(RRTILE2948), 0, RRTILE2948__STATICRR }, - { "RRTILE2949", DVPTR(RRTILE2949), 0, RRTILE2949__STATICRR }, - { "RRTILE2961", DVPTR(RRTILE2961), 0, RRTILE2961__STATICRR }, - { "RRTILE2970", DVPTR(RRTILE2970), 0, RRTILE2970__STATICRR }, - { "RRTILE2977", DVPTR(RRTILE2977), 0, RRTILE2977__STATICRR }, - { "RRTILE2978", DVPTR(RRTILE2978), 0, RRTILE2978__STATICRR }, - { "RRTILE2990", DVPTR(RRTILE2990), 0, RRTILE2990__STATICRR }, - { "RRTILE3073", DVPTR(RRTILE3073), 0, RRTILE3073__STATICRR }, - { "RRTILE3083", DVPTR(RRTILE3083), 0, RRTILE3083__STATICRR }, - { "RRTILE3100", DVPTR(RRTILE3100), 0, RRTILE3100__STATICRR }, - { "RRTILE3114", DVPTR(RRTILE3114), 0, RRTILE3114__STATICRR }, - { "RRTILE3115", DVPTR(RRTILE3115), 0, RRTILE3115__STATICRR }, - { "RRTILE3116", DVPTR(RRTILE3116), 0, RRTILE3116__STATICRR }, - { "RRTILE3117", DVPTR(RRTILE3117), 0, RRTILE3117__STATICRR }, - { "RRTILE3120", DVPTR(RRTILE3120), 0, RRTILE3120__STATICRR }, - { "RRTILE3121", DVPTR(RRTILE3121), 0, RRTILE3121__STATICRR }, - { "RRTILE3122", DVPTR(RRTILE3122), 0, RRTILE3122__STATICRR }, - { "RRTILE3123", DVPTR(RRTILE3123), 0, RRTILE3123__STATICRR }, - { "RRTILE3124", DVPTR(RRTILE3124), 0, RRTILE3124__STATICRR }, - { "RRTILE3132", DVPTR(RRTILE3132), 0, RRTILE3132__STATICRR }, - { "RRTILE3139", DVPTR(RRTILE3139), 0, RRTILE3139__STATICRR }, - { "RRTILE3144", DVPTR(RRTILE3144), 0, RRTILE3144__STATICRR }, - { "RRTILE3152", DVPTR(RRTILE3152), 0, RRTILE3152__STATICRR }, - { "RRTILE3153", DVPTR(RRTILE3153), 0, RRTILE3153__STATICRR }, - { "RRTILE3155", DVPTR(RRTILE3155), 0, RRTILE3155__STATICRR }, - { "RRTILE3171", DVPTR(RRTILE3171), 0, RRTILE3171__STATICRR }, - { "RRTILE3172", DVPTR(RRTILE3172), 0, RRTILE3172__STATICRR }, - { "RRTILE3190", DVPTR(RRTILE3190), 0, RRTILE3190__STATICRR }, - { "RRTILE3191", DVPTR(RRTILE3191), 0, RRTILE3191__STATICRR }, - { "RRTILE3192", DVPTR(RRTILE3192), 0, RRTILE3192__STATICRR }, - { "RRTILE3195", DVPTR(RRTILE3195), 0, RRTILE3195__STATICRR }, - { "RRTILE3200", DVPTR(RRTILE3200), 0, RRTILE3200__STATICRR }, - { "RRTILE3201", DVPTR(RRTILE3201), 0, RRTILE3201__STATICRR }, - { "RRTILE3202", DVPTR(RRTILE3202), 0, RRTILE3202__STATICRR }, - { "RRTILE3203", DVPTR(RRTILE3203), 0, RRTILE3203__STATICRR }, - { "RRTILE3204", DVPTR(RRTILE3204), 0, RRTILE3204__STATICRR }, - { "RRTILE3205", DVPTR(RRTILE3205), 0, RRTILE3205__STATICRR }, - { "RRTILE3206", DVPTR(RRTILE3206), 0, RRTILE3206__STATICRR }, - { "RRTILE3207", DVPTR(RRTILE3207), 0, RRTILE3207__STATICRR }, - { "RRTILE3208", DVPTR(RRTILE3208), 0, RRTILE3208__STATICRR }, - { "RRTILE3209", DVPTR(RRTILE3209), 0, RRTILE3209__STATICRR }, - { "RRTILE3216", DVPTR(RRTILE3216), 0, RRTILE3216__STATICRR }, - { "RRTILE3218", DVPTR(RRTILE3218), 0, RRTILE3218__STATICRR }, - { "RRTILE3219", DVPTR(RRTILE3219), 0, RRTILE3219__STATICRR }, - { "RRTILE3232", DVPTR(RRTILE3232), 0, RRTILE3232__STATICRR }, - { "SHOTGUNSHELLS", DVPTR(SHOTGUNSHELLS), 0, SHOTGUNSHELLS__STATICRR }, - { "CIRCLESTUCK", DVPTR(CIRCLESTUCK), 0, CIRCLESTUCK__STATICRR }, - { "RRTILE3410", DVPTR(RRTILE3410), 0, RRTILE3410__STATICRR }, - { "LUMBERBLADE", DVPTR(LUMBERBLADE), 0, LUMBERBLADE__STATICRR }, - { "BOWLINGBALLH", DVPTR(BOWLINGBALLH), 0, BOWLINGBALLH__STATICRR }, - { "BOWLINGBALL", DVPTR(BOWLINGBALL), 0, BOWLINGBALL__STATICRR }, - { "BOWLINGBALLSPRITE", DVPTR(BOWLINGBALLSPRITE), 0, BOWLINGBALLSPRITE__STATICRR }, - { "POWDERH", DVPTR(POWDERH), 0, POWDERH__STATICRR }, - { "RRTILE3440", DVPTR(RRTILE3440), 0, RRTILE3440__STATICRR }, - { "RRTILE3462", DVPTR(RRTILE3462), 0, RRTILE3462__STATICRR }, - { "OWHIP", DVPTR(OWHIP), 0, OWHIP__STATICRR }, - { "UWHIP", DVPTR(UWHIP), 0, UWHIP__STATICRR }, - { "RPGGUN2", DVPTR(RPGGUN2), 0, RPGGUN2__STATICRR }, - { "RRTILE3497", DVPTR(RRTILE3497), 0, RRTILE3497__STATICRR }, - { "RRTILE3498", DVPTR(RRTILE3498), 0, RRTILE3498__STATICRR }, - { "RRTILE3499", DVPTR(RRTILE3499), 0, RRTILE3499__STATICRR }, - { "RRTILE3500", DVPTR(RRTILE3500), 0, RRTILE3500__STATICRR }, - { "SLINGBLADE", DVPTR(SLINGBLADE), 0, SLINGBLADE__STATICRR }, - { "RRTILE3584", DVPTR(RRTILE3584), 0, RRTILE3584__STATICRR }, - { "RRTILE3586", DVPTR(RRTILE3586), 0, RRTILE3586__STATICRR }, - { "RRTILE3587", DVPTR(RRTILE3587), 0, RRTILE3587__STATICRR }, - { "RRTILE3600", DVPTR(RRTILE3600), 0, RRTILE3600__STATICRR }, - { "RRTILE3631", DVPTR(RRTILE3631), 0, RRTILE3631__STATICRR }, - { "RRTILE3635", DVPTR(RRTILE3635), 0, RRTILE3635__STATICRR }, - { "RRTILE3637", DVPTR(RRTILE3637), 0, RRTILE3637__STATICRR }, - { "RRTILE3643", DVPTR(RRTILE3643), 0, RRTILE3643__STATICRR }, - { "RRTILE3647", DVPTR(RRTILE3647), 0, RRTILE3647__STATICRR }, - { "RRTILE3652", DVPTR(RRTILE3652), 0, RRTILE3652__STATICRR }, - { "RRTILE3653", DVPTR(RRTILE3653), 0, RRTILE3653__STATICRR }, - { "RRTILE3668", DVPTR(RRTILE3668), 0, RRTILE3668__STATICRR }, - { "RRTILE3671", DVPTR(RRTILE3671), 0, RRTILE3671__STATICRR }, - { "RRTILE3673", DVPTR(RRTILE3673), 0, RRTILE3673__STATICRR }, - { "RRTILE3677", DVPTR(RRTILE3677), 0, RRTILE3677__STATICRR }, - { "RRTILE3684", DVPTR(RRTILE3684), 0, RRTILE3684__STATICRR }, - { "RRTILE3708", DVPTR(RRTILE3708), 0, RRTILE3708__STATICRR }, - { "RRTILE3714", DVPTR(RRTILE3714), 0, RRTILE3714__STATICRR }, - { "RRTILE3716", DVPTR(RRTILE3716), 0, RRTILE3716__STATICRR }, - { "RRTILE3720", DVPTR(RRTILE3720), 0, RRTILE3720__STATICRR }, - { "RRTILE3723", DVPTR(RRTILE3723), 0, RRTILE3723__STATICRR }, - { "RRTILE3725", DVPTR(RRTILE3725), 0, RRTILE3725__STATICRR }, - { "RRTILE3737", DVPTR(RRTILE3737), 0, RRTILE3737__STATICRR }, - { "RRTILE3754", DVPTR(RRTILE3754), 0, RRTILE3754__STATICRR }, - { "RRTILE3762", DVPTR(RRTILE3762), 0, RRTILE3762__STATICRR }, - { "RRTILE3763", DVPTR(RRTILE3763), 0, RRTILE3763__STATICRR }, - { "RRTILE3764", DVPTR(RRTILE3764), 0, RRTILE3764__STATICRR }, - { "RRTILE3765", DVPTR(RRTILE3765), 0, RRTILE3765__STATICRR }, - { "RRTILE3767", DVPTR(RRTILE3767), 0, RRTILE3767__STATICRR }, - { "RRTILE3773", DVPTR(RRTILE3773), 0, RRTILE3773__STATICRR }, - { "RRTILE3774", DVPTR(RRTILE3774), 0, RRTILE3774__STATICRR }, - { "RRTILE3793", DVPTR(RRTILE3793), 0, RRTILE3793__STATICRR }, - { "RRTILE3795", DVPTR(RRTILE3795), 0, RRTILE3795__STATICRR }, - { "RRTILE3804", DVPTR(RRTILE3804), 0, RRTILE3804__STATICRR }, - { "RRTILE3814", DVPTR(RRTILE3814), 0, RRTILE3814__STATICRR }, - { "RRTILE3815", DVPTR(RRTILE3815), 0, RRTILE3815__STATICRR }, - { "RRTILE3819", DVPTR(RRTILE3819), 0, RRTILE3819__STATICRR }, - { "RRTILE3827", DVPTR(RRTILE3827), 0, RRTILE3827__STATICRR }, - { "RRTILE3837", DVPTR(RRTILE3837), 0, RRTILE3837__STATICRR }, - { "RRTILE5014", DVPTR(RRTILE5014), 0, RRTILE5014__STATICRR }, - { "RRTILE5016", DVPTR(RRTILE5016), 0, RRTILE5016__STATICRR }, - { "RRTILE5017", DVPTR(RRTILE5017), 0, RRTILE5017__STATICRR }, - { "RRTILE5018", DVPTR(RRTILE5018), 0, RRTILE5018__STATICRR }, - { "RRTILE5019", DVPTR(RRTILE5019), 0, RRTILE5019__STATICRR }, - { "RRTILE5020", DVPTR(RRTILE5020), 0, RRTILE5020__STATICRR }, - { "RRTILE5021", DVPTR(RRTILE5021), 0, RRTILE5021__STATICRR }, - { "RRTILE5022", DVPTR(RRTILE5022), 0, RRTILE5022__STATICRR }, - { "RRTILE5023", DVPTR(RRTILE5023), 0, RRTILE5023__STATICRR }, - { "RRTILE5024", DVPTR(RRTILE5024), 0, RRTILE5024__STATICRR }, - { "RRTILE5025", DVPTR(RRTILE5025), 0, RRTILE5025__STATICRR }, - { "RRTILE5026", DVPTR(RRTILE5026), 0, RRTILE5026__STATICRR }, - { "RRTILE5027", DVPTR(RRTILE5027), 0, RRTILE5027__STATICRR }, - { "RRTILE5029", DVPTR(RRTILE5029), 0, RRTILE5029__STATICRR }, - { "RRTILE5030", DVPTR(RRTILE5030), 0, RRTILE5030__STATICRR }, - { "RRTILE5031", DVPTR(RRTILE5031), 0, RRTILE5031__STATICRR }, - { "RRTILE5032", DVPTR(RRTILE5032), 0, RRTILE5032__STATICRR }, - { "RRTILE5033", DVPTR(RRTILE5033), 0, RRTILE5033__STATICRR }, - { "RRTILE5034", DVPTR(RRTILE5034), 0, RRTILE5034__STATICRR }, - { "RRTILE5035", DVPTR(RRTILE5035), 0, RRTILE5035__STATICRR }, - { "RRTILE5036", DVPTR(RRTILE5036), 0, RRTILE5036__STATICRR }, - { "RRTILE5037", DVPTR(RRTILE5037), 0, RRTILE5037__STATICRR }, - { "RRTILE5038", DVPTR(RRTILE5038), 0, RRTILE5038__STATICRR }, - { "RRTILE5039", DVPTR(RRTILE5039), 0, RRTILE5039__STATICRR }, - { "RRTILE5040", DVPTR(RRTILE5040), 0, RRTILE5040__STATICRR }, - { "RRTILE5041", DVPTR(RRTILE5041), 0, RRTILE5041__STATICRR }, - { "RRTILE5043", DVPTR(RRTILE5043), 0, RRTILE5043__STATICRR }, - { "RRTILE5044", DVPTR(RRTILE5044), 0, RRTILE5044__STATICRR }, - { "RRTILE5045", DVPTR(RRTILE5045), 0, RRTILE5045__STATICRR }, - { "RRTILE5046", DVPTR(RRTILE5046), 0, RRTILE5046__STATICRR }, - { "RRTILE5047", DVPTR(RRTILE5047), 0, RRTILE5047__STATICRR }, - { "RRTILE5048", DVPTR(RRTILE5048), 0, RRTILE5048__STATICRR }, - { "RRTILE5049", DVPTR(RRTILE5049), 0, RRTILE5049__STATICRR }, - { "RRTILE5050", DVPTR(RRTILE5050), 0, RRTILE5050__STATICRR }, - { "RRTILE5051", DVPTR(RRTILE5051), 0, RRTILE5051__STATICRR }, - { "RRTILE5052", DVPTR(RRTILE5052), 0, RRTILE5052__STATICRR }, - { "RRTILE5053", DVPTR(RRTILE5053), 0, RRTILE5053__STATICRR }, - { "RRTILE5054", DVPTR(RRTILE5054), 0, RRTILE5054__STATICRR }, - { "RRTILE5055", DVPTR(RRTILE5055), 0, RRTILE5055__STATICRR }, - { "RRTILE5056", DVPTR(RRTILE5056), 0, RRTILE5056__STATICRR }, - { "RRTILE5057", DVPTR(RRTILE5057), 0, RRTILE5057__STATICRR }, - { "RRTILE5058", DVPTR(RRTILE5058), 0, RRTILE5058__STATICRR }, - { "RRTILE5059", DVPTR(RRTILE5059), 0, RRTILE5059__STATICRR }, - { "RRTILE5061", DVPTR(RRTILE5061), 0, RRTILE5061__STATICRR }, - { "RRTILE5062", DVPTR(RRTILE5062), 0, RRTILE5062__STATICRR }, - { "RRTILE5063", DVPTR(RRTILE5063), 0, RRTILE5063__STATICRR }, - { "RRTILE5064", DVPTR(RRTILE5064), 0, RRTILE5064__STATICRR }, - { "RRTILE5065", DVPTR(RRTILE5065), 0, RRTILE5065__STATICRR }, - { "RRTILE5066", DVPTR(RRTILE5066), 0, RRTILE5066__STATICRR }, - { "RRTILE5067", DVPTR(RRTILE5067), 0, RRTILE5067__STATICRR }, - { "RRTILE5068", DVPTR(RRTILE5068), 0, RRTILE5068__STATICRR }, - { "RRTILE5069", DVPTR(RRTILE5069), 0, RRTILE5069__STATICRR }, - { "RRTILE5070", DVPTR(RRTILE5070), 0, RRTILE5070__STATICRR }, - { "RRTILE5071", DVPTR(RRTILE5071), 0, RRTILE5071__STATICRR }, - { "RRTILE5072", DVPTR(RRTILE5072), 0, RRTILE5072__STATICRR }, - { "RRTILE5073", DVPTR(RRTILE5073), 0, RRTILE5073__STATICRR }, - { "RRTILE5074", DVPTR(RRTILE5074), 0, RRTILE5074__STATICRR }, - { "RRTILE5075", DVPTR(RRTILE5075), 0, RRTILE5075__STATICRR }, - { "RRTILE5076", DVPTR(RRTILE5076), 0, RRTILE5076__STATICRR }, - { "RRTILE5077", DVPTR(RRTILE5077), 0, RRTILE5077__STATICRR }, - { "RRTILE5078", DVPTR(RRTILE5078), 0, RRTILE5078__STATICRR }, - { "RRTILE5079", DVPTR(RRTILE5079), 0, RRTILE5079__STATICRR }, - { "RRTILE5080", DVPTR(RRTILE5080), 0, RRTILE5080__STATICRR }, - { "RRTILE5081", DVPTR(RRTILE5081), 0, RRTILE5081__STATICRR }, - { "RRTILE5082", DVPTR(RRTILE5082), 0, RRTILE5082__STATICRR }, - { "RRTILE5083", DVPTR(RRTILE5083), 0, RRTILE5083__STATICRR }, - { "RRTILE5084", DVPTR(RRTILE5084), 0, RRTILE5084__STATICRR }, - { "RRTILE5085", DVPTR(RRTILE5085), 0, RRTILE5085__STATICRR }, - { "RRTILE5086", DVPTR(RRTILE5086), 0, RRTILE5086__STATICRR }, - { "RRTILE5087", DVPTR(RRTILE5087), 0, RRTILE5087__STATICRR }, - { "RRTILE5088", DVPTR(RRTILE5088), 0, RRTILE5088__STATICRR }, - { "RRTILE5090", DVPTR(RRTILE5090), 0, RRTILE5090__STATICRR }, - { "RRTILE6144", DVPTR(RRTILE6144), 0, RRTILE6144__STATICRR }, - { "RRTILE7010", DVPTR(RRTILE7110), 0, RRTILE7110__STATICRR }, - { "RRTILE7011", DVPTR(RRTILE7111), 0, RRTILE7111__STATICRR }, - { "RRTILE7012", DVPTR(RRTILE7112), 0, RRTILE7112__STATICRR }, - { "RRTILE7013", DVPTR(RRTILE7113), 0, RRTILE7113__STATICRR }, - { "MOTOGUN", DVPTR(MOTOGUN), 0, MOTOGUN__STATICRR }, - { "RRTILE7169", DVPTR(RRTILE7169), 0, RRTILE7169__STATICRR }, - { "MOTOHIT", DVPTR(MOTOHIT), 0, MOTOHIT__STATICRR }, - { "BOATHIT", DVPTR(BOATHIT), 0, BOATHIT__STATICRR }, - { "RRTILE7184", DVPTR(RRTILE7184), 0, RRTILE7184__STATICRR }, - { "RRTILE7190", DVPTR(RRTILE7190), 0, RRTILE7190__STATICRR }, - { "RRTILE7191", DVPTR(RRTILE7191), 0, RRTILE7191__STATICRR }, - { "RRTILE7213", DVPTR(RRTILE7213), 0, RRTILE7213__STATICRR }, - { "RRTILE7219", DVPTR(RRTILE7219), 0, RRTILE7219__STATICRR }, - { "EMPTYBIKE", DVPTR(EMPTYBIKE), 0, EMPTYBIKE__STATICRR }, - { "EMPTYBOAT", DVPTR(EMPTYBOAT), 0, EMPTYBOAT__STATICRR }, - { "RRTILE7424", DVPTR(RRTILE7424), 0, RRTILE7424__STATICRR }, - { "RRTILE7430", DVPTR(RRTILE7430), 0, RRTILE7430__STATICRR }, - { "RRTILE7433", DVPTR(RRTILE7433), 0, RRTILE7433__STATICRR }, - { "RRTILE7441", DVPTR(RRTILE7441), 0, RRTILE7441__STATICRR }, - { "RRTILE7547", DVPTR(RRTILE7547), 0, RRTILE7547__STATICRR }, - { "RRTILE7467", DVPTR(RRTILE7467), 0, RRTILE7467__STATICRR }, - { "RRTILE7469", DVPTR(RRTILE7469), 0, RRTILE7469__STATICRR }, - { "RRTILE7470", DVPTR(RRTILE7470), 0, RRTILE7470__STATICRR }, - { "RRTILE7475", DVPTR(RRTILE7475), 0, RRTILE7475__STATICRR }, - { "RRTILE7478", DVPTR(RRTILE7478), 0, RRTILE7478__STATICRR }, - { "RRTILE7505", DVPTR(RRTILE7505), 0, RRTILE7505__STATICRR }, - { "RRTILE7506", DVPTR(RRTILE7506), 0, RRTILE7506__STATICRR }, - { "RRTILE7534", DVPTR(RRTILE7534), 0, RRTILE7534__STATICRR }, - { "RRTILE7540", DVPTR(RRTILE7540), 0, RRTILE7540__STATICRR }, - { "RRTILE7533", DVPTR(RRTILE7533), 0, RRTILE7533__STATICRR }, - { "RRTILE7545", DVPTR(RRTILE7545), 0, RRTILE7545__STATICRR }, - { "RRTILE7552", DVPTR(RRTILE7552), 0, RRTILE7552__STATICRR }, - { "RRTILE7553", DVPTR(RRTILE7553), 0, RRTILE7553__STATICRR }, - { "RRTILE7554", DVPTR(RRTILE7554), 0, RRTILE7554__STATICRR }, - { "RRTILE7555", DVPTR(RRTILE7555), 0, RRTILE7555__STATICRR }, - { "RRTILE7557", DVPTR(RRTILE7557), 0, RRTILE7557__STATICRR }, - { "RRTILE7558", DVPTR(RRTILE7558), 0, RRTILE7558__STATICRR }, - { "RRTILE7559", DVPTR(RRTILE7559), 0, RRTILE7559__STATICRR }, - { "RRTILE7561", DVPTR(RRTILE7561), 0, RRTILE7561__STATICRR }, - { "RRTILE7566", DVPTR(RRTILE7566), 0, RRTILE7566__STATICRR }, - { "RRTILE7568", DVPTR(RRTILE7568), 0, RRTILE7568__STATICRR }, - { "RRTILE7574", DVPTR(RRTILE7574), 0, RRTILE7574__STATICRR }, - { "RRTILE7575", DVPTR(RRTILE7575), 0, RRTILE7575__STATICRR }, - { "RRTILE7576", DVPTR(RRTILE7576), 0, RRTILE7576__STATICRR }, - { "RRTILE7578", DVPTR(RRTILE7578), 0, RRTILE7578__STATICRR }, - { "RRTILE7579", DVPTR(RRTILE7579), 0, RRTILE7579__STATICRR }, - { "RRTILE7580", DVPTR(RRTILE7580), 0, RRTILE7580__STATICRR }, - { "RRTILE7595", DVPTR(RRTILE7595), 0, RRTILE7595__STATICRR }, - { "RRTILE7629", DVPTR(RRTILE7629), 0, RRTILE7629__STATICRR }, - { "RRTILE7636", DVPTR(RRTILE7636), 0, RRTILE7636__STATICRR }, - { "RRTILE7638", DVPTR(RRTILE7638), 0, RRTILE7638__STATICRR }, - { "RRTILE7640", DVPTR(RRTILE7640), 0, RRTILE7640__STATICRR }, - { "RRTILE7644", DVPTR(RRTILE7644), 0, RRTILE7644__STATICRR }, - { "RRTILE7646", DVPTR(RRTILE7646), 0, RRTILE7646__STATICRR }, - { "RRTILE7648", DVPTR(RRTILE7648), 0, RRTILE7648__STATICRR }, - { "RRTILE7650", DVPTR(RRTILE7650), 0, RRTILE7650__STATICRR }, - { "RRTILE7653", DVPTR(RRTILE7653), 0, RRTILE7653__STATICRR }, - { "RRTILE7655", DVPTR(RRTILE7655), 0, RRTILE7655__STATICRR }, - { "RRTILE7657", DVPTR(RRTILE7657), 0, RRTILE7657__STATICRR }, - { "RRTILE7659", DVPTR(RRTILE7659), 0, RRTILE7659__STATICRR }, - { "RRTILE7691", DVPTR(RRTILE7691), 0, RRTILE7691__STATICRR }, - { "RRTILE7694", DVPTR(RRTILE7694), 0, RRTILE7694__STATICRR }, - { "RRTILE7696", DVPTR(RRTILE7696), 0, RRTILE7696__STATICRR }, - { "RRTILE7697", DVPTR(RRTILE7697), 0, RRTILE7697__STATICRR }, - { "RRTILE7700", DVPTR(RRTILE7700), 0, RRTILE7700__STATICRR }, - { "RRTILE7702", DVPTR(RRTILE7702), 0, RRTILE7702__STATICRR }, - { "RRTILE7704", DVPTR(RRTILE7704), 0, RRTILE7704__STATICRR }, - { "RRTILE7705", DVPTR(RRTILE7705), 0, RRTILE7705__STATICRR }, - { "RRTILE7711", DVPTR(RRTILE7711), 0, RRTILE7711__STATICRR }, - { "RRTILE7716", DVPTR(RRTILE7716), 0, RRTILE7716__STATICRR }, - { "RRTILE7756", DVPTR(RRTILE7756), 0, RRTILE7756__STATICRR }, - { "RRTILE7768", DVPTR(RRTILE7768), 0, RRTILE7768__STATICRR }, - { "RRTILE7806", DVPTR(RRTILE7806), 0, RRTILE7806__STATICRR }, - { "RRTILE7820", DVPTR(RRTILE7820), 0, RRTILE7820__STATICRR }, - { "RRTILE7859", DVPTR(RRTILE7859), 0, RRTILE7859__STATICRR }, - { "RRTILE7870", DVPTR(RRTILE7870), 0, RRTILE7870__STATICRR }, - { "RRTILE7873", DVPTR(RRTILE7873), 0, RRTILE7873__STATICRR }, - { "RRTILE7875", DVPTR(RRTILE7875), 0, RRTILE7875__STATICRR }, - { "RRTILE7876", DVPTR(RRTILE7876), 0, RRTILE7876__STATICRR }, - { "RRTILE7879", DVPTR(RRTILE7879), 0, RRTILE7879__STATICRR }, - { "RRTILE7881", DVPTR(RRTILE7881), 0, RRTILE7881__STATICRR }, - { "RRTILE7883", DVPTR(RRTILE7883), 0, RRTILE7883__STATICRR }, - { "RRTILE7885", DVPTR(RRTILE7885), 0, RRTILE7885__STATICRR }, - { "RRTILE7886", DVPTR(RRTILE7886), 0, RRTILE7886__STATICRR }, - { "RRTILE7887", DVPTR(RRTILE7887), 0, RRTILE7887__STATICRR }, - { "RRTILE7888", DVPTR(RRTILE7888), 0, RRTILE7888__STATICRR }, - { "RRTILE7889", DVPTR(RRTILE7889), 0, RRTILE7889__STATICRR }, - { "RRTILE7890", DVPTR(RRTILE7890), 0, RRTILE7890__STATICRR }, - { "RRTILE7900", DVPTR(RRTILE7900), 0, RRTILE7900__STATICRR }, - { "RRTILE7901", DVPTR(RRTILE7901), 0, RRTILE7901__STATICRR }, - { "RRTILE7906", DVPTR(RRTILE7906), 0, RRTILE7906__STATICRR }, - { "RRTILE7912", DVPTR(RRTILE7912), 0, RRTILE7912__STATICRR }, - { "RRTILE7913", DVPTR(RRTILE7913), 0, RRTILE7913__STATICRR }, - { "RRTILE7936", DVPTR(RRTILE7936), 0, RRTILE7936__STATICRR }, - { "RRTILE8047", DVPTR(RRTILE8047), 0, RRTILE8047__STATICRR }, - { "MULTISWITCH2", DVPTR(MULTISWITCH2), 0, MULTISWITCH2__STATICRR }, - { "RRTILE8059", DVPTR(RRTILE8059), 0, RRTILE8059__STATICRR }, - { "RRTILE8060", DVPTR(RRTILE8060), 0, RRTILE8060__STATICRR }, - { "RRTILE8063", DVPTR(RRTILE8063), 0, RRTILE8063__STATICRR }, - { "RRTILE8067", DVPTR(RRTILE8067), 0, RRTILE8067__STATICRR }, - { "RRTILE8076", DVPTR(RRTILE8076), 0, RRTILE8076__STATICRR }, - { "RRTILE8094", DVPTR(RRTILE8094), 0, RRTILE8094__STATICRR }, - { "RRTILE8096", DVPTR(RRTILE8096), 0, RRTILE8096__STATICRR }, - { "RRTILE8099", DVPTR(RRTILE8099), 0, RRTILE8099__STATICRR }, - { "RRTILE8106", DVPTR(RRTILE8106), 0, RRTILE8106__STATICRR }, - { "RRTILE8162", DVPTR(RRTILE8162), 0, RRTILE8162__STATICRR }, - { "RRTILE8163", DVPTR(RRTILE8163), 0, RRTILE8163__STATICRR }, - { "RRTILE8164", DVPTR(RRTILE8164), 0, RRTILE8164__STATICRR }, - { "RRTILE8165", DVPTR(RRTILE8165), 0, RRTILE8165__STATICRR }, - { "RRTILE8166", DVPTR(RRTILE8166), 0, RRTILE8166__STATICRR }, - { "RRTILE8167", DVPTR(RRTILE8167), 0, RRTILE8167__STATICRR }, - { "RRTILE8168", DVPTR(RRTILE8168), 0, RRTILE8168__STATICRR }, - { "RRTILE8192", DVPTR(RRTILE8192), 0, RRTILE8192__STATICRR }, - { "RRTILE8193", DVPTR(RRTILE8193), 0, RRTILE8193__STATICRR }, - { "RRTILE8215", DVPTR(RRTILE8215), 0, RRTILE8215__STATICRR }, - { "RRTILE8216", DVPTR(RRTILE8216), 0, RRTILE8216__STATICRR }, - { "RRTILE8217", DVPTR(RRTILE8217), 0, RRTILE8217__STATICRR }, - { "RRTILE8218", DVPTR(RRTILE8218), 0, RRTILE8218__STATICRR }, - { "RRTILE8220", DVPTR(RRTILE8220), 0, RRTILE8220__STATICRR }, - { "RRTILE8221", DVPTR(RRTILE8221), 0, RRTILE8221__STATICRR }, - { "RRTILE8222", DVPTR(RRTILE8222), 0, RRTILE8222__STATICRR }, - { "RRTILE8223", DVPTR(RRTILE8223), 0, RRTILE8223__STATICRR }, - { "RRTILE8224", DVPTR(RRTILE8224), 0, RRTILE8224__STATICRR }, - { "RRTILE8227", DVPTR(RRTILE8227), 0, RRTILE8227__STATICRR }, - { "RRTILE8312", DVPTR(RRTILE8312), 0, RRTILE8312__STATICRR }, - { "RRTILE8370", DVPTR(RRTILE8370), 0, RRTILE8370__STATICRR }, - { "RRTILE8371", DVPTR(RRTILE8371), 0, RRTILE8371__STATICRR }, - { "RRTILE8372", DVPTR(RRTILE8372), 0, RRTILE8372__STATICRR }, - { "RRTILE8373", DVPTR(RRTILE8373), 0, RRTILE8373__STATICRR }, - { "RRTILE8379", DVPTR(RRTILE8379), 0, RRTILE8379__STATICRR }, - { "RRTILE8380", DVPTR(RRTILE8380), 0, RRTILE8380__STATICRR }, - { "RRTILE8385", DVPTR(RRTILE8385), 0, RRTILE8385__STATICRR }, - { "RRTILE8386", DVPTR(RRTILE8386), 0, RRTILE8386__STATICRR }, - { "RRTILE8387", DVPTR(RRTILE8387), 0, RRTILE8387__STATICRR }, - { "RRTILE8388", DVPTR(RRTILE8388), 0, RRTILE8388__STATICRR }, - { "RRTILE8389", DVPTR(RRTILE8389), 0, RRTILE8389__STATICRR }, - { "RRTILE8390", DVPTR(RRTILE8390), 0, RRTILE8390__STATICRR }, - { "RRTILE8391", DVPTR(RRTILE8391), 0, RRTILE8391__STATICRR }, - { "RRTILE8392", DVPTR(RRTILE8392), 0, RRTILE8392__STATICRR }, - { "RRTILE8394", DVPTR(RRTILE8394), 0, RRTILE8394__STATICRR }, - { "RRTILE8395", DVPTR(RRTILE8395), 0, RRTILE8395__STATICRR }, - { "RRTILE8396", DVPTR(RRTILE8396), 0, RRTILE8396__STATICRR }, - { "RRTILE8397", DVPTR(RRTILE8397), 0, RRTILE8397__STATICRR }, - { "RRTILE8398", DVPTR(RRTILE8398), 0, RRTILE8398__STATICRR }, - { "RRTILE8399", DVPTR(RRTILE8399), 0, RRTILE8399__STATICRR }, - { "RRTILE8423", DVPTR(RRTILE8423), 0, RRTILE8423__STATICRR }, - { "RRTILE8448", DVPTR(RRTILE8448), 0, RRTILE8448__STATICRR }, - { "RRTILE8450", DVPTR(RRTILE8450), 0, RRTILE8450__STATICRR }, - { "BOATAMMO", DVPTR(BOATAMMO), 0, BOATAMMO__STATICRR }, - { "RRTILE8461", DVPTR(RRTILE8461), 0, RRTILE8461__STATICRR }, - { "RRTILE8462", DVPTR(RRTILE8462), 0, RRTILE8462__STATICRR }, - { "RRTILE8464", DVPTR(RRTILE8464), 0, RRTILE8464__STATICRR }, - { "RRTILE8475", DVPTR(RRTILE8475), 0, RRTILE8475__STATICRR }, - { "RRTILE8487", DVPTR(RRTILE8487), 0, RRTILE8487__STATICRR }, - { "RRTILE8488", DVPTR(RRTILE8488), 0, RRTILE8488__STATICRR }, - { "RRTILE8489", DVPTR(RRTILE8489), 0, RRTILE8489__STATICRR }, - { "RRTILE8490", DVPTR(RRTILE8490), 0, RRTILE8490__STATICRR }, - { "RRTILE8496", DVPTR(RRTILE8496), 0, RRTILE8496__STATICRR }, - { "RRTILE8497", DVPTR(RRTILE8497), 0, RRTILE8497__STATICRR }, - { "RRTILE8498", DVPTR(RRTILE8498), 0, RRTILE8498__STATICRR }, - { "RRTILE8499", DVPTR(RRTILE8499), 0, RRTILE8499__STATICRR }, - { "RRTILE8503", DVPTR(RRTILE8503), 0, RRTILE8503__STATICRR }, - { "RRTILE8525", DVPTR(RRTILE8525), 0, RRTILE8525__STATICRR }, - { "RRTILE8537", DVPTR(RRTILE8537), 0, RRTILE8537__STATICRR }, - { "RRTILE8565", DVPTR(RRTILE8565), 0, RRTILE8565__STATICRR }, - { "RRTILE8567", DVPTR(RRTILE8567), 0, RRTILE8567__STATICRR }, - { "RRTILE8568", DVPTR(RRTILE8568), 0, RRTILE8568__STATICRR }, - { "RRTILE8569", DVPTR(RRTILE8569), 0, RRTILE8569__STATICRR }, - { "RRTILE8570", DVPTR(RRTILE8570), 0, RRTILE8570__STATICRR }, - { "RRTILE8571", DVPTR(RRTILE8571), 0, RRTILE8571__STATICRR }, - { "RRTILE8579", DVPTR(RRTILE8579), 0, RRTILE8579__STATICRR }, - { "RRTILE8588", DVPTR(RRTILE8588), 0, RRTILE8588__STATICRR }, - { "RRTILE8589", DVPTR(RRTILE8589), 0, RRTILE8589__STATICRR }, - { "RRTILE8590", DVPTR(RRTILE8590), 0, RRTILE8590__STATICRR }, - { "RRTILE8591", DVPTR(RRTILE8591), 0, RRTILE8591__STATICRR }, - { "RRTILE8592", DVPTR(RRTILE8592), 0, RRTILE8592__STATICRR }, - { "RRTILE8593", DVPTR(RRTILE8593), 0, RRTILE8593__STATICRR }, - { "RRTILE8594", DVPTR(RRTILE8594), 0, RRTILE8594__STATICRR }, - { "RRTILE8595", DVPTR(RRTILE8595), 0, RRTILE8595__STATICRR }, - { "RRTILE8596", DVPTR(RRTILE8596), 0, RRTILE8596__STATICRR }, - { "RRTILE8598", DVPTR(RRTILE8598), 0, RRTILE8598__STATICRR }, - { "RRTILE8605", DVPTR(RRTILE8605), 0, RRTILE8605__STATICRR }, - { "RRTILE8608", DVPTR(RRTILE8608), 0, RRTILE8608__STATICRR }, - { "RRTILE8609", DVPTR(RRTILE8609), 0, RRTILE8609__STATICRR }, - { "RRTILE8611", DVPTR(RRTILE8611), 0, RRTILE8611__STATICRR }, - { "RRTILE8617", DVPTR(RRTILE8617), 0, RRTILE8617__STATICRR }, - { "RRTILE8618", DVPTR(RRTILE8618), 0, RRTILE8618__STATICRR }, - { "RRTILE8620", DVPTR(RRTILE8620), 0, RRTILE8620__STATICRR }, - { "RRTILE8621", DVPTR(RRTILE8621), 0, RRTILE8621__STATICRR }, - { "RRTILE8622", DVPTR(RRTILE8622), 0, RRTILE8622__STATICRR }, - { "RRTILE8623", DVPTR(RRTILE8623), 0, RRTILE8623__STATICRR }, - { "RRTILE8624", DVPTR(RRTILE8624), 0, RRTILE8624__STATICRR }, - { "RRTILE8640", DVPTR(RRTILE8640), 0, RRTILE8640__STATICRR }, - { "RRTILE8651", DVPTR(RRTILE8651), 0, RRTILE8651__STATICRR }, - { "RRTILE8660", DVPTR(RRTILE8660), 0, RRTILE8660__STATICRR }, - { "RRTILE8677", DVPTR(RRTILE8677), 0, RRTILE8677__STATICRR }, - { "RRTILE8679", DVPTR(RRTILE8679), 0, RRTILE8679__STATICRR }, - { "RRTILE8680", DVPTR(RRTILE8680), 0, RRTILE8680__STATICRR }, - { "RRTILE8681", DVPTR(RRTILE8681), 0, RRTILE8681__STATICRR }, - { "RRTILE8682", DVPTR(RRTILE8682), 0, RRTILE8682__STATICRR }, - { "RRTILE8683", DVPTR(RRTILE8683), 0, RRTILE8683__STATICRR }, - { "RRTILE8704", DVPTR(RRTILE8704), 0, RRTILE8704__STATICRR }, - { "BOULDER", DVPTR(BOULDER), 0, BOULDER__STATICRR }, - { "BOULDER1", DVPTR(BOULDER1), 0, BOULDER1__STATICRR }, - { "TORNADO", DVPTR(TORNADO), 0, TORNADO__STATICRR }, - { "CHEERBOMB", DVPTR(CHEERBOMB), 0, CHEERBOMB__STATICRR }, - { "CHEERBLADE", DVPTR(CHEERBLADE), 0, CHEERBLADE__STATICRR }, - { "DOGATTACK", DVPTR(DOGATTACK), 0, DOGATTACK__STATICRR }, - { "BILLYWALK", DVPTR(BILLYWALK), 0, BILLYWALK__STATICRR }, - { "BILLYDIE", DVPTR(BILLYDIE), 0, BILLYDIE__STATICRR }, - { "BILLYCOCK", DVPTR(BILLYCOCK), 0, BILLYCOCK__STATICRR }, - { "BILLYRAY", DVPTR(BILLYRAY), 0, BILLYRAY__STATICRR }, - { "BILLYRAYSTAYPUT", DVPTR(BILLYRAYSTAYPUT), 0, BILLYRAYSTAYPUT__STATICRR }, - { "BILLYBUT", DVPTR(BILLYBUT), 0, BILLYBUT__STATICRR }, - { "BILLYSCRATCH", DVPTR(BILLYSCRATCH), 0, BILLYSCRATCH__STATICRR }, - { "BILLYSNIFF", DVPTR(BILLYSNIFF), 0, BILLYSNIFF__STATICRR }, - { "BILLYWOUND", DVPTR(BILLYWOUND), 0, BILLYWOUND__STATICRR }, - { "BILLYGORE", DVPTR(BILLYGORE), 0, BILLYGORE__STATICRR }, - { "BILLYJIBA", DVPTR(BILLYJIBA), 0, BILLYJIBA__STATICRR }, - { "BILLYJIBB", DVPTR(BILLYJIBB), 0, BILLYJIBB__STATICRR }, - { "BRAYSNIPER", DVPTR(BRAYSNIPER), 0, BRAYSNIPER__STATICRR }, - { "DOGRUN", DVPTR(DOGRUN), 0, DOGRUN__STATICRR }, - { "DOGDIE", DVPTR(DOGDIE), 0, DOGDIE__STATICRR }, - { "DOGDEAD", DVPTR(DOGDEAD), 0, DOGDEAD__STATICRR }, - { "DOGBARK", DVPTR(DOGBARK), 0, DOGBARK__STATICRR }, - { "LTH", DVPTR(LTH), 0, LTH__STATICRR }, - { "LTHSTRAFE", DVPTR(LTHSTRAFE), 0, LTHSTRAFE__STATICRR }, - { "HULKHANG", DVPTR(HULKHANG), 0, HULKHANG__STATICRR }, - { "HULKHANGDEAD", DVPTR(HULKHANGDEAD), 0, HULKHANGDEAD__STATICRR }, - { "HULKJUMP", DVPTR(HULKJUMP), 0, HULKJUMP__STATICRR }, - { "LTHLOAD", DVPTR(LTHLOAD), 0, LTHLOAD__STATICRR }, - { "LTHDIE", DVPTR(LTHDIE), 0, LTHDIE__STATICRR }, - { "BUBBASCRATCH", DVPTR(BUBBASCRATCH), 0, BUBBASCRATCH__STATICRR }, - { "BUBBANOSE", DVPTR(BUBBANOSE), 0, BUBBANOSE__STATICRR }, - { "BUBBAPISS", DVPTR(BUBBAPISS), 0, BUBBAPISS__STATICRR }, - { "BUBBASTAND", DVPTR(BUBBASTAND), 0, BUBBASTAND__STATICRR }, - { "BUBBAOUCH", DVPTR(BUBBAOUCH), 0, BUBBAOUCH__STATICRR }, - { "BUBBADIE", DVPTR(BUBBADIE), 0, BUBBADIE__STATICRR }, - { "BUBBADEAD", DVPTR(BUBBADEAD), 0, BUBBADEAD__STATICRR }, - { "HULK", DVPTR(HULK), 0, HULK__STATICRR }, - { "HULKSTAYPUT", DVPTR(HULKSTAYPUT), 0, HULKSTAYPUT__STATICRR }, - { "HULKA", DVPTR(HULKA), 0, HULKA__STATICRR }, - { "HULKB", DVPTR(HULKB), 0, HULKB__STATICRR }, - { "HULKC", DVPTR(HULKC), 0, HULKC__STATICRR }, - { "HULKJIBA", DVPTR(HULKJIBA), 0, HULKJIBA__STATICRR }, - { "HULKJIBB", DVPTR(HULKJIBB), 0, HULKJIBB__STATICRR }, - { "HULKJIBC", DVPTR(HULKJIBC), 0, HULKJIBC__STATICRR }, - { "SBSWIPE", DVPTR(SBSWIPE), 0, SBSWIPE__STATICRR }, - { "SBPAIN", DVPTR(SBPAIN), 0, SBPAIN__STATICRR }, - { "SBDIE", DVPTR(SBDIE), 0, SBDIE__STATICRR }, - { "HEN", DVPTR(HEN), 0, HEN__STATICRR }, - { "HENSTAYPUT", DVPTR(HENSTAYPUT), 0, HENSTAYPUT__STATICRR }, - { "HENSTAND", DVPTR(HENSTAND), 0, HENSTAND__STATICRR }, - { "PIG", DVPTR(PIG), 0, PIG__STATICRR }, - { "PIGSTAYPUT", DVPTR(PIGSTAYPUT), 0, PIGSTAYPUT__STATICRR }, - { "PIGEAT", DVPTR(PIGEAT), 0, PIGEAT__STATICRR }, - { "SBMOVE", DVPTR(SBMOVE), 0, SBMOVE__STATICRR }, - { "SBSPIT", DVPTR(SBSPIT), 0, SBSPIT__STATICRR }, - { "SBDIP", DVPTR(SBDIP), 0, SBDIP__STATICRR }, - { "MINION", DVPTR(MINION), 0, MINION__STATICRR }, - { "MINIONSTAYPUT", DVPTR(MINIONSTAYPUT), 0, MINIONSTAYPUT__STATICRR }, - { "UFO1", DVPTR(UFO1), 0, UFO1__STATICRR }, - { "UFO2", DVPTR(UFO2), 0, UFO2__STATICRR }, - { "UFO3", DVPTR(UFO3), 0, UFO3__STATICRR }, - { "UFO4", DVPTR(UFO4), 0, UFO4__STATICRR }, - { "UFO5", DVPTR(UFO5), 0, UFO5__STATICRR }, - { "MINJIBA", DVPTR(MINJIBA), 0, MINJIBA__STATICRR }, - { "MINJIBB", DVPTR(MINJIBB), 0, MINJIBB__STATICRR }, - { "MINJIBC", DVPTR(MINJIBC), 0, MINJIBC__STATICRR }, - { "COW", DVPTR(COW), 0, COW__STATICRR }, - { "COOT", DVPTR(COOT), 0, COOT__STATICRR }, - { "COOTSTAYPUT", DVPTR(COOTSTAYPUT), 0, COOTSTAYPUT__STATICRR }, - { "COOTSHOOT", DVPTR(COOTSHOOT), 0, COOTSHOOT__STATICRR }, - { "COOTDIE", DVPTR(COOTDIE), 0, COOTDIE__STATICRR }, - { "COOTDUCK", DVPTR(COOTDUCK), 0, COOTDUCK__STATICRR }, - { "COOTPAIN", DVPTR(COOTPAIN), 0, COOTPAIN__STATICRR }, - { "COOTTRANS", DVPTR(COOTTRANS), 0, COOTTRANS__STATICRR }, - { "COOTGETUP", DVPTR(COOTGETUP), 0, COOTGETUP__STATICRR }, - { "COOTJIBA", DVPTR(COOTJIBA), 0, COOTJIBA__STATICRR }, - { "COOTJIBB", DVPTR(COOTJIBB), 0, COOTJIBB__STATICRR }, - { "COOTJIBC", DVPTR(COOTJIBC), 0, COOTJIBC__STATICRR }, - { "VIXEN", DVPTR(VIXEN), 0, VIXEN__STATICRR }, - { "VIXENPAIN", DVPTR(VIXENPAIN), 0, VIXENPAIN__STATICRR }, - { "VIXENDIE", DVPTR(VIXENDIE), 0, VIXENDIE__STATICRR }, - { "VIXENSHOOT", DVPTR(VIXENSHOOT), 0, VIXENSHOOT__STATICRR }, - { "VIXENWDN", DVPTR(VIXENWDN), 0, VIXENWDN__STATICRR }, - { "VIXENWUP", DVPTR(VIXENWUP), 0, VIXENWUP__STATICRR }, - { "VIXENKICK", DVPTR(VIXENKICK), 0, VIXENKICK__STATICRR }, - { "VIXENTELE", DVPTR(VIXENTELE), 0, VIXENTELE__STATICRR }, - { "VIXENTEAT", DVPTR(VIXENTEAT), 0, VIXENTEAT__STATICRR }, - { "BIKEJIBA", DVPTR(BIKEJIBA), 0, BIKEJIBA__STATICRR }, - { "BIKEJIBB", DVPTR(BIKEJIBB), 0, BIKEJIBB__STATICRR }, - { "BIKEJIBC", DVPTR(BIKEJIBC), 0, BIKEJIBC__STATICRR }, - { "BIKERB", DVPTR(BIKERB), 0, BIKERB__STATICRR }, - { "BIKERBV2", DVPTR(BIKERBV2), 0, BIKERBV2__STATICRR }, - { "BIKER", DVPTR(BIKER), 0, BIKER__STATICRR }, - { "BIKERJIBA", DVPTR(BIKERJIBA), 0, BIKERJIBA__STATICRR }, - { "BIKERJIBB", DVPTR(BIKERJIBB), 0, BIKERJIBB__STATICRR }, - { "BIKERJIBC", DVPTR(BIKERJIBC), 0, BIKERJIBC__STATICRR }, - { "BIKERJIBD", DVPTR(BIKERJIBD), 0, BIKERJIBD__STATICRR }, - { "MAKEOUT", DVPTR(MAKEOUT), 0, MAKEOUT__STATICRR }, - { "CHEERB", DVPTR(CHEERB), 0, CHEERB__STATICRR }, - { "CHEER", DVPTR(CHEER), 0, CHEER__STATICRR }, - { "CHEERSTAYPUT", DVPTR(CHEERSTAYPUT), 0, CHEERSTAYPUT__STATICRR }, - { "CHEERJIBA", DVPTR(CHEERJIBA), 0, CHEERJIBA__STATICRR }, - { "CHEERJIBB", DVPTR(CHEERJIBB), 0, CHEERJIBB__STATICRR }, - { "CHEERJIBC", DVPTR(CHEERJIBC), 0, CHEERJIBC__STATICRR }, - { "CHEERJIBD", DVPTR(CHEERJIBD), 0, CHEERJIBD__STATICRR }, - { "FBOATJIBA", DVPTR(FBOATJIBA), 0, FBOATJIBA__STATICRR }, - { "FBOATJIBB", DVPTR(FBOATJIBB), 0, FBOATJIBB__STATICRR }, - { "COOTPLAY", DVPTR(COOTPLAY), 0, COOTPLAY__STATICRR }, - { "BILLYPLAY", DVPTR(BILLYPLAY), 0, BILLYPLAY__STATICRR }, - { "MINIONBOAT", DVPTR(MINIONBOAT), 0, MINIONBOAT__STATICRR }, - { "HULKBOAT", DVPTR(HULKBOAT), 0, HULKBOAT__STATICRR }, - { "CHEERBOAT", DVPTR(CHEERBOAT), 0, CHEERBOAT__STATICRR }, - { "RRTILE7274", DVPTR(RRTILE7274), 0, RRTILE7274__STATICRR }, - { "RABBIT", DVPTR(RABBIT), 0, RABBIT__STATICRR }, - { "RABBITJIBA", DVPTR(RABBITJIBA), 0, RABBITJIBA__STATICRR }, - { "RABBITJIBB", DVPTR(RABBITJIBB), 0, RABBITJIBB__STATICRR }, - { "RABBITJIBC", DVPTR(RABBITJIBC), 0, RABBITJIBC__STATICRR }, - { "ROCK", DVPTR(ROCK), 0, ROCK__STATICRR }, - { "ROCK2", DVPTR(ROCK2), 0, ROCK2__STATICRR }, - { "MAMACLOUD", DVPTR(MAMACLOUD), 0, MAMACLOUD__STATICRR }, - { "MAMA", DVPTR(MAMA), 0, MAMA__STATICRR }, - { "MAMAJIBA", DVPTR(MAMAJIBA), 0, MAMAJIBA__STATICRR }, - { "MAMAJIBB", DVPTR(MAMAJIBB), 0, MAMAJIBB__STATICRR }, + { "TILE_SECTOREFFECTOR", DVPTR(TILE_SECTOREFFECTOR), SECTOREFFECTOR__STATIC, SECTOREFFECTOR__STATICRR }, + { "TILE_ACTIVATOR", DVPTR(TILE_ACTIVATOR), ACTIVATOR__STATIC, ACTIVATOR__STATICRR }, + { "TILE_TOUCHPLATE", DVPTR(TILE_TOUCHPLATE), TOUCHPLATE__STATIC, TOUCHPLATE__STATICRR }, + { "TILE_ACTIVATORLOCKED", DVPTR(TILE_ACTIVATORLOCKED), ACTIVATORLOCKED__STATIC, ACTIVATORLOCKED__STATICRR }, + { "TILE_MUSICANDSFX", DVPTR(TILE_MUSICANDSFX), MUSICANDSFX__STATIC, MUSICANDSFX__STATICRR }, + { "TILE_LOCATORS", DVPTR(TILE_LOCATORS), LOCATORS__STATIC, LOCATORS__STATICRR }, + { "TILE_CYCLER", DVPTR(TILE_CYCLER), CYCLER__STATIC, CYCLER__STATICRR }, + { "TILE_MASTERSWITCH", DVPTR(TILE_MASTERSWITCH), MASTERSWITCH__STATIC, MASTERSWITCH__STATICRR }, + { "TILE_RESPAWN", DVPTR(TILE_RESPAWN), RESPAWN__STATIC, RESPAWN__STATICRR }, + { "TILE_GPSPEED", DVPTR(TILE_GPSPEED), GPSPEED__STATIC, GPSPEED__STATICRR }, + { "TILE_FOF", DVPTR(TILE_FOF), FOF__STATIC, FOF__STATICRR }, + { "TILE_ARROW", DVPTR(TILE_ARROW), ARROW__STATIC, ARROW__STATICRR }, + { "TILE_FIRSTGUNSPRITE", DVPTR(TILE_FIRSTGUNSPRITE), FIRSTGUNSPRITE__STATIC, FIRSTGUNSPRITE__STATICRR }, + { "TILE_CHAINGUNSPRITE", DVPTR(TILE_CHAINGUNSPRITE), CHAINGUNSPRITE__STATIC, CHAINGUNSPRITE__STATICRR }, + { "TILE_RPGSPRITE", DVPTR(TILE_RPGSPRITE), RPGSPRITE__STATIC, RPGSPRITE__STATICRR }, + { "TILE_FREEZESPRITE", DVPTR(TILE_FREEZESPRITE), FREEZESPRITE__STATIC, FREEZESPRITE__STATICRR }, + { "TILE_SHRINKERSPRITE", DVPTR(TILE_SHRINKERSPRITE), SHRINKERSPRITE__STATIC, SHRINKERSPRITE__STATICRR }, + { "TILE_HEAVYHBOMB", DVPTR(TILE_HEAVYHBOMB), HEAVYHBOMB__STATIC, HEAVYHBOMB__STATICRR }, + { "TILE_TRIPBOMBSPRITE", DVPTR(TILE_TRIPBOMBSPRITE), TRIPBOMBSPRITE__STATIC, TRIPBOMBSPRITE__STATICRR }, + { "TILE_SHOTGUNSPRITE", DVPTR(TILE_SHOTGUNSPRITE), SHOTGUNSPRITE__STATIC, SHOTGUNSPRITE__STATICRR }, + { "TILE_DEVISTATORSPRITE", DVPTR(TILE_DEVISTATORSPRITE), DEVISTATORSPRITE__STATIC, DEVISTATORSPRITE__STATICRR }, + { "TILE_HEALTHBOX", DVPTR(TILE_HEALTHBOX), HEALTHBOX__STATIC, HEALTHBOX__STATICRR }, + { "TILE_AMMOBOX", DVPTR(TILE_AMMOBOX), AMMOBOX__STATIC, AMMOBOX__STATICRR }, + { "TILE_GROWSPRITEICON", DVPTR(TILE_GROWSPRITEICON), GROWSPRITEICON__STATIC, GROWSPRITEICON__STATICRR }, + { "TILE_INVENTORYBOX", DVPTR(TILE_INVENTORYBOX), INVENTORYBOX__STATIC, INVENTORYBOX__STATICRR }, + { "TILE_FREEZEAMMO", DVPTR(TILE_FREEZEAMMO), FREEZEAMMO__STATIC, FREEZEAMMO__STATICRR }, + { "TILE_AMMO", DVPTR(TILE_AMMO), AMMO__STATIC, AMMO__STATICRR }, + { "TILE_BATTERYAMMO", DVPTR(TILE_BATTERYAMMO), BATTERYAMMO__STATIC, BATTERYAMMO__STATICRR }, + { "TILE_DEVISTATORAMMO", DVPTR(TILE_DEVISTATORAMMO), DEVISTATORAMMO__STATIC, DEVISTATORAMMO__STATICRR }, + { "TILE_RPGAMMO", DVPTR(TILE_RPGAMMO), RPGAMMO__STATIC, RPGAMMO__STATICRR }, + { "TILE_GROWAMMO", DVPTR(TILE_GROWAMMO), GROWAMMO__STATIC, GROWAMMO__STATICRR }, + { "TILE_CRYSTALAMMO", DVPTR(TILE_CRYSTALAMMO), CRYSTALAMMO__STATIC, CRYSTALAMMO__STATICRR }, + { "TILE_HBOMBAMMO", DVPTR(TILE_HBOMBAMMO), HBOMBAMMO__STATIC, HBOMBAMMO__STATICRR }, + { "TILE_AMMOLOTS", DVPTR(TILE_AMMOLOTS), AMMOLOTS__STATIC, AMMOLOTS__STATICRR }, + { "TILE_SHOTGUNAMMO", DVPTR(TILE_SHOTGUNAMMO), SHOTGUNAMMO__STATIC, SHOTGUNAMMO__STATICRR }, + { "TILE_COLA", DVPTR(TILE_COLA), COLA__STATIC, COLA__STATICRR }, + { "TILE_SIXPAK", DVPTR(TILE_SIXPAK), SIXPAK__STATIC, SIXPAK__STATICRR }, + { "TILE_FIRSTAID", DVPTR(TILE_FIRSTAID), FIRSTAID__STATIC, FIRSTAID__STATICRR }, + { "TILE_SHIELD", DVPTR(TILE_SHIELD), SHIELD__STATIC, SHIELD__STATICRR }, + { "TILE_STEROIDS", DVPTR(TILE_STEROIDS), STEROIDS__STATIC, STEROIDS__STATICRR }, + { "TILE_AIRTANK", DVPTR(TILE_AIRTANK), AIRTANK__STATIC, AIRTANK__STATICRR }, + { "TILE_JETPACK", DVPTR(TILE_JETPACK), JETPACK__STATIC, JETPACK__STATICRR }, + { "TILE_HEATSENSOR", DVPTR(TILE_HEATSENSOR), HEATSENSOR__STATIC, HEATSENSOR__STATICRR }, + { "TILE_ACCESSCARD", DVPTR(TILE_ACCESSCARD), ACCESSCARD__STATIC, ACCESSCARD__STATICRR }, + { "TILE_BOOTS", DVPTR(TILE_BOOTS), BOOTS__STATIC, BOOTS__STATICRR }, + { "TILE_MIRRORBROKE", DVPTR(TILE_MIRRORBROKE), MIRRORBROKE__STATIC, MIRRORBROKE__STATICRR }, + { "TILE_CLOUDYOCEAN", DVPTR(TILE_CLOUDYOCEAN), CLOUDYOCEAN__STATIC, 0 }, + { "TILE_CLOUDYSKIES", DVPTR(TILE_CLOUDYSKIES), CLOUDYSKIES__STATIC, CLOUDYSKIES__STATICRR }, + { "TILE_MOONSKY1", DVPTR(TILE_MOONSKY1), MOONSKY1__STATIC, MOONSKY1__STATICRR }, + { "TILE_MOONSKY2", DVPTR(TILE_MOONSKY2), MOONSKY2__STATIC, MOONSKY2__STATICRR }, + { "TILE_MOONSKY3", DVPTR(TILE_MOONSKY3), MOONSKY3__STATIC, MOONSKY3__STATICRR }, + { "TILE_MOONSKY4", DVPTR(TILE_MOONSKY4), MOONSKY4__STATIC, MOONSKY4__STATICRR }, + { "TILE_BIGORBIT1", DVPTR(TILE_BIGORBIT1), BIGORBIT1__STATIC, BIGORBIT1__STATICRR }, + { "TILE_BIGORBIT2", DVPTR(TILE_BIGORBIT2), BIGORBIT2__STATIC, BIGORBIT2__STATICRR }, + { "TILE_BIGORBIT3", DVPTR(TILE_BIGORBIT3), BIGORBIT3__STATIC, BIGORBIT3__STATICRR }, + { "TILE_BIGORBIT4", DVPTR(TILE_BIGORBIT4), BIGORBIT4__STATIC, BIGORBIT4__STATICRR }, + { "TILE_BIGORBIT5", DVPTR(TILE_BIGORBIT5), BIGORBIT5__STATIC, BIGORBIT5__STATICRR }, + { "TILE_LA", DVPTR(TILE_LA), LA__STATIC, LA__STATICRR }, + { "TILE_REDSKY1", DVPTR(TILE_REDSKY1), REDSKY1__STATIC, REDSKY1__STATICRR }, + { "TILE_REDSKY2", DVPTR(TILE_REDSKY2), REDSKY2__STATIC, REDSKY2__STATICRR }, + { "TILE_ATOMICHEALTH", DVPTR(TILE_ATOMICHEALTH), ATOMICHEALTH__STATIC, ATOMICHEALTH__STATICRR }, + { "TILE_TECHLIGHT2", DVPTR(TILE_TECHLIGHT2), TECHLIGHT2__STATIC, TECHLIGHT2__STATICRR }, + { "TILE_TECHLIGHTBUST2", DVPTR(TILE_TECHLIGHTBUST2), TECHLIGHTBUST2__STATIC, TECHLIGHTBUST2__STATICRR }, + { "TILE_TECHLIGHT4", DVPTR(TILE_TECHLIGHT4), TECHLIGHT4__STATIC, TECHLIGHT4__STATICRR }, + { "TILE_TECHLIGHTBUST4", DVPTR(TILE_TECHLIGHTBUST4), TECHLIGHTBUST4__STATIC, TECHLIGHTBUST4__STATICRR }, + { "TILE_WALLLIGHT4", DVPTR(TILE_WALLLIGHT4), WALLLIGHT4__STATIC, WALLLIGHT4__STATICRR }, + { "TILE_WALLLIGHTBUST4", DVPTR(TILE_WALLLIGHTBUST4), WALLLIGHTBUST4__STATIC, WALLLIGHTBUST4__STATICRR }, + { "TILE_ACCESSSWITCH", DVPTR(TILE_ACCESSSWITCH), ACCESSSWITCH__STATIC, ACCESSSWITCH__STATICRR }, + { "TILE_SLOTDOOR", DVPTR(TILE_SLOTDOOR), SLOTDOOR__STATIC, SLOTDOOR__STATICRR }, + { "TILE_LIGHTSWITCH", DVPTR(TILE_LIGHTSWITCH), LIGHTSWITCH__STATIC, LIGHTSWITCH__STATICRR }, + { "TILE_SPACEDOORSWITCH", DVPTR(TILE_SPACEDOORSWITCH), SPACEDOORSWITCH__STATIC, SPACEDOORSWITCH__STATICRR }, + { "TILE_SPACELIGHTSWITCH", DVPTR(TILE_SPACELIGHTSWITCH), SPACELIGHTSWITCH__STATIC, SPACELIGHTSWITCH__STATICRR }, + { "TILE_FRANKENSTINESWITCH", DVPTR(TILE_FRANKENSTINESWITCH), FRANKENSTINESWITCH__STATIC, FRANKENSTINESWITCH__STATICRR }, + { "TILE_NUKEBUTTON", DVPTR(TILE_NUKEBUTTON), NUKEBUTTON__STATIC, NUKEBUTTON__STATICRR }, + { "TILE_MULTISWITCH", DVPTR(TILE_MULTISWITCH), MULTISWITCH__STATIC, MULTISWITCH__STATICRR }, + { "TILE_DOORTILE5", DVPTR(TILE_DOORTILE5), DOORTILE5__STATIC, DOORTILE5__STATICRR }, + { "TILE_DOORTILE6", DVPTR(TILE_DOORTILE6), DOORTILE6__STATIC, DOORTILE6__STATICRR }, + { "TILE_DOORTILE1", DVPTR(TILE_DOORTILE1), DOORTILE1__STATIC, DOORTILE1__STATICRR }, + { "TILE_DOORTILE2", DVPTR(TILE_DOORTILE2), DOORTILE2__STATIC, DOORTILE2__STATICRR }, + { "TILE_DOORTILE3", DVPTR(TILE_DOORTILE3), DOORTILE3__STATIC, DOORTILE3__STATICRR }, + { "TILE_DOORTILE4", DVPTR(TILE_DOORTILE4), DOORTILE4__STATIC, DOORTILE4__STATICRR }, + { "TILE_DOORTILE7", DVPTR(TILE_DOORTILE7), DOORTILE7__STATIC, DOORTILE7__STATICRR }, + { "TILE_DOORTILE8", DVPTR(TILE_DOORTILE8), DOORTILE8__STATIC, DOORTILE8__STATICRR }, + { "TILE_DOORTILE9", DVPTR(TILE_DOORTILE9), DOORTILE9__STATIC, DOORTILE9__STATICRR }, + { "TILE_DOORTILE10", DVPTR(TILE_DOORTILE10), DOORTILE10__STATIC, DOORTILE10__STATICRR }, + { "TILE_DOORSHOCK", DVPTR(TILE_DOORSHOCK), DOORSHOCK__STATIC, DOORSHOCK__STATICRR }, + { "TILE_DIPSWITCH", DVPTR(TILE_DIPSWITCH), DIPSWITCH__STATIC, DIPSWITCH__STATICRR }, + { "TILE_DIPSWITCH2", DVPTR(TILE_DIPSWITCH2), DIPSWITCH2__STATIC, DIPSWITCH2__STATICRR }, + { "TILE_TECHSWITCH", DVPTR(TILE_TECHSWITCH), TECHSWITCH__STATIC, TECHSWITCH__STATICRR }, + { "TILE_DIPSWITCH3", DVPTR(TILE_DIPSWITCH3), DIPSWITCH3__STATIC, DIPSWITCH3__STATICRR }, + { "TILE_ACCESSSWITCH2", DVPTR(TILE_ACCESSSWITCH2), ACCESSSWITCH2__STATIC, ACCESSSWITCH2__STATICRR }, + { "TILE_REFLECTWATERTILE", DVPTR(TILE_REFLECTWATERTILE), REFLECTWATERTILE__STATIC, REFLECTWATERTILE__STATICRR }, + { "TILE_FLOORSLIME", DVPTR(TILE_FLOORSLIME), FLOORSLIME__STATIC, FLOORSLIME__STATICRR }, + { "TILE_BIGFORCE", DVPTR(TILE_BIGFORCE), BIGFORCE__STATIC, BIGFORCE__STATICRR }, + { "TILE_EPISODE", DVPTR(TILE_EPISODE), EPISODE__STATIC, EPISODE__STATICRR }, + { "TILE_MASKWALL9", DVPTR(TILE_MASKWALL9), MASKWALL9__STATIC, MASKWALL9__STATICRR }, + { "TILE_W_LIGHT", DVPTR(TILE_W_LIGHT), W_LIGHT__STATIC, W_LIGHT__STATICRR }, + { "TILE_SCREENBREAK1", DVPTR(TILE_SCREENBREAK1), SCREENBREAK1__STATIC, SCREENBREAK1__STATICRR }, + { "TILE_SCREENBREAK2", DVPTR(TILE_SCREENBREAK2), SCREENBREAK2__STATIC, SCREENBREAK2__STATICRR }, + { "TILE_SCREENBREAK3", DVPTR(TILE_SCREENBREAK3), SCREENBREAK3__STATIC, SCREENBREAK3__STATICRR }, + { "TILE_SCREENBREAK4", DVPTR(TILE_SCREENBREAK4), SCREENBREAK4__STATIC, SCREENBREAK4__STATICRR }, + { "TILE_SCREENBREAK5", DVPTR(TILE_SCREENBREAK5), SCREENBREAK5__STATIC, SCREENBREAK5__STATICRR }, + { "TILE_SCREENBREAK6", DVPTR(TILE_SCREENBREAK6), SCREENBREAK6__STATIC, SCREENBREAK6__STATICRR }, + { "TILE_SCREENBREAK7", DVPTR(TILE_SCREENBREAK7), SCREENBREAK7__STATIC, SCREENBREAK7__STATICRR }, + { "TILE_SCREENBREAK8", DVPTR(TILE_SCREENBREAK8), SCREENBREAK8__STATIC, SCREENBREAK8__STATICRR }, + { "TILE_SCREENBREAK9", DVPTR(TILE_SCREENBREAK9), SCREENBREAK9__STATIC, SCREENBREAK9__STATICRR }, + { "TILE_SCREENBREAK10", DVPTR(TILE_SCREENBREAK10), SCREENBREAK10__STATIC, SCREENBREAK10__STATICRR }, + { "TILE_SCREENBREAK11", DVPTR(TILE_SCREENBREAK11), SCREENBREAK11__STATIC, SCREENBREAK11__STATICRR }, + { "TILE_SCREENBREAK12", DVPTR(TILE_SCREENBREAK12), SCREENBREAK12__STATIC, SCREENBREAK12__STATICRR }, + { "TILE_SCREENBREAK13", DVPTR(TILE_SCREENBREAK13), SCREENBREAK13__STATIC, SCREENBREAK13__STATICRR }, + { "TILE_MASKWALL1", DVPTR(TILE_MASKWALL1), MASKWALL1__STATIC, MASKWALL1__STATICRR }, + { "TILE_W_TECHWALL1", DVPTR(TILE_W_TECHWALL1), W_TECHWALL1__STATIC, W_TECHWALL1__STATICRR }, + { "TILE_W_TECHWALL2", DVPTR(TILE_W_TECHWALL2), W_TECHWALL2__STATIC, W_TECHWALL2__STATICRR }, + { "TILE_W_TECHWALL15", DVPTR(TILE_W_TECHWALL15), W_TECHWALL15__STATIC, W_TECHWALL15__STATICRR }, + { "TILE_W_TECHWALL3", DVPTR(TILE_W_TECHWALL3), W_TECHWALL3__STATIC, W_TECHWALL3__STATICRR }, + { "TILE_W_TECHWALL4", DVPTR(TILE_W_TECHWALL4), W_TECHWALL4__STATIC, W_TECHWALL4__STATICRR }, + { "TILE_W_TECHWALL10", DVPTR(TILE_W_TECHWALL10), W_TECHWALL10__STATIC, W_TECHWALL10__STATICRR }, + { "TILE_W_TECHWALL16", DVPTR(TILE_W_TECHWALL16), W_TECHWALL16__STATIC, W_TECHWALL16__STATICRR }, + { "TILE_WATERTILE2", DVPTR(TILE_WATERTILE2), WATERTILE2__STATIC, WATERTILE2__STATICRR }, + { "TILE_BPANNEL1", DVPTR(TILE_BPANNEL1), BPANNEL1__STATIC, BPANNEL1__STATICRR }, + { "TILE_PANNEL1", DVPTR(TILE_PANNEL1), PANNEL1__STATIC, PANNEL1__STATICRR }, + { "TILE_PANNEL2", DVPTR(TILE_PANNEL2), PANNEL2__STATIC, PANNEL2__STATICRR }, + { "TILE_WATERTILE", DVPTR(TILE_WATERTILE), WATERTILE__STATIC, WATERTILE__STATICRR }, + { "TILE_STATIC", DVPTR(TILE_STATIC), STATIC__STATIC, STATIC__STATICRR }, + { "TILE_W_SCREENBREAK", DVPTR(TILE_W_SCREENBREAK), W_SCREENBREAK__STATIC, W_SCREENBREAK__STATICRR }, + { "TILE_W_HITTECHWALL3", DVPTR(TILE_W_HITTECHWALL3), W_HITTECHWALL3__STATIC, W_HITTECHWALL3__STATICRR }, + { "TILE_W_HITTECHWALL4", DVPTR(TILE_W_HITTECHWALL4), W_HITTECHWALL4__STATIC, W_HITTECHWALL4__STATICRR }, + { "TILE_W_HITTECHWALL2", DVPTR(TILE_W_HITTECHWALL2), W_HITTECHWALL2__STATIC, W_HITTECHWALL2__STATICRR }, + { "TILE_W_HITTECHWALL1", DVPTR(TILE_W_HITTECHWALL1), W_HITTECHWALL1__STATIC, W_HITTECHWALL1__STATICRR }, + { "TILE_MASKWALL10", DVPTR(TILE_MASKWALL10), MASKWALL10__STATIC, MASKWALL10__STATICRR }, + { "TILE_MASKWALL11", DVPTR(TILE_MASKWALL11), MASKWALL11__STATIC, MASKWALL11__STATICRR }, + { "TILE_DOORTILE22", DVPTR(TILE_DOORTILE22), DOORTILE22__STATIC, DOORTILE22__STATICRR }, + { "TILE_FANSPRITE", DVPTR(TILE_FANSPRITE), FANSPRITE__STATIC, FANSPRITE__STATICRR }, + { "TILE_FANSPRITEBROKE", DVPTR(TILE_FANSPRITEBROKE), FANSPRITEBROKE__STATIC, FANSPRITEBROKE__STATICRR }, + { "TILE_FANSHADOW", DVPTR(TILE_FANSHADOW), FANSHADOW__STATIC, FANSHADOW__STATICRR }, + { "TILE_FANSHADOWBROKE", DVPTR(TILE_FANSHADOWBROKE), FANSHADOWBROKE__STATIC, FANSHADOWBROKE__STATICRR }, + { "TILE_DOORTILE18", DVPTR(TILE_DOORTILE18), DOORTILE18__STATIC, DOORTILE18__STATICRR }, + { "TILE_DOORTILE19", DVPTR(TILE_DOORTILE19), DOORTILE19__STATIC, DOORTILE19__STATICRR }, + { "TILE_DOORTILE20", DVPTR(TILE_DOORTILE20), DOORTILE20__STATIC, DOORTILE20__STATICRR }, + { "TILE_SATELLITE", DVPTR(TILE_SATELLITE), SATELLITE__STATIC, SATELLITE__STATICRR }, + { "TILE_VIEWSCREEN2", DVPTR(TILE_VIEWSCREEN2), VIEWSCREEN2__STATIC, VIEWSCREEN2__STATICRR }, + { "TILE_VIEWSCREENBROKE", DVPTR(TILE_VIEWSCREENBROKE), VIEWSCREENBROKE__STATIC, VIEWSCREENBROKE__STATICRR }, + { "TILE_VIEWSCREEN", DVPTR(TILE_VIEWSCREEN), VIEWSCREEN__STATIC, VIEWSCREEN__STATICRR }, + { "TILE_GLASS", DVPTR(TILE_GLASS), GLASS__STATIC, GLASS__STATICRR }, + { "TILE_GLASS2", DVPTR(TILE_GLASS2), GLASS2__STATIC, GLASS2__STATICRR }, + { "TILE_STAINGLASS1", DVPTR(TILE_STAINGLASS1), STAINGLASS1__STATIC, STAINGLASS1__STATICRR }, + { "TILE_MASKWALL5", DVPTR(TILE_MASKWALL5), MASKWALL5__STATIC, MASKWALL5__STATICRR }, + { "TILE_SATELITE", DVPTR(TILE_SATELITE), SATELITE__STATIC, SATELITE__STATICRR }, + { "TILE_FUELPOD", DVPTR(TILE_FUELPOD), FUELPOD__STATIC, FUELPOD__STATICRR }, + { "TILE_SLIMEPIPE", DVPTR(TILE_SLIMEPIPE), SLIMEPIPE__STATIC, SLIMEPIPE__STATICRR }, + { "TILE_CRACK1", DVPTR(TILE_CRACK1), CRACK1__STATIC, CRACK1__STATICRR }, + { "TILE_CRACK2", DVPTR(TILE_CRACK2), CRACK2__STATIC, CRACK2__STATICRR }, + { "TILE_CRACK3", DVPTR(TILE_CRACK3), CRACK3__STATIC, CRACK3__STATICRR }, + { "TILE_CRACK4", DVPTR(TILE_CRACK4), CRACK4__STATIC, CRACK4__STATICRR }, + { "TILE_FOOTPRINTS", DVPTR(TILE_FOOTPRINTS), FOOTPRINTS__STATIC, FOOTPRINTS__STATICRR }, + { "TILE_DOMELITE", DVPTR(TILE_DOMELITE), DOMELITE__STATIC, DOMELITE__STATICRR }, + { "TILE_CAMERAPOLE", DVPTR(TILE_CAMERAPOLE), CAMERAPOLE__STATIC, CAMERAPOLE__STATICRR }, + { "TILE_CHAIR1", DVPTR(TILE_CHAIR1), CHAIR1__STATIC, CHAIR1__STATICRR }, + { "TILE_CHAIR2", DVPTR(TILE_CHAIR2), CHAIR2__STATIC, CHAIR2__STATICRR }, + { "TILE_BROKENCHAIR", DVPTR(TILE_BROKENCHAIR), BROKENCHAIR__STATIC, BROKENCHAIR__STATICRR }, + { "TILE_MIRROR", DVPTR(TILE_MIRROR), MIRROR__STATIC, MIRROR__STATICRR }, + { "TILE_WATERFOUNTAIN", DVPTR(TILE_WATERFOUNTAIN), WATERFOUNTAIN__STATIC, WATERFOUNTAIN__STATICRR }, + { "TILE_WATERFOUNTAINBROKE", DVPTR(TILE_WATERFOUNTAINBROKE), WATERFOUNTAINBROKE__STATIC, WATERFOUNTAINBROKE__STATICRR }, + { "TILE_FEMMAG1", DVPTR(TILE_FEMMAG1), FEMMAG1__STATIC, FEMMAG1__STATICRR }, + { "TILE_TOILET", DVPTR(TILE_TOILET), TOILET__STATIC, TOILET__STATICRR }, + { "TILE_STALL", DVPTR(TILE_STALL), STALL__STATIC, STALL__STATICRR }, + { "TILE_STALLBROKE", DVPTR(TILE_STALLBROKE), STALLBROKE__STATIC, STALLBROKE__STATICRR }, + { "TILE_FEMMAG2", DVPTR(TILE_FEMMAG2), FEMMAG2__STATIC, FEMMAG2__STATICRR }, + { "TILE_REACTOR2", DVPTR(TILE_REACTOR2), REACTOR2__STATIC, REACTOR2__STATICRR }, + { "TILE_REACTOR2BURNT", DVPTR(TILE_REACTOR2BURNT), REACTOR2BURNT__STATIC, REACTOR2BURNT__STATICRR }, + { "TILE_REACTOR2SPARK", DVPTR(TILE_REACTOR2SPARK), REACTOR2SPARK__STATIC, REACTOR2SPARK__STATICRR }, + { "TILE_GRATE1", DVPTR(TILE_GRATE1), GRATE1__STATIC, GRATE1__STATICRR }, + { "TILE_BGRATE1", DVPTR(TILE_BGRATE1), BGRATE1__STATIC, BGRATE1__STATICRR }, + { "TILE_SOLARPANNEL", DVPTR(TILE_SOLARPANNEL), SOLARPANNEL__STATIC, SOLARPANNEL__STATICRR }, + { "TILE_NAKED1", DVPTR(TILE_NAKED1), NAKED1__STATIC, NAKED1__STATICRR }, + { "TILE_ANTENNA", DVPTR(TILE_ANTENNA), ANTENNA__STATIC, ANTENNA__STATICRR }, + { "TILE_MASKWALL12", DVPTR(TILE_MASKWALL12), MASKWALL12__STATIC, MASKWALL12__STATICRR }, + { "TILE_TOILETBROKE", DVPTR(TILE_TOILETBROKE), TOILETBROKE__STATIC, TOILETBROKE__STATICRR }, + { "TILE_PIPE2", DVPTR(TILE_PIPE2), PIPE2__STATIC, PIPE2__STATICRR }, + { "TILE_PIPE1B", DVPTR(TILE_PIPE1B), PIPE1B__STATIC, PIPE1B__STATICRR }, + { "TILE_PIPE3", DVPTR(TILE_PIPE3), PIPE3__STATIC, PIPE3__STATICRR }, + { "TILE_PIPE1", DVPTR(TILE_PIPE1), PIPE1__STATIC, PIPE1__STATICRR }, + { "TILE_CAMERA1", DVPTR(TILE_CAMERA1), CAMERA1__STATIC, CAMERA1__STATICRR }, + { "TILE_BRICK", DVPTR(TILE_BRICK), BRICK__STATIC, BRICK__STATICRR }, + { "TILE_SPLINTERWOOD", DVPTR(TILE_SPLINTERWOOD), SPLINTERWOOD__STATIC, SPLINTERWOOD__STATICRR }, + { "TILE_PIPE2B", DVPTR(TILE_PIPE2B), PIPE2B__STATIC, PIPE2B__STATICRR }, + { "TILE_BOLT1", DVPTR(TILE_BOLT1), BOLT1__STATIC, BOLT1__STATICRR }, + { "TILE_W_NUMBERS", DVPTR(TILE_W_NUMBERS), W_NUMBERS__STATIC, W_NUMBERS__STATICRR }, + { "TILE_WATERDRIP", DVPTR(TILE_WATERDRIP), WATERDRIP__STATIC, WATERDRIP__STATICRR }, + { "TILE_WATERBUBBLE", DVPTR(TILE_WATERBUBBLE), WATERBUBBLE__STATIC, WATERBUBBLE__STATICRR }, + { "TILE_WATERBUBBLEMAKER", DVPTR(TILE_WATERBUBBLEMAKER), WATERBUBBLEMAKER__STATIC, WATERBUBBLEMAKER__STATICRR }, + { "TILE_W_FORCEFIELD", DVPTR(TILE_W_FORCEFIELD), W_FORCEFIELD__STATIC, W_FORCEFIELD__STATICRR }, + { "TILE_VACUUM", DVPTR(TILE_VACUUM), VACUUM__STATIC, VACUUM__STATICRR }, + { "TILE_FOOTPRINTS2", DVPTR(TILE_FOOTPRINTS2), FOOTPRINTS2__STATIC, FOOTPRINTS2__STATICRR }, + { "TILE_FOOTPRINTS3", DVPTR(TILE_FOOTPRINTS3), FOOTPRINTS3__STATIC, FOOTPRINTS3__STATICRR }, + { "TILE_FOOTPRINTS4", DVPTR(TILE_FOOTPRINTS4), FOOTPRINTS4__STATIC, FOOTPRINTS4__STATICRR }, + { "TILE_EGG", DVPTR(TILE_EGG), EGG__STATIC, EGG__STATICRR }, + { "TILE_SCALE", DVPTR(TILE_SCALE), SCALE__STATIC, SCALE__STATICRR }, + { "TILE_CHAIR3", DVPTR(TILE_CHAIR3), CHAIR3__STATIC, CHAIR3__STATICRR }, + { "TILE_CAMERALIGHT", DVPTR(TILE_CAMERALIGHT), CAMERALIGHT__STATIC, CAMERALIGHT__STATICRR }, + { "TILE_MOVIECAMERA", DVPTR(TILE_MOVIECAMERA), MOVIECAMERA__STATIC, MOVIECAMERA__STATICRR }, + { "TILE_IVUNIT", DVPTR(TILE_IVUNIT), IVUNIT__STATIC, IVUNIT__STATICRR }, + { "TILE_POT1", DVPTR(TILE_POT1), POT1__STATIC, POT1__STATICRR }, + { "TILE_POT2", DVPTR(TILE_POT2), POT2__STATIC, POT2__STATICRR }, + { "TILE_POT3", DVPTR(TILE_POT3), POT3__STATIC, POT3__STATICRR }, + { "TILE_PIPE3B", DVPTR(TILE_PIPE3B), PIPE3B__STATIC, PIPE3B__STATICRR }, + { "TILE_WALLLIGHT3", DVPTR(TILE_WALLLIGHT3), WALLLIGHT3__STATIC, WALLLIGHT3__STATICRR }, + { "TILE_WALLLIGHTBUST3", DVPTR(TILE_WALLLIGHTBUST3), WALLLIGHTBUST3__STATIC, WALLLIGHTBUST3__STATICRR }, + { "TILE_WALLLIGHT1", DVPTR(TILE_WALLLIGHT1), WALLLIGHT1__STATIC, WALLLIGHT1__STATICRR }, + { "TILE_WALLLIGHTBUST1", DVPTR(TILE_WALLLIGHTBUST1), WALLLIGHTBUST1__STATIC, WALLLIGHTBUST1__STATICRR }, + { "TILE_WALLLIGHT2", DVPTR(TILE_WALLLIGHT2), WALLLIGHT2__STATIC, WALLLIGHT2__STATICRR }, + { "TILE_WALLLIGHTBUST2", DVPTR(TILE_WALLLIGHTBUST2), WALLLIGHTBUST2__STATIC, WALLLIGHTBUST2__STATICRR }, + { "TILE_LIGHTSWITCH2", DVPTR(TILE_LIGHTSWITCH2), LIGHTSWITCH2__STATIC, LIGHTSWITCH2__STATICRR }, + { "TILE_WAITTOBESEATED", DVPTR(TILE_WAITTOBESEATED), WAITTOBESEATED__STATIC, WAITTOBESEATED__STATICRR }, + { "TILE_DOORTILE14", DVPTR(TILE_DOORTILE14), DOORTILE14__STATIC, DOORTILE14__STATICRR }, + { "TILE_STATUE", DVPTR(TILE_STATUE), STATUE__STATIC, STATUE__STATICRR }, + { "TILE_MIKE", DVPTR(TILE_MIKE), MIKE__STATIC, MIKE__STATICRR }, + { "TILE_VASE", DVPTR(TILE_VASE), VASE__STATIC, VASE__STATICRR }, + { "TILE_SUSHIPLATE1", DVPTR(TILE_SUSHIPLATE1), SUSHIPLATE1__STATIC, SUSHIPLATE1__STATICRR }, + { "TILE_SUSHIPLATE2", DVPTR(TILE_SUSHIPLATE2), SUSHIPLATE2__STATIC, SUSHIPLATE2__STATICRR }, + { "TILE_SUSHIPLATE3", DVPTR(TILE_SUSHIPLATE3), SUSHIPLATE3__STATIC, SUSHIPLATE3__STATICRR }, + { "TILE_SUSHIPLATE4", DVPTR(TILE_SUSHIPLATE4), SUSHIPLATE4__STATIC, SUSHIPLATE4__STATICRR }, + { "TILE_DOORTILE16", DVPTR(TILE_DOORTILE16), DOORTILE16__STATIC, DOORTILE16__STATICRR }, + { "TILE_SUSHIPLATE5", DVPTR(TILE_SUSHIPLATE5), SUSHIPLATE5__STATIC, SUSHIPLATE5__STATICRR }, + { "TILE_OJ", DVPTR(TILE_OJ), OJ__STATIC, OJ__STATICRR }, + { "TILE_MASKWALL13", DVPTR(TILE_MASKWALL13), MASKWALL13__STATIC, MASKWALL13__STATICRR }, + { "TILE_HURTRAIL", DVPTR(TILE_HURTRAIL), HURTRAIL__STATIC, HURTRAIL__STATICRR }, + { "TILE_POWERSWITCH1", DVPTR(TILE_POWERSWITCH1), POWERSWITCH1__STATIC, POWERSWITCH1__STATICRR }, + { "TILE_LOCKSWITCH1", DVPTR(TILE_LOCKSWITCH1), LOCKSWITCH1__STATIC, LOCKSWITCH1__STATICRR }, + { "TILE_POWERSWITCH2", DVPTR(TILE_POWERSWITCH2), POWERSWITCH2__STATIC, POWERSWITCH2__STATICRR }, + { "TILE_ATM", DVPTR(TILE_ATM), ATM__STATIC, ATM__STATICRR }, + { "TILE_STATUEFLASH", DVPTR(TILE_STATUEFLASH), STATUEFLASH__STATIC, STATUEFLASH__STATICRR }, + { "TILE_ATMBROKE", DVPTR(TILE_ATMBROKE), ATMBROKE__STATIC, ATMBROKE__STATICRR }, + { "TILE_BIGHOLE2", DVPTR(TILE_BIGHOLE2), BIGHOLE2__STATIC, BIGHOLE2__STATICRR }, + { "TILE_STRIPEBALL", DVPTR(TILE_STRIPEBALL), STRIPEBALL__STATIC, STRIPEBALL__STATICRR }, + { "TILE_QUEBALL", DVPTR(TILE_QUEBALL), QUEBALL__STATIC, QUEBALL__STATICRR }, + { "TILE_POCKET", DVPTR(TILE_POCKET), POCKET__STATIC, POCKET__STATICRR }, + { "TILE_WOODENHORSE", DVPTR(TILE_WOODENHORSE), WOODENHORSE__STATIC, WOODENHORSE__STATICRR }, + { "TILE_TREE1", DVPTR(TILE_TREE1), TREE1__STATIC, TREE1__STATICRR }, + { "TILE_TREE2", DVPTR(TILE_TREE2), TREE2__STATIC, TREE2__STATICRR }, + { "TILE_CACTUS", DVPTR(TILE_CACTUS), CACTUS__STATIC, CACTUS__STATICRR }, + { "TILE_MASKWALL2", DVPTR(TILE_MASKWALL2), MASKWALL2__STATIC, MASKWALL2__STATICRR }, + { "TILE_MASKWALL3", DVPTR(TILE_MASKWALL3), MASKWALL3__STATIC, MASKWALL3__STATICRR }, + { "TILE_MASKWALL4", DVPTR(TILE_MASKWALL4), MASKWALL4__STATIC, MASKWALL4__STATICRR }, + { "TILE_FIREEXT", DVPTR(TILE_FIREEXT), FIREEXT__STATIC, FIREEXT__STATICRR }, + { "TILE_TOILETWATER", DVPTR(TILE_TOILETWATER), TOILETWATER__STATIC, TOILETWATER__STATICRR }, + { "TILE_NEON1", DVPTR(TILE_NEON1), NEON1__STATIC, NEON1__STATICRR }, + { "TILE_NEON2", DVPTR(TILE_NEON2), NEON2__STATIC, NEON2__STATICRR }, + { "TILE_CACTUSBROKE", DVPTR(TILE_CACTUSBROKE), CACTUSBROKE__STATIC, CACTUSBROKE__STATICRR }, + { "TILE_BOUNCEMINE", DVPTR(TILE_BOUNCEMINE), BOUNCEMINE__STATIC, BOUNCEMINE__STATICRR }, + { "TILE_BROKEFIREHYDRENT", DVPTR(TILE_BROKEFIREHYDRENT), BROKEFIREHYDRENT__STATIC, BROKEFIREHYDRENT__STATICRR }, + { "TILE_BOX", DVPTR(TILE_BOX), BOX__STATIC, BOX__STATICRR }, + { "TILE_BULLETHOLE", DVPTR(TILE_BULLETHOLE), BULLETHOLE__STATIC, BULLETHOLE__STATICRR }, + { "TILE_BOTTLE1", DVPTR(TILE_BOTTLE1), BOTTLE1__STATIC, BOTTLE1__STATICRR }, + { "TILE_BOTTLE2", DVPTR(TILE_BOTTLE2), BOTTLE2__STATIC, BOTTLE2__STATICRR }, + { "TILE_BOTTLE3", DVPTR(TILE_BOTTLE3), BOTTLE3__STATIC, BOTTLE3__STATICRR }, + { "TILE_BOTTLE4", DVPTR(TILE_BOTTLE4), BOTTLE4__STATIC, BOTTLE4__STATICRR }, + { "TILE_FEMPIC5", DVPTR(TILE_FEMPIC5), FEMPIC5__STATIC, FEMPIC5__STATICRR }, + { "TILE_FEMPIC6", DVPTR(TILE_FEMPIC6), FEMPIC6__STATIC, FEMPIC6__STATICRR }, + { "TILE_FEMPIC7", DVPTR(TILE_FEMPIC7), FEMPIC7__STATIC, FEMPIC7__STATICRR }, + { "TILE_HYDROPLANT", DVPTR(TILE_HYDROPLANT), HYDROPLANT__STATIC, HYDROPLANT__STATICRR }, + { "TILE_OCEANSPRITE1", DVPTR(TILE_OCEANSPRITE1), OCEANSPRITE1__STATIC, OCEANSPRITE1__STATICRR }, + { "TILE_OCEANSPRITE2", DVPTR(TILE_OCEANSPRITE2), OCEANSPRITE2__STATIC, OCEANSPRITE2__STATICRR }, + { "TILE_OCEANSPRITE3", DVPTR(TILE_OCEANSPRITE3), OCEANSPRITE3__STATIC, OCEANSPRITE3__STATICRR }, + { "TILE_OCEANSPRITE4", DVPTR(TILE_OCEANSPRITE4), OCEANSPRITE4__STATIC, OCEANSPRITE4__STATICRR }, + { "TILE_OCEANSPRITE5", DVPTR(TILE_OCEANSPRITE5), OCEANSPRITE5__STATIC, OCEANSPRITE5__STATICRR }, + { "TILE_GENERICPOLE", DVPTR(TILE_GENERICPOLE), GENERICPOLE__STATIC, GENERICPOLE__STATICRR }, + { "TILE_CONE", DVPTR(TILE_CONE), CONE__STATIC, CONE__STATICRR }, + { "TILE_HANGLIGHT", DVPTR(TILE_HANGLIGHT), HANGLIGHT__STATIC, HANGLIGHT__STATICRR }, + { "TILE_HYDRENT", DVPTR(TILE_HYDRENT), HYDRENT__STATIC, HYDRENT__STATICRR }, + { "TILE_MASKWALL14", DVPTR(TILE_MASKWALL14), MASKWALL14__STATIC, MASKWALL14__STATICRR }, + { "TILE_TIRE", DVPTR(TILE_TIRE), TIRE__STATIC, TIRE__STATICRR }, + { "TILE_PIPE5", DVPTR(TILE_PIPE5), PIPE5__STATIC, PIPE5__STATICRR }, + { "TILE_PIPE6", DVPTR(TILE_PIPE6), PIPE6__STATIC, PIPE6__STATICRR }, + { "TILE_PIPE4", DVPTR(TILE_PIPE4), PIPE4__STATIC, PIPE4__STATICRR }, + { "TILE_PIPE4B", DVPTR(TILE_PIPE4B), PIPE4B__STATIC, PIPE4B__STATICRR }, + { "TILE_BROKEHYDROPLANT", DVPTR(TILE_BROKEHYDROPLANT), BROKEHYDROPLANT__STATIC, BROKEHYDROPLANT__STATICRR }, + { "TILE_PIPE5B", DVPTR(TILE_PIPE5B), PIPE5B__STATIC, PIPE5B__STATICRR }, + { "TILE_NEON3", DVPTR(TILE_NEON3), NEON3__STATIC, NEON3__STATICRR }, + { "TILE_NEON4", DVPTR(TILE_NEON4), NEON4__STATIC, NEON4__STATICRR }, + { "TILE_NEON5", DVPTR(TILE_NEON5), NEON5__STATIC, NEON5__STATICRR }, + { "TILE_BOTTLE5", DVPTR(TILE_BOTTLE5), BOTTLE5__STATIC, BOTTLE5__STATICRR }, + { "TILE_BOTTLE6", DVPTR(TILE_BOTTLE6), BOTTLE6__STATIC, BOTTLE6__STATICRR }, + { "TILE_BOTTLE8", DVPTR(TILE_BOTTLE8), BOTTLE8__STATIC, BOTTLE8__STATICRR }, + { "TILE_SPOTLITE", DVPTR(TILE_SPOTLITE), SPOTLITE__STATIC, SPOTLITE__STATICRR }, + { "TILE_HANGOOZ", DVPTR(TILE_HANGOOZ), HANGOOZ__STATIC, HANGOOZ__STATICRR }, + { "TILE_MASKWALL15", DVPTR(TILE_MASKWALL15), MASKWALL15__STATIC, MASKWALL15__STATICRR }, + { "TILE_BOTTLE7", DVPTR(TILE_BOTTLE7), BOTTLE7__STATIC, BOTTLE7__STATICRR }, + { "TILE_HORSEONSIDE", DVPTR(TILE_HORSEONSIDE), HORSEONSIDE__STATIC, HORSEONSIDE__STATICRR }, + { "TILE_GLASSPIECES", DVPTR(TILE_GLASSPIECES), GLASSPIECES__STATIC, GLASSPIECES__STATICRR }, + { "TILE_HORSELITE", DVPTR(TILE_HORSELITE), HORSELITE__STATIC, HORSELITE__STATICRR }, + { "TILE_DONUTS", DVPTR(TILE_DONUTS), DONUTS__STATIC, DONUTS__STATICRR }, + { "TILE_NEON6", DVPTR(TILE_NEON6), NEON6__STATIC, NEON6__STATICRR }, + { "TILE_MASKWALL6", DVPTR(TILE_MASKWALL6), MASKWALL6__STATIC, MASKWALL6__STATICRR }, + { "TILE_CLOCK", DVPTR(TILE_CLOCK), CLOCK__STATIC, CLOCK__STATICRR }, + { "TILE_RUBBERCAN", DVPTR(TILE_RUBBERCAN), RUBBERCAN__STATIC, RUBBERCAN__STATICRR }, + { "TILE_BROKENCLOCK", DVPTR(TILE_BROKENCLOCK), BROKENCLOCK__STATIC, BROKENCLOCK__STATICRR }, + { "TILE_PLUG", DVPTR(TILE_PLUG), PLUG__STATIC, PLUG__STATICRR }, + { "TILE_OOZFILTER", DVPTR(TILE_OOZFILTER), OOZFILTER__STATIC, OOZFILTER__STATICRR }, + { "TILE_FLOORPLASMA", DVPTR(TILE_FLOORPLASMA), FLOORPLASMA__STATIC, FLOORPLASMA__STATICRR }, + { "TILE_REACTOR", DVPTR(TILE_REACTOR), REACTOR__STATIC, REACTOR__STATICRR }, + { "TILE_REACTORSPARK", DVPTR(TILE_REACTORSPARK), REACTORSPARK__STATIC, REACTORSPARK__STATICRR }, + { "TILE_REACTORBURNT", DVPTR(TILE_REACTORBURNT), REACTORBURNT__STATIC, REACTORBURNT__STATICRR }, + { "TILE_DOORTILE15", DVPTR(TILE_DOORTILE15), DOORTILE15__STATIC, DOORTILE15__STATICRR }, + { "TILE_HANDSWITCH", DVPTR(TILE_HANDSWITCH), HANDSWITCH__STATIC, HANDSWITCH__STATICRR }, + { "TILE_CIRCLEPANNEL", DVPTR(TILE_CIRCLEPANNEL), CIRCLEPANNEL__STATIC, CIRCLEPANNEL__STATICRR }, + { "TILE_CIRCLEPANNELBROKE", DVPTR(TILE_CIRCLEPANNELBROKE), CIRCLEPANNELBROKE__STATIC, CIRCLEPANNELBROKE__STATICRR }, + { "TILE_PULLSWITCH", DVPTR(TILE_PULLSWITCH), PULLSWITCH__STATIC, PULLSWITCH__STATICRR }, + { "TILE_MASKWALL8", DVPTR(TILE_MASKWALL8), MASKWALL8__STATIC, MASKWALL8__STATICRR }, + { "TILE_BIGHOLE", DVPTR(TILE_BIGHOLE), BIGHOLE__STATIC, BIGHOLE__STATICRR }, + { "TILE_ALIENSWITCH", DVPTR(TILE_ALIENSWITCH), ALIENSWITCH__STATIC, ALIENSWITCH__STATICRR }, + { "TILE_DOORTILE21", DVPTR(TILE_DOORTILE21), DOORTILE21__STATIC, DOORTILE21__STATICRR }, + { "TILE_HANDPRINTSWITCH", DVPTR(TILE_HANDPRINTSWITCH), HANDPRINTSWITCH__STATIC, HANDPRINTSWITCH__STATICRR }, + { "TILE_BOTTLE10", DVPTR(TILE_BOTTLE10), BOTTLE10__STATIC, BOTTLE10__STATICRR }, + { "TILE_BOTTLE11", DVPTR(TILE_BOTTLE11), BOTTLE11__STATIC, BOTTLE11__STATICRR }, + { "TILE_BOTTLE12", DVPTR(TILE_BOTTLE12), BOTTLE12__STATIC, BOTTLE12__STATICRR }, + { "TILE_BOTTLE13", DVPTR(TILE_BOTTLE13), BOTTLE13__STATIC, BOTTLE13__STATICRR }, + { "TILE_BOTTLE14", DVPTR(TILE_BOTTLE14), BOTTLE14__STATIC, BOTTLE14__STATICRR }, + { "TILE_BOTTLE15", DVPTR(TILE_BOTTLE15), BOTTLE15__STATIC, BOTTLE15__STATICRR }, + { "TILE_BOTTLE16", DVPTR(TILE_BOTTLE16), BOTTLE16__STATIC, BOTTLE16__STATICRR }, + { "TILE_BOTTLE17", DVPTR(TILE_BOTTLE17), BOTTLE17__STATIC, BOTTLE17__STATICRR }, + { "TILE_BOTTLE18", DVPTR(TILE_BOTTLE18), BOTTLE18__STATIC, BOTTLE18__STATICRR }, + { "TILE_BOTTLE19", DVPTR(TILE_BOTTLE19), BOTTLE19__STATIC, BOTTLE19__STATICRR }, + { "TILE_DOORTILE17", DVPTR(TILE_DOORTILE17), DOORTILE17__STATIC, DOORTILE17__STATICRR }, + { "TILE_MASKWALL7", DVPTR(TILE_MASKWALL7), MASKWALL7__STATIC, MASKWALL7__STATICRR }, + { "TILE_JAILBARBREAK", DVPTR(TILE_JAILBARBREAK), JAILBARBREAK__STATIC, JAILBARBREAK__STATICRR }, + { "TILE_DOORTILE11", DVPTR(TILE_DOORTILE11), DOORTILE11__STATIC, DOORTILE11__STATICRR }, + { "TILE_DOORTILE12", DVPTR(TILE_DOORTILE12), DOORTILE12__STATIC, DOORTILE12__STATICRR }, + { "TILE_VENDMACHINE", DVPTR(TILE_VENDMACHINE), VENDMACHINE__STATIC, VENDMACHINE__STATICRR }, + { "TILE_VENDMACHINEBROKE", DVPTR(TILE_VENDMACHINEBROKE), VENDMACHINEBROKE__STATIC, VENDMACHINEBROKE__STATICRR }, + { "TILE_COLAMACHINE", DVPTR(TILE_COLAMACHINE), COLAMACHINE__STATIC, COLAMACHINE__STATICRR }, + { "TILE_COLAMACHINEBROKE", DVPTR(TILE_COLAMACHINEBROKE), COLAMACHINEBROKE__STATIC, COLAMACHINEBROKE__STATICRR }, + { "TILE_CRANEPOLE", DVPTR(TILE_CRANEPOLE), CRANEPOLE__STATIC, CRANEPOLE__STATICRR }, + { "TILE_CRANE", DVPTR(TILE_CRANE), CRANE__STATIC, CRANE__STATICRR }, + { "TILE_BARBROKE", DVPTR(TILE_BARBROKE), BARBROKE__STATIC, BARBROKE__STATICRR }, + { "TILE_BLOODPOOL", DVPTR(TILE_BLOODPOOL), BLOODPOOL__STATIC, BLOODPOOL__STATICRR }, + { "TILE_NUKEBARREL", DVPTR(TILE_NUKEBARREL), NUKEBARREL__STATIC, NUKEBARREL__STATICRR }, + { "TILE_NUKEBARRELDENTED", DVPTR(TILE_NUKEBARRELDENTED), NUKEBARRELDENTED__STATIC, NUKEBARRELDENTED__STATICRR }, + { "TILE_NUKEBARRELLEAKED", DVPTR(TILE_NUKEBARRELLEAKED), NUKEBARRELLEAKED__STATIC, NUKEBARRELLEAKED__STATICRR }, + { "TILE_CANWITHSOMETHING", DVPTR(TILE_CANWITHSOMETHING), CANWITHSOMETHING__STATIC, CANWITHSOMETHING__STATICRR }, + { "TILE_MONEY", DVPTR(TILE_MONEY), MONEY__STATIC, MONEY__STATICRR }, + { "TILE_BANNER", DVPTR(TILE_BANNER), BANNER__STATIC, BANNER__STATICRR }, + { "TILE_EXPLODINGBARREL", DVPTR(TILE_EXPLODINGBARREL), EXPLODINGBARREL__STATIC, EXPLODINGBARREL__STATICRR }, + { "TILE_EXPLODINGBARREL2", DVPTR(TILE_EXPLODINGBARREL2), EXPLODINGBARREL2__STATIC, EXPLODINGBARREL2__STATICRR }, + { "TILE_FIREBARREL", DVPTR(TILE_FIREBARREL), FIREBARREL__STATIC, FIREBARREL__STATICRR }, + { "TILE_SEENINE", DVPTR(TILE_SEENINE), SEENINE__STATIC, SEENINE__STATICRR }, + { "TILE_SEENINEDEAD", DVPTR(TILE_SEENINEDEAD), SEENINEDEAD__STATIC, SEENINEDEAD__STATICRR }, + { "TILE_STEAM", DVPTR(TILE_STEAM), STEAM__STATIC, STEAM__STATICRR }, + { "TILE_CEILINGSTEAM", DVPTR(TILE_CEILINGSTEAM), CEILINGSTEAM__STATIC, CEILINGSTEAM__STATICRR }, + { "TILE_PIPE6B", DVPTR(TILE_PIPE6B), PIPE6B__STATIC, PIPE6B__STATICRR }, + { "TILE_TRANSPORTERBEAM", DVPTR(TILE_TRANSPORTERBEAM), TRANSPORTERBEAM__STATIC, TRANSPORTERBEAM__STATICRR }, + { "TILE_RAT", DVPTR(TILE_RAT), RAT__STATIC, RAT__STATICRR }, + { "TILE_TRASH", DVPTR(TILE_TRASH), TRASH__STATIC, TRASH__STATICRR }, + { "TILE_FEMPIC1", DVPTR(TILE_FEMPIC1), FEMPIC1__STATIC, FEMPIC1__STATICRR }, + { "TILE_FEMPIC2", DVPTR(TILE_FEMPIC2), FEMPIC2__STATIC, FEMPIC2__STATICRR }, + { "TILE_BLANKSCREEN", DVPTR(TILE_BLANKSCREEN), BLANKSCREEN__STATIC, BLANKSCREEN__STATICRR }, + { "TILE_PODFEM1", DVPTR(TILE_PODFEM1), PODFEM1__STATIC, PODFEM1__STATICRR }, + { "TILE_FEMPIC3", DVPTR(TILE_FEMPIC3), FEMPIC3__STATIC, FEMPIC3__STATICRR }, + { "TILE_FEMPIC4", DVPTR(TILE_FEMPIC4), FEMPIC4__STATIC, FEMPIC4__STATICRR }, + { "TILE_FEM1", DVPTR(TILE_FEM1), FEM1__STATIC, FEM1__STATICRR }, + { "TILE_FEM2", DVPTR(TILE_FEM2), FEM2__STATIC, FEM2__STATICRR }, + { "TILE_FEM3", DVPTR(TILE_FEM3), FEM3__STATIC, FEM3__STATICRR }, + { "TILE_FEM5", DVPTR(TILE_FEM5), FEM5__STATIC, FEM5__STATICRR }, + { "TILE_BLOODYPOLE", DVPTR(TILE_BLOODYPOLE), BLOODYPOLE__STATIC, BLOODYPOLE__STATICRR }, + { "TILE_FEM4", DVPTR(TILE_FEM4), FEM4__STATIC, FEM4__STATICRR }, + { "TILE_FEM6", DVPTR(TILE_FEM6), FEM6__STATIC, FEM6__STATICRR }, + { "TILE_FEM6PAD", DVPTR(TILE_FEM6PAD), FEM6PAD__STATIC, FEM6PAD__STATICRR }, + { "TILE_FEM8", DVPTR(TILE_FEM8), FEM8__STATIC, FEM8__STATICRR }, + { "TILE_HELECOPT", DVPTR(TILE_HELECOPT), HELECOPT__STATIC, HELECOPT__STATICRR }, + { "TILE_FETUSJIB", DVPTR(TILE_FETUSJIB), FETUSJIB__STATIC, FETUSJIB__STATICRR }, + { "TILE_HOLODUKE", DVPTR(TILE_HOLODUKE), HOLODUKE__STATIC, HOLODUKE__STATICRR }, + { "TILE_SPACEMARINE", DVPTR(TILE_SPACEMARINE), SPACEMARINE__STATIC, SPACEMARINE__STATICRR }, + { "TILE_INDY", DVPTR(TILE_INDY), INDY__STATIC, INDY__STATICRR }, + { "TILE_FETUS", DVPTR(TILE_FETUS), FETUS__STATIC, FETUS__STATICRR }, + { "TILE_FETUSBROKE", DVPTR(TILE_FETUSBROKE), FETUSBROKE__STATIC, FETUSBROKE__STATICRR }, + { "TILE_MONK", DVPTR(TILE_MONK), MONK__STATIC, MONK__STATICRR }, + { "TILE_LUKE", DVPTR(TILE_LUKE), LUKE__STATIC, LUKE__STATICRR }, + { "TILE_COOLEXPLOSION1", DVPTR(TILE_COOLEXPLOSION1), COOLEXPLOSION1__STATIC, COOLEXPLOSION1__STATICRR }, + { "TILE_WATERSPLASH2", DVPTR(TILE_WATERSPLASH2), WATERSPLASH2__STATIC, WATERSPLASH2__STATICRR }, + { "TILE_FIREVASE", DVPTR(TILE_FIREVASE), FIREVASE__STATIC, FIREVASE__STATICRR }, + { "TILE_SCRATCH", DVPTR(TILE_SCRATCH), SCRATCH__STATIC, SCRATCH__STATICRR }, + { "TILE_FEM7", DVPTR(TILE_FEM7), FEM7__STATIC, FEM7__STATICRR }, + { "TILE_APLAYERTOP", DVPTR(TILE_APLAYERTOP), APLAYERTOP__STATIC, APLAYERTOP__STATICRR }, + { "TILE_APLAYER", DVPTR(TILE_APLAYER), APLAYER__STATIC, APLAYER__STATICRR }, + { "TILE_PLAYERONWATER", DVPTR(TILE_PLAYERONWATER), PLAYERONWATER__STATIC, PLAYERONWATER__STATICRR }, + { "TILE_DUKELYINGDEAD", DVPTR(TILE_DUKELYINGDEAD), DUKELYINGDEAD__STATIC, DUKELYINGDEAD__STATICRR }, + { "TILE_DUKETORSO", DVPTR(TILE_DUKETORSO), DUKETORSO__STATIC, DUKETORSO__STATICRR }, + { "TILE_DUKEGUN", DVPTR(TILE_DUKEGUN), DUKEGUN__STATIC, DUKEGUN__STATICRR }, + { "TILE_DUKELEG", DVPTR(TILE_DUKELEG), DUKELEG__STATIC, DUKELEG__STATICRR }, + { "TILE_SHARK", DVPTR(TILE_SHARK), SHARK__STATIC, SHARK__STATICRR }, + { "TILE_BLOOD", DVPTR(TILE_BLOOD), BLOOD__STATIC, BLOOD__STATICRR }, + { "TILE_FIRELASER", DVPTR(TILE_FIRELASER), FIRELASER__STATIC, FIRELASER__STATICRR }, + { "TILE_TRANSPORTERSTAR", DVPTR(TILE_TRANSPORTERSTAR), TRANSPORTERSTAR__STATIC, TRANSPORTERSTAR__STATICRR }, + { "TILE_SPIT", DVPTR(TILE_SPIT), SPIT__STATIC, SPIT__STATICRR }, + { "TILE_LOOGIE", DVPTR(TILE_LOOGIE), LOOGIE__STATIC, LOOGIE__STATICRR }, + { "TILE_FIST", DVPTR(TILE_FIST), FIST__STATIC, FIST__STATICRR }, + { "TILE_FREEZEBLAST", DVPTR(TILE_FREEZEBLAST), FREEZEBLAST__STATIC, FREEZEBLAST__STATICRR }, + { "TILE_DEVISTATORBLAST", DVPTR(TILE_DEVISTATORBLAST), DEVISTATORBLAST__STATIC, DEVISTATORBLAST__STATICRR }, + { "TILE_SHRINKSPARK", DVPTR(TILE_SHRINKSPARK), SHRINKSPARK__STATIC, SHRINKSPARK__STATICRR }, + { "TILE_TONGUE", DVPTR(TILE_TONGUE), TONGUE__STATIC, TONGUE__STATICRR }, + { "TILE_MORTER", DVPTR(TILE_MORTER), MORTER__STATIC, MORTER__STATICRR }, + { "TILE_SHRINKEREXPLOSION", DVPTR(TILE_SHRINKEREXPLOSION), SHRINKEREXPLOSION__STATIC, SHRINKEREXPLOSION__STATICRR }, + { "TILE_RADIUSEXPLOSION", DVPTR(TILE_RADIUSEXPLOSION), RADIUSEXPLOSION__STATIC, RADIUSEXPLOSION__STATICRR }, + { "TILE_FORCERIPPLE", DVPTR(TILE_FORCERIPPLE), FORCERIPPLE__STATIC, FORCERIPPLE__STATICRR }, + { "TILE_LIZTROOP", DVPTR(TILE_LIZTROOP), LIZTROOP__STATIC, 0 }, + { "TILE_LIZTROOPRUNNING", DVPTR(TILE_LIZTROOPRUNNING), LIZTROOPRUNNING__STATIC, 0 }, + { "TILE_LIZTROOPSTAYPUT", DVPTR(TILE_LIZTROOPSTAYPUT), LIZTROOPSTAYPUT__STATIC, 0 }, + { "TILE_LIZTOP", DVPTR(TILE_LIZTOP), LIZTOP__STATIC, 0 }, + { "TILE_LIZTROOPSHOOT", DVPTR(TILE_LIZTROOPSHOOT), LIZTROOPSHOOT__STATIC, 0 }, + { "TILE_LIZTROOPJETPACK", DVPTR(TILE_LIZTROOPJETPACK), LIZTROOPJETPACK__STATIC, 0 }, + { "TILE_LIZTROOPDSPRITE", DVPTR(TILE_LIZTROOPDSPRITE), LIZTROOPDSPRITE__STATIC, 0 }, + { "TILE_LIZTROOPONTOILET", DVPTR(TILE_LIZTROOPONTOILET), LIZTROOPONTOILET__STATIC, 0 }, + { "TILE_LIZTROOPJUSTSIT", DVPTR(TILE_LIZTROOPJUSTSIT), LIZTROOPJUSTSIT__STATIC, 0 }, + { "TILE_LIZTROOPDUCKING", DVPTR(TILE_LIZTROOPDUCKING), LIZTROOPDUCKING__STATIC, 0 }, + { "TILE_HEADJIB1", DVPTR(TILE_HEADJIB1), HEADJIB1__STATIC, 0 }, + { "TILE_ARMJIB1", DVPTR(TILE_ARMJIB1), ARMJIB1__STATIC, 0 }, + { "TILE_LEGJIB1", DVPTR(TILE_LEGJIB1), LEGJIB1__STATIC, 0 }, + { "TILE_CANNONBALL", DVPTR(TILE_CANNONBALL), CANNONBALL__STATIC, CANNONBALL__STATICRR }, + { "TILE_OCTABRAIN", DVPTR(TILE_OCTABRAIN), OCTABRAIN__STATIC, 0 }, + { "TILE_OCTABRAINSTAYPUT", DVPTR(TILE_OCTABRAINSTAYPUT), OCTABRAINSTAYPUT__STATIC, 0 }, + { "TILE_OCTATOP", DVPTR(TILE_OCTATOP), OCTATOP__STATIC, 0 }, + { "TILE_OCTADEADSPRITE", DVPTR(TILE_OCTADEADSPRITE), OCTADEADSPRITE__STATIC, 0 }, + { "TILE_INNERJAW", DVPTR(TILE_INNERJAW), INNERJAW__STATIC, INNERJAW__STATICRR }, + { "TILE_DRONE", DVPTR(TILE_DRONE), DRONE__STATIC, DRONE__STATICRR }, + { "TILE_EXPLOSION2", DVPTR(TILE_EXPLOSION2), EXPLOSION2__STATIC, EXPLOSION2__STATICRR }, + { "TILE_COMMANDER", DVPTR(TILE_COMMANDER), COMMANDER__STATIC, 0 }, + { "TILE_COMMANDERSTAYPUT", DVPTR(TILE_COMMANDERSTAYPUT), COMMANDERSTAYPUT__STATIC, 0 }, + { "TILE_RECON", DVPTR(TILE_RECON), RECON__STATIC, RECON__STATICRR }, + { "TILE_TANK", DVPTR(TILE_TANK), TANK__STATIC, 0 }, + { "TILE_PIGCOP", DVPTR(TILE_PIGCOP), PIGCOP__STATIC, 0 }, + { "TILE_PIGCOPSTAYPUT", DVPTR(TILE_PIGCOPSTAYPUT), PIGCOPSTAYPUT__STATIC, 0 }, + { "TILE_PIGCOPDIVE", DVPTR(TILE_PIGCOPDIVE), PIGCOPDIVE__STATIC, 0 }, + { "TILE_PIGCOPDEADSPRITE", DVPTR(TILE_PIGCOPDEADSPRITE), PIGCOPDEADSPRITE__STATIC, 0 }, + { "TILE_PIGTOP", DVPTR(TILE_PIGTOP), PIGTOP__STATIC, 0 }, + { "TILE_LIZMAN", DVPTR(TILE_LIZMAN), LIZMAN__STATIC, 0 }, + { "TILE_LIZMANSTAYPUT", DVPTR(TILE_LIZMANSTAYPUT), LIZMANSTAYPUT__STATIC, 0 }, + { "TILE_LIZMANSPITTING", DVPTR(TILE_LIZMANSPITTING), LIZMANSPITTING__STATIC, 0 }, + { "TILE_LIZMANFEEDING", DVPTR(TILE_LIZMANFEEDING), LIZMANFEEDING__STATIC, 0 }, + { "TILE_LIZMANJUMP", DVPTR(TILE_LIZMANJUMP), LIZMANJUMP__STATIC, 0 }, + { "TILE_LIZMANDEADSPRITE", DVPTR(TILE_LIZMANDEADSPRITE), LIZMANDEADSPRITE__STATIC, 0 }, + { "TILE_FECES", DVPTR(TILE_FECES), FECES__STATIC, FECES__STATICRR }, + { "TILE_LIZMANHEAD1", DVPTR(TILE_LIZMANHEAD1), LIZMANHEAD1__STATIC, 0 }, + { "TILE_LIZMANARM1", DVPTR(TILE_LIZMANARM1), LIZMANARM1__STATIC, 0 }, + { "TILE_LIZMANLEG1", DVPTR(TILE_LIZMANLEG1), LIZMANLEG1__STATIC, 0 }, + { "TILE_EXPLOSION2BOT", DVPTR(TILE_EXPLOSION2BOT), EXPLOSION2BOT__STATIC, EXPLOSION2BOT__STATICRR }, + { "TILE_USERWEAPON", DVPTR(TILE_USERWEAPON), USERWEAPON__STATIC, USERWEAPON__STATICRR }, + { "TILE_HEADERBAR", DVPTR(TILE_HEADERBAR), HEADERBAR__STATIC, HEADERBAR__STATICRR }, + { "TILE_JIBS1", DVPTR(TILE_JIBS1), JIBS1__STATIC, JIBS1__STATICRR }, + { "TILE_JIBS2", DVPTR(TILE_JIBS2), JIBS2__STATIC, JIBS2__STATICRR }, + { "TILE_JIBS3", DVPTR(TILE_JIBS3), JIBS3__STATIC, JIBS3__STATICRR }, + { "TILE_JIBS4", DVPTR(TILE_JIBS4), JIBS4__STATIC, JIBS4__STATICRR }, + { "TILE_JIBS5", DVPTR(TILE_JIBS5), JIBS5__STATIC, JIBS5__STATICRR }, + { "TILE_BURNING", DVPTR(TILE_BURNING), BURNING__STATIC, BURNING__STATICRR }, + { "TILE_FIRE", DVPTR(TILE_FIRE), FIRE__STATIC, FIRE__STATICRR }, + { "TILE_JIBS6", DVPTR(TILE_JIBS6), JIBS6__STATIC, JIBS6__STATICRR }, + { "TILE_BLOODSPLAT1", DVPTR(TILE_BLOODSPLAT1), BLOODSPLAT1__STATIC, BLOODSPLAT1__STATICRR }, + { "TILE_BLOODSPLAT3", DVPTR(TILE_BLOODSPLAT3), BLOODSPLAT3__STATIC, BLOODSPLAT3__STATICRR }, + { "TILE_BLOODSPLAT2", DVPTR(TILE_BLOODSPLAT2), BLOODSPLAT2__STATIC, BLOODSPLAT2__STATICRR }, + { "TILE_BLOODSPLAT4", DVPTR(TILE_BLOODSPLAT4), BLOODSPLAT4__STATIC, BLOODSPLAT4__STATICRR }, + { "TILE_OOZ", DVPTR(TILE_OOZ), OOZ__STATIC, OOZ__STATICRR }, + { "TILE_OOZ2", DVPTR(TILE_OOZ2), OOZ2__STATIC, OOZ2__STATICRR }, + { "TILE_WALLBLOOD1", DVPTR(TILE_WALLBLOOD1), WALLBLOOD1__STATIC, WALLBLOOD1__STATICRR }, + { "TILE_WALLBLOOD2", DVPTR(TILE_WALLBLOOD2), WALLBLOOD2__STATIC, WALLBLOOD2__STATICRR }, + { "TILE_WALLBLOOD3", DVPTR(TILE_WALLBLOOD3), WALLBLOOD3__STATIC, WALLBLOOD3__STATICRR }, + { "TILE_WALLBLOOD4", DVPTR(TILE_WALLBLOOD4), WALLBLOOD4__STATIC, WALLBLOOD4__STATICRR }, + { "TILE_WALLBLOOD5", DVPTR(TILE_WALLBLOOD5), WALLBLOOD5__STATIC, WALLBLOOD5__STATICRR }, + { "TILE_WALLBLOOD6", DVPTR(TILE_WALLBLOOD6), WALLBLOOD6__STATIC, WALLBLOOD6__STATICRR }, + { "TILE_WALLBLOOD7", DVPTR(TILE_WALLBLOOD7), WALLBLOOD7__STATIC, WALLBLOOD7__STATICRR }, + { "TILE_WALLBLOOD8", DVPTR(TILE_WALLBLOOD8), WALLBLOOD8__STATIC, WALLBLOOD8__STATICRR }, + { "TILE_BURNING2", DVPTR(TILE_BURNING2), BURNING2__STATIC, BURNING2__STATICRR }, + { "TILE_FIRE2", DVPTR(TILE_FIRE2), FIRE2__STATIC, FIRE2__STATICRR }, + { "TILE_CRACKKNUCKLES", DVPTR(TILE_CRACKKNUCKLES), CRACKKNUCKLES__STATIC, CRACKKNUCKLES__STATICRR }, + { "TILE_SMALLSMOKE", DVPTR(TILE_SMALLSMOKE), SMALLSMOKE__STATIC, SMALLSMOKE__STATICRR }, + { "TILE_SMALLSMOKEMAKER", DVPTR(TILE_SMALLSMOKEMAKER), SMALLSMOKEMAKER__STATIC, SMALLSMOKEMAKER__STATICRR }, + { "TILE_FLOORFLAME", DVPTR(TILE_FLOORFLAME), FLOORFLAME__STATIC, FLOORFLAME__STATICRR }, + { "TILE_ROTATEGUN", DVPTR(TILE_ROTATEGUN), ROTATEGUN__STATIC, ROTATEGUN__STATICRR }, + { "TILE_GREENSLIME", DVPTR(TILE_GREENSLIME), GREENSLIME__STATIC, GREENSLIME__STATICRR }, + { "TILE_WATERDRIPSPLASH", DVPTR(TILE_WATERDRIPSPLASH), WATERDRIPSPLASH__STATIC, WATERDRIPSPLASH__STATICRR }, + { "TILE_SCRAP6", DVPTR(TILE_SCRAP6), SCRAP6__STATIC, SCRAP6__STATICRR }, + { "TILE_SCRAP1", DVPTR(TILE_SCRAP1), SCRAP1__STATIC, SCRAP1__STATICRR }, + { "TILE_SCRAP2", DVPTR(TILE_SCRAP2), SCRAP2__STATIC, SCRAP2__STATICRR }, + { "TILE_SCRAP3", DVPTR(TILE_SCRAP3), SCRAP3__STATIC, SCRAP3__STATICRR }, + { "TILE_SCRAP4", DVPTR(TILE_SCRAP4), SCRAP4__STATIC, SCRAP4__STATICRR }, + { "TILE_SCRAP5", DVPTR(TILE_SCRAP5), SCRAP5__STATIC, SCRAP5__STATICRR }, + { "TILE_ORGANTIC", DVPTR(TILE_ORGANTIC), ORGANTIC__STATIC, ORGANTIC__STATICRR }, + { "TILE_BETAVERSION", DVPTR(TILE_BETAVERSION), BETAVERSION__STATIC, BETAVERSION__STATICRR }, + { "TILE_PLAYERISHERE", DVPTR(TILE_PLAYERISHERE), PLAYERISHERE__STATIC, PLAYERISHERE__STATICRR }, + { "TILE_PLAYERWASHERE", DVPTR(TILE_PLAYERWASHERE), PLAYERWASHERE__STATIC, PLAYERWASHERE__STATICRR }, + { "TILE_SELECTDIR", DVPTR(TILE_SELECTDIR), SELECTDIR__STATIC, SELECTDIR__STATICRR }, + { "TILE_F1HELP", DVPTR(TILE_F1HELP), F1HELP__STATIC, F1HELP__STATICRR }, + { "TILE_NOTCHON", DVPTR(TILE_NOTCHON), NOTCHON__STATIC, NOTCHON__STATICRR }, + { "TILE_NOTCHOFF", DVPTR(TILE_NOTCHOFF), NOTCHOFF__STATIC, NOTCHOFF__STATICRR }, + { "TILE_GROWSPARK", DVPTR(TILE_GROWSPARK), GROWSPARK__STATIC, GROWSPARK__STATICRR }, + { "TILE_DUKEICON", DVPTR(TILE_DUKEICON), DUKEICON__STATIC, DUKEICON__STATICRR }, + { "TILE_BADGUYICON", DVPTR(TILE_BADGUYICON), BADGUYICON__STATIC, BADGUYICON__STATICRR }, + { "TILE_FOODICON", DVPTR(TILE_FOODICON), FOODICON__STATIC, FOODICON__STATICRR }, + { "TILE_GETICON", DVPTR(TILE_GETICON), GETICON__STATIC, GETICON__STATICRR }, + { "TILE_MENUSCREEN", DVPTR(TILE_MENUSCREEN), MENUSCREEN__STATIC, MENUSCREEN__STATICRR }, + { "TILE_MENUBAR", DVPTR(TILE_MENUBAR), MENUBAR__STATIC, MENUBAR__STATICRR }, + { "TILE_KILLSICON", DVPTR(TILE_KILLSICON), KILLSICON__STATIC, KILLSICON__STATICRR }, + { "TILE_FIRSTAID_ICON", DVPTR(TILE_FIRSTAID_ICON), FIRSTAID_ICON__STATIC, FIRSTAID_ICON__STATICRR }, + { "TILE_HEAT_ICON", DVPTR(TILE_HEAT_ICON), HEAT_ICON__STATIC, HEAT_ICON__STATICRR }, + { "TILE_BOTTOMSTATUSBAR", DVPTR(TILE_BOTTOMSTATUSBAR), BOTTOMSTATUSBAR__STATIC, BOTTOMSTATUSBAR__STATICRR }, + { "TILE_BOOT_ICON", DVPTR(TILE_BOOT_ICON), BOOT_ICON__STATIC, BOOT_ICON__STATICRR }, + { "TILE_FRAGBAR", DVPTR(TILE_FRAGBAR), FRAGBAR__STATIC, FRAGBAR__STATICRR }, + { "TILE_JETPACK_ICON", DVPTR(TILE_JETPACK_ICON), JETPACK_ICON__STATIC, JETPACK_ICON__STATICRR }, + { "TILE_AIRTANK_ICON", DVPTR(TILE_AIRTANK_ICON), AIRTANK_ICON__STATIC, AIRTANK_ICON__STATICRR }, + { "TILE_STEROIDS_ICON", DVPTR(TILE_STEROIDS_ICON), STEROIDS_ICON__STATIC, STEROIDS_ICON__STATICRR }, + { "TILE_HOLODUKE_ICON", DVPTR(TILE_HOLODUKE_ICON), HOLODUKE_ICON__STATIC, HOLODUKE_ICON__STATICRR }, + { "TILE_ACCESS_ICON", DVPTR(TILE_ACCESS_ICON), ACCESS_ICON__STATIC, ACCESS_ICON__STATICRR }, + { "TILE_DIGITALNUM", DVPTR(TILE_DIGITALNUM), DIGITALNUM__STATIC, DIGITALNUM__STATICRR }, + { "TILE_DUKECAR", DVPTR(TILE_DUKECAR), DUKECAR__STATIC, DUKECAR__STATICRR }, + { "TILE_CAMCORNER", DVPTR(TILE_CAMCORNER), CAMCORNER__STATIC, CAMCORNER__STATICRR }, + { "TILE_CAMLIGHT", DVPTR(TILE_CAMLIGHT), CAMLIGHT__STATIC, CAMLIGHT__STATICRR }, + { "TILE_LOGO", DVPTR(TILE_LOGO), LOGO__STATIC, LOGO__STATICRR }, + { "TILE_TITLE", DVPTR(TILE_TITLE), TITLE__STATIC, TITLE__STATICRR }, + { "TILE_NUKEWARNINGICON", DVPTR(TILE_NUKEWARNINGICON), NUKEWARNINGICON__STATIC, NUKEWARNINGICON__STATICRR }, + { "TILE_MOUSECURSOR", DVPTR(TILE_MOUSECURSOR), MOUSECURSOR__STATIC, MOUSECURSOR__STATICRR }, + { "TILE_SLIDEBAR", DVPTR(TILE_SLIDEBAR), SLIDEBAR__STATIC, SLIDEBAR__STATICRR }, + { "TILE_DREALMS", DVPTR(TILE_DREALMS), DREALMS__STATIC, DREALMS__STATICRR }, + { "TILE_BETASCREEN", DVPTR(TILE_BETASCREEN), BETASCREEN__STATIC, BETASCREEN__STATICRR }, + { "TILE_WINDOWBORDER1", DVPTR(TILE_WINDOWBORDER1), WINDOWBORDER1__STATIC, WINDOWBORDER1__STATICRR }, + { "TILE_TEXTBOX", DVPTR(TILE_TEXTBOX), TEXTBOX__STATIC, TEXTBOX__STATICRR }, + { "TILE_WINDOWBORDER2", DVPTR(TILE_WINDOWBORDER2), WINDOWBORDER2__STATIC, WINDOWBORDER2__STATICRR }, + { "TILE_DUKENUKEM", DVPTR(TILE_DUKENUKEM), DUKENUKEM__STATIC, DUKENUKEM__STATICRR }, + { "TILE_THREEDEE", DVPTR(TILE_THREEDEE), THREEDEE__STATIC, THREEDEE__STATICRR }, + { "TILE_INGAMEDUKETHREEDEE", DVPTR(TILE_INGAMEDUKETHREEDEE), INGAMEDUKETHREEDEE__STATIC, INGAMEDUKETHREEDEE__STATICRR }, + { "TILE_TENSCREEN", DVPTR(TILE_TENSCREEN), TENSCREEN__STATIC, TENSCREEN__STATICRR }, + { "TILE_PLUTOPAKSPRITE", DVPTR(TILE_PLUTOPAKSPRITE), PLUTOPAKSPRITE__STATIC, PLUTOPAKSPRITE__STATICRR }, + { "TILE_DEVISTATOR", DVPTR(TILE_DEVISTATOR), DEVISTATOR__STATIC, DEVISTATOR__STATICRR }, + { "TILE_KNEE", DVPTR(TILE_KNEE), KNEE__STATIC, KNEE__STATICRR }, + { "TILE_CROSSHAIR", DVPTR(TILE_CROSSHAIR), CROSSHAIR__STATIC, CROSSHAIR__STATICRR }, + { "TILE_FIRSTGUN", DVPTR(TILE_FIRSTGUN), FIRSTGUN__STATIC, FIRSTGUN__STATICRR }, + { "TILE_FIRSTGUNRELOAD", DVPTR(TILE_FIRSTGUNRELOAD), FIRSTGUNRELOAD__STATIC, FIRSTGUNRELOAD__STATICRR }, + { "TILE_FALLINGCLIP", DVPTR(TILE_FALLINGCLIP), FALLINGCLIP__STATIC, FALLINGCLIP__STATICRR }, + { "TILE_CLIPINHAND", DVPTR(TILE_CLIPINHAND), CLIPINHAND__STATIC, CLIPINHAND__STATICRR }, + { "TILE_HAND", DVPTR(TILE_HAND), HAND__STATIC, HAND__STATICRR }, + { "TILE_SHELL", DVPTR(TILE_SHELL), SHELL__STATIC, SHELL__STATICRR }, + { "TILE_SHOTGUNSHELL", DVPTR(TILE_SHOTGUNSHELL), SHOTGUNSHELL__STATIC, SHOTGUNSHELL__STATICRR }, + { "TILE_CHAINGUN", DVPTR(TILE_CHAINGUN), CHAINGUN__STATIC, CHAINGUN__STATICRR }, + { "TILE_RPGGUN", DVPTR(TILE_RPGGUN), RPGGUN__STATIC, RPGGUN__STATICRR }, + { "TILE_RPGMUZZLEFLASH", DVPTR(TILE_RPGMUZZLEFLASH), RPGMUZZLEFLASH__STATIC, RPGMUZZLEFLASH__STATICRR }, + { "TILE_FREEZE", DVPTR(TILE_FREEZE), FREEZE__STATIC, FREEZE__STATICRR }, + { "TILE_CATLITE", DVPTR(TILE_CATLITE), CATLITE__STATIC, CATLITE__STATICRR }, + { "TILE_SHRINKER", DVPTR(TILE_SHRINKER), SHRINKER__STATIC, SHRINKER__STATICRR }, + { "TILE_HANDHOLDINGLASER", DVPTR(TILE_HANDHOLDINGLASER), HANDHOLDINGLASER__STATIC, HANDHOLDINGLASER__STATICRR }, + { "TILE_TRIPBOMB", DVPTR(TILE_TRIPBOMB), TRIPBOMB__STATIC, TRIPBOMB__STATICRR }, + { "TILE_LASERLINE", DVPTR(TILE_LASERLINE), LASERLINE__STATIC, LASERLINE__STATICRR }, + { "TILE_HANDHOLDINGACCESS", DVPTR(TILE_HANDHOLDINGACCESS), HANDHOLDINGACCESS__STATIC, HANDHOLDINGACCESS__STATICRR }, + { "TILE_HANDREMOTE", DVPTR(TILE_HANDREMOTE), HANDREMOTE__STATIC, HANDREMOTE__STATICRR }, + { "TILE_HANDTHROW", DVPTR(TILE_HANDTHROW), HANDTHROW__STATIC, HANDTHROW__STATICRR }, + { "TILE_TIP", DVPTR(TILE_TIP), TIP__STATIC, TIP__STATICRR }, + { "TILE_GLAIR", DVPTR(TILE_GLAIR), GLAIR__STATIC, GLAIR__STATICRR }, + { "TILE_SCUBAMASK", DVPTR(TILE_SCUBAMASK), SCUBAMASK__STATIC, SCUBAMASK__STATICRR }, + { "TILE_SPACEMASK", DVPTR(TILE_SPACEMASK), SPACEMASK__STATIC, SPACEMASK__STATICRR }, + { "TILE_FORCESPHERE", DVPTR(TILE_FORCESPHERE), FORCESPHERE__STATIC, FORCESPHERE__STATICRR }, + { "TILE_SHOTSPARK1", DVPTR(TILE_SHOTSPARK1), SHOTSPARK1__STATIC, SHOTSPARK1__STATICRR }, + { "TILE_RPG", DVPTR(TILE_RPG), RPG__STATIC, RPG__STATICRR }, + { "TILE_LASERSITE", DVPTR(TILE_LASERSITE), LASERSITE__STATIC, 0 }, + { "TILE_SHOTGUN", DVPTR(TILE_SHOTGUN), SHOTGUN__STATIC, SHOTGUN__STATICRR }, + { "TILE_BOSS1", DVPTR(TILE_BOSS1), BOSS1__STATIC, BOSS1__STATICRR }, + { "TILE_BOSS1STAYPUT", DVPTR(TILE_BOSS1STAYPUT), BOSS1STAYPUT__STATIC, 0 }, + { "TILE_BOSS1SHOOT", DVPTR(TILE_BOSS1SHOOT), BOSS1SHOOT__STATIC, 0 }, + { "TILE_BOSS1LOB", DVPTR(TILE_BOSS1LOB), BOSS1LOB__STATIC, 0 }, + { "TILE_BOSSTOP", DVPTR(TILE_BOSSTOP), BOSSTOP__STATIC, 0 }, + { "TILE_BOSS2", DVPTR(TILE_BOSS2), BOSS2__STATIC, BOSS2__STATICRR }, + { "TILE_BOSS3", DVPTR(TILE_BOSS3), BOSS3__STATIC, BOSS3__STATICRR }, + { "TILE_SPINNINGNUKEICON", DVPTR(TILE_SPINNINGNUKEICON), SPINNINGNUKEICON__STATIC, SPINNINGNUKEICON__STATICRR }, + { "TILE_BIGFNTCURSOR", DVPTR(TILE_BIGFNTCURSOR), BIGFNTCURSOR__STATIC, BIGFNTCURSOR__STATICRR }, + { "TILE_SMALLFNTCURSOR", DVPTR(TILE_SMALLFNTCURSOR), SMALLFNTCURSOR__STATIC, SMALLFNTCURSOR__STATICRR }, + { "TILE_STARTALPHANUM", DVPTR(TILE_STARTALPHANUM), STARTALPHANUM__STATIC, STARTALPHANUM__STATICRR }, + { "TILE_ENDALPHANUM", DVPTR(TILE_ENDALPHANUM), ENDALPHANUM__STATIC, ENDALPHANUM__STATICRR }, + { "TILE_BIGALPHANUM", DVPTR(TILE_BIGALPHANUM), BIGALPHANUM__STATIC, BIGALPHANUM__STATICRR }, + { "TILE_BIGPERIOD", DVPTR(TILE_BIGPERIOD), BIGPERIOD__STATIC, BIGPERIOD__STATICRR }, + { "TILE_BIGCOMMA", DVPTR(TILE_BIGCOMMA), BIGCOMMA__STATIC, BIGCOMMA__STATICRR }, + { "BIGX", DVPTR(TILE_BIGX_), BIGX__STATIC, BIGX__STATICRR }, + { "TILE_BIGQ", DVPTR(TILE_BIGQ), BIGQ__STATIC, BIGQ__STATICRR }, + { "TILE_BIGSEMI", DVPTR(TILE_BIGSEMI), BIGSEMI__STATIC, BIGSEMI__STATICRR }, + { "TILE_BIGCOLIN", DVPTR(TILE_BIGCOLIN), BIGCOLIN__STATIC, BIGCOLIN__STATICRR }, + { "TILE_THREEBYFIVE", DVPTR(TILE_THREEBYFIVE), THREEBYFIVE__STATIC, THREEBYFIVE__STATICRR }, + { "TILE_BIGAPPOS", DVPTR(TILE_BIGAPPOS), BIGAPPOS__STATIC, BIGAPPOS__STATICRR }, + { "TILE_BLANK", DVPTR(TILE_BLANK), BLANK__STATIC, BLANK__STATICRR }, + { "TILE_MINIFONT", DVPTR(TILE_MINIFONT), MINIFONT__STATIC, MINIFONT__STATICRR }, + { "TILE_BUTTON1", DVPTR(TILE_BUTTON1), BUTTON1__STATIC, BUTTON1__STATICRR }, + { "TILE_GLASS3", DVPTR(TILE_GLASS3), GLASS3__STATIC, GLASS3__STATICRR }, + { "TILE_RESPAWNMARKERRED", DVPTR(TILE_RESPAWNMARKERRED), RESPAWNMARKERRED__STATIC, RESPAWNMARKERRED__STATICRR }, + { "TILE_RESPAWNMARKERYELLOW", DVPTR(TILE_RESPAWNMARKERYELLOW), RESPAWNMARKERYELLOW__STATIC, RESPAWNMARKERYELLOW__STATICRR }, + { "TILE_RESPAWNMARKERGREEN", DVPTR(TILE_RESPAWNMARKERGREEN), RESPAWNMARKERGREEN__STATIC, RESPAWNMARKERGREEN__STATICRR }, + { "TILE_BONUSSCREEN", DVPTR(TILE_BONUSSCREEN), BONUSSCREEN__STATIC, BONUSSCREEN__STATICRR }, + { "TILE_VIEWBORDER", DVPTR(TILE_VIEWBORDER), VIEWBORDER__STATIC, VIEWBORDER__STATICRR }, + { "TILE_VICTORY1", DVPTR(TILE_VICTORY1), VICTORY1__STATIC, VICTORY1__STATICRR }, + { "TILE_ORDERING", DVPTR(TILE_ORDERING), ORDERING__STATIC, ORDERING__STATICRR }, + { "TILE_TEXTSTORY", DVPTR(TILE_TEXTSTORY), TEXTSTORY__STATIC, TEXTSTORY__STATICRR }, + { "TILE_LOADSCREEN", DVPTR(TILE_LOADSCREEN), LOADSCREEN__STATIC, LOADSCREEN__STATICRR }, + { "TILE_BORNTOBEWILDSCREEN", DVPTR(TILE_BORNTOBEWILDSCREEN), BORNTOBEWILDSCREEN__STATIC, BORNTOBEWILDSCREEN__STATICRR }, + { "TILE_BLIMP", DVPTR(TILE_BLIMP), BLIMP__STATIC, BLIMP__STATICRR }, + { "TILE_FEM9", DVPTR(TILE_FEM9), FEM9__STATIC, FEM9__STATICRR }, + { "TILE_FOOTPRINT", DVPTR(TILE_FOOTPRINT), FOOTPRINT__STATIC, FOOTPRINT__STATICRR }, + { "TILE_POOP", DVPTR(TILE_POOP), POOP__STATIC, POOP__STATICRR }, + { "TILE_FRAMEEFFECT1", DVPTR(TILE_FRAMEEFFECT1), FRAMEEFFECT1__STATIC, FRAMEEFFECT1__STATICRR }, + { "TILE_PANNEL3", DVPTR(TILE_PANNEL3), PANNEL3__STATIC, PANNEL3__STATICRR }, + { "TILE_SCREENBREAK14", DVPTR(TILE_SCREENBREAK14), SCREENBREAK14__STATIC, SCREENBREAK14__STATICRR }, + { "TILE_SCREENBREAK15", DVPTR(TILE_SCREENBREAK15), SCREENBREAK15__STATIC, SCREENBREAK15__STATICRR }, + { "TILE_SCREENBREAK19", DVPTR(TILE_SCREENBREAK19), SCREENBREAK19__STATIC, SCREENBREAK19__STATICRR }, + { "TILE_SCREENBREAK16", DVPTR(TILE_SCREENBREAK16), SCREENBREAK16__STATIC, SCREENBREAK16__STATICRR }, + { "TILE_SCREENBREAK17", DVPTR(TILE_SCREENBREAK17), SCREENBREAK17__STATIC, SCREENBREAK17__STATICRR }, + { "TILE_SCREENBREAK18", DVPTR(TILE_SCREENBREAK18), SCREENBREAK18__STATIC, SCREENBREAK18__STATICRR }, + { "TILE_W_TECHWALL11", DVPTR(TILE_W_TECHWALL11), W_TECHWALL11__STATIC, W_TECHWALL11__STATICRR }, + { "TILE_W_TECHWALL12", DVPTR(TILE_W_TECHWALL12), W_TECHWALL12__STATIC, W_TECHWALL12__STATICRR }, + { "TILE_W_TECHWALL13", DVPTR(TILE_W_TECHWALL13), W_TECHWALL13__STATIC, W_TECHWALL13__STATICRR }, + { "TILE_W_TECHWALL14", DVPTR(TILE_W_TECHWALL14), W_TECHWALL14__STATIC, W_TECHWALL14__STATICRR }, + { "TILE_W_TECHWALL5", DVPTR(TILE_W_TECHWALL5), W_TECHWALL5__STATIC, W_TECHWALL5__STATICRR }, + { "TILE_W_TECHWALL6", DVPTR(TILE_W_TECHWALL6), W_TECHWALL6__STATIC, W_TECHWALL6__STATICRR }, + { "TILE_W_TECHWALL7", DVPTR(TILE_W_TECHWALL7), W_TECHWALL7__STATIC, W_TECHWALL7__STATICRR }, + { "TILE_W_TECHWALL8", DVPTR(TILE_W_TECHWALL8), W_TECHWALL8__STATIC, W_TECHWALL8__STATICRR }, + { "TILE_W_TECHWALL9", DVPTR(TILE_W_TECHWALL9), W_TECHWALL9__STATIC, W_TECHWALL9__STATICRR }, + { "TILE_BPANNEL3", DVPTR(TILE_BPANNEL3), BPANNEL3__STATIC, BPANNEL3__STATICRR }, + { "TILE_W_HITTECHWALL16", DVPTR(TILE_W_HITTECHWALL16), W_HITTECHWALL16__STATIC, W_HITTECHWALL16__STATICRR }, + { "TILE_W_HITTECHWALL10", DVPTR(TILE_W_HITTECHWALL10), W_HITTECHWALL10__STATIC, W_HITTECHWALL10__STATICRR }, + { "TILE_W_HITTECHWALL15", DVPTR(TILE_W_HITTECHWALL15), W_HITTECHWALL15__STATIC, W_HITTECHWALL15__STATICRR }, + { "TILE_W_MILKSHELF", DVPTR(TILE_W_MILKSHELF), W_MILKSHELF__STATIC, W_MILKSHELF__STATICRR }, + { "TILE_W_MILKSHELFBROKE", DVPTR(TILE_W_MILKSHELFBROKE), W_MILKSHELFBROKE__STATIC, W_MILKSHELFBROKE__STATICRR }, + { "TILE_PURPLELAVA", DVPTR(TILE_PURPLELAVA), PURPLELAVA__STATIC, PURPLELAVA__STATICRR }, + { "TILE_LAVABUBBLE", DVPTR(TILE_LAVABUBBLE), LAVABUBBLE__STATIC, LAVABUBBLE__STATICRR }, + { "TILE_DUKECUTOUT", DVPTR(TILE_DUKECUTOUT), DUKECUTOUT__STATIC, DUKECUTOUT__STATICRR }, + { "TILE_TARGET", DVPTR(TILE_TARGET), TARGET__STATIC, TARGET__STATICRR }, + { "TILE_GUNPOWDERBARREL", DVPTR(TILE_GUNPOWDERBARREL), GUNPOWDERBARREL__STATIC, GUNPOWDERBARREL__STATICRR }, + { "TILE_DUCK", DVPTR(TILE_DUCK), DUCK__STATIC, DUCK__STATICRR }, + { "TILE_HATRACK", DVPTR(TILE_HATRACK), HATRACK__STATIC, HATRACK__STATICRR }, + { "TILE_DESKLAMP", DVPTR(TILE_DESKLAMP), DESKLAMP__STATIC, DESKLAMP__STATICRR }, + { "TILE_COFFEEMACHINE", DVPTR(TILE_COFFEEMACHINE), COFFEEMACHINE__STATIC, COFFEEMACHINE__STATICRR }, + { "TILE_CUPS", DVPTR(TILE_CUPS), CUPS__STATIC, CUPS__STATICRR }, + { "TILE_GAVALS", DVPTR(TILE_GAVALS), GAVALS__STATIC, GAVALS__STATICRR }, + { "TILE_GAVALS2", DVPTR(TILE_GAVALS2), GAVALS2__STATIC, GAVALS2__STATICRR }, + { "TILE_POLICELIGHTPOLE", DVPTR(TILE_POLICELIGHTPOLE), POLICELIGHTPOLE__STATIC, POLICELIGHTPOLE__STATICRR }, + { "TILE_FLOORBASKET", DVPTR(TILE_FLOORBASKET), FLOORBASKET__STATIC, FLOORBASKET__STATICRR }, + { "TILE_PUKE", DVPTR(TILE_PUKE), PUKE__STATIC, PUKE__STATICRR }, + { "TILE_DOORTILE23", DVPTR(TILE_DOORTILE23), DOORTILE23__STATIC, DOORTILE23__STATICRR }, + { "TILE_TOPSECRET", DVPTR(TILE_TOPSECRET), TOPSECRET__STATIC, TOPSECRET__STATICRR }, + { "TILE_SPEAKER", DVPTR(TILE_SPEAKER), SPEAKER__STATIC, SPEAKER__STATICRR }, + { "TILE_TEDDYBEAR", DVPTR(TILE_TEDDYBEAR), TEDDYBEAR__STATIC, TEDDYBEAR__STATICRR }, + { "TILE_ROBOTDOG", DVPTR(TILE_ROBOTDOG), ROBOTDOG__STATIC, ROBOTDOG__STATICRR }, + { "TILE_ROBOTPIRATE", DVPTR(TILE_ROBOTPIRATE), ROBOTPIRATE__STATIC, ROBOTPIRATE__STATICRR }, + { "TILE_ROBOTMOUSE", DVPTR(TILE_ROBOTMOUSE), ROBOTMOUSE__STATIC, ROBOTMOUSE__STATICRR }, + { "TILE_MAIL", DVPTR(TILE_MAIL), MAIL__STATIC, MAIL__STATICRR }, + { "TILE_MAILBAG", DVPTR(TILE_MAILBAG), MAILBAG__STATIC, MAILBAG__STATICRR }, + { "TILE_HOTMEAT", DVPTR(TILE_HOTMEAT), HOTMEAT__STATIC, HOTMEAT__STATICRR }, + { "TILE_COFFEEMUG", DVPTR(TILE_COFFEEMUG), COFFEEMUG__STATIC, COFFEEMUG__STATICRR }, + { "TILE_DONUTS2", DVPTR(TILE_DONUTS2), DONUTS2__STATIC, DONUTS2__STATICRR }, + { "TILE_TRIPODCAMERA", DVPTR(TILE_TRIPODCAMERA), TRIPODCAMERA__STATIC, TRIPODCAMERA__STATICRR }, + { "TILE_METER", DVPTR(TILE_METER), METER__STATIC, METER__STATICRR }, + { "TILE_DESKPHONE", DVPTR(TILE_DESKPHONE), DESKPHONE__STATIC, DESKPHONE__STATICRR }, + { "TILE_GUMBALLMACHINE", DVPTR(TILE_GUMBALLMACHINE), GUMBALLMACHINE__STATIC, GUMBALLMACHINE__STATICRR }, + { "TILE_GUMBALLMACHINEBROKE", DVPTR(TILE_GUMBALLMACHINEBROKE), GUMBALLMACHINEBROKE__STATIC, GUMBALLMACHINEBROKE__STATICRR }, + { "TILE_PAPER", DVPTR(TILE_PAPER), PAPER__STATIC, PAPER__STATICRR }, + { "TILE_MACE", DVPTR(TILE_MACE), MACE__STATIC, MACE__STATICRR }, + { "TILE_GENERICPOLE2", DVPTR(TILE_GENERICPOLE2), GENERICPOLE2__STATIC, GENERICPOLE2__STATICRR }, + { "TILE_XXXSTACY", DVPTR(TILE_XXXSTACY), XXXSTACY__STATIC, XXXSTACY__STATICRR }, + { "TILE_WETFLOOR", DVPTR(TILE_WETFLOOR), WETFLOOR__STATIC, WETFLOOR__STATICRR }, + { "TILE_BROOM", DVPTR(TILE_BROOM), BROOM__STATIC, BROOM__STATICRR }, + { "TILE_MOP", DVPTR(TILE_MOP), MOP__STATIC, MOP__STATICRR }, + { "TILE_LETTER", DVPTR(TILE_LETTER), LETTER__STATIC, 0 }, + { "TILE_PIRATE1A", DVPTR(TILE_PIRATE1A), PIRATE1A__STATIC, PIRATE1A__STATICRR }, + { "TILE_PIRATE4A", DVPTR(TILE_PIRATE4A), PIRATE4A__STATIC, PIRATE4A__STATICRR }, + { "TILE_PIRATE2A", DVPTR(TILE_PIRATE2A), PIRATE2A__STATIC, PIRATE2A__STATICRR }, + { "TILE_PIRATE5A", DVPTR(TILE_PIRATE5A), PIRATE5A__STATIC, PIRATE5A__STATICRR }, + { "TILE_PIRATE3A", DVPTR(TILE_PIRATE3A), PIRATE3A__STATIC, PIRATE3A__STATICRR }, + { "TILE_PIRATE6A", DVPTR(TILE_PIRATE6A), PIRATE6A__STATIC, PIRATE6A__STATICRR }, + { "TILE_PIRATEHALF", DVPTR(TILE_PIRATEHALF), PIRATEHALF__STATIC, PIRATEHALF__STATICRR }, + { "TILE_CHESTOFGOLD", DVPTR(TILE_CHESTOFGOLD), CHESTOFGOLD__STATIC, CHESTOFGOLD__STATICRR }, + { "TILE_SIDEBOLT1", DVPTR(TILE_SIDEBOLT1), SIDEBOLT1__STATIC, SIDEBOLT1__STATICRR }, + { "TILE_FOODOBJECT1", DVPTR(TILE_FOODOBJECT1), FOODOBJECT1__STATIC, FOODOBJECT1__STATICRR }, + { "TILE_FOODOBJECT2", DVPTR(TILE_FOODOBJECT2), FOODOBJECT2__STATIC, FOODOBJECT2__STATICRR }, + { "TILE_FOODOBJECT3", DVPTR(TILE_FOODOBJECT3), FOODOBJECT3__STATIC, FOODOBJECT3__STATICRR }, + { "TILE_FOODOBJECT4", DVPTR(TILE_FOODOBJECT4), FOODOBJECT4__STATIC, FOODOBJECT4__STATICRR }, + { "TILE_FOODOBJECT5", DVPTR(TILE_FOODOBJECT5), FOODOBJECT5__STATIC, FOODOBJECT5__STATICRR }, + { "TILE_FOODOBJECT6", DVPTR(TILE_FOODOBJECT6), FOODOBJECT6__STATIC, FOODOBJECT6__STATICRR }, + { "TILE_FOODOBJECT7", DVPTR(TILE_FOODOBJECT7), FOODOBJECT7__STATIC, FOODOBJECT7__STATICRR }, + { "TILE_FOODOBJECT8", DVPTR(TILE_FOODOBJECT8), FOODOBJECT8__STATIC, FOODOBJECT8__STATICRR }, + { "TILE_FOODOBJECT9", DVPTR(TILE_FOODOBJECT9), FOODOBJECT9__STATIC, FOODOBJECT9__STATICRR }, + { "TILE_FOODOBJECT10", DVPTR(TILE_FOODOBJECT10), FOODOBJECT10__STATIC, FOODOBJECT10__STATICRR }, + { "TILE_FOODOBJECT11", DVPTR(TILE_FOODOBJECT11), FOODOBJECT11__STATIC, FOODOBJECT11__STATICRR }, + { "TILE_FOODOBJECT12", DVPTR(TILE_FOODOBJECT12), FOODOBJECT12__STATIC, FOODOBJECT12__STATICRR }, + { "TILE_FOODOBJECT13", DVPTR(TILE_FOODOBJECT13), FOODOBJECT13__STATIC, FOODOBJECT13__STATICRR }, + { "TILE_FOODOBJECT14", DVPTR(TILE_FOODOBJECT14), FOODOBJECT14__STATIC, FOODOBJECT14__STATICRR }, + { "TILE_FOODOBJECT15", DVPTR(TILE_FOODOBJECT15), FOODOBJECT15__STATIC, FOODOBJECT15__STATICRR }, + { "TILE_FOODOBJECT16", DVPTR(TILE_FOODOBJECT16), FOODOBJECT16__STATIC, FOODOBJECT16__STATICRR }, + { "TILE_FOODOBJECT17", DVPTR(TILE_FOODOBJECT17), FOODOBJECT17__STATIC, FOODOBJECT17__STATICRR }, + { "TILE_FOODOBJECT18", DVPTR(TILE_FOODOBJECT18), FOODOBJECT18__STATIC, FOODOBJECT18__STATICRR }, + { "TILE_FOODOBJECT19", DVPTR(TILE_FOODOBJECT19), FOODOBJECT19__STATIC, FOODOBJECT19__STATICRR }, + { "TILE_FOODOBJECT20", DVPTR(TILE_FOODOBJECT20), FOODOBJECT20__STATIC, FOODOBJECT20__STATICRR }, + { "TILE_HEADLAMP", DVPTR(TILE_HEADLAMP), HEADLAMP__STATIC, HEADLAMP__STATICRR }, + { "TILE_TAMPON", DVPTR(TILE_TAMPON), TAMPON__STATIC, TAMPON__STATICRR }, + { "TILE_SKINNEDCHICKEN", DVPTR(TILE_SKINNEDCHICKEN), SKINNEDCHICKEN__STATIC, SKINNEDCHICKEN__STATICRR }, + { "TILE_FEATHEREDCHICKEN", DVPTR(TILE_FEATHEREDCHICKEN), FEATHEREDCHICKEN__STATIC, FEATHEREDCHICKEN__STATICRR }, + { "TILE_ROBOTDOG2", DVPTR(TILE_ROBOTDOG2), ROBOTDOG2__STATIC, ROBOTDOG2__STATICRR }, + { "TILE_JOLLYMEAL", DVPTR(TILE_JOLLYMEAL), JOLLYMEAL__STATIC, JOLLYMEAL__STATICRR }, + { "TILE_DUKEBURGER", DVPTR(TILE_DUKEBURGER), DUKEBURGER__STATIC, DUKEBURGER__STATICRR }, + { "TILE_SHOPPINGCART", DVPTR(TILE_SHOPPINGCART), SHOPPINGCART__STATIC, SHOPPINGCART__STATICRR }, + { "TILE_CANWITHSOMETHING2", DVPTR(TILE_CANWITHSOMETHING2), CANWITHSOMETHING2__STATIC, CANWITHSOMETHING2__STATICRR }, + { "TILE_CANWITHSOMETHING3", DVPTR(TILE_CANWITHSOMETHING3), CANWITHSOMETHING3__STATIC, CANWITHSOMETHING3__STATICRR }, + { "TILE_CANWITHSOMETHING4", DVPTR(TILE_CANWITHSOMETHING4), CANWITHSOMETHING4__STATIC, CANWITHSOMETHING4__STATICRR }, + { "TILE_SNAKEP", DVPTR(TILE_SNAKEP), SNAKEP__STATIC, SNAKEP__STATICRR }, + { "TILE_DOLPHIN1", DVPTR(TILE_DOLPHIN1), DOLPHIN1__STATIC, DOLPHIN1__STATICRR }, + { "TILE_DOLPHIN2", DVPTR(TILE_DOLPHIN2), DOLPHIN2__STATIC, DOLPHIN2__STATICRR }, + { "TILE_NEWBEAST", DVPTR(TILE_NEWBEAST), NEWBEAST__STATIC, 0 }, + { "TILE_NEWBEASTSTAYPUT", DVPTR(TILE_NEWBEASTSTAYPUT), NEWBEASTSTAYPUT__STATIC, 0 }, + { "TILE_NEWBEASTJUMP", DVPTR(TILE_NEWBEASTJUMP), NEWBEASTJUMP__STATIC, 0 }, + { "TILE_NEWBEASTHANG", DVPTR(TILE_NEWBEASTHANG), NEWBEASTHANG__STATIC, 0 }, + { "TILE_NEWBEASTHANGDEAD", DVPTR(TILE_NEWBEASTHANGDEAD), NEWBEASTHANGDEAD__STATIC, 0 }, + { "TILE_BOSS4", DVPTR(TILE_BOSS4), BOSS4__STATIC, BOSS4__STATICRR }, + { "TILE_BOSS4STAYPUT", DVPTR(TILE_BOSS4STAYPUT), BOSS4STAYPUT__STATIC, 0 }, + { "TILE_FEM10", DVPTR(TILE_FEM10), FEM10__STATIC, FEM10__STATICRR }, + { "TILE_TOUGHGAL", DVPTR(TILE_TOUGHGAL), TOUGHGAL__STATIC, TOUGHGAL__STATICRR }, + { "TILE_MAN", DVPTR(TILE_MAN), MAN__STATIC, MAN__STATICRR }, + { "TILE_MAN2", DVPTR(TILE_MAN2), MAN2__STATIC, MAN2__STATICRR }, + { "TILE_WOMAN", DVPTR(TILE_WOMAN), WOMAN__STATIC, WOMAN__STATICRR }, + { "TILE_PLEASEWAIT", DVPTR(TILE_PLEASEWAIT), PLEASEWAIT__STATIC, PLEASEWAIT__STATICRR }, + { "TILE_NATURALLIGHTNING", DVPTR(TILE_NATURALLIGHTNING), NATURALLIGHTNING__STATIC, 0 }, + { "TILE_WEATHERWARN", DVPTR(TILE_WEATHERWARN), WEATHERWARN__STATIC, 0 }, + { "TILE_DUKETAG", DVPTR(TILE_DUKETAG), DUKETAG__STATIC, DUKETAG__STATICRR }, + { "TILE_SIGN1", DVPTR(TILE_SIGN1), SIGN1__STATIC, SIGN1__STATICRR }, + { "TILE_SIGN2", DVPTR(TILE_SIGN2), SIGN2__STATIC, SIGN2__STATICRR }, + { "TILE_JURYGUY", DVPTR(TILE_JURYGUY), JURYGUY__STATIC, JURYGUY__STATICRR }, + { "TILE_RRTILE11", DVPTR(TILE_RRTILE11), 0, RRTILE11__STATICRR }, + { "TILE_RPG2SPRITE", DVPTR(TILE_RPG2SPRITE), 0, RPG2SPRITE__STATICRR }, + { "TILE_RRTILE18", DVPTR(TILE_RRTILE18), 0, RRTILE18__STATICRR }, + { "TILE_RRTILE19", DVPTR(TILE_RRTILE19), 0, RRTILE19__STATICRR }, + { "TILE_RRTILE34", DVPTR(TILE_RRTILE34), 0, RRTILE34__STATICRR }, + { "TILE_RRTILE35", DVPTR(TILE_RRTILE35), 0, RRTILE35__STATICRR }, + { "TILE_DESTRUCTO", DVPTR(TILE_DESTRUCTO), 0, DESTRUCTO__STATICRR }, + { "TILE_RRTILE38", DVPTR(TILE_RRTILE38), 0, RRTILE38__STATICRR }, + { "TILE_RRTILE43", DVPTR(TILE_RRTILE43), 0, RRTILE43__STATICRR }, + { "TILE_GUTMETER", DVPTR(TILE_GUTMETER), 0, GUTMETER__STATICRR }, + { "TILE_RRTILE63", DVPTR(TILE_RRTILE63), 0, RRTILE63__STATICRR }, + { "TILE_RRTILE64", DVPTR(TILE_RRTILE64), 0, RRTILE64__STATICRR }, + { "TILE_RRTILE65", DVPTR(TILE_RRTILE65), 0, RRTILE65__STATICRR }, + { "TILE_RRTILE66", DVPTR(TILE_RRTILE66), 0, RRTILE66__STATICRR }, + { "TILE_RRTILE67", DVPTR(TILE_RRTILE67), 0, RRTILE67__STATICRR }, + { "TILE_RRTILE68", DVPTR(TILE_RRTILE68), 0, RRTILE68__STATICRR }, + { "TILE_SOUNDFX", DVPTR(TILE_SOUNDFX), 0, SOUNDFX__STATICRR }, + { "TILE_MOTOAMMO", DVPTR(TILE_MOTOAMMO), 0, MOTOAMMO__STATICRR }, + { "TILE_UFOBEAM", DVPTR(TILE_UFOBEAM), 0, UFOBEAM__STATICRR }, + { "TILE_RRTILE280", DVPTR(TILE_RRTILE280), 0, RRTILE280__STATICRR }, + { "TILE_RRTILE281", DVPTR(TILE_RRTILE281), 0, RRTILE281__STATICRR }, + { "TILE_RRTILE282", DVPTR(TILE_RRTILE282), 0, RRTILE282__STATICRR }, + { "TILE_RRTILE283", DVPTR(TILE_RRTILE283), 0, RRTILE283__STATICRR }, + { "TILE_RRTILE285", DVPTR(TILE_RRTILE285), 0, RRTILE285__STATICRR }, + { "TILE_RRTILE286", DVPTR(TILE_RRTILE286), 0, RRTILE286__STATICRR }, + { "TILE_RRTILE287", DVPTR(TILE_RRTILE287), 0, RRTILE287__STATICRR }, + { "TILE_RRTILE288", DVPTR(TILE_RRTILE288), 0, RRTILE288__STATICRR }, + { "TILE_RRTILE289", DVPTR(TILE_RRTILE289), 0, RRTILE289__STATICRR }, + { "TILE_RRTILE290", DVPTR(TILE_RRTILE290), 0, RRTILE290__STATICRR }, + { "TILE_RRTILE291", DVPTR(TILE_RRTILE291), 0, RRTILE291__STATICRR }, + { "TILE_RRTILE292", DVPTR(TILE_RRTILE292), 0, RRTILE292__STATICRR }, + { "TILE_RRTILE293", DVPTR(TILE_RRTILE293), 0, RRTILE293__STATICRR }, + { "TILE_RRTILE295", DVPTR(TILE_RRTILE295), 0, RRTILE295__STATICRR }, + { "TILE_RRTILE296", DVPTR(TILE_RRTILE296), 0, RRTILE296__STATICRR }, + { "TILE_RRTILE297", DVPTR(TILE_RRTILE297), 0, RRTILE297__STATICRR }, + { "TILE_CDPLAYER", DVPTR(TILE_CDPLAYER), 0, CDPLAYER__STATICRR }, + { "TILE_RRTILE380", DVPTR(TILE_RRTILE380), 0, RRTILE380__STATICRR }, + { "TILE_RRTILE403", DVPTR(TILE_RRTILE403), 0, RRTILE403__STATICRR }, + { "TILE_RRTILE409", DVPTR(TILE_RRTILE409), 0, RRTILE409__STATICRR }, + { "TILE_GUTMETER_LIGHT1", DVPTR(TILE_GUTMETER_LIGHT1), 0, GUTMETER_LIGHT1__STATICRR }, + { "TILE_GUTMETER_LIGHT2", DVPTR(TILE_GUTMETER_LIGHT2), 0, GUTMETER_LIGHT2__STATICRR }, + { "TILE_GUTMETER_LIGHT3", DVPTR(TILE_GUTMETER_LIGHT3), 0, GUTMETER_LIGHT3__STATICRR }, + { "TILE_GUTMETER_LIGHT4", DVPTR(TILE_GUTMETER_LIGHT4), 0, GUTMETER_LIGHT4__STATICRR }, + { "TILE_AMMO_ICON", DVPTR(TILE_AMMO_ICON), 0, AMMO_ICON__STATICRR }, + { "TILE_RRTILE409", DVPTR(TILE_RRTILE1076), 0, RRTILE1076__STATICRR }, + { "TILE_MUD", DVPTR(TILE_MUD), 0, MUD__STATICRR }, + { "TILE_EXPLOSION3", DVPTR(TILE_EXPLOSION3), 0, EXPLOSION3__STATICRR }, + { "TILE_RRTILE1636", DVPTR(TILE_RRTILE1636), 0, RRTILE1636__STATICRR }, + { "TILE_WEAPONBAR", DVPTR(TILE_WEAPONBAR), 0, WEAPONBAR__STATICRR }, + { "TILE_RRTILE1752", DVPTR(TILE_RRTILE1752), 0, RRTILE1752__STATICRR }, + { "TILE_RPG2", DVPTR(TILE_RPG2), 0, RPG2__STATICRR }, + { "TILE_RRTILE1790", DVPTR(TILE_RRTILE1790), 0, RRTILE1790__STATICRR }, + { "TILE_RRTILE1792", DVPTR(TILE_RRTILE1792), 0, RRTILE1792__STATICRR }, + { "TILE_RRTILE1801", DVPTR(TILE_RRTILE1801), 0, RRTILE1801__STATICRR }, + { "TILE_RRTILE1805", DVPTR(TILE_RRTILE1805), 0, RRTILE1805__STATICRR }, + { "TILE_RRTILE1807", DVPTR(TILE_RRTILE1807), 0, RRTILE1807__STATICRR }, + { "TILE_RRTILE1808", DVPTR(TILE_RRTILE1808), 0, RRTILE1808__STATICRR }, + { "TILE_RRTILE1812", DVPTR(TILE_RRTILE1812), 0, RRTILE1812__STATICRR }, + { "TILE_RRTILE1814", DVPTR(TILE_RRTILE1814), 0, RRTILE1814__STATICRR }, + { "TILE_RRTILE1817", DVPTR(TILE_RRTILE1817), 0, RRTILE1817__STATICRR }, + { "TILE_RRTILE1821", DVPTR(TILE_RRTILE1821), 0, RRTILE1821__STATICRR }, + { "TILE_RRTILE1824", DVPTR(TILE_RRTILE1824), 0, RRTILE1824__STATICRR }, + { "TILE_RRTILE1826", DVPTR(TILE_RRTILE1826), 0, RRTILE1826__STATICRR }, + { "TILE_RRTILE1850", DVPTR(TILE_RRTILE1850), 0, RRTILE1850__STATICRR }, + { "TILE_RRTILE1851", DVPTR(TILE_RRTILE1851), 0, RRTILE1851__STATICRR }, + { "TILE_RRTILE1856", DVPTR(TILE_RRTILE1856), 0, RRTILE1856__STATICRR }, + { "TILE_RRTILE1877", DVPTR(TILE_RRTILE1877), 0, RRTILE1877__STATICRR }, + { "TILE_RRTILE1878", DVPTR(TILE_RRTILE1878), 0, RRTILE1878__STATICRR }, + { "TILE_RRTILE1938", DVPTR(TILE_RRTILE1938), 0, RRTILE1938__STATICRR }, + { "TILE_RRTILE1939", DVPTR(TILE_RRTILE1939), 0, RRTILE1939__STATICRR }, + { "TILE_RRTILE1942", DVPTR(TILE_RRTILE1942), 0, RRTILE1942__STATICRR }, + { "TILE_RRTILE1944", DVPTR(TILE_RRTILE1944), 0, RRTILE1944__STATICRR }, + { "TILE_RRTILE1945", DVPTR(TILE_RRTILE1945), 0, RRTILE1945__STATICRR }, + { "TILE_RRTILE1947", DVPTR(TILE_RRTILE1947), 0, RRTILE1947__STATICRR }, + { "TILE_RRTILE1951", DVPTR(TILE_RRTILE1951), 0, RRTILE1951__STATICRR }, + { "TILE_RRTILE1952", DVPTR(TILE_RRTILE1952), 0, RRTILE1952__STATICRR }, + { "TILE_RRTILE1953", DVPTR(TILE_RRTILE1953), 0, RRTILE1953__STATICRR }, + { "TILE_RRTILE1961", DVPTR(TILE_RRTILE1961), 0, RRTILE1961__STATICRR }, + { "TILE_RRTILE1964", DVPTR(TILE_RRTILE1964), 0, RRTILE1964__STATICRR }, + { "TILE_RRTILE1973", DVPTR(TILE_RRTILE1973), 0, RRTILE1973__STATICRR }, + { "TILE_RRTILE1985", DVPTR(TILE_RRTILE1985), 0, RRTILE1985__STATICRR }, + { "TILE_RRTILE1986", DVPTR(TILE_RRTILE1986), 0, RRTILE1986__STATICRR }, + { "TILE_RRTILE1987", DVPTR(TILE_RRTILE1987), 0, RRTILE1987__STATICRR }, + { "TILE_RRTILE1988", DVPTR(TILE_RRTILE1988), 0, RRTILE1988__STATICRR }, + { "TILE_RRTILE1990", DVPTR(TILE_RRTILE1990), 0, RRTILE1990__STATICRR }, + { "TILE_RRTILE1995", DVPTR(TILE_RRTILE1995), 0, RRTILE1995__STATICRR }, + { "TILE_RRTILE1996", DVPTR(TILE_RRTILE1996), 0, RRTILE1996__STATICRR }, + { "TILE_RRTILE2004", DVPTR(TILE_RRTILE2004), 0, RRTILE2004__STATICRR }, + { "TILE_RRTILE2005", DVPTR(TILE_RRTILE2005), 0, RRTILE2005__STATICRR }, + { "TILE_POPCORN", DVPTR(TILE_POPCORN), 0, POPCORN__STATICRR }, + { "TILE_RRTILE2022", DVPTR(TILE_RRTILE2022), 0, RRTILE2022__STATICRR }, + { "TILE_LANEPICS", DVPTR(TILE_LANEPICS), 0, LANEPICS__STATICRR }, + { "TILE_RRTILE2025", DVPTR(TILE_RRTILE2025), 0, RRTILE2025__STATICRR }, + { "TILE_RRTILE2026", DVPTR(TILE_RRTILE2026), 0, RRTILE2026__STATICRR }, + { "TILE_RRTILE2027", DVPTR(TILE_RRTILE2027), 0, RRTILE2027__STATICRR }, + { "TILE_RRTILE2028", DVPTR(TILE_RRTILE2028), 0, RRTILE2028__STATICRR }, + { "TILE_RRTILE2034", DVPTR(TILE_RRTILE2034), 0, RRTILE2034__STATICRR }, + { "TILE_RRTILE2050", DVPTR(TILE_RRTILE2050), 0, RRTILE2050__STATICRR }, + { "TILE_RRTILE2052", DVPTR(TILE_RRTILE2052), 0, RRTILE2052__STATICRR }, + { "TILE_RRTILE2053", DVPTR(TILE_RRTILE2053), 0, RRTILE2053__STATICRR }, + { "TILE_RRTILE2056", DVPTR(TILE_RRTILE2056), 0, RRTILE2056__STATICRR }, + { "TILE_RRTILE2060", DVPTR(TILE_RRTILE2060), 0, RRTILE2060__STATICRR }, + { "TILE_RRTILE2072", DVPTR(TILE_RRTILE2072), 0, RRTILE2072__STATICRR }, + { "TILE_RRTILE2074", DVPTR(TILE_RRTILE2074), 0, RRTILE2074__STATICRR }, + { "TILE_RRTILE2075", DVPTR(TILE_RRTILE2075), 0, RRTILE2075__STATICRR }, + { "TILE_RRTILE2083", DVPTR(TILE_RRTILE2083), 0, RRTILE2083__STATICRR }, + { "TILE_RRTILE2097", DVPTR(TILE_RRTILE2097), 0, RRTILE2097__STATICRR }, + { "TILE_RRTILE2121", DVPTR(TILE_RRTILE2121), 0, RRTILE2121__STATICRR }, + { "TILE_RRTILE2122", DVPTR(TILE_RRTILE2122), 0, RRTILE2122__STATICRR }, + { "TILE_RRTILE2123", DVPTR(TILE_RRTILE2123), 0, RRTILE2123__STATICRR }, + { "TILE_RRTILE2124", DVPTR(TILE_RRTILE2124), 0, RRTILE2124__STATICRR }, + { "TILE_RRTILE2125", DVPTR(TILE_RRTILE2125), 0, RRTILE2125__STATICRR }, + { "TILE_RRTILE2126", DVPTR(TILE_RRTILE2126), 0, RRTILE2126__STATICRR }, + { "TILE_RRTILE2137", DVPTR(TILE_RRTILE2137), 0, RRTILE2137__STATICRR }, + { "TILE_RRTILE2132", DVPTR(TILE_RRTILE2132), 0, RRTILE2132__STATICRR }, + { "TILE_RRTILE2136", DVPTR(TILE_RRTILE2136), 0, RRTILE2136__STATICRR }, + { "TILE_RRTILE2139", DVPTR(TILE_RRTILE2139), 0, RRTILE2139__STATICRR }, + { "TILE_RRTILE2150", DVPTR(TILE_RRTILE2150), 0, RRTILE2150__STATICRR }, + { "TILE_RRTILE2151", DVPTR(TILE_RRTILE2151), 0, RRTILE2151__STATICRR }, + { "TILE_RRTILE2152", DVPTR(TILE_RRTILE2152), 0, RRTILE2152__STATICRR }, + { "TILE_RRTILE2156", DVPTR(TILE_RRTILE2156), 0, RRTILE2156__STATICRR }, + { "TILE_RRTILE2157", DVPTR(TILE_RRTILE2157), 0, RRTILE2157__STATICRR }, + { "TILE_RRTILE2158", DVPTR(TILE_RRTILE2158), 0, RRTILE2158__STATICRR }, + { "TILE_RRTILE2159", DVPTR(TILE_RRTILE2159), 0, RRTILE2159__STATICRR }, + { "TILE_RRTILE2160", DVPTR(TILE_RRTILE2160), 0, RRTILE2160__STATICRR }, + { "TILE_RRTILE2161", DVPTR(TILE_RRTILE2161), 0, RRTILE2161__STATICRR }, + { "TILE_RRTILE2175", DVPTR(TILE_RRTILE2175), 0, RRTILE2175__STATICRR }, + { "TILE_RRTILE2176", DVPTR(TILE_RRTILE2176), 0, RRTILE2176__STATICRR }, + { "TILE_RRTILE2178", DVPTR(TILE_RRTILE2178), 0, RRTILE2178__STATICRR }, + { "TILE_RRTILE2186", DVPTR(TILE_RRTILE2186), 0, RRTILE2186__STATICRR }, + { "TILE_RRTILE2214", DVPTR(TILE_RRTILE2214), 0, RRTILE2214__STATICRR }, + { "TILE_RRTILE2319", DVPTR(TILE_RRTILE2319), 0, RRTILE2319__STATICRR }, + { "TILE_RRTILE2321", DVPTR(TILE_RRTILE2321), 0, RRTILE2321__STATICRR }, + { "TILE_RRTILE2326", DVPTR(TILE_RRTILE2326), 0, RRTILE2326__STATICRR }, + { "TILE_RRTILE2329", DVPTR(TILE_RRTILE2329), 0, RRTILE2329__STATICRR }, + { "TILE_RRTILE2357", DVPTR(TILE_RRTILE2357), 0, RRTILE2357__STATICRR }, + { "TILE_RRTILE2382", DVPTR(TILE_RRTILE2382), 0, RRTILE2382__STATICRR }, + { "TILE_RRTILE2430", DVPTR(TILE_RRTILE2430), 0, RRTILE2430__STATICRR }, + { "TILE_RRTILE2431", DVPTR(TILE_RRTILE2431), 0, RRTILE2431__STATICRR }, + { "TILE_RRTILE2432", DVPTR(TILE_RRTILE2432), 0, RRTILE2432__STATICRR }, + { "TILE_RRTILE2437", DVPTR(TILE_RRTILE2437), 0, RRTILE2437__STATICRR }, + { "TILE_RRTILE2443", DVPTR(TILE_RRTILE2443), 0, RRTILE2443__STATICRR }, + { "TILE_RRTILE2445", DVPTR(TILE_RRTILE2445), 0, RRTILE2445__STATICRR }, + { "TILE_RRTILE2446", DVPTR(TILE_RRTILE2446), 0, RRTILE2446__STATICRR }, + { "TILE_RRTILE2450", DVPTR(TILE_RRTILE2450), 0, RRTILE2450__STATICRR }, + { "TILE_RRTILE2451", DVPTR(TILE_RRTILE2451), 0, RRTILE2451__STATICRR }, + { "TILE_RRTILE2455", DVPTR(TILE_RRTILE2455), 0, RRTILE2455__STATICRR }, + { "TILE_RRTILE2460", DVPTR(TILE_RRTILE2460), 0, RRTILE2460__STATICRR }, + { "TILE_RRTILE2465", DVPTR(TILE_RRTILE2465), 0, RRTILE2465__STATICRR }, + { "TILE_RRTILE2560", DVPTR(TILE_RRTILE2560), 0, RRTILE2560__STATICRR }, + { "TILE_RRTILE2562", DVPTR(TILE_RRTILE2562), 0, RRTILE2562__STATICRR }, + { "TILE_RRTILE2564", DVPTR(TILE_RRTILE2564), 0, RRTILE2564__STATICRR }, + { "TILE_RRTILE2573", DVPTR(TILE_RRTILE2573), 0, RRTILE2573__STATICRR }, + { "TILE_RRTILE2574", DVPTR(TILE_RRTILE2574), 0, RRTILE2574__STATICRR }, + { "TILE_RRTILE2577", DVPTR(TILE_RRTILE2577), 0, RRTILE2577__STATICRR }, + { "TILE_RRTILE2578", DVPTR(TILE_RRTILE2578), 0, RRTILE2578__STATICRR }, + { "TILE_RRTILE2581", DVPTR(TILE_RRTILE2581), 0, RRTILE2581__STATICRR }, + { "TILE_RRTILE2583", DVPTR(TILE_RRTILE2583), 0, RRTILE2583__STATICRR }, + { "TILE_RRTILE2604", DVPTR(TILE_RRTILE2604), 0, RRTILE2604__STATICRR }, + { "TILE_RRTILE2610", DVPTR(TILE_RRTILE2610), 0, RRTILE2610__STATICRR }, + { "TILE_RRTILE2613", DVPTR(TILE_RRTILE2613), 0, RRTILE2613__STATICRR }, + { "TILE_RRTILE2621", DVPTR(TILE_RRTILE2621), 0, RRTILE2621__STATICRR }, + { "TILE_RRTILE2622", DVPTR(TILE_RRTILE2622), 0, RRTILE2622__STATICRR }, + { "TILE_RRTILE2636", DVPTR(TILE_RRTILE2636), 0, RRTILE2636__STATICRR }, + { "TILE_RRTILE2637", DVPTR(TILE_RRTILE2637), 0, RRTILE2637__STATICRR }, + { "TILE_RRTILE2654", DVPTR(TILE_RRTILE2654), 0, RRTILE2654__STATICRR }, + { "TILE_RRTILE2656", DVPTR(TILE_RRTILE2656), 0, RRTILE2656__STATICRR }, + { "TILE_RRTILE2676", DVPTR(TILE_RRTILE2676), 0, RRTILE2676__STATICRR }, + { "TILE_RRTILE2689", DVPTR(TILE_RRTILE2689), 0, RRTILE2689__STATICRR }, + { "TILE_RRTILE2697", DVPTR(TILE_RRTILE2697), 0, RRTILE2697__STATICRR }, + { "TILE_RRTILE2702", DVPTR(TILE_RRTILE2702), 0, RRTILE2702__STATICRR }, + { "TILE_RRTILE2707", DVPTR(TILE_RRTILE2707), 0, RRTILE2707__STATICRR }, + { "TILE_RRTILE2732", DVPTR(TILE_RRTILE2732), 0, RRTILE2732__STATICRR }, + { "TILE_RRTILE2030", DVPTR(TILE_RRTILE2030), 0, RRTILE2030__STATICRR }, + { "TILE_RRTILE2831", DVPTR(TILE_RRTILE2831), 0, RRTILE2831__STATICRR }, + { "TILE_RRTILE2832", DVPTR(TILE_RRTILE2832), 0, RRTILE2832__STATICRR }, + { "TILE_RRTILE2842", DVPTR(TILE_RRTILE2842), 0, RRTILE2842__STATICRR }, + { "TILE_RRTILE2859", DVPTR(TILE_RRTILE2859), 0, RRTILE2859__STATICRR }, + { "TILE_RRTILE2876", DVPTR(TILE_RRTILE2876), 0, RRTILE2876__STATICRR }, + { "TILE_RRTILE2878", DVPTR(TILE_RRTILE2878), 0, RRTILE2878__STATICRR }, + { "TILE_RRTILE2879", DVPTR(TILE_RRTILE2879), 0, RRTILE2879__STATICRR }, + { "TILE_RRTILE2893", DVPTR(TILE_RRTILE2893), 0, RRTILE2893__STATICRR }, + { "TILE_RRTILE2894", DVPTR(TILE_RRTILE2894), 0, RRTILE2894__STATICRR }, + { "TILE_RRTILE2898", DVPTR(TILE_RRTILE2898), 0, RRTILE2898__STATICRR }, + { "TILE_RRTILE2899", DVPTR(TILE_RRTILE2899), 0, RRTILE2899__STATICRR }, + { "TILE_RRTILE2915", DVPTR(TILE_RRTILE2915), 0, RRTILE2915__STATICRR }, + { "TILE_RRTILE2940", DVPTR(TILE_RRTILE2940), 0, RRTILE2940__STATICRR }, + { "TILE_RRTILE2944", DVPTR(TILE_RRTILE2944), 0, RRTILE2944__STATICRR }, + { "TILE_RRTILE2945", DVPTR(TILE_RRTILE2945), 0, RRTILE2945__STATICRR }, + { "TILE_RRTILE2946", DVPTR(TILE_RRTILE2946), 0, RRTILE2946__STATICRR }, + { "TILE_RRTILE2947", DVPTR(TILE_RRTILE2947), 0, RRTILE2947__STATICRR }, + { "TILE_RRTILE2948", DVPTR(TILE_RRTILE2948), 0, RRTILE2948__STATICRR }, + { "TILE_RRTILE2949", DVPTR(TILE_RRTILE2949), 0, RRTILE2949__STATICRR }, + { "TILE_RRTILE2961", DVPTR(TILE_RRTILE2961), 0, RRTILE2961__STATICRR }, + { "TILE_RRTILE2970", DVPTR(TILE_RRTILE2970), 0, RRTILE2970__STATICRR }, + { "TILE_RRTILE2977", DVPTR(TILE_RRTILE2977), 0, RRTILE2977__STATICRR }, + { "TILE_RRTILE2978", DVPTR(TILE_RRTILE2978), 0, RRTILE2978__STATICRR }, + { "TILE_RRTILE2990", DVPTR(TILE_RRTILE2990), 0, RRTILE2990__STATICRR }, + { "TILE_RRTILE3073", DVPTR(TILE_RRTILE3073), 0, RRTILE3073__STATICRR }, + { "TILE_RRTILE3083", DVPTR(TILE_RRTILE3083), 0, RRTILE3083__STATICRR }, + { "TILE_RRTILE3100", DVPTR(TILE_RRTILE3100), 0, RRTILE3100__STATICRR }, + { "TILE_RRTILE3114", DVPTR(TILE_RRTILE3114), 0, RRTILE3114__STATICRR }, + { "TILE_RRTILE3115", DVPTR(TILE_RRTILE3115), 0, RRTILE3115__STATICRR }, + { "TILE_RRTILE3116", DVPTR(TILE_RRTILE3116), 0, RRTILE3116__STATICRR }, + { "TILE_RRTILE3117", DVPTR(TILE_RRTILE3117), 0, RRTILE3117__STATICRR }, + { "TILE_RRTILE3120", DVPTR(TILE_RRTILE3120), 0, RRTILE3120__STATICRR }, + { "TILE_RRTILE3121", DVPTR(TILE_RRTILE3121), 0, RRTILE3121__STATICRR }, + { "TILE_RRTILE3122", DVPTR(TILE_RRTILE3122), 0, RRTILE3122__STATICRR }, + { "TILE_RRTILE3123", DVPTR(TILE_RRTILE3123), 0, RRTILE3123__STATICRR }, + { "TILE_RRTILE3124", DVPTR(TILE_RRTILE3124), 0, RRTILE3124__STATICRR }, + { "TILE_RRTILE3132", DVPTR(TILE_RRTILE3132), 0, RRTILE3132__STATICRR }, + { "TILE_RRTILE3139", DVPTR(TILE_RRTILE3139), 0, RRTILE3139__STATICRR }, + { "TILE_RRTILE3144", DVPTR(TILE_RRTILE3144), 0, RRTILE3144__STATICRR }, + { "TILE_RRTILE3152", DVPTR(TILE_RRTILE3152), 0, RRTILE3152__STATICRR }, + { "TILE_RRTILE3153", DVPTR(TILE_RRTILE3153), 0, RRTILE3153__STATICRR }, + { "TILE_RRTILE3155", DVPTR(TILE_RRTILE3155), 0, RRTILE3155__STATICRR }, + { "TILE_RRTILE3171", DVPTR(TILE_RRTILE3171), 0, RRTILE3171__STATICRR }, + { "TILE_RRTILE3172", DVPTR(TILE_RRTILE3172), 0, RRTILE3172__STATICRR }, + { "TILE_RRTILE3190", DVPTR(TILE_RRTILE3190), 0, RRTILE3190__STATICRR }, + { "TILE_RRTILE3191", DVPTR(TILE_RRTILE3191), 0, RRTILE3191__STATICRR }, + { "TILE_RRTILE3192", DVPTR(TILE_RRTILE3192), 0, RRTILE3192__STATICRR }, + { "TILE_RRTILE3195", DVPTR(TILE_RRTILE3195), 0, RRTILE3195__STATICRR }, + { "TILE_RRTILE3200", DVPTR(TILE_RRTILE3200), 0, RRTILE3200__STATICRR }, + { "TILE_RRTILE3201", DVPTR(TILE_RRTILE3201), 0, RRTILE3201__STATICRR }, + { "TILE_RRTILE3202", DVPTR(TILE_RRTILE3202), 0, RRTILE3202__STATICRR }, + { "TILE_RRTILE3203", DVPTR(TILE_RRTILE3203), 0, RRTILE3203__STATICRR }, + { "TILE_RRTILE3204", DVPTR(TILE_RRTILE3204), 0, RRTILE3204__STATICRR }, + { "TILE_RRTILE3205", DVPTR(TILE_RRTILE3205), 0, RRTILE3205__STATICRR }, + { "TILE_RRTILE3206", DVPTR(TILE_RRTILE3206), 0, RRTILE3206__STATICRR }, + { "TILE_RRTILE3207", DVPTR(TILE_RRTILE3207), 0, RRTILE3207__STATICRR }, + { "TILE_RRTILE3208", DVPTR(TILE_RRTILE3208), 0, RRTILE3208__STATICRR }, + { "TILE_RRTILE3209", DVPTR(TILE_RRTILE3209), 0, RRTILE3209__STATICRR }, + { "TILE_RRTILE3216", DVPTR(TILE_RRTILE3216), 0, RRTILE3216__STATICRR }, + { "TILE_RRTILE3218", DVPTR(TILE_RRTILE3218), 0, RRTILE3218__STATICRR }, + { "TILE_RRTILE3219", DVPTR(TILE_RRTILE3219), 0, RRTILE3219__STATICRR }, + { "TILE_RRTILE3232", DVPTR(TILE_RRTILE3232), 0, RRTILE3232__STATICRR }, + { "TILE_SHOTGUNSHELLS", DVPTR(TILE_SHOTGUNSHELLS), 0, SHOTGUNSHELLS__STATICRR }, + { "TILE_CIRCLESTUCK", DVPTR(TILE_CIRCLESTUCK), 0, CIRCLESTUCK__STATICRR }, + { "TILE_RRTILE3410", DVPTR(TILE_RRTILE3410), 0, RRTILE3410__STATICRR }, + { "TILE_LUMBERBLADE", DVPTR(TILE_LUMBERBLADE), 0, LUMBERBLADE__STATICRR }, + { "TILE_BOWLINGBALLH", DVPTR(TILE_BOWLINGBALLH), 0, BOWLINGBALLH__STATICRR }, + { "TILE_BOWLINGBALL", DVPTR(TILE_BOWLINGBALL), 0, BOWLINGBALL__STATICRR }, + { "TILE_BOWLINGBALLSPRITE", DVPTR(TILE_BOWLINGBALLSPRITE), 0, BOWLINGBALLSPRITE__STATICRR }, + { "TILE_POWDERH", DVPTR(TILE_POWDERH), 0, POWDERH__STATICRR }, + { "TILE_RRTILE3440", DVPTR(TILE_RRTILE3440), 0, RRTILE3440__STATICRR }, + { "TILE_RRTILE3462", DVPTR(TILE_RRTILE3462), 0, RRTILE3462__STATICRR }, + { "TILE_OWHIP", DVPTR(TILE_OWHIP), 0, OWHIP__STATICRR }, + { "TILE_UWHIP", DVPTR(TILE_UWHIP), 0, UWHIP__STATICRR }, + { "TILE_RPGGUN2", DVPTR(TILE_RPGGUN2), 0, RPGGUN2__STATICRR }, + { "TILE_RRTILE3497", DVPTR(TILE_RRTILE3497), 0, RRTILE3497__STATICRR }, + { "TILE_RRTILE3498", DVPTR(TILE_RRTILE3498), 0, RRTILE3498__STATICRR }, + { "TILE_RRTILE3499", DVPTR(TILE_RRTILE3499), 0, RRTILE3499__STATICRR }, + { "TILE_RRTILE3500", DVPTR(TILE_RRTILE3500), 0, RRTILE3500__STATICRR }, + { "TILE_SLINGBLADE", DVPTR(TILE_SLINGBLADE), 0, SLINGBLADE__STATICRR }, + { "TILE_RRTILE3584", DVPTR(TILE_RRTILE3584), 0, RRTILE3584__STATICRR }, + { "TILE_RRTILE3586", DVPTR(TILE_RRTILE3586), 0, RRTILE3586__STATICRR }, + { "TILE_RRTILE3587", DVPTR(TILE_RRTILE3587), 0, RRTILE3587__STATICRR }, + { "TILE_RRTILE3600", DVPTR(TILE_RRTILE3600), 0, RRTILE3600__STATICRR }, + { "TILE_RRTILE3631", DVPTR(TILE_RRTILE3631), 0, RRTILE3631__STATICRR }, + { "TILE_RRTILE3635", DVPTR(TILE_RRTILE3635), 0, RRTILE3635__STATICRR }, + { "TILE_RRTILE3637", DVPTR(TILE_RRTILE3637), 0, RRTILE3637__STATICRR }, + { "TILE_RRTILE3643", DVPTR(TILE_RRTILE3643), 0, RRTILE3643__STATICRR }, + { "TILE_RRTILE3647", DVPTR(TILE_RRTILE3647), 0, RRTILE3647__STATICRR }, + { "TILE_RRTILE3652", DVPTR(TILE_RRTILE3652), 0, RRTILE3652__STATICRR }, + { "TILE_RRTILE3653", DVPTR(TILE_RRTILE3653), 0, RRTILE3653__STATICRR }, + { "TILE_RRTILE3668", DVPTR(TILE_RRTILE3668), 0, RRTILE3668__STATICRR }, + { "TILE_RRTILE3671", DVPTR(TILE_RRTILE3671), 0, RRTILE3671__STATICRR }, + { "TILE_RRTILE3673", DVPTR(TILE_RRTILE3673), 0, RRTILE3673__STATICRR }, + { "TILE_RRTILE3677", DVPTR(TILE_RRTILE3677), 0, RRTILE3677__STATICRR }, + { "TILE_RRTILE3684", DVPTR(TILE_RRTILE3684), 0, RRTILE3684__STATICRR }, + { "TILE_RRTILE3708", DVPTR(TILE_RRTILE3708), 0, RRTILE3708__STATICRR }, + { "TILE_RRTILE3714", DVPTR(TILE_RRTILE3714), 0, RRTILE3714__STATICRR }, + { "TILE_RRTILE3716", DVPTR(TILE_RRTILE3716), 0, RRTILE3716__STATICRR }, + { "TILE_RRTILE3720", DVPTR(TILE_RRTILE3720), 0, RRTILE3720__STATICRR }, + { "TILE_RRTILE3723", DVPTR(TILE_RRTILE3723), 0, RRTILE3723__STATICRR }, + { "TILE_RRTILE3725", DVPTR(TILE_RRTILE3725), 0, RRTILE3725__STATICRR }, + { "TILE_RRTILE3737", DVPTR(TILE_RRTILE3737), 0, RRTILE3737__STATICRR }, + { "TILE_RRTILE3754", DVPTR(TILE_RRTILE3754), 0, RRTILE3754__STATICRR }, + { "TILE_RRTILE3762", DVPTR(TILE_RRTILE3762), 0, RRTILE3762__STATICRR }, + { "TILE_RRTILE3763", DVPTR(TILE_RRTILE3763), 0, RRTILE3763__STATICRR }, + { "TILE_RRTILE3764", DVPTR(TILE_RRTILE3764), 0, RRTILE3764__STATICRR }, + { "TILE_RRTILE3765", DVPTR(TILE_RRTILE3765), 0, RRTILE3765__STATICRR }, + { "TILE_RRTILE3767", DVPTR(TILE_RRTILE3767), 0, RRTILE3767__STATICRR }, + { "TILE_RRTILE3773", DVPTR(TILE_RRTILE3773), 0, RRTILE3773__STATICRR }, + { "TILE_RRTILE3774", DVPTR(TILE_RRTILE3774), 0, RRTILE3774__STATICRR }, + { "TILE_RRTILE3793", DVPTR(TILE_RRTILE3793), 0, RRTILE3793__STATICRR }, + { "TILE_RRTILE3795", DVPTR(TILE_RRTILE3795), 0, RRTILE3795__STATICRR }, + { "TILE_RRTILE3804", DVPTR(TILE_RRTILE3804), 0, RRTILE3804__STATICRR }, + { "TILE_RRTILE3814", DVPTR(TILE_RRTILE3814), 0, RRTILE3814__STATICRR }, + { "TILE_RRTILE3815", DVPTR(TILE_RRTILE3815), 0, RRTILE3815__STATICRR }, + { "TILE_RRTILE3819", DVPTR(TILE_RRTILE3819), 0, RRTILE3819__STATICRR }, + { "TILE_RRTILE3827", DVPTR(TILE_RRTILE3827), 0, RRTILE3827__STATICRR }, + { "TILE_RRTILE3837", DVPTR(TILE_RRTILE3837), 0, RRTILE3837__STATICRR }, + { "TILE_RRTILE5014", DVPTR(TILE_RRTILE5014), 0, RRTILE5014__STATICRR }, + { "TILE_RRTILE5016", DVPTR(TILE_RRTILE5016), 0, RRTILE5016__STATICRR }, + { "TILE_RRTILE5017", DVPTR(TILE_RRTILE5017), 0, RRTILE5017__STATICRR }, + { "TILE_RRTILE5018", DVPTR(TILE_RRTILE5018), 0, RRTILE5018__STATICRR }, + { "TILE_RRTILE5019", DVPTR(TILE_RRTILE5019), 0, RRTILE5019__STATICRR }, + { "TILE_RRTILE5020", DVPTR(TILE_RRTILE5020), 0, RRTILE5020__STATICRR }, + { "TILE_RRTILE5021", DVPTR(TILE_RRTILE5021), 0, RRTILE5021__STATICRR }, + { "TILE_RRTILE5022", DVPTR(TILE_RRTILE5022), 0, RRTILE5022__STATICRR }, + { "TILE_RRTILE5023", DVPTR(TILE_RRTILE5023), 0, RRTILE5023__STATICRR }, + { "TILE_RRTILE5024", DVPTR(TILE_RRTILE5024), 0, RRTILE5024__STATICRR }, + { "TILE_RRTILE5025", DVPTR(TILE_RRTILE5025), 0, RRTILE5025__STATICRR }, + { "TILE_RRTILE5026", DVPTR(TILE_RRTILE5026), 0, RRTILE5026__STATICRR }, + { "TILE_RRTILE5027", DVPTR(TILE_RRTILE5027), 0, RRTILE5027__STATICRR }, + { "TILE_RRTILE5029", DVPTR(TILE_RRTILE5029), 0, RRTILE5029__STATICRR }, + { "TILE_RRTILE5030", DVPTR(TILE_RRTILE5030), 0, RRTILE5030__STATICRR }, + { "TILE_RRTILE5031", DVPTR(TILE_RRTILE5031), 0, RRTILE5031__STATICRR }, + { "TILE_RRTILE5032", DVPTR(TILE_RRTILE5032), 0, RRTILE5032__STATICRR }, + { "TILE_RRTILE5033", DVPTR(TILE_RRTILE5033), 0, RRTILE5033__STATICRR }, + { "TILE_RRTILE5034", DVPTR(TILE_RRTILE5034), 0, RRTILE5034__STATICRR }, + { "TILE_RRTILE5035", DVPTR(TILE_RRTILE5035), 0, RRTILE5035__STATICRR }, + { "TILE_RRTILE5036", DVPTR(TILE_RRTILE5036), 0, RRTILE5036__STATICRR }, + { "TILE_RRTILE5037", DVPTR(TILE_RRTILE5037), 0, RRTILE5037__STATICRR }, + { "TILE_RRTILE5038", DVPTR(TILE_RRTILE5038), 0, RRTILE5038__STATICRR }, + { "TILE_RRTILE5039", DVPTR(TILE_RRTILE5039), 0, RRTILE5039__STATICRR }, + { "TILE_RRTILE5040", DVPTR(TILE_RRTILE5040), 0, RRTILE5040__STATICRR }, + { "TILE_RRTILE5041", DVPTR(TILE_RRTILE5041), 0, RRTILE5041__STATICRR }, + { "TILE_RRTILE5043", DVPTR(TILE_RRTILE5043), 0, RRTILE5043__STATICRR }, + { "TILE_RRTILE5044", DVPTR(TILE_RRTILE5044), 0, RRTILE5044__STATICRR }, + { "TILE_RRTILE5045", DVPTR(TILE_RRTILE5045), 0, RRTILE5045__STATICRR }, + { "TILE_RRTILE5046", DVPTR(TILE_RRTILE5046), 0, RRTILE5046__STATICRR }, + { "TILE_RRTILE5047", DVPTR(TILE_RRTILE5047), 0, RRTILE5047__STATICRR }, + { "TILE_RRTILE5048", DVPTR(TILE_RRTILE5048), 0, RRTILE5048__STATICRR }, + { "TILE_RRTILE5049", DVPTR(TILE_RRTILE5049), 0, RRTILE5049__STATICRR }, + { "TILE_RRTILE5050", DVPTR(TILE_RRTILE5050), 0, RRTILE5050__STATICRR }, + { "TILE_RRTILE5051", DVPTR(TILE_RRTILE5051), 0, RRTILE5051__STATICRR }, + { "TILE_RRTILE5052", DVPTR(TILE_RRTILE5052), 0, RRTILE5052__STATICRR }, + { "TILE_RRTILE5053", DVPTR(TILE_RRTILE5053), 0, RRTILE5053__STATICRR }, + { "TILE_RRTILE5054", DVPTR(TILE_RRTILE5054), 0, RRTILE5054__STATICRR }, + { "TILE_RRTILE5055", DVPTR(TILE_RRTILE5055), 0, RRTILE5055__STATICRR }, + { "TILE_RRTILE5056", DVPTR(TILE_RRTILE5056), 0, RRTILE5056__STATICRR }, + { "TILE_RRTILE5057", DVPTR(TILE_RRTILE5057), 0, RRTILE5057__STATICRR }, + { "TILE_RRTILE5058", DVPTR(TILE_RRTILE5058), 0, RRTILE5058__STATICRR }, + { "TILE_RRTILE5059", DVPTR(TILE_RRTILE5059), 0, RRTILE5059__STATICRR }, + { "TILE_RRTILE5061", DVPTR(TILE_RRTILE5061), 0, RRTILE5061__STATICRR }, + { "TILE_RRTILE5062", DVPTR(TILE_RRTILE5062), 0, RRTILE5062__STATICRR }, + { "TILE_RRTILE5063", DVPTR(TILE_RRTILE5063), 0, RRTILE5063__STATICRR }, + { "TILE_RRTILE5064", DVPTR(TILE_RRTILE5064), 0, RRTILE5064__STATICRR }, + { "TILE_RRTILE5065", DVPTR(TILE_RRTILE5065), 0, RRTILE5065__STATICRR }, + { "TILE_RRTILE5066", DVPTR(TILE_RRTILE5066), 0, RRTILE5066__STATICRR }, + { "TILE_RRTILE5067", DVPTR(TILE_RRTILE5067), 0, RRTILE5067__STATICRR }, + { "TILE_RRTILE5068", DVPTR(TILE_RRTILE5068), 0, RRTILE5068__STATICRR }, + { "TILE_RRTILE5069", DVPTR(TILE_RRTILE5069), 0, RRTILE5069__STATICRR }, + { "TILE_RRTILE5070", DVPTR(TILE_RRTILE5070), 0, RRTILE5070__STATICRR }, + { "TILE_RRTILE5071", DVPTR(TILE_RRTILE5071), 0, RRTILE5071__STATICRR }, + { "TILE_RRTILE5072", DVPTR(TILE_RRTILE5072), 0, RRTILE5072__STATICRR }, + { "TILE_RRTILE5073", DVPTR(TILE_RRTILE5073), 0, RRTILE5073__STATICRR }, + { "TILE_RRTILE5074", DVPTR(TILE_RRTILE5074), 0, RRTILE5074__STATICRR }, + { "TILE_RRTILE5075", DVPTR(TILE_RRTILE5075), 0, RRTILE5075__STATICRR }, + { "TILE_RRTILE5076", DVPTR(TILE_RRTILE5076), 0, RRTILE5076__STATICRR }, + { "TILE_RRTILE5077", DVPTR(TILE_RRTILE5077), 0, RRTILE5077__STATICRR }, + { "TILE_RRTILE5078", DVPTR(TILE_RRTILE5078), 0, RRTILE5078__STATICRR }, + { "TILE_RRTILE5079", DVPTR(TILE_RRTILE5079), 0, RRTILE5079__STATICRR }, + { "TILE_RRTILE5080", DVPTR(TILE_RRTILE5080), 0, RRTILE5080__STATICRR }, + { "TILE_RRTILE5081", DVPTR(TILE_RRTILE5081), 0, RRTILE5081__STATICRR }, + { "TILE_RRTILE5082", DVPTR(TILE_RRTILE5082), 0, RRTILE5082__STATICRR }, + { "TILE_RRTILE5083", DVPTR(TILE_RRTILE5083), 0, RRTILE5083__STATICRR }, + { "TILE_RRTILE5084", DVPTR(TILE_RRTILE5084), 0, RRTILE5084__STATICRR }, + { "TILE_RRTILE5085", DVPTR(TILE_RRTILE5085), 0, RRTILE5085__STATICRR }, + { "TILE_RRTILE5086", DVPTR(TILE_RRTILE5086), 0, RRTILE5086__STATICRR }, + { "TILE_RRTILE5087", DVPTR(TILE_RRTILE5087), 0, RRTILE5087__STATICRR }, + { "TILE_RRTILE5088", DVPTR(TILE_RRTILE5088), 0, RRTILE5088__STATICRR }, + { "TILE_RRTILE5090", DVPTR(TILE_RRTILE5090), 0, RRTILE5090__STATICRR }, + { "TILE_RRTILE6144", DVPTR(TILE_RRTILE6144), 0, RRTILE6144__STATICRR }, + { "RRTILE7010", DVPTR(TILE_RRTILE7110), 0, RRTILE7110__STATICRR }, + { "RRTILE7011", DVPTR(TILE_RRTILE7111), 0, RRTILE7111__STATICRR }, + { "RRTILE7012", DVPTR(TILE_RRTILE7112), 0, RRTILE7112__STATICRR }, + { "RRTILE7013", DVPTR(TILE_RRTILE7113), 0, RRTILE7113__STATICRR }, + { "TILE_MOTOGUN", DVPTR(TILE_MOTOGUN), 0, MOTOGUN__STATICRR }, + { "TILE_RRTILE7169", DVPTR(TILE_RRTILE7169), 0, RRTILE7169__STATICRR }, + { "TILE_MOTOHIT", DVPTR(TILE_MOTOHIT), 0, MOTOHIT__STATICRR }, + { "TILE_BOATHIT", DVPTR(TILE_BOATHIT), 0, BOATHIT__STATICRR }, + { "TILE_RRTILE7184", DVPTR(TILE_RRTILE7184), 0, RRTILE7184__STATICRR }, + { "TILE_RRTILE7190", DVPTR(TILE_RRTILE7190), 0, RRTILE7190__STATICRR }, + { "TILE_RRTILE7191", DVPTR(TILE_RRTILE7191), 0, RRTILE7191__STATICRR }, + { "TILE_RRTILE7213", DVPTR(TILE_RRTILE7213), 0, RRTILE7213__STATICRR }, + { "TILE_RRTILE7219", DVPTR(TILE_RRTILE7219), 0, RRTILE7219__STATICRR }, + { "TILE_EMPTYBIKE", DVPTR(TILE_EMPTYBIKE), 0, EMPTYBIKE__STATICRR }, + { "TILE_EMPTYBOAT", DVPTR(TILE_EMPTYBOAT), 0, EMPTYBOAT__STATICRR }, + { "TILE_RRTILE7424", DVPTR(TILE_RRTILE7424), 0, RRTILE7424__STATICRR }, + { "TILE_RRTILE7430", DVPTR(TILE_RRTILE7430), 0, RRTILE7430__STATICRR }, + { "TILE_RRTILE7433", DVPTR(TILE_RRTILE7433), 0, RRTILE7433__STATICRR }, + { "TILE_RRTILE7441", DVPTR(TILE_RRTILE7441), 0, RRTILE7441__STATICRR }, + { "TILE_RRTILE7547", DVPTR(TILE_RRTILE7547), 0, RRTILE7547__STATICRR }, + { "TILE_RRTILE7467", DVPTR(TILE_RRTILE7467), 0, RRTILE7467__STATICRR }, + { "TILE_RRTILE7469", DVPTR(TILE_RRTILE7469), 0, RRTILE7469__STATICRR }, + { "TILE_RRTILE7470", DVPTR(TILE_RRTILE7470), 0, RRTILE7470__STATICRR }, + { "TILE_RRTILE7475", DVPTR(TILE_RRTILE7475), 0, RRTILE7475__STATICRR }, + { "TILE_RRTILE7478", DVPTR(TILE_RRTILE7478), 0, RRTILE7478__STATICRR }, + { "TILE_RRTILE7505", DVPTR(TILE_RRTILE7505), 0, RRTILE7505__STATICRR }, + { "TILE_RRTILE7506", DVPTR(TILE_RRTILE7506), 0, RRTILE7506__STATICRR }, + { "TILE_RRTILE7534", DVPTR(TILE_RRTILE7534), 0, RRTILE7534__STATICRR }, + { "TILE_RRTILE7540", DVPTR(TILE_RRTILE7540), 0, RRTILE7540__STATICRR }, + { "TILE_RRTILE7533", DVPTR(TILE_RRTILE7533), 0, RRTILE7533__STATICRR }, + { "TILE_RRTILE7545", DVPTR(TILE_RRTILE7545), 0, RRTILE7545__STATICRR }, + { "TILE_RRTILE7552", DVPTR(TILE_RRTILE7552), 0, RRTILE7552__STATICRR }, + { "TILE_RRTILE7553", DVPTR(TILE_RRTILE7553), 0, RRTILE7553__STATICRR }, + { "TILE_RRTILE7554", DVPTR(TILE_RRTILE7554), 0, RRTILE7554__STATICRR }, + { "TILE_RRTILE7555", DVPTR(TILE_RRTILE7555), 0, RRTILE7555__STATICRR }, + { "TILE_RRTILE7557", DVPTR(TILE_RRTILE7557), 0, RRTILE7557__STATICRR }, + { "TILE_RRTILE7558", DVPTR(TILE_RRTILE7558), 0, RRTILE7558__STATICRR }, + { "TILE_RRTILE7559", DVPTR(TILE_RRTILE7559), 0, RRTILE7559__STATICRR }, + { "TILE_RRTILE7561", DVPTR(TILE_RRTILE7561), 0, RRTILE7561__STATICRR }, + { "TILE_RRTILE7566", DVPTR(TILE_RRTILE7566), 0, RRTILE7566__STATICRR }, + { "TILE_RRTILE7568", DVPTR(TILE_RRTILE7568), 0, RRTILE7568__STATICRR }, + { "TILE_RRTILE7574", DVPTR(TILE_RRTILE7574), 0, RRTILE7574__STATICRR }, + { "TILE_RRTILE7575", DVPTR(TILE_RRTILE7575), 0, RRTILE7575__STATICRR }, + { "TILE_RRTILE7576", DVPTR(TILE_RRTILE7576), 0, RRTILE7576__STATICRR }, + { "TILE_RRTILE7578", DVPTR(TILE_RRTILE7578), 0, RRTILE7578__STATICRR }, + { "TILE_RRTILE7579", DVPTR(TILE_RRTILE7579), 0, RRTILE7579__STATICRR }, + { "TILE_RRTILE7580", DVPTR(TILE_RRTILE7580), 0, RRTILE7580__STATICRR }, + { "TILE_RRTILE7595", DVPTR(TILE_RRTILE7595), 0, RRTILE7595__STATICRR }, + { "TILE_RRTILE7629", DVPTR(TILE_RRTILE7629), 0, RRTILE7629__STATICRR }, + { "TILE_RRTILE7636", DVPTR(TILE_RRTILE7636), 0, RRTILE7636__STATICRR }, + { "TILE_RRTILE7638", DVPTR(TILE_RRTILE7638), 0, RRTILE7638__STATICRR }, + { "TILE_RRTILE7640", DVPTR(TILE_RRTILE7640), 0, RRTILE7640__STATICRR }, + { "TILE_RRTILE7644", DVPTR(TILE_RRTILE7644), 0, RRTILE7644__STATICRR }, + { "TILE_RRTILE7646", DVPTR(TILE_RRTILE7646), 0, RRTILE7646__STATICRR }, + { "TILE_RRTILE7648", DVPTR(TILE_RRTILE7648), 0, RRTILE7648__STATICRR }, + { "TILE_RRTILE7650", DVPTR(TILE_RRTILE7650), 0, RRTILE7650__STATICRR }, + { "TILE_RRTILE7653", DVPTR(TILE_RRTILE7653), 0, RRTILE7653__STATICRR }, + { "TILE_RRTILE7655", DVPTR(TILE_RRTILE7655), 0, RRTILE7655__STATICRR }, + { "TILE_RRTILE7657", DVPTR(TILE_RRTILE7657), 0, RRTILE7657__STATICRR }, + { "TILE_RRTILE7659", DVPTR(TILE_RRTILE7659), 0, RRTILE7659__STATICRR }, + { "TILE_RRTILE7691", DVPTR(TILE_RRTILE7691), 0, RRTILE7691__STATICRR }, + { "TILE_RRTILE7694", DVPTR(TILE_RRTILE7694), 0, RRTILE7694__STATICRR }, + { "TILE_RRTILE7696", DVPTR(TILE_RRTILE7696), 0, RRTILE7696__STATICRR }, + { "TILE_RRTILE7697", DVPTR(TILE_RRTILE7697), 0, RRTILE7697__STATICRR }, + { "TILE_RRTILE7700", DVPTR(TILE_RRTILE7700), 0, RRTILE7700__STATICRR }, + { "TILE_RRTILE7702", DVPTR(TILE_RRTILE7702), 0, RRTILE7702__STATICRR }, + { "TILE_RRTILE7704", DVPTR(TILE_RRTILE7704), 0, RRTILE7704__STATICRR }, + { "TILE_RRTILE7705", DVPTR(TILE_RRTILE7705), 0, RRTILE7705__STATICRR }, + { "TILE_RRTILE7711", DVPTR(TILE_RRTILE7711), 0, RRTILE7711__STATICRR }, + { "TILE_RRTILE7716", DVPTR(TILE_RRTILE7716), 0, RRTILE7716__STATICRR }, + { "TILE_RRTILE7756", DVPTR(TILE_RRTILE7756), 0, RRTILE7756__STATICRR }, + { "TILE_RRTILE7768", DVPTR(TILE_RRTILE7768), 0, RRTILE7768__STATICRR }, + { "TILE_RRTILE7806", DVPTR(TILE_RRTILE7806), 0, RRTILE7806__STATICRR }, + { "TILE_RRTILE7820", DVPTR(TILE_RRTILE7820), 0, RRTILE7820__STATICRR }, + { "TILE_RRTILE7859", DVPTR(TILE_RRTILE7859), 0, RRTILE7859__STATICRR }, + { "TILE_RRTILE7870", DVPTR(TILE_RRTILE7870), 0, RRTILE7870__STATICRR }, + { "TILE_RRTILE7873", DVPTR(TILE_RRTILE7873), 0, RRTILE7873__STATICRR }, + { "TILE_RRTILE7875", DVPTR(TILE_RRTILE7875), 0, RRTILE7875__STATICRR }, + { "TILE_RRTILE7876", DVPTR(TILE_RRTILE7876), 0, RRTILE7876__STATICRR }, + { "TILE_RRTILE7879", DVPTR(TILE_RRTILE7879), 0, RRTILE7879__STATICRR }, + { "TILE_RRTILE7881", DVPTR(TILE_RRTILE7881), 0, RRTILE7881__STATICRR }, + { "TILE_RRTILE7883", DVPTR(TILE_RRTILE7883), 0, RRTILE7883__STATICRR }, + { "TILE_RRTILE7885", DVPTR(TILE_RRTILE7885), 0, RRTILE7885__STATICRR }, + { "TILE_RRTILE7886", DVPTR(TILE_RRTILE7886), 0, RRTILE7886__STATICRR }, + { "TILE_RRTILE7887", DVPTR(TILE_RRTILE7887), 0, RRTILE7887__STATICRR }, + { "TILE_RRTILE7888", DVPTR(TILE_RRTILE7888), 0, RRTILE7888__STATICRR }, + { "TILE_RRTILE7889", DVPTR(TILE_RRTILE7889), 0, RRTILE7889__STATICRR }, + { "TILE_RRTILE7890", DVPTR(TILE_RRTILE7890), 0, RRTILE7890__STATICRR }, + { "TILE_RRTILE7900", DVPTR(TILE_RRTILE7900), 0, RRTILE7900__STATICRR }, + { "TILE_RRTILE7901", DVPTR(TILE_RRTILE7901), 0, RRTILE7901__STATICRR }, + { "TILE_RRTILE7906", DVPTR(TILE_RRTILE7906), 0, RRTILE7906__STATICRR }, + { "TILE_RRTILE7912", DVPTR(TILE_RRTILE7912), 0, RRTILE7912__STATICRR }, + { "TILE_RRTILE7913", DVPTR(TILE_RRTILE7913), 0, RRTILE7913__STATICRR }, + { "TILE_RRTILE7936", DVPTR(TILE_RRTILE7936), 0, RRTILE7936__STATICRR }, + { "TILE_RRTILE8047", DVPTR(TILE_RRTILE8047), 0, RRTILE8047__STATICRR }, + { "TILE_MULTISWITCH2", DVPTR(TILE_MULTISWITCH2), 0, MULTISWITCH2__STATICRR }, + { "TILE_RRTILE8059", DVPTR(TILE_RRTILE8059), 0, RRTILE8059__STATICRR }, + { "TILE_RRTILE8060", DVPTR(TILE_RRTILE8060), 0, RRTILE8060__STATICRR }, + { "TILE_RRTILE8063", DVPTR(TILE_RRTILE8063), 0, RRTILE8063__STATICRR }, + { "TILE_RRTILE8067", DVPTR(TILE_RRTILE8067), 0, RRTILE8067__STATICRR }, + { "TILE_RRTILE8076", DVPTR(TILE_RRTILE8076), 0, RRTILE8076__STATICRR }, + { "TILE_RRTILE8094", DVPTR(TILE_RRTILE8094), 0, RRTILE8094__STATICRR }, + { "TILE_RRTILE8096", DVPTR(TILE_RRTILE8096), 0, RRTILE8096__STATICRR }, + { "TILE_RRTILE8099", DVPTR(TILE_RRTILE8099), 0, RRTILE8099__STATICRR }, + { "TILE_RRTILE8106", DVPTR(TILE_RRTILE8106), 0, RRTILE8106__STATICRR }, + { "TILE_RRTILE8162", DVPTR(TILE_RRTILE8162), 0, RRTILE8162__STATICRR }, + { "TILE_RRTILE8163", DVPTR(TILE_RRTILE8163), 0, RRTILE8163__STATICRR }, + { "TILE_RRTILE8164", DVPTR(TILE_RRTILE8164), 0, RRTILE8164__STATICRR }, + { "TILE_RRTILE8165", DVPTR(TILE_RRTILE8165), 0, RRTILE8165__STATICRR }, + { "TILE_RRTILE8166", DVPTR(TILE_RRTILE8166), 0, RRTILE8166__STATICRR }, + { "TILE_RRTILE8167", DVPTR(TILE_RRTILE8167), 0, RRTILE8167__STATICRR }, + { "TILE_RRTILE8168", DVPTR(TILE_RRTILE8168), 0, RRTILE8168__STATICRR }, + { "TILE_RRTILE8192", DVPTR(TILE_RRTILE8192), 0, RRTILE8192__STATICRR }, + { "TILE_RRTILE8193", DVPTR(TILE_RRTILE8193), 0, RRTILE8193__STATICRR }, + { "TILE_RRTILE8215", DVPTR(TILE_RRTILE8215), 0, RRTILE8215__STATICRR }, + { "TILE_RRTILE8216", DVPTR(TILE_RRTILE8216), 0, RRTILE8216__STATICRR }, + { "TILE_RRTILE8217", DVPTR(TILE_RRTILE8217), 0, RRTILE8217__STATICRR }, + { "TILE_RRTILE8218", DVPTR(TILE_RRTILE8218), 0, RRTILE8218__STATICRR }, + { "TILE_RRTILE8220", DVPTR(TILE_RRTILE8220), 0, RRTILE8220__STATICRR }, + { "TILE_RRTILE8221", DVPTR(TILE_RRTILE8221), 0, RRTILE8221__STATICRR }, + { "TILE_RRTILE8222", DVPTR(TILE_RRTILE8222), 0, RRTILE8222__STATICRR }, + { "TILE_RRTILE8223", DVPTR(TILE_RRTILE8223), 0, RRTILE8223__STATICRR }, + { "TILE_RRTILE8224", DVPTR(TILE_RRTILE8224), 0, RRTILE8224__STATICRR }, + { "TILE_RRTILE8227", DVPTR(TILE_RRTILE8227), 0, RRTILE8227__STATICRR }, + { "TILE_RRTILE8312", DVPTR(TILE_RRTILE8312), 0, RRTILE8312__STATICRR }, + { "TILE_RRTILE8370", DVPTR(TILE_RRTILE8370), 0, RRTILE8370__STATICRR }, + { "TILE_RRTILE8371", DVPTR(TILE_RRTILE8371), 0, RRTILE8371__STATICRR }, + { "TILE_RRTILE8372", DVPTR(TILE_RRTILE8372), 0, RRTILE8372__STATICRR }, + { "TILE_RRTILE8373", DVPTR(TILE_RRTILE8373), 0, RRTILE8373__STATICRR }, + { "TILE_RRTILE8379", DVPTR(TILE_RRTILE8379), 0, RRTILE8379__STATICRR }, + { "TILE_RRTILE8380", DVPTR(TILE_RRTILE8380), 0, RRTILE8380__STATICRR }, + { "TILE_RRTILE8385", DVPTR(TILE_RRTILE8385), 0, RRTILE8385__STATICRR }, + { "TILE_RRTILE8386", DVPTR(TILE_RRTILE8386), 0, RRTILE8386__STATICRR }, + { "TILE_RRTILE8387", DVPTR(TILE_RRTILE8387), 0, RRTILE8387__STATICRR }, + { "TILE_RRTILE8388", DVPTR(TILE_RRTILE8388), 0, RRTILE8388__STATICRR }, + { "TILE_RRTILE8389", DVPTR(TILE_RRTILE8389), 0, RRTILE8389__STATICRR }, + { "TILE_RRTILE8390", DVPTR(TILE_RRTILE8390), 0, RRTILE8390__STATICRR }, + { "TILE_RRTILE8391", DVPTR(TILE_RRTILE8391), 0, RRTILE8391__STATICRR }, + { "TILE_RRTILE8392", DVPTR(TILE_RRTILE8392), 0, RRTILE8392__STATICRR }, + { "TILE_RRTILE8394", DVPTR(TILE_RRTILE8394), 0, RRTILE8394__STATICRR }, + { "TILE_RRTILE8395", DVPTR(TILE_RRTILE8395), 0, RRTILE8395__STATICRR }, + { "TILE_RRTILE8396", DVPTR(TILE_RRTILE8396), 0, RRTILE8396__STATICRR }, + { "TILE_RRTILE8397", DVPTR(TILE_RRTILE8397), 0, RRTILE8397__STATICRR }, + { "TILE_RRTILE8398", DVPTR(TILE_RRTILE8398), 0, RRTILE8398__STATICRR }, + { "TILE_RRTILE8399", DVPTR(TILE_RRTILE8399), 0, RRTILE8399__STATICRR }, + { "TILE_RRTILE8423", DVPTR(TILE_RRTILE8423), 0, RRTILE8423__STATICRR }, + { "TILE_RRTILE8448", DVPTR(TILE_RRTILE8448), 0, RRTILE8448__STATICRR }, + { "TILE_RRTILE8450", DVPTR(TILE_RRTILE8450), 0, RRTILE8450__STATICRR }, + { "TILE_BOATAMMO", DVPTR(TILE_BOATAMMO), 0, BOATAMMO__STATICRR }, + { "TILE_RRTILE8461", DVPTR(TILE_RRTILE8461), 0, RRTILE8461__STATICRR }, + { "TILE_RRTILE8462", DVPTR(TILE_RRTILE8462), 0, RRTILE8462__STATICRR }, + { "TILE_RRTILE8464", DVPTR(TILE_RRTILE8464), 0, RRTILE8464__STATICRR }, + { "TILE_RRTILE8475", DVPTR(TILE_RRTILE8475), 0, RRTILE8475__STATICRR }, + { "TILE_RRTILE8487", DVPTR(TILE_RRTILE8487), 0, RRTILE8487__STATICRR }, + { "TILE_RRTILE8488", DVPTR(TILE_RRTILE8488), 0, RRTILE8488__STATICRR }, + { "TILE_RRTILE8489", DVPTR(TILE_RRTILE8489), 0, RRTILE8489__STATICRR }, + { "TILE_RRTILE8490", DVPTR(TILE_RRTILE8490), 0, RRTILE8490__STATICRR }, + { "TILE_RRTILE8496", DVPTR(TILE_RRTILE8496), 0, RRTILE8496__STATICRR }, + { "TILE_RRTILE8497", DVPTR(TILE_RRTILE8497), 0, RRTILE8497__STATICRR }, + { "TILE_RRTILE8498", DVPTR(TILE_RRTILE8498), 0, RRTILE8498__STATICRR }, + { "TILE_RRTILE8499", DVPTR(TILE_RRTILE8499), 0, RRTILE8499__STATICRR }, + { "TILE_RRTILE8503", DVPTR(TILE_RRTILE8503), 0, RRTILE8503__STATICRR }, + { "TILE_RRTILE8525", DVPTR(TILE_RRTILE8525), 0, RRTILE8525__STATICRR }, + { "TILE_RRTILE8537", DVPTR(TILE_RRTILE8537), 0, RRTILE8537__STATICRR }, + { "TILE_RRTILE8565", DVPTR(TILE_RRTILE8565), 0, RRTILE8565__STATICRR }, + { "TILE_RRTILE8567", DVPTR(TILE_RRTILE8567), 0, RRTILE8567__STATICRR }, + { "TILE_RRTILE8568", DVPTR(TILE_RRTILE8568), 0, RRTILE8568__STATICRR }, + { "TILE_RRTILE8569", DVPTR(TILE_RRTILE8569), 0, RRTILE8569__STATICRR }, + { "TILE_RRTILE8570", DVPTR(TILE_RRTILE8570), 0, RRTILE8570__STATICRR }, + { "TILE_RRTILE8571", DVPTR(TILE_RRTILE8571), 0, RRTILE8571__STATICRR }, + { "TILE_RRTILE8579", DVPTR(TILE_RRTILE8579), 0, RRTILE8579__STATICRR }, + { "TILE_RRTILE8588", DVPTR(TILE_RRTILE8588), 0, RRTILE8588__STATICRR }, + { "TILE_RRTILE8589", DVPTR(TILE_RRTILE8589), 0, RRTILE8589__STATICRR }, + { "TILE_RRTILE8590", DVPTR(TILE_RRTILE8590), 0, RRTILE8590__STATICRR }, + { "TILE_RRTILE8591", DVPTR(TILE_RRTILE8591), 0, RRTILE8591__STATICRR }, + { "TILE_RRTILE8592", DVPTR(TILE_RRTILE8592), 0, RRTILE8592__STATICRR }, + { "TILE_RRTILE8593", DVPTR(TILE_RRTILE8593), 0, RRTILE8593__STATICRR }, + { "TILE_RRTILE8594", DVPTR(TILE_RRTILE8594), 0, RRTILE8594__STATICRR }, + { "TILE_RRTILE8595", DVPTR(TILE_RRTILE8595), 0, RRTILE8595__STATICRR }, + { "TILE_RRTILE8596", DVPTR(TILE_RRTILE8596), 0, RRTILE8596__STATICRR }, + { "TILE_RRTILE8598", DVPTR(TILE_RRTILE8598), 0, RRTILE8598__STATICRR }, + { "TILE_RRTILE8605", DVPTR(TILE_RRTILE8605), 0, RRTILE8605__STATICRR }, + { "TILE_RRTILE8608", DVPTR(TILE_RRTILE8608), 0, RRTILE8608__STATICRR }, + { "TILE_RRTILE8609", DVPTR(TILE_RRTILE8609), 0, RRTILE8609__STATICRR }, + { "TILE_RRTILE8611", DVPTR(TILE_RRTILE8611), 0, RRTILE8611__STATICRR }, + { "TILE_RRTILE8617", DVPTR(TILE_RRTILE8617), 0, RRTILE8617__STATICRR }, + { "TILE_RRTILE8618", DVPTR(TILE_RRTILE8618), 0, RRTILE8618__STATICRR }, + { "TILE_RRTILE8620", DVPTR(TILE_RRTILE8620), 0, RRTILE8620__STATICRR }, + { "TILE_RRTILE8621", DVPTR(TILE_RRTILE8621), 0, RRTILE8621__STATICRR }, + { "TILE_RRTILE8622", DVPTR(TILE_RRTILE8622), 0, RRTILE8622__STATICRR }, + { "TILE_RRTILE8623", DVPTR(TILE_RRTILE8623), 0, RRTILE8623__STATICRR }, + { "TILE_RRTILE8624", DVPTR(TILE_RRTILE8624), 0, RRTILE8624__STATICRR }, + { "TILE_RRTILE8640", DVPTR(TILE_RRTILE8640), 0, RRTILE8640__STATICRR }, + { "TILE_RRTILE8651", DVPTR(TILE_RRTILE8651), 0, RRTILE8651__STATICRR }, + { "TILE_RRTILE8660", DVPTR(TILE_RRTILE8660), 0, RRTILE8660__STATICRR }, + { "TILE_RRTILE8677", DVPTR(TILE_RRTILE8677), 0, RRTILE8677__STATICRR }, + { "TILE_RRTILE8679", DVPTR(TILE_RRTILE8679), 0, RRTILE8679__STATICRR }, + { "TILE_RRTILE8680", DVPTR(TILE_RRTILE8680), 0, RRTILE8680__STATICRR }, + { "TILE_RRTILE8681", DVPTR(TILE_RRTILE8681), 0, RRTILE8681__STATICRR }, + { "TILE_RRTILE8682", DVPTR(TILE_RRTILE8682), 0, RRTILE8682__STATICRR }, + { "TILE_RRTILE8683", DVPTR(TILE_RRTILE8683), 0, RRTILE8683__STATICRR }, + { "TILE_RRTILE8704", DVPTR(TILE_RRTILE8704), 0, RRTILE8704__STATICRR }, + { "TILE_BOULDER", DVPTR(TILE_BOULDER), 0, BOULDER__STATICRR }, + { "TILE_BOULDER1", DVPTR(TILE_BOULDER1), 0, BOULDER1__STATICRR }, + { "TILE_TORNADO", DVPTR(TILE_TORNADO), 0, TORNADO__STATICRR }, + { "TILE_CHEERBOMB", DVPTR(TILE_CHEERBOMB), 0, CHEERBOMB__STATICRR }, + { "TILE_CHEERBLADE", DVPTR(TILE_CHEERBLADE), 0, CHEERBLADE__STATICRR }, + { "TILE_DOGATTACK", DVPTR(TILE_DOGATTACK), 0, DOGATTACK__STATICRR }, + { "TILE_BILLYWALK", DVPTR(TILE_BILLYWALK), 0, BILLYWALK__STATICRR }, + { "TILE_BILLYDIE", DVPTR(TILE_BILLYDIE), 0, BILLYDIE__STATICRR }, + { "TILE_BILLYCOCK", DVPTR(TILE_BILLYCOCK), 0, BILLYCOCK__STATICRR }, + { "TILE_BILLYRAY", DVPTR(TILE_BILLYRAY), 0, BILLYRAY__STATICRR }, + { "TILE_BILLYRAYSTAYPUT", DVPTR(TILE_BILLYRAYSTAYPUT), 0, BILLYRAYSTAYPUT__STATICRR }, + { "TILE_BILLYBUT", DVPTR(TILE_BILLYBUT), 0, BILLYBUT__STATICRR }, + { "TILE_BILLYSCRATCH", DVPTR(TILE_BILLYSCRATCH), 0, BILLYSCRATCH__STATICRR }, + { "TILE_BILLYSNIFF", DVPTR(TILE_BILLYSNIFF), 0, BILLYSNIFF__STATICRR }, + { "TILE_BILLYWOUND", DVPTR(TILE_BILLYWOUND), 0, BILLYWOUND__STATICRR }, + { "TILE_BILLYGORE", DVPTR(TILE_BILLYGORE), 0, BILLYGORE__STATICRR }, + { "TILE_BILLYJIBA", DVPTR(TILE_BILLYJIBA), 0, BILLYJIBA__STATICRR }, + { "TILE_BILLYJIBB", DVPTR(TILE_BILLYJIBB), 0, BILLYJIBB__STATICRR }, + { "TILE_BRAYSNIPER", DVPTR(TILE_BRAYSNIPER), 0, BRAYSNIPER__STATICRR }, + { "TILE_DOGRUN", DVPTR(TILE_DOGRUN), 0, DOGRUN__STATICRR }, + { "TILE_DOGDIE", DVPTR(TILE_DOGDIE), 0, DOGDIE__STATICRR }, + { "TILE_DOGDEAD", DVPTR(TILE_DOGDEAD), 0, DOGDEAD__STATICRR }, + { "TILE_DOGBARK", DVPTR(TILE_DOGBARK), 0, DOGBARK__STATICRR }, + { "TILE_LTH", DVPTR(TILE_LTH), 0, LTH__STATICRR }, + { "TILE_LTHSTRAFE", DVPTR(TILE_LTHSTRAFE), 0, LTHSTRAFE__STATICRR }, + { "TILE_HULKHANG", DVPTR(TILE_HULKHANG), 0, HULKHANG__STATICRR }, + { "TILE_HULKHANGDEAD", DVPTR(TILE_HULKHANGDEAD), 0, HULKHANGDEAD__STATICRR }, + { "TILE_HULKJUMP", DVPTR(TILE_HULKJUMP), 0, HULKJUMP__STATICRR }, + { "TILE_LTHLOAD", DVPTR(TILE_LTHLOAD), 0, LTHLOAD__STATICRR }, + { "TILE_LTHDIE", DVPTR(TILE_LTHDIE), 0, LTHDIE__STATICRR }, + { "TILE_BUBBASCRATCH", DVPTR(TILE_BUBBASCRATCH), 0, BUBBASCRATCH__STATICRR }, + { "TILE_BUBBANOSE", DVPTR(TILE_BUBBANOSE), 0, BUBBANOSE__STATICRR }, + { "TILE_BUBBAPISS", DVPTR(TILE_BUBBAPISS), 0, BUBBAPISS__STATICRR }, + { "TILE_BUBBASTAND", DVPTR(TILE_BUBBASTAND), 0, BUBBASTAND__STATICRR }, + { "TILE_BUBBAOUCH", DVPTR(TILE_BUBBAOUCH), 0, BUBBAOUCH__STATICRR }, + { "TILE_BUBBADIE", DVPTR(TILE_BUBBADIE), 0, BUBBADIE__STATICRR }, + { "TILE_BUBBADEAD", DVPTR(TILE_BUBBADEAD), 0, BUBBADEAD__STATICRR }, + { "TILE_HULK", DVPTR(TILE_HULK), 0, HULK__STATICRR }, + { "TILE_HULKSTAYPUT", DVPTR(TILE_HULKSTAYPUT), 0, HULKSTAYPUT__STATICRR }, + { "TILE_HULKA", DVPTR(TILE_HULKA), 0, HULKA__STATICRR }, + { "TILE_HULKB", DVPTR(TILE_HULKB), 0, HULKB__STATICRR }, + { "TILE_HULKC", DVPTR(TILE_HULKC), 0, HULKC__STATICRR }, + { "TILE_HULKJIBA", DVPTR(TILE_HULKJIBA), 0, HULKJIBA__STATICRR }, + { "TILE_HULKJIBB", DVPTR(TILE_HULKJIBB), 0, HULKJIBB__STATICRR }, + { "TILE_HULKJIBC", DVPTR(TILE_HULKJIBC), 0, HULKJIBC__STATICRR }, + { "TILE_SBSWIPE", DVPTR(TILE_SBSWIPE), 0, SBSWIPE__STATICRR }, + { "TILE_SBPAIN", DVPTR(TILE_SBPAIN), 0, SBPAIN__STATICRR }, + { "TILE_SBDIE", DVPTR(TILE_SBDIE), 0, SBDIE__STATICRR }, + { "TILE_HEN", DVPTR(TILE_HEN), 0, HEN__STATICRR }, + { "TILE_HENSTAYPUT", DVPTR(TILE_HENSTAYPUT), 0, HENSTAYPUT__STATICRR }, + { "TILE_HENSTAND", DVPTR(TILE_HENSTAND), 0, HENSTAND__STATICRR }, + { "TILE_PIG", DVPTR(TILE_PIG), 0, PIG__STATICRR }, + { "TILE_PIGSTAYPUT", DVPTR(TILE_PIGSTAYPUT), 0, PIGSTAYPUT__STATICRR }, + { "TILE_PIGEAT", DVPTR(TILE_PIGEAT), 0, PIGEAT__STATICRR }, + { "TILE_SBMOVE", DVPTR(TILE_SBMOVE), 0, SBMOVE__STATICRR }, + { "TILE_SBSPIT", DVPTR(TILE_SBSPIT), 0, SBSPIT__STATICRR }, + { "TILE_SBDIP", DVPTR(TILE_SBDIP), 0, SBDIP__STATICRR }, + { "TILE_MINION", DVPTR(TILE_MINION), 0, MINION__STATICRR }, + { "TILE_MINIONSTAYPUT", DVPTR(TILE_MINIONSTAYPUT), 0, MINIONSTAYPUT__STATICRR }, + { "TILE_UFO1", DVPTR(TILE_UFO1), 0, UFO1__STATICRR }, + { "TILE_UFO2", DVPTR(TILE_UFO2), 0, UFO2__STATICRR }, + { "TILE_UFO3", DVPTR(TILE_UFO3), 0, UFO3__STATICRR }, + { "TILE_UFO4", DVPTR(TILE_UFO4), 0, UFO4__STATICRR }, + { "TILE_UFO5", DVPTR(TILE_UFO5), 0, UFO5__STATICRR }, + { "TILE_MINJIBA", DVPTR(TILE_MINJIBA), 0, MINJIBA__STATICRR }, + { "TILE_MINJIBB", DVPTR(TILE_MINJIBB), 0, MINJIBB__STATICRR }, + { "TILE_MINJIBC", DVPTR(TILE_MINJIBC), 0, MINJIBC__STATICRR }, + { "TILE_COW", DVPTR(TILE_COW), 0, COW__STATICRR }, + { "TILE_COOT", DVPTR(TILE_COOT), 0, COOT__STATICRR }, + { "TILE_COOTSTAYPUT", DVPTR(TILE_COOTSTAYPUT), 0, COOTSTAYPUT__STATICRR }, + { "TILE_COOTSHOOT", DVPTR(TILE_COOTSHOOT), 0, COOTSHOOT__STATICRR }, + { "TILE_COOTDIE", DVPTR(TILE_COOTDIE), 0, COOTDIE__STATICRR }, + { "TILE_COOTDUCK", DVPTR(TILE_COOTDUCK), 0, COOTDUCK__STATICRR }, + { "TILE_COOTPAIN", DVPTR(TILE_COOTPAIN), 0, COOTPAIN__STATICRR }, + { "TILE_COOTTRANS", DVPTR(TILE_COOTTRANS), 0, COOTTRANS__STATICRR }, + { "TILE_COOTGETUP", DVPTR(TILE_COOTGETUP), 0, COOTGETUP__STATICRR }, + { "TILE_COOTJIBA", DVPTR(TILE_COOTJIBA), 0, COOTJIBA__STATICRR }, + { "TILE_COOTJIBB", DVPTR(TILE_COOTJIBB), 0, COOTJIBB__STATICRR }, + { "TILE_COOTJIBC", DVPTR(TILE_COOTJIBC), 0, COOTJIBC__STATICRR }, + { "TILE_VIXEN", DVPTR(TILE_VIXEN), 0, VIXEN__STATICRR }, + { "TILE_VIXENPAIN", DVPTR(TILE_VIXENPAIN), 0, VIXENPAIN__STATICRR }, + { "TILE_VIXENDIE", DVPTR(TILE_VIXENDIE), 0, VIXENDIE__STATICRR }, + { "TILE_VIXENSHOOT", DVPTR(TILE_VIXENSHOOT), 0, VIXENSHOOT__STATICRR }, + { "TILE_VIXENWDN", DVPTR(TILE_VIXENWDN), 0, VIXENWDN__STATICRR }, + { "TILE_VIXENWUP", DVPTR(TILE_VIXENWUP), 0, VIXENWUP__STATICRR }, + { "TILE_VIXENKICK", DVPTR(TILE_VIXENKICK), 0, VIXENKICK__STATICRR }, + { "TILE_VIXENTELE", DVPTR(TILE_VIXENTELE), 0, VIXENTELE__STATICRR }, + { "TILE_VIXENTEAT", DVPTR(TILE_VIXENTEAT), 0, VIXENTEAT__STATICRR }, + { "TILE_BIKEJIBA", DVPTR(TILE_BIKEJIBA), 0, BIKEJIBA__STATICRR }, + { "TILE_BIKEJIBB", DVPTR(TILE_BIKEJIBB), 0, BIKEJIBB__STATICRR }, + { "TILE_BIKEJIBC", DVPTR(TILE_BIKEJIBC), 0, BIKEJIBC__STATICRR }, + { "TILE_BIKERB", DVPTR(TILE_BIKERB), 0, BIKERB__STATICRR }, + { "TILE_BIKERBV2", DVPTR(TILE_BIKERBV2), 0, BIKERBV2__STATICRR }, + { "TILE_BIKER", DVPTR(TILE_BIKER), 0, BIKER__STATICRR }, + { "TILE_BIKERJIBA", DVPTR(TILE_BIKERJIBA), 0, BIKERJIBA__STATICRR }, + { "TILE_BIKERJIBB", DVPTR(TILE_BIKERJIBB), 0, BIKERJIBB__STATICRR }, + { "TILE_BIKERJIBC", DVPTR(TILE_BIKERJIBC), 0, BIKERJIBC__STATICRR }, + { "TILE_BIKERJIBD", DVPTR(TILE_BIKERJIBD), 0, BIKERJIBD__STATICRR }, + { "TILE_MAKEOUT", DVPTR(TILE_MAKEOUT), 0, MAKEOUT__STATICRR }, + { "TILE_CHEERB", DVPTR(TILE_CHEERB), 0, CHEERB__STATICRR }, + { "TILE_CHEER", DVPTR(TILE_CHEER), 0, CHEER__STATICRR }, + { "TILE_CHEERSTAYPUT", DVPTR(TILE_CHEERSTAYPUT), 0, CHEERSTAYPUT__STATICRR }, + { "TILE_CHEERJIBA", DVPTR(TILE_CHEERJIBA), 0, CHEERJIBA__STATICRR }, + { "TILE_CHEERJIBB", DVPTR(TILE_CHEERJIBB), 0, CHEERJIBB__STATICRR }, + { "TILE_CHEERJIBC", DVPTR(TILE_CHEERJIBC), 0, CHEERJIBC__STATICRR }, + { "TILE_CHEERJIBD", DVPTR(TILE_CHEERJIBD), 0, CHEERJIBD__STATICRR }, + { "TILE_FBOATJIBA", DVPTR(TILE_FBOATJIBA), 0, FBOATJIBA__STATICRR }, + { "TILE_FBOATJIBB", DVPTR(TILE_FBOATJIBB), 0, FBOATJIBB__STATICRR }, + { "TILE_COOTPLAY", DVPTR(TILE_COOTPLAY), 0, COOTPLAY__STATICRR }, + { "TILE_BILLYPLAY", DVPTR(TILE_BILLYPLAY), 0, BILLYPLAY__STATICRR }, + { "TILE_MINIONBOAT", DVPTR(TILE_MINIONBOAT), 0, MINIONBOAT__STATICRR }, + { "TILE_HULKBOAT", DVPTR(TILE_HULKBOAT), 0, HULKBOAT__STATICRR }, + { "TILE_CHEERBOAT", DVPTR(TILE_CHEERBOAT), 0, CHEERBOAT__STATICRR }, + { "TILE_RRTILE7274", DVPTR(TILE_RRTILE7274), 0, RRTILE7274__STATICRR }, + { "TILE_RABBIT", DVPTR(TILE_RABBIT), 0, RABBIT__STATICRR }, + { "TILE_RABBITJIBA", DVPTR(TILE_RABBITJIBA), 0, RABBITJIBA__STATICRR }, + { "TILE_RABBITJIBB", DVPTR(TILE_RABBITJIBB), 0, RABBITJIBB__STATICRR }, + { "TILE_RABBITJIBC", DVPTR(TILE_RABBITJIBC), 0, RABBITJIBC__STATICRR }, + { "TILE_ROCK", DVPTR(TILE_ROCK), 0, ROCK__STATICRR }, + { "TILE_ROCK2", DVPTR(TILE_ROCK2), 0, ROCK2__STATICRR }, + { "TILE_MAMACLOUD", DVPTR(TILE_MAMACLOUD), 0, MAMACLOUD__STATICRR }, + { "TILE_MAMA", DVPTR(TILE_MAMA), 0, MAMA__STATICRR }, + { "TILE_MAMAJIBA", DVPTR(TILE_MAMAJIBA), 0, MAMAJIBA__STATICRR }, + { "TILE_MAMAJIBB", DVPTR(TILE_MAMAJIBB), 0, MAMAJIBB__STATICRR }, { NULL, NULL, -1, -1 }, }; -int32_t SECTOREFFECTOR = SECTOREFFECTOR__STATIC; -int32_t ACTIVATOR = ACTIVATOR__STATIC; -int32_t TOUCHPLATE = TOUCHPLATE__STATIC; -int32_t ACTIVATORLOCKED = ACTIVATORLOCKED__STATIC; -int32_t MUSICANDSFX = MUSICANDSFX__STATIC; -int32_t LOCATORS = LOCATORS__STATIC; -int32_t CYCLER = CYCLER__STATIC; -int32_t MASTERSWITCH = MASTERSWITCH__STATIC; -int32_t RESPAWN = RESPAWN__STATIC; -int32_t GPSPEED = GPSPEED__STATIC; -int32_t FOF = FOF__STATIC; -int32_t ARROW = ARROW__STATIC; -int32_t FIRSTGUNSPRITE = FIRSTGUNSPRITE__STATIC; -int32_t CHAINGUNSPRITE = CHAINGUNSPRITE__STATIC; -int32_t RPGSPRITE = RPGSPRITE__STATIC; -int32_t FREEZESPRITE = FREEZESPRITE__STATIC; -int32_t SHRINKERSPRITE = SHRINKERSPRITE__STATIC; -int32_t HEAVYHBOMB = HEAVYHBOMB__STATIC; -int32_t TRIPBOMBSPRITE = TRIPBOMBSPRITE__STATIC; -int32_t SHOTGUNSPRITE = SHOTGUNSPRITE__STATIC; -int32_t DEVISTATORSPRITE = DEVISTATORSPRITE__STATIC; -int32_t HEALTHBOX = HEALTHBOX__STATIC; -int32_t AMMOBOX = AMMOBOX__STATIC; -int32_t GROWSPRITEICON = GROWSPRITEICON__STATIC; -int32_t INVENTORYBOX = INVENTORYBOX__STATIC; -int32_t FREEZEAMMO = FREEZEAMMO__STATIC; -int32_t AMMO = AMMO__STATIC; -int32_t BATTERYAMMO = BATTERYAMMO__STATIC; -int32_t DEVISTATORAMMO = DEVISTATORAMMO__STATIC; -int32_t RPGAMMO = RPGAMMO__STATIC; -int32_t GROWAMMO = GROWAMMO__STATIC; -int32_t CRYSTALAMMO = CRYSTALAMMO__STATIC; -int32_t HBOMBAMMO = HBOMBAMMO__STATIC; -int32_t AMMOLOTS = AMMOLOTS__STATIC; -int32_t SHOTGUNAMMO = SHOTGUNAMMO__STATIC; -int32_t COLA = COLA__STATIC; -int32_t SIXPAK = SIXPAK__STATIC; -int32_t FIRSTAID = FIRSTAID__STATIC; -int32_t SHIELD = SHIELD__STATIC; -int32_t STEROIDS = STEROIDS__STATIC; -int32_t AIRTANK = AIRTANK__STATIC; -int32_t JETPACK = JETPACK__STATIC; -int32_t HEATSENSOR = HEATSENSOR__STATIC; -int32_t ACCESSCARD = ACCESSCARD__STATIC; -int32_t BOOTS = BOOTS__STATIC; -int32_t MIRRORBROKE = MIRRORBROKE__STATIC; -int32_t CLOUDYOCEAN = CLOUDYOCEAN__STATIC; -int32_t CLOUDYSKIES = CLOUDYSKIES__STATIC; -int32_t MOONSKY1 = MOONSKY1__STATIC; -int32_t MOONSKY2 = MOONSKY2__STATIC; -int32_t MOONSKY3 = MOONSKY3__STATIC; -int32_t MOONSKY4 = MOONSKY4__STATIC; -int32_t BIGORBIT1 = BIGORBIT1__STATIC; -int32_t BIGORBIT2 = BIGORBIT2__STATIC; -int32_t BIGORBIT3 = BIGORBIT3__STATIC; -int32_t BIGORBIT4 = BIGORBIT4__STATIC; -int32_t BIGORBIT5 = BIGORBIT5__STATIC; -int32_t LA = LA__STATIC; -int32_t REDSKY1 = REDSKY1__STATIC; -int32_t REDSKY2 = REDSKY2__STATIC; -int32_t ATOMICHEALTH = ATOMICHEALTH__STATIC; -int32_t TECHLIGHT2 = TECHLIGHT2__STATIC; -int32_t TECHLIGHTBUST2 = TECHLIGHTBUST2__STATIC; -int32_t TECHLIGHT4 = TECHLIGHT4__STATIC; -int32_t TECHLIGHTBUST4 = TECHLIGHTBUST4__STATIC; -int32_t WALLLIGHT4 = WALLLIGHT4__STATIC; -int32_t WALLLIGHTBUST4 = WALLLIGHTBUST4__STATIC; -int32_t ACCESSSWITCH = ACCESSSWITCH__STATIC; -int32_t SLOTDOOR = SLOTDOOR__STATIC; -int32_t LIGHTSWITCH = LIGHTSWITCH__STATIC; -int32_t SPACEDOORSWITCH = SPACEDOORSWITCH__STATIC; -int32_t SPACELIGHTSWITCH = SPACELIGHTSWITCH__STATIC; -int32_t FRANKENSTINESWITCH = FRANKENSTINESWITCH__STATIC; -int32_t NUKEBUTTON = NUKEBUTTON__STATIC; -int32_t MULTISWITCH = MULTISWITCH__STATIC; -int32_t DOORTILE5 = DOORTILE5__STATIC; -int32_t DOORTILE6 = DOORTILE6__STATIC; -int32_t DOORTILE1 = DOORTILE1__STATIC; -int32_t DOORTILE2 = DOORTILE2__STATIC; -int32_t DOORTILE3 = DOORTILE3__STATIC; -int32_t DOORTILE4 = DOORTILE4__STATIC; -int32_t DOORTILE7 = DOORTILE7__STATIC; -int32_t DOORTILE8 = DOORTILE8__STATIC; -int32_t DOORTILE9 = DOORTILE9__STATIC; -int32_t DOORTILE10 = DOORTILE10__STATIC; -int32_t DOORSHOCK = DOORSHOCK__STATIC; -int32_t DIPSWITCH = DIPSWITCH__STATIC; -int32_t DIPSWITCH2 = DIPSWITCH2__STATIC; -int32_t TECHSWITCH = TECHSWITCH__STATIC; -int32_t DIPSWITCH3 = DIPSWITCH3__STATIC; -int32_t ACCESSSWITCH2 = ACCESSSWITCH2__STATIC; -int32_t REFLECTWATERTILE = REFLECTWATERTILE__STATIC; -int32_t FLOORSLIME = FLOORSLIME__STATIC; -int32_t BIGFORCE = BIGFORCE__STATIC; -int32_t EPISODE = EPISODE__STATIC; -int32_t MASKWALL9 = MASKWALL9__STATIC; -int32_t W_LIGHT = W_LIGHT__STATIC; -int32_t SCREENBREAK1 = SCREENBREAK1__STATIC; -int32_t SCREENBREAK2 = SCREENBREAK2__STATIC; -int32_t SCREENBREAK3 = SCREENBREAK3__STATIC; -int32_t SCREENBREAK4 = SCREENBREAK4__STATIC; -int32_t SCREENBREAK5 = SCREENBREAK5__STATIC; -int32_t SCREENBREAK6 = SCREENBREAK6__STATIC; -int32_t SCREENBREAK7 = SCREENBREAK7__STATIC; -int32_t SCREENBREAK8 = SCREENBREAK8__STATIC; -int32_t SCREENBREAK9 = SCREENBREAK9__STATIC; -int32_t SCREENBREAK10 = SCREENBREAK10__STATIC; -int32_t SCREENBREAK11 = SCREENBREAK11__STATIC; -int32_t SCREENBREAK12 = SCREENBREAK12__STATIC; -int32_t SCREENBREAK13 = SCREENBREAK13__STATIC; -int32_t MASKWALL1 = MASKWALL1__STATIC; -int32_t W_TECHWALL1 = W_TECHWALL1__STATIC; -int32_t W_TECHWALL2 = W_TECHWALL2__STATIC; -int32_t W_TECHWALL15 = W_TECHWALL15__STATIC; -int32_t W_TECHWALL3 = W_TECHWALL3__STATIC; -int32_t W_TECHWALL4 = W_TECHWALL4__STATIC; -int32_t W_TECHWALL10 = W_TECHWALL10__STATIC; -int32_t W_TECHWALL16 = W_TECHWALL16__STATIC; -int32_t WATERTILE2 = WATERTILE2__STATIC; -int32_t BPANNEL1 = BPANNEL1__STATIC; -int32_t PANNEL1 = PANNEL1__STATIC; -int32_t PANNEL2 = PANNEL2__STATIC; -int32_t WATERTILE = WATERTILE__STATIC; -int32_t STATIC = STATIC__STATIC; -int32_t W_SCREENBREAK = W_SCREENBREAK__STATIC; -int32_t W_HITTECHWALL3 = W_HITTECHWALL3__STATIC; -int32_t W_HITTECHWALL4 = W_HITTECHWALL4__STATIC; -int32_t W_HITTECHWALL2 = W_HITTECHWALL2__STATIC; -int32_t W_HITTECHWALL1 = W_HITTECHWALL1__STATIC; -int32_t MASKWALL10 = MASKWALL10__STATIC; -int32_t MASKWALL11 = MASKWALL11__STATIC; -int32_t DOORTILE22 = DOORTILE22__STATIC; -int32_t FANSPRITE = FANSPRITE__STATIC; -int32_t FANSPRITEBROKE = FANSPRITEBROKE__STATIC; -int32_t FANSHADOW = FANSHADOW__STATIC; -int32_t FANSHADOWBROKE = FANSHADOWBROKE__STATIC; -int32_t DOORTILE18 = DOORTILE18__STATIC; -int32_t DOORTILE19 = DOORTILE19__STATIC; -int32_t DOORTILE20 = DOORTILE20__STATIC; -int32_t SATELLITE = SATELLITE__STATIC; -int32_t VIEWSCREEN2 = VIEWSCREEN2__STATIC; -int32_t VIEWSCREENBROKE = VIEWSCREENBROKE__STATIC; -int32_t VIEWSCREEN = VIEWSCREEN__STATIC; -int32_t GLASS = GLASS__STATIC; -int32_t GLASS2 = GLASS2__STATIC; -int32_t STAINGLASS1 = STAINGLASS1__STATIC; -int32_t MASKWALL5 = MASKWALL5__STATIC; -int32_t SATELITE = SATELITE__STATIC; -int32_t FUELPOD = FUELPOD__STATIC; -int32_t SLIMEPIPE = SLIMEPIPE__STATIC; -int32_t CRACK1 = CRACK1__STATIC; -int32_t CRACK2 = CRACK2__STATIC; -int32_t CRACK3 = CRACK3__STATIC; -int32_t CRACK4 = CRACK4__STATIC; -int32_t FOOTPRINTS = FOOTPRINTS__STATIC; -int32_t DOMELITE = DOMELITE__STATIC; -int32_t CAMERAPOLE = CAMERAPOLE__STATIC; -int32_t CHAIR1 = CHAIR1__STATIC; -int32_t CHAIR2 = CHAIR2__STATIC; -int32_t BROKENCHAIR = BROKENCHAIR__STATIC; -int32_t MIRROR = MIRROR__STATIC; -int32_t WATERFOUNTAIN = WATERFOUNTAIN__STATIC; -int32_t WATERFOUNTAINBROKE = WATERFOUNTAINBROKE__STATIC; -int32_t FEMMAG1 = FEMMAG1__STATIC; -int32_t TOILET = TOILET__STATIC; -int32_t STALL = STALL__STATIC; -int32_t STALLBROKE = STALLBROKE__STATIC; -int32_t FEMMAG2 = FEMMAG2__STATIC; -int32_t REACTOR2 = REACTOR2__STATIC; -int32_t REACTOR2BURNT = REACTOR2BURNT__STATIC; -int32_t REACTOR2SPARK = REACTOR2SPARK__STATIC; -int32_t GRATE1 = GRATE1__STATIC; -int32_t BGRATE1 = BGRATE1__STATIC; -int32_t SOLARPANNEL = SOLARPANNEL__STATIC; -int32_t NAKED1 = NAKED1__STATIC; -int32_t ANTENNA = ANTENNA__STATIC; -int32_t MASKWALL12 = MASKWALL12__STATIC; -int32_t TOILETBROKE = TOILETBROKE__STATIC; -int32_t PIPE2 = PIPE2__STATIC; -int32_t PIPE1B = PIPE1B__STATIC; -int32_t PIPE3 = PIPE3__STATIC; -int32_t PIPE1 = PIPE1__STATIC; -int32_t CAMERA1 = CAMERA1__STATIC; -int32_t BRICK = BRICK__STATIC; -int32_t SPLINTERWOOD = SPLINTERWOOD__STATIC; -int32_t PIPE2B = PIPE2B__STATIC; -int32_t BOLT1 = BOLT1__STATIC; -int32_t W_NUMBERS = W_NUMBERS__STATIC; -int32_t WATERDRIP = WATERDRIP__STATIC; -int32_t WATERBUBBLE = WATERBUBBLE__STATIC; -int32_t WATERBUBBLEMAKER = WATERBUBBLEMAKER__STATIC; -int32_t W_FORCEFIELD = W_FORCEFIELD__STATIC; -int32_t VACUUM = VACUUM__STATIC; -int32_t FOOTPRINTS2 = FOOTPRINTS2__STATIC; -int32_t FOOTPRINTS3 = FOOTPRINTS3__STATIC; -int32_t FOOTPRINTS4 = FOOTPRINTS4__STATIC; -int32_t EGG = EGG__STATIC; -int32_t SCALE = SCALE__STATIC; -int32_t CHAIR3 = CHAIR3__STATIC; -int32_t CAMERALIGHT = CAMERALIGHT__STATIC; -int32_t MOVIECAMERA = MOVIECAMERA__STATIC; -int32_t IVUNIT = IVUNIT__STATIC; -int32_t POT1 = POT1__STATIC; -int32_t POT2 = POT2__STATIC; -int32_t POT3 = POT3__STATIC; -int32_t PIPE3B = PIPE3B__STATIC; -int32_t WALLLIGHT3 = WALLLIGHT3__STATIC; -int32_t WALLLIGHTBUST3 = WALLLIGHTBUST3__STATIC; -int32_t WALLLIGHT1 = WALLLIGHT1__STATIC; -int32_t WALLLIGHTBUST1 = WALLLIGHTBUST1__STATIC; -int32_t WALLLIGHT2 = WALLLIGHT2__STATIC; -int32_t WALLLIGHTBUST2 = WALLLIGHTBUST2__STATIC; -int32_t LIGHTSWITCH2 = LIGHTSWITCH2__STATIC; -int32_t WAITTOBESEATED = WAITTOBESEATED__STATIC; -int32_t DOORTILE14 = DOORTILE14__STATIC; -int32_t STATUE = STATUE__STATIC; -int32_t MIKE = MIKE__STATIC; -int32_t VASE = VASE__STATIC; -int32_t SUSHIPLATE1 = SUSHIPLATE1__STATIC; -int32_t SUSHIPLATE2 = SUSHIPLATE2__STATIC; -int32_t SUSHIPLATE3 = SUSHIPLATE3__STATIC; -int32_t SUSHIPLATE4 = SUSHIPLATE4__STATIC; -int32_t DOORTILE16 = DOORTILE16__STATIC; -int32_t SUSHIPLATE5 = SUSHIPLATE5__STATIC; -int32_t OJ = OJ__STATIC; -int32_t MASKWALL13 = MASKWALL13__STATIC; -int32_t HURTRAIL = HURTRAIL__STATIC; -int32_t POWERSWITCH1 = POWERSWITCH1__STATIC; -int32_t LOCKSWITCH1 = LOCKSWITCH1__STATIC; -int32_t POWERSWITCH2 = POWERSWITCH2__STATIC; -int32_t ATM = ATM__STATIC; -int32_t STATUEFLASH = STATUEFLASH__STATIC; -int32_t ATMBROKE = ATMBROKE__STATIC; -int32_t BIGHOLE2 = BIGHOLE2__STATIC; -int32_t STRIPEBALL = STRIPEBALL__STATIC; -int32_t QUEBALL = QUEBALL__STATIC; -int32_t POCKET = POCKET__STATIC; -int32_t WOODENHORSE = WOODENHORSE__STATIC; -int32_t TREE1 = TREE1__STATIC; -int32_t TREE2 = TREE2__STATIC; -int32_t CACTUS = CACTUS__STATIC; -int32_t MASKWALL2 = MASKWALL2__STATIC; -int32_t MASKWALL3 = MASKWALL3__STATIC; -int32_t MASKWALL4 = MASKWALL4__STATIC; -int32_t FIREEXT = FIREEXT__STATIC; -int32_t TOILETWATER = TOILETWATER__STATIC; -int32_t NEON1 = NEON1__STATIC; -int32_t NEON2 = NEON2__STATIC; -int32_t CACTUSBROKE = CACTUSBROKE__STATIC; -int32_t BOUNCEMINE = BOUNCEMINE__STATIC; -int32_t BROKEFIREHYDRENT = BROKEFIREHYDRENT__STATIC; -int32_t BOX = BOX__STATIC; -int32_t BULLETHOLE = BULLETHOLE__STATIC; -int32_t BOTTLE1 = BOTTLE1__STATIC; -int32_t BOTTLE2 = BOTTLE2__STATIC; -int32_t BOTTLE3 = BOTTLE3__STATIC; -int32_t BOTTLE4 = BOTTLE4__STATIC; -int32_t FEMPIC5 = FEMPIC5__STATIC; -int32_t FEMPIC6 = FEMPIC6__STATIC; -int32_t FEMPIC7 = FEMPIC7__STATIC; -int32_t HYDROPLANT = HYDROPLANT__STATIC; -int32_t OCEANSPRITE1 = OCEANSPRITE1__STATIC; -int32_t OCEANSPRITE2 = OCEANSPRITE2__STATIC; -int32_t OCEANSPRITE3 = OCEANSPRITE3__STATIC; -int32_t OCEANSPRITE4 = OCEANSPRITE4__STATIC; -int32_t OCEANSPRITE5 = OCEANSPRITE5__STATIC; -int32_t GENERICPOLE = GENERICPOLE__STATIC; -int32_t CONE = CONE__STATIC; -int32_t HANGLIGHT = HANGLIGHT__STATIC; -int32_t HYDRENT = HYDRENT__STATIC; -int32_t MASKWALL14 = MASKWALL14__STATIC; -int32_t TIRE = TIRE__STATIC; -int32_t PIPE5 = PIPE5__STATIC; -int32_t PIPE6 = PIPE6__STATIC; -int32_t PIPE4 = PIPE4__STATIC; -int32_t PIPE4B = PIPE4B__STATIC; -int32_t BROKEHYDROPLANT = BROKEHYDROPLANT__STATIC; -int32_t PIPE5B = PIPE5B__STATIC; -int32_t NEON3 = NEON3__STATIC; -int32_t NEON4 = NEON4__STATIC; -int32_t NEON5 = NEON5__STATIC; -int32_t BOTTLE5 = BOTTLE5__STATIC; -int32_t BOTTLE6 = BOTTLE6__STATIC; -int32_t BOTTLE8 = BOTTLE8__STATIC; -int32_t SPOTLITE = SPOTLITE__STATIC; -int32_t HANGOOZ = HANGOOZ__STATIC; -int32_t MASKWALL15 = MASKWALL15__STATIC; -int32_t BOTTLE7 = BOTTLE7__STATIC; -int32_t HORSEONSIDE = HORSEONSIDE__STATIC; -int32_t GLASSPIECES = GLASSPIECES__STATIC; -int32_t HORSELITE = HORSELITE__STATIC; -int32_t DONUTS = DONUTS__STATIC; -int32_t NEON6 = NEON6__STATIC; -int32_t MASKWALL6 = MASKWALL6__STATIC; -int32_t CLOCK = CLOCK__STATIC; -int32_t RUBBERCAN = RUBBERCAN__STATIC; -int32_t BROKENCLOCK = BROKENCLOCK__STATIC; -int32_t PLUG = PLUG__STATIC; -int32_t OOZFILTER = OOZFILTER__STATIC; -int32_t FLOORPLASMA = FLOORPLASMA__STATIC; -int32_t REACTOR = REACTOR__STATIC; -int32_t REACTORSPARK = REACTORSPARK__STATIC; -int32_t REACTORBURNT = REACTORBURNT__STATIC; -int32_t DOORTILE15 = DOORTILE15__STATIC; -int32_t HANDSWITCH = HANDSWITCH__STATIC; -int32_t CIRCLEPANNEL = CIRCLEPANNEL__STATIC; -int32_t CIRCLEPANNELBROKE = CIRCLEPANNELBROKE__STATIC; -int32_t PULLSWITCH = PULLSWITCH__STATIC; -int32_t MASKWALL8 = MASKWALL8__STATIC; -int32_t BIGHOLE = BIGHOLE__STATIC; -int32_t ALIENSWITCH = ALIENSWITCH__STATIC; -int32_t DOORTILE21 = DOORTILE21__STATIC; -int32_t HANDPRINTSWITCH = HANDPRINTSWITCH__STATIC; -int32_t BOTTLE10 = BOTTLE10__STATIC; -int32_t BOTTLE11 = BOTTLE11__STATIC; -int32_t BOTTLE12 = BOTTLE12__STATIC; -int32_t BOTTLE13 = BOTTLE13__STATIC; -int32_t BOTTLE14 = BOTTLE14__STATIC; -int32_t BOTTLE15 = BOTTLE15__STATIC; -int32_t BOTTLE16 = BOTTLE16__STATIC; -int32_t BOTTLE17 = BOTTLE17__STATIC; -int32_t BOTTLE18 = BOTTLE18__STATIC; -int32_t BOTTLE19 = BOTTLE19__STATIC; -int32_t DOORTILE17 = DOORTILE17__STATIC; -int32_t MASKWALL7 = MASKWALL7__STATIC; -int32_t JAILBARBREAK = JAILBARBREAK__STATIC; -int32_t DOORTILE11 = DOORTILE11__STATIC; -int32_t DOORTILE12 = DOORTILE12__STATIC; -int32_t VENDMACHINE = VENDMACHINE__STATIC; -int32_t VENDMACHINEBROKE = VENDMACHINEBROKE__STATIC; -int32_t COLAMACHINE = COLAMACHINE__STATIC; -int32_t COLAMACHINEBROKE = COLAMACHINEBROKE__STATIC; -int32_t CRANEPOLE = CRANEPOLE__STATIC; -int32_t CRANE = CRANE__STATIC; -int32_t BARBROKE = BARBROKE__STATIC; -int32_t BLOODPOOL = BLOODPOOL__STATIC; -int32_t NUKEBARREL = NUKEBARREL__STATIC; -int32_t NUKEBARRELDENTED = NUKEBARRELDENTED__STATIC; -int32_t NUKEBARRELLEAKED = NUKEBARRELLEAKED__STATIC; -int32_t CANWITHSOMETHING = CANWITHSOMETHING__STATIC; -int32_t MONEY = MONEY__STATIC; -int32_t BANNER = BANNER__STATIC; -int32_t EXPLODINGBARREL = EXPLODINGBARREL__STATIC; -int32_t EXPLODINGBARREL2 = EXPLODINGBARREL2__STATIC; -int32_t FIREBARREL = FIREBARREL__STATIC; -int32_t SEENINE = SEENINE__STATIC; -int32_t SEENINEDEAD = SEENINEDEAD__STATIC; -int32_t STEAM = STEAM__STATIC; -int32_t CEILINGSTEAM = CEILINGSTEAM__STATIC; -int32_t PIPE6B = PIPE6B__STATIC; -int32_t TRANSPORTERBEAM = TRANSPORTERBEAM__STATIC; -int32_t RAT = RAT__STATIC; -int32_t TRASH = TRASH__STATIC; -int32_t FEMPIC1 = FEMPIC1__STATIC; -int32_t FEMPIC2 = FEMPIC2__STATIC; -int32_t BLANKSCREEN = BLANKSCREEN__STATIC; -int32_t PODFEM1 = PODFEM1__STATIC; -int32_t FEMPIC3 = FEMPIC3__STATIC; -int32_t FEMPIC4 = FEMPIC4__STATIC; -int32_t FEM1 = FEM1__STATIC; -int32_t FEM2 = FEM2__STATIC; -int32_t FEM3 = FEM3__STATIC; -int32_t FEM5 = FEM5__STATIC; -int32_t BLOODYPOLE = BLOODYPOLE__STATIC; -int32_t FEM4 = FEM4__STATIC; -int32_t FEM6 = FEM6__STATIC; -int32_t FEM6PAD = FEM6PAD__STATIC; -int32_t FEM8 = FEM8__STATIC; -int32_t HELECOPT = HELECOPT__STATIC; -int32_t FETUSJIB = FETUSJIB__STATIC; -int32_t HOLODUKE = HOLODUKE__STATIC; -int32_t SPACEMARINE = SPACEMARINE__STATIC; -int32_t INDY = INDY__STATIC; -int32_t FETUS = FETUS__STATIC; -int32_t FETUSBROKE = FETUSBROKE__STATIC; -int32_t MONK = MONK__STATIC; -int32_t LUKE = LUKE__STATIC; -int32_t COOLEXPLOSION1 = COOLEXPLOSION1__STATIC; -int32_t WATERSPLASH2 = WATERSPLASH2__STATIC; -int32_t FIREVASE = FIREVASE__STATIC; -int32_t SCRATCH = SCRATCH__STATIC; -int32_t FEM7 = FEM7__STATIC; -int32_t APLAYERTOP = APLAYERTOP__STATIC; -int32_t APLAYER = APLAYER__STATIC; -int32_t PLAYERONWATER = PLAYERONWATER__STATIC; -int32_t DUKELYINGDEAD = DUKELYINGDEAD__STATIC; -int32_t DUKETORSO = DUKETORSO__STATIC; -int32_t DUKEGUN = DUKEGUN__STATIC; -int32_t DUKELEG = DUKELEG__STATIC; -int32_t SHARK = SHARK__STATIC; -int32_t BLOOD = BLOOD__STATIC; -int32_t FIRELASER = FIRELASER__STATIC; -int32_t TRANSPORTERSTAR = TRANSPORTERSTAR__STATIC; -int32_t SPIT = SPIT__STATIC; -int32_t LOOGIE = LOOGIE__STATIC; -int32_t FIST = FIST__STATIC; -int32_t FREEZEBLAST = FREEZEBLAST__STATIC; -int32_t DEVISTATORBLAST = DEVISTATORBLAST__STATIC; -int32_t SHRINKSPARK = SHRINKSPARK__STATIC; -int32_t TONGUE = TONGUE__STATIC; -int32_t MORTER = MORTER__STATIC; -int32_t SHRINKEREXPLOSION = SHRINKEREXPLOSION__STATIC; -int32_t RADIUSEXPLOSION = RADIUSEXPLOSION__STATIC; -int32_t FORCERIPPLE = FORCERIPPLE__STATIC; -int32_t LIZTROOP = LIZTROOP__STATIC; -int32_t LIZTROOPRUNNING = LIZTROOPRUNNING__STATIC; -int32_t LIZTROOPSTAYPUT = LIZTROOPSTAYPUT__STATIC; -int32_t LIZTOP = LIZTOP__STATIC; -int32_t LIZTROOPSHOOT = LIZTROOPSHOOT__STATIC; -int32_t LIZTROOPJETPACK = LIZTROOPJETPACK__STATIC; -int32_t LIZTROOPDSPRITE = LIZTROOPDSPRITE__STATIC; -int32_t LIZTROOPONTOILET = LIZTROOPONTOILET__STATIC; -int32_t LIZTROOPJUSTSIT = LIZTROOPJUSTSIT__STATIC; -int32_t LIZTROOPDUCKING = LIZTROOPDUCKING__STATIC; -int32_t HEADJIB1 = HEADJIB1__STATIC; -int32_t ARMJIB1 = ARMJIB1__STATIC; -int32_t LEGJIB1 = LEGJIB1__STATIC; -int32_t CANNONBALL = CANNONBALL__STATIC; -int32_t OCTABRAIN = OCTABRAIN__STATIC; -int32_t OCTABRAINSTAYPUT = OCTABRAINSTAYPUT__STATIC; -int32_t OCTATOP = OCTATOP__STATIC; -int32_t OCTADEADSPRITE = OCTADEADSPRITE__STATIC; -int32_t INNERJAW = INNERJAW__STATIC; -int32_t DRONE = DRONE__STATIC; -int32_t EXPLOSION2 = EXPLOSION2__STATIC; -int32_t COMMANDER = COMMANDER__STATIC; -int32_t COMMANDERSTAYPUT = COMMANDERSTAYPUT__STATIC; -int32_t RECON = RECON__STATIC; -int32_t TANK = TANK__STATIC; -int32_t PIGCOP = PIGCOP__STATIC; -int32_t PIGCOPSTAYPUT = PIGCOPSTAYPUT__STATIC; -int32_t PIGCOPDIVE = PIGCOPDIVE__STATIC; -int32_t PIGCOPDEADSPRITE = PIGCOPDEADSPRITE__STATIC; -int32_t PIGTOP = PIGTOP__STATIC; -int32_t LIZMAN = LIZMAN__STATIC; -int32_t LIZMANSTAYPUT = LIZMANSTAYPUT__STATIC; -int32_t LIZMANSPITTING = LIZMANSPITTING__STATIC; -int32_t LIZMANFEEDING = LIZMANFEEDING__STATIC; -int32_t LIZMANJUMP = LIZMANJUMP__STATIC; -int32_t LIZMANDEADSPRITE = LIZMANDEADSPRITE__STATIC; -int32_t FECES = FECES__STATIC; -int32_t LIZMANHEAD1 = LIZMANHEAD1__STATIC; -int32_t LIZMANARM1 = LIZMANARM1__STATIC; -int32_t LIZMANLEG1 = LIZMANLEG1__STATIC; -int32_t EXPLOSION2BOT = EXPLOSION2BOT__STATIC; -int32_t USERWEAPON = USERWEAPON__STATIC; -int32_t HEADERBAR = HEADERBAR__STATIC; -int32_t JIBS1 = JIBS1__STATIC; -int32_t JIBS2 = JIBS2__STATIC; -int32_t JIBS3 = JIBS3__STATIC; -int32_t JIBS4 = JIBS4__STATIC; -int32_t JIBS5 = JIBS5__STATIC; -int32_t BURNING = BURNING__STATIC; -int32_t FIRE = FIRE__STATIC; -int32_t JIBS6 = JIBS6__STATIC; -int32_t BLOODSPLAT1 = BLOODSPLAT1__STATIC; -int32_t BLOODSPLAT3 = BLOODSPLAT3__STATIC; -int32_t BLOODSPLAT2 = BLOODSPLAT2__STATIC; -int32_t BLOODSPLAT4 = BLOODSPLAT4__STATIC; -int32_t OOZ = OOZ__STATIC; -int32_t OOZ2 = OOZ2__STATIC; -int32_t WALLBLOOD1 = WALLBLOOD1__STATIC; -int32_t WALLBLOOD2 = WALLBLOOD2__STATIC; -int32_t WALLBLOOD3 = WALLBLOOD3__STATIC; -int32_t WALLBLOOD4 = WALLBLOOD4__STATIC; -int32_t WALLBLOOD5 = WALLBLOOD5__STATIC; -int32_t WALLBLOOD6 = WALLBLOOD6__STATIC; -int32_t WALLBLOOD7 = WALLBLOOD7__STATIC; -int32_t WALLBLOOD8 = WALLBLOOD8__STATIC; -int32_t BURNING2 = BURNING2__STATIC; -int32_t FIRE2 = FIRE2__STATIC; -int32_t CRACKKNUCKLES = CRACKKNUCKLES__STATIC; -int32_t SMALLSMOKE = SMALLSMOKE__STATIC; -int32_t SMALLSMOKEMAKER = SMALLSMOKEMAKER__STATIC; -int32_t FLOORFLAME = FLOORFLAME__STATIC; -int32_t ROTATEGUN = ROTATEGUN__STATIC; -int32_t GREENSLIME = GREENSLIME__STATIC; -int32_t WATERDRIPSPLASH = WATERDRIPSPLASH__STATIC; -int32_t SCRAP6 = SCRAP6__STATIC; -int32_t SCRAP1 = SCRAP1__STATIC; -int32_t SCRAP2 = SCRAP2__STATIC; -int32_t SCRAP3 = SCRAP3__STATIC; -int32_t SCRAP4 = SCRAP4__STATIC; -int32_t SCRAP5 = SCRAP5__STATIC; -int32_t ORGANTIC = ORGANTIC__STATIC; -int32_t BETAVERSION = BETAVERSION__STATIC; -int32_t PLAYERISHERE = PLAYERISHERE__STATIC; -int32_t PLAYERWASHERE = PLAYERWASHERE__STATIC; -int32_t SELECTDIR = SELECTDIR__STATIC; -int32_t F1HELP = F1HELP__STATIC; -int32_t NOTCHON = NOTCHON__STATIC; -int32_t NOTCHOFF = NOTCHOFF__STATIC; -int32_t GROWSPARK = GROWSPARK__STATIC; -int32_t DUKEICON = DUKEICON__STATIC; -int32_t BADGUYICON = BADGUYICON__STATIC; -int32_t FOODICON = FOODICON__STATIC; -int32_t GETICON = GETICON__STATIC; -int32_t MENUSCREEN = MENUSCREEN__STATIC; -int32_t MENUBAR = MENUBAR__STATIC; -int32_t KILLSICON = KILLSICON__STATIC; -int32_t FIRSTAID_ICON = FIRSTAID_ICON__STATIC; -int32_t HEAT_ICON = HEAT_ICON__STATIC; -int32_t BOTTOMSTATUSBAR = BOTTOMSTATUSBAR__STATIC; -int32_t BOOT_ICON = BOOT_ICON__STATIC; -int32_t FRAGBAR = FRAGBAR__STATIC; -int32_t JETPACK_ICON = JETPACK_ICON__STATIC; -int32_t AIRTANK_ICON = AIRTANK_ICON__STATIC; -int32_t STEROIDS_ICON = STEROIDS_ICON__STATIC; -int32_t HOLODUKE_ICON = HOLODUKE_ICON__STATIC; -int32_t ACCESS_ICON = ACCESS_ICON__STATIC; -int32_t DIGITALNUM = DIGITALNUM__STATIC; -int32_t DUKECAR = DUKECAR__STATIC; -int32_t CAMCORNER = CAMCORNER__STATIC; -int32_t CAMLIGHT = CAMLIGHT__STATIC; -int32_t LOGO = LOGO__STATIC; -int32_t TITLE = TITLE__STATIC; -int32_t NUKEWARNINGICON = NUKEWARNINGICON__STATIC; -int32_t MOUSECURSOR = MOUSECURSOR__STATIC; -int32_t SLIDEBAR = SLIDEBAR__STATIC; -int32_t DREALMS = DREALMS__STATIC; -int32_t BETASCREEN = BETASCREEN__STATIC; -int32_t WINDOWBORDER1 = WINDOWBORDER1__STATIC; -int32_t TEXTBOX = TEXTBOX__STATIC; -int32_t WINDOWBORDER2 = WINDOWBORDER2__STATIC; -int32_t DUKENUKEM = DUKENUKEM__STATIC; -int32_t THREEDEE = THREEDEE__STATIC; -int32_t INGAMEDUKETHREEDEE = INGAMEDUKETHREEDEE__STATIC; -int32_t TENSCREEN = TENSCREEN__STATIC; -int32_t PLUTOPAKSPRITE = PLUTOPAKSPRITE__STATIC; -int32_t DEVISTATOR = DEVISTATOR__STATIC; -int32_t KNEE = KNEE__STATIC; -int32_t CROSSHAIR = CROSSHAIR__STATIC; -int32_t FIRSTGUN = FIRSTGUN__STATIC; -int32_t FIRSTGUNRELOAD = FIRSTGUNRELOAD__STATIC; -int32_t FALLINGCLIP = FALLINGCLIP__STATIC; -int32_t CLIPINHAND = CLIPINHAND__STATIC; -int32_t HAND = HAND__STATIC; -int32_t SHELL = SHELL__STATIC; -int32_t SHOTGUNSHELL = SHOTGUNSHELL__STATIC; -int32_t CHAINGUN = CHAINGUN__STATIC; -int32_t RPGGUN = RPGGUN__STATIC; -int32_t RPGMUZZLEFLASH = RPGMUZZLEFLASH__STATIC; -int32_t FREEZE = FREEZE__STATIC; -int32_t CATLITE = CATLITE__STATIC; -int32_t SHRINKER = SHRINKER__STATIC; -int32_t HANDHOLDINGLASER = HANDHOLDINGLASER__STATIC; -int32_t TRIPBOMB = TRIPBOMB__STATIC; -int32_t LASERLINE = LASERLINE__STATIC; -int32_t HANDHOLDINGACCESS = HANDHOLDINGACCESS__STATIC; -int32_t HANDREMOTE = HANDREMOTE__STATIC; -int32_t HANDTHROW = HANDTHROW__STATIC; -int32_t TIP = TIP__STATIC; -int32_t GLAIR = GLAIR__STATIC; -int32_t SCUBAMASK = SCUBAMASK__STATIC; -int32_t SPACEMASK = SPACEMASK__STATIC; -int32_t FORCESPHERE = FORCESPHERE__STATIC; -int32_t SHOTSPARK1 = SHOTSPARK1__STATIC; -int32_t RPG = RPG__STATIC; -int32_t LASERSITE = LASERSITE__STATIC; -int32_t SHOTGUN = SHOTGUN__STATIC; -int32_t BOSS1 = BOSS1__STATIC; -int32_t BOSS1STAYPUT = BOSS1STAYPUT__STATIC; -int32_t BOSS1SHOOT = BOSS1SHOOT__STATIC; -int32_t BOSS1LOB = BOSS1LOB__STATIC; -int32_t BOSSTOP = BOSSTOP__STATIC; -int32_t BOSS2 = BOSS2__STATIC; -int32_t BOSS3 = BOSS3__STATIC; -int32_t SPINNINGNUKEICON = SPINNINGNUKEICON__STATIC; -int32_t BIGFNTCURSOR = BIGFNTCURSOR__STATIC; -int32_t SMALLFNTCURSOR = SMALLFNTCURSOR__STATIC; -int32_t STARTALPHANUM = STARTALPHANUM__STATIC; -int32_t ENDALPHANUM = ENDALPHANUM__STATIC; -int32_t BIGALPHANUM = BIGALPHANUM__STATIC; -int32_t BIGPERIOD = BIGPERIOD__STATIC; -int32_t BIGCOMMA = BIGCOMMA__STATIC; +int32_t TILE_SECTOREFFECTOR = SECTOREFFECTOR__STATIC; +int32_t TILE_ACTIVATOR = ACTIVATOR__STATIC; +int32_t TILE_TOUCHPLATE = TOUCHPLATE__STATIC; +int32_t TILE_ACTIVATORLOCKED = ACTIVATORLOCKED__STATIC; +int32_t TILE_MUSICANDSFX = MUSICANDSFX__STATIC; +int32_t TILE_LOCATORS = LOCATORS__STATIC; +int32_t TILE_CYCLER = CYCLER__STATIC; +int32_t TILE_MASTERSWITCH = MASTERSWITCH__STATIC; +int32_t TILE_RESPAWN = RESPAWN__STATIC; +int32_t TILE_GPSPEED = GPSPEED__STATIC; +int32_t TILE_FOF = FOF__STATIC; +int32_t TILE_ARROW = ARROW__STATIC; +int32_t TILE_FIRSTGUNSPRITE = FIRSTGUNSPRITE__STATIC; +int32_t TILE_CHAINGUNSPRITE = CHAINGUNSPRITE__STATIC; +int32_t TILE_RPGSPRITE = RPGSPRITE__STATIC; +int32_t TILE_FREEZESPRITE = FREEZESPRITE__STATIC; +int32_t TILE_SHRINKERSPRITE = SHRINKERSPRITE__STATIC; +int32_t TILE_HEAVYHBOMB = HEAVYHBOMB__STATIC; +int32_t TILE_TRIPBOMBSPRITE = TRIPBOMBSPRITE__STATIC; +int32_t TILE_SHOTGUNSPRITE = SHOTGUNSPRITE__STATIC; +int32_t TILE_DEVISTATORSPRITE = DEVISTATORSPRITE__STATIC; +int32_t TILE_HEALTHBOX = HEALTHBOX__STATIC; +int32_t TILE_AMMOBOX = AMMOBOX__STATIC; +int32_t TILE_GROWSPRITEICON = GROWSPRITEICON__STATIC; +int32_t TILE_INVENTORYBOX = INVENTORYBOX__STATIC; +int32_t TILE_FREEZEAMMO = FREEZEAMMO__STATIC; +int32_t TILE_AMMO = AMMO__STATIC; +int32_t TILE_BATTERYAMMO = BATTERYAMMO__STATIC; +int32_t TILE_DEVISTATORAMMO = DEVISTATORAMMO__STATIC; +int32_t TILE_RPGAMMO = RPGAMMO__STATIC; +int32_t TILE_GROWAMMO = GROWAMMO__STATIC; +int32_t TILE_CRYSTALAMMO = CRYSTALAMMO__STATIC; +int32_t TILE_HBOMBAMMO = HBOMBAMMO__STATIC; +int32_t TILE_AMMOLOTS = AMMOLOTS__STATIC; +int32_t TILE_SHOTGUNAMMO = SHOTGUNAMMO__STATIC; +int32_t TILE_COLA = COLA__STATIC; +int32_t TILE_SIXPAK = SIXPAK__STATIC; +int32_t TILE_FIRSTAID = FIRSTAID__STATIC; +int32_t TILE_SHIELD = SHIELD__STATIC; +int32_t TILE_STEROIDS = STEROIDS__STATIC; +int32_t TILE_AIRTANK = AIRTANK__STATIC; +int32_t TILE_JETPACK = JETPACK__STATIC; +int32_t TILE_HEATSENSOR = HEATSENSOR__STATIC; +int32_t TILE_ACCESSCARD = ACCESSCARD__STATIC; +int32_t TILE_BOOTS = BOOTS__STATIC; +int32_t TILE_MIRRORBROKE = MIRRORBROKE__STATIC; +int32_t TILE_CLOUDYOCEAN = CLOUDYOCEAN__STATIC; +int32_t TILE_CLOUDYSKIES = CLOUDYSKIES__STATIC; +int32_t TILE_MOONSKY1 = MOONSKY1__STATIC; +int32_t TILE_MOONSKY2 = MOONSKY2__STATIC; +int32_t TILE_MOONSKY3 = MOONSKY3__STATIC; +int32_t TILE_MOONSKY4 = MOONSKY4__STATIC; +int32_t TILE_BIGORBIT1 = BIGORBIT1__STATIC; +int32_t TILE_BIGORBIT2 = BIGORBIT2__STATIC; +int32_t TILE_BIGORBIT3 = BIGORBIT3__STATIC; +int32_t TILE_BIGORBIT4 = BIGORBIT4__STATIC; +int32_t TILE_BIGORBIT5 = BIGORBIT5__STATIC; +int32_t TILE_LA = LA__STATIC; +int32_t TILE_REDSKY1 = REDSKY1__STATIC; +int32_t TILE_REDSKY2 = REDSKY2__STATIC; +int32_t TILE_ATOMICHEALTH = ATOMICHEALTH__STATIC; +int32_t TILE_TECHLIGHT2 = TECHLIGHT2__STATIC; +int32_t TILE_TECHLIGHTBUST2 = TECHLIGHTBUST2__STATIC; +int32_t TILE_TECHLIGHT4 = TECHLIGHT4__STATIC; +int32_t TILE_TECHLIGHTBUST4 = TECHLIGHTBUST4__STATIC; +int32_t TILE_WALLLIGHT4 = WALLLIGHT4__STATIC; +int32_t TILE_WALLLIGHTBUST4 = WALLLIGHTBUST4__STATIC; +int32_t TILE_ACCESSSWITCH = ACCESSSWITCH__STATIC; +int32_t TILE_SLOTDOOR = SLOTDOOR__STATIC; +int32_t TILE_LIGHTSWITCH = LIGHTSWITCH__STATIC; +int32_t TILE_SPACEDOORSWITCH = SPACEDOORSWITCH__STATIC; +int32_t TILE_SPACELIGHTSWITCH = SPACELIGHTSWITCH__STATIC; +int32_t TILE_FRANKENSTINESWITCH = FRANKENSTINESWITCH__STATIC; +int32_t TILE_NUKEBUTTON = NUKEBUTTON__STATIC; +int32_t TILE_MULTISWITCH = MULTISWITCH__STATIC; +int32_t TILE_DOORTILE5 = DOORTILE5__STATIC; +int32_t TILE_DOORTILE6 = DOORTILE6__STATIC; +int32_t TILE_DOORTILE1 = DOORTILE1__STATIC; +int32_t TILE_DOORTILE2 = DOORTILE2__STATIC; +int32_t TILE_DOORTILE3 = DOORTILE3__STATIC; +int32_t TILE_DOORTILE4 = DOORTILE4__STATIC; +int32_t TILE_DOORTILE7 = DOORTILE7__STATIC; +int32_t TILE_DOORTILE8 = DOORTILE8__STATIC; +int32_t TILE_DOORTILE9 = DOORTILE9__STATIC; +int32_t TILE_DOORTILE10 = DOORTILE10__STATIC; +int32_t TILE_DOORSHOCK = DOORSHOCK__STATIC; +int32_t TILE_DIPSWITCH = DIPSWITCH__STATIC; +int32_t TILE_DIPSWITCH2 = DIPSWITCH2__STATIC; +int32_t TILE_TECHSWITCH = TECHSWITCH__STATIC; +int32_t TILE_DIPSWITCH3 = DIPSWITCH3__STATIC; +int32_t TILE_ACCESSSWITCH2 = ACCESSSWITCH2__STATIC; +int32_t TILE_REFLECTWATERTILE = REFLECTWATERTILE__STATIC; +int32_t TILE_FLOORSLIME = FLOORSLIME__STATIC; +int32_t TILE_BIGFORCE = BIGFORCE__STATIC; +int32_t TILE_EPISODE = EPISODE__STATIC; +int32_t TILE_MASKWALL9 = MASKWALL9__STATIC; +int32_t TILE_W_LIGHT = W_LIGHT__STATIC; +int32_t TILE_SCREENBREAK1 = SCREENBREAK1__STATIC; +int32_t TILE_SCREENBREAK2 = SCREENBREAK2__STATIC; +int32_t TILE_SCREENBREAK3 = SCREENBREAK3__STATIC; +int32_t TILE_SCREENBREAK4 = SCREENBREAK4__STATIC; +int32_t TILE_SCREENBREAK5 = SCREENBREAK5__STATIC; +int32_t TILE_SCREENBREAK6 = SCREENBREAK6__STATIC; +int32_t TILE_SCREENBREAK7 = SCREENBREAK7__STATIC; +int32_t TILE_SCREENBREAK8 = SCREENBREAK8__STATIC; +int32_t TILE_SCREENBREAK9 = SCREENBREAK9__STATIC; +int32_t TILE_SCREENBREAK10 = SCREENBREAK10__STATIC; +int32_t TILE_SCREENBREAK11 = SCREENBREAK11__STATIC; +int32_t TILE_SCREENBREAK12 = SCREENBREAK12__STATIC; +int32_t TILE_SCREENBREAK13 = SCREENBREAK13__STATIC; +int32_t TILE_MASKWALL1 = MASKWALL1__STATIC; +int32_t TILE_W_TECHWALL1 = W_TECHWALL1__STATIC; +int32_t TILE_W_TECHWALL2 = W_TECHWALL2__STATIC; +int32_t TILE_W_TECHWALL15 = W_TECHWALL15__STATIC; +int32_t TILE_W_TECHWALL3 = W_TECHWALL3__STATIC; +int32_t TILE_W_TECHWALL4 = W_TECHWALL4__STATIC; +int32_t TILE_W_TECHWALL10 = W_TECHWALL10__STATIC; +int32_t TILE_W_TECHWALL16 = W_TECHWALL16__STATIC; +int32_t TILE_WATERTILE2 = WATERTILE2__STATIC; +int32_t TILE_BPANNEL1 = BPANNEL1__STATIC; +int32_t TILE_PANNEL1 = PANNEL1__STATIC; +int32_t TILE_PANNEL2 = PANNEL2__STATIC; +int32_t TILE_WATERTILE = WATERTILE__STATIC; +int32_t TILE_STATIC = STATIC__STATIC; +int32_t TILE_W_SCREENBREAK = W_SCREENBREAK__STATIC; +int32_t TILE_W_HITTECHWALL3 = W_HITTECHWALL3__STATIC; +int32_t TILE_W_HITTECHWALL4 = W_HITTECHWALL4__STATIC; +int32_t TILE_W_HITTECHWALL2 = W_HITTECHWALL2__STATIC; +int32_t TILE_W_HITTECHWALL1 = W_HITTECHWALL1__STATIC; +int32_t TILE_MASKWALL10 = MASKWALL10__STATIC; +int32_t TILE_MASKWALL11 = MASKWALL11__STATIC; +int32_t TILE_DOORTILE22 = DOORTILE22__STATIC; +int32_t TILE_FANSPRITE = FANSPRITE__STATIC; +int32_t TILE_FANSPRITEBROKE = FANSPRITEBROKE__STATIC; +int32_t TILE_FANSHADOW = FANSHADOW__STATIC; +int32_t TILE_FANSHADOWBROKE = FANSHADOWBROKE__STATIC; +int32_t TILE_DOORTILE18 = DOORTILE18__STATIC; +int32_t TILE_DOORTILE19 = DOORTILE19__STATIC; +int32_t TILE_DOORTILE20 = DOORTILE20__STATIC; +int32_t TILE_SATELLITE = SATELLITE__STATIC; +int32_t TILE_VIEWSCREEN2 = VIEWSCREEN2__STATIC; +int32_t TILE_VIEWSCREENBROKE = VIEWSCREENBROKE__STATIC; +int32_t TILE_VIEWSCREEN = VIEWSCREEN__STATIC; +int32_t TILE_GLASS = GLASS__STATIC; +int32_t TILE_GLASS2 = GLASS2__STATIC; +int32_t TILE_STAINGLASS1 = STAINGLASS1__STATIC; +int32_t TILE_MASKWALL5 = MASKWALL5__STATIC; +int32_t TILE_SATELITE = SATELITE__STATIC; +int32_t TILE_FUELPOD = FUELPOD__STATIC; +int32_t TILE_SLIMEPIPE = SLIMEPIPE__STATIC; +int32_t TILE_CRACK1 = CRACK1__STATIC; +int32_t TILE_CRACK2 = CRACK2__STATIC; +int32_t TILE_CRACK3 = CRACK3__STATIC; +int32_t TILE_CRACK4 = CRACK4__STATIC; +int32_t TILE_FOOTPRINTS = FOOTPRINTS__STATIC; +int32_t TILE_DOMELITE = DOMELITE__STATIC; +int32_t TILE_CAMERAPOLE = CAMERAPOLE__STATIC; +int32_t TILE_CHAIR1 = CHAIR1__STATIC; +int32_t TILE_CHAIR2 = CHAIR2__STATIC; +int32_t TILE_BROKENCHAIR = BROKENCHAIR__STATIC; +int32_t TILE_MIRROR = MIRROR__STATIC; +int32_t TILE_WATERFOUNTAIN = WATERFOUNTAIN__STATIC; +int32_t TILE_WATERFOUNTAINBROKE = WATERFOUNTAINBROKE__STATIC; +int32_t TILE_FEMMAG1 = FEMMAG1__STATIC; +int32_t TILE_TOILET = TOILET__STATIC; +int32_t TILE_STALL = STALL__STATIC; +int32_t TILE_STALLBROKE = STALLBROKE__STATIC; +int32_t TILE_FEMMAG2 = FEMMAG2__STATIC; +int32_t TILE_REACTOR2 = REACTOR2__STATIC; +int32_t TILE_REACTOR2BURNT = REACTOR2BURNT__STATIC; +int32_t TILE_REACTOR2SPARK = REACTOR2SPARK__STATIC; +int32_t TILE_GRATE1 = GRATE1__STATIC; +int32_t TILE_BGRATE1 = BGRATE1__STATIC; +int32_t TILE_SOLARPANNEL = SOLARPANNEL__STATIC; +int32_t TILE_NAKED1 = NAKED1__STATIC; +int32_t TILE_ANTENNA = ANTENNA__STATIC; +int32_t TILE_MASKWALL12 = MASKWALL12__STATIC; +int32_t TILE_TOILETBROKE = TOILETBROKE__STATIC; +int32_t TILE_PIPE2 = PIPE2__STATIC; +int32_t TILE_PIPE1B = PIPE1B__STATIC; +int32_t TILE_PIPE3 = PIPE3__STATIC; +int32_t TILE_PIPE1 = PIPE1__STATIC; +int32_t TILE_CAMERA1 = CAMERA1__STATIC; +int32_t TILE_BRICK = BRICK__STATIC; +int32_t TILE_SPLINTERWOOD = SPLINTERWOOD__STATIC; +int32_t TILE_PIPE2B = PIPE2B__STATIC; +int32_t TILE_BOLT1 = BOLT1__STATIC; +int32_t TILE_W_NUMBERS = W_NUMBERS__STATIC; +int32_t TILE_WATERDRIP = WATERDRIP__STATIC; +int32_t TILE_WATERBUBBLE = WATERBUBBLE__STATIC; +int32_t TILE_WATERBUBBLEMAKER = WATERBUBBLEMAKER__STATIC; +int32_t TILE_W_FORCEFIELD = W_FORCEFIELD__STATIC; +int32_t TILE_VACUUM = VACUUM__STATIC; +int32_t TILE_FOOTPRINTS2 = FOOTPRINTS2__STATIC; +int32_t TILE_FOOTPRINTS3 = FOOTPRINTS3__STATIC; +int32_t TILE_FOOTPRINTS4 = FOOTPRINTS4__STATIC; +int32_t TILE_EGG = EGG__STATIC; +int32_t TILE_SCALE = SCALE__STATIC; +int32_t TILE_CHAIR3 = CHAIR3__STATIC; +int32_t TILE_CAMERALIGHT = CAMERALIGHT__STATIC; +int32_t TILE_MOVIECAMERA = MOVIECAMERA__STATIC; +int32_t TILE_IVUNIT = IVUNIT__STATIC; +int32_t TILE_POT1 = POT1__STATIC; +int32_t TILE_POT2 = POT2__STATIC; +int32_t TILE_POT3 = POT3__STATIC; +int32_t TILE_PIPE3B = PIPE3B__STATIC; +int32_t TILE_WALLLIGHT3 = WALLLIGHT3__STATIC; +int32_t TILE_WALLLIGHTBUST3 = WALLLIGHTBUST3__STATIC; +int32_t TILE_WALLLIGHT1 = WALLLIGHT1__STATIC; +int32_t TILE_WALLLIGHTBUST1 = WALLLIGHTBUST1__STATIC; +int32_t TILE_WALLLIGHT2 = WALLLIGHT2__STATIC; +int32_t TILE_WALLLIGHTBUST2 = WALLLIGHTBUST2__STATIC; +int32_t TILE_LIGHTSWITCH2 = LIGHTSWITCH2__STATIC; +int32_t TILE_WAITTOBESEATED = WAITTOBESEATED__STATIC; +int32_t TILE_DOORTILE14 = DOORTILE14__STATIC; +int32_t TILE_STATUE = STATUE__STATIC; +int32_t TILE_MIKE = MIKE__STATIC; +int32_t TILE_VASE = VASE__STATIC; +int32_t TILE_SUSHIPLATE1 = SUSHIPLATE1__STATIC; +int32_t TILE_SUSHIPLATE2 = SUSHIPLATE2__STATIC; +int32_t TILE_SUSHIPLATE3 = SUSHIPLATE3__STATIC; +int32_t TILE_SUSHIPLATE4 = SUSHIPLATE4__STATIC; +int32_t TILE_DOORTILE16 = DOORTILE16__STATIC; +int32_t TILE_SUSHIPLATE5 = SUSHIPLATE5__STATIC; +int32_t TILE_OJ = OJ__STATIC; +int32_t TILE_MASKWALL13 = MASKWALL13__STATIC; +int32_t TILE_HURTRAIL = HURTRAIL__STATIC; +int32_t TILE_POWERSWITCH1 = POWERSWITCH1__STATIC; +int32_t TILE_LOCKSWITCH1 = LOCKSWITCH1__STATIC; +int32_t TILE_POWERSWITCH2 = POWERSWITCH2__STATIC; +int32_t TILE_ATM = ATM__STATIC; +int32_t TILE_STATUEFLASH = STATUEFLASH__STATIC; +int32_t TILE_ATMBROKE = ATMBROKE__STATIC; +int32_t TILE_BIGHOLE2 = BIGHOLE2__STATIC; +int32_t TILE_STRIPEBALL = STRIPEBALL__STATIC; +int32_t TILE_QUEBALL = QUEBALL__STATIC; +int32_t TILE_POCKET = POCKET__STATIC; +int32_t TILE_WOODENHORSE = WOODENHORSE__STATIC; +int32_t TILE_TREE1 = TREE1__STATIC; +int32_t TILE_TREE2 = TREE2__STATIC; +int32_t TILE_CACTUS = CACTUS__STATIC; +int32_t TILE_MASKWALL2 = MASKWALL2__STATIC; +int32_t TILE_MASKWALL3 = MASKWALL3__STATIC; +int32_t TILE_MASKWALL4 = MASKWALL4__STATIC; +int32_t TILE_FIREEXT = FIREEXT__STATIC; +int32_t TILE_TOILETWATER = TOILETWATER__STATIC; +int32_t TILE_NEON1 = NEON1__STATIC; +int32_t TILE_NEON2 = NEON2__STATIC; +int32_t TILE_CACTUSBROKE = CACTUSBROKE__STATIC; +int32_t TILE_BOUNCEMINE = BOUNCEMINE__STATIC; +int32_t TILE_BROKEFIREHYDRENT = BROKEFIREHYDRENT__STATIC; +int32_t TILE_BOX = BOX__STATIC; +int32_t TILE_BULLETHOLE = BULLETHOLE__STATIC; +int32_t TILE_BOTTLE1 = BOTTLE1__STATIC; +int32_t TILE_BOTTLE2 = BOTTLE2__STATIC; +int32_t TILE_BOTTLE3 = BOTTLE3__STATIC; +int32_t TILE_BOTTLE4 = BOTTLE4__STATIC; +int32_t TILE_FEMPIC5 = FEMPIC5__STATIC; +int32_t TILE_FEMPIC6 = FEMPIC6__STATIC; +int32_t TILE_FEMPIC7 = FEMPIC7__STATIC; +int32_t TILE_HYDROPLANT = HYDROPLANT__STATIC; +int32_t TILE_OCEANSPRITE1 = OCEANSPRITE1__STATIC; +int32_t TILE_OCEANSPRITE2 = OCEANSPRITE2__STATIC; +int32_t TILE_OCEANSPRITE3 = OCEANSPRITE3__STATIC; +int32_t TILE_OCEANSPRITE4 = OCEANSPRITE4__STATIC; +int32_t TILE_OCEANSPRITE5 = OCEANSPRITE5__STATIC; +int32_t TILE_GENERICPOLE = GENERICPOLE__STATIC; +int32_t TILE_CONE = CONE__STATIC; +int32_t TILE_HANGLIGHT = HANGLIGHT__STATIC; +int32_t TILE_HYDRENT = HYDRENT__STATIC; +int32_t TILE_MASKWALL14 = MASKWALL14__STATIC; +int32_t TILE_TIRE = TIRE__STATIC; +int32_t TILE_PIPE5 = PIPE5__STATIC; +int32_t TILE_PIPE6 = PIPE6__STATIC; +int32_t TILE_PIPE4 = PIPE4__STATIC; +int32_t TILE_PIPE4B = PIPE4B__STATIC; +int32_t TILE_BROKEHYDROPLANT = BROKEHYDROPLANT__STATIC; +int32_t TILE_PIPE5B = PIPE5B__STATIC; +int32_t TILE_NEON3 = NEON3__STATIC; +int32_t TILE_NEON4 = NEON4__STATIC; +int32_t TILE_NEON5 = NEON5__STATIC; +int32_t TILE_BOTTLE5 = BOTTLE5__STATIC; +int32_t TILE_BOTTLE6 = BOTTLE6__STATIC; +int32_t TILE_BOTTLE8 = BOTTLE8__STATIC; +int32_t TILE_SPOTLITE = SPOTLITE__STATIC; +int32_t TILE_HANGOOZ = HANGOOZ__STATIC; +int32_t TILE_MASKWALL15 = MASKWALL15__STATIC; +int32_t TILE_BOTTLE7 = BOTTLE7__STATIC; +int32_t TILE_HORSEONSIDE = HORSEONSIDE__STATIC; +int32_t TILE_GLASSPIECES = GLASSPIECES__STATIC; +int32_t TILE_HORSELITE = HORSELITE__STATIC; +int32_t TILE_DONUTS = DONUTS__STATIC; +int32_t TILE_NEON6 = NEON6__STATIC; +int32_t TILE_MASKWALL6 = MASKWALL6__STATIC; +int32_t TILE_CLOCK = CLOCK__STATIC; +int32_t TILE_RUBBERCAN = RUBBERCAN__STATIC; +int32_t TILE_BROKENCLOCK = BROKENCLOCK__STATIC; +int32_t TILE_PLUG = PLUG__STATIC; +int32_t TILE_OOZFILTER = OOZFILTER__STATIC; +int32_t TILE_FLOORPLASMA = FLOORPLASMA__STATIC; +int32_t TILE_REACTOR = REACTOR__STATIC; +int32_t TILE_REACTORSPARK = REACTORSPARK__STATIC; +int32_t TILE_REACTORBURNT = REACTORBURNT__STATIC; +int32_t TILE_DOORTILE15 = DOORTILE15__STATIC; +int32_t TILE_HANDSWITCH = HANDSWITCH__STATIC; +int32_t TILE_CIRCLEPANNEL = CIRCLEPANNEL__STATIC; +int32_t TILE_CIRCLEPANNELBROKE = CIRCLEPANNELBROKE__STATIC; +int32_t TILE_PULLSWITCH = PULLSWITCH__STATIC; +int32_t TILE_MASKWALL8 = MASKWALL8__STATIC; +int32_t TILE_BIGHOLE = BIGHOLE__STATIC; +int32_t TILE_ALIENSWITCH = ALIENSWITCH__STATIC; +int32_t TILE_DOORTILE21 = DOORTILE21__STATIC; +int32_t TILE_HANDPRINTSWITCH = HANDPRINTSWITCH__STATIC; +int32_t TILE_BOTTLE10 = BOTTLE10__STATIC; +int32_t TILE_BOTTLE11 = BOTTLE11__STATIC; +int32_t TILE_BOTTLE12 = BOTTLE12__STATIC; +int32_t TILE_BOTTLE13 = BOTTLE13__STATIC; +int32_t TILE_BOTTLE14 = BOTTLE14__STATIC; +int32_t TILE_BOTTLE15 = BOTTLE15__STATIC; +int32_t TILE_BOTTLE16 = BOTTLE16__STATIC; +int32_t TILE_BOTTLE17 = BOTTLE17__STATIC; +int32_t TILE_BOTTLE18 = BOTTLE18__STATIC; +int32_t TILE_BOTTLE19 = BOTTLE19__STATIC; +int32_t TILE_DOORTILE17 = DOORTILE17__STATIC; +int32_t TILE_MASKWALL7 = MASKWALL7__STATIC; +int32_t TILE_JAILBARBREAK = JAILBARBREAK__STATIC; +int32_t TILE_DOORTILE11 = DOORTILE11__STATIC; +int32_t TILE_DOORTILE12 = DOORTILE12__STATIC; +int32_t TILE_VENDMACHINE = VENDMACHINE__STATIC; +int32_t TILE_VENDMACHINEBROKE = VENDMACHINEBROKE__STATIC; +int32_t TILE_COLAMACHINE = COLAMACHINE__STATIC; +int32_t TILE_COLAMACHINEBROKE = COLAMACHINEBROKE__STATIC; +int32_t TILE_CRANEPOLE = CRANEPOLE__STATIC; +int32_t TILE_CRANE = CRANE__STATIC; +int32_t TILE_BARBROKE = BARBROKE__STATIC; +int32_t TILE_BLOODPOOL = BLOODPOOL__STATIC; +int32_t TILE_NUKEBARREL = NUKEBARREL__STATIC; +int32_t TILE_NUKEBARRELDENTED = NUKEBARRELDENTED__STATIC; +int32_t TILE_NUKEBARRELLEAKED = NUKEBARRELLEAKED__STATIC; +int32_t TILE_CANWITHSOMETHING = CANWITHSOMETHING__STATIC; +int32_t TILE_MONEY = MONEY__STATIC; +int32_t TILE_BANNER = BANNER__STATIC; +int32_t TILE_EXPLODINGBARREL = EXPLODINGBARREL__STATIC; +int32_t TILE_EXPLODINGBARREL2 = EXPLODINGBARREL2__STATIC; +int32_t TILE_FIREBARREL = FIREBARREL__STATIC; +int32_t TILE_SEENINE = SEENINE__STATIC; +int32_t TILE_SEENINEDEAD = SEENINEDEAD__STATIC; +int32_t TILE_STEAM = STEAM__STATIC; +int32_t TILE_CEILINGSTEAM = CEILINGSTEAM__STATIC; +int32_t TILE_PIPE6B = PIPE6B__STATIC; +int32_t TILE_TRANSPORTERBEAM = TRANSPORTERBEAM__STATIC; +int32_t TILE_RAT = RAT__STATIC; +int32_t TILE_TRASH = TRASH__STATIC; +int32_t TILE_FEMPIC1 = FEMPIC1__STATIC; +int32_t TILE_FEMPIC2 = FEMPIC2__STATIC; +int32_t TILE_BLANKSCREEN = BLANKSCREEN__STATIC; +int32_t TILE_PODFEM1 = PODFEM1__STATIC; +int32_t TILE_FEMPIC3 = FEMPIC3__STATIC; +int32_t TILE_FEMPIC4 = FEMPIC4__STATIC; +int32_t TILE_FEM1 = FEM1__STATIC; +int32_t TILE_FEM2 = FEM2__STATIC; +int32_t TILE_FEM3 = FEM3__STATIC; +int32_t TILE_FEM5 = FEM5__STATIC; +int32_t TILE_BLOODYPOLE = BLOODYPOLE__STATIC; +int32_t TILE_FEM4 = FEM4__STATIC; +int32_t TILE_FEM6 = FEM6__STATIC; +int32_t TILE_FEM6PAD = FEM6PAD__STATIC; +int32_t TILE_FEM8 = FEM8__STATIC; +int32_t TILE_HELECOPT = HELECOPT__STATIC; +int32_t TILE_FETUSJIB = FETUSJIB__STATIC; +int32_t TILE_HOLODUKE = HOLODUKE__STATIC; +int32_t TILE_SPACEMARINE = SPACEMARINE__STATIC; +int32_t TILE_INDY = INDY__STATIC; +int32_t TILE_FETUS = FETUS__STATIC; +int32_t TILE_FETUSBROKE = FETUSBROKE__STATIC; +int32_t TILE_MONK = MONK__STATIC; +int32_t TILE_LUKE = LUKE__STATIC; +int32_t TILE_COOLEXPLOSION1 = COOLEXPLOSION1__STATIC; +int32_t TILE_WATERSPLASH2 = WATERSPLASH2__STATIC; +int32_t TILE_FIREVASE = FIREVASE__STATIC; +int32_t TILE_SCRATCH = SCRATCH__STATIC; +int32_t TILE_FEM7 = FEM7__STATIC; +int32_t TILE_APLAYERTOP = APLAYERTOP__STATIC; +int32_t TILE_APLAYER = APLAYER__STATIC; +int32_t TILE_PLAYERONWATER = PLAYERONWATER__STATIC; +int32_t TILE_DUKELYINGDEAD = DUKELYINGDEAD__STATIC; +int32_t TILE_DUKETORSO = DUKETORSO__STATIC; +int32_t TILE_DUKEGUN = DUKEGUN__STATIC; +int32_t TILE_DUKELEG = DUKELEG__STATIC; +int32_t TILE_SHARK = SHARK__STATIC; +int32_t TILE_BLOOD = BLOOD__STATIC; +int32_t TILE_FIRELASER = FIRELASER__STATIC; +int32_t TILE_TRANSPORTERSTAR = TRANSPORTERSTAR__STATIC; +int32_t TILE_SPIT = SPIT__STATIC; +int32_t TILE_LOOGIE = LOOGIE__STATIC; +int32_t TILE_FIST = FIST__STATIC; +int32_t TILE_FREEZEBLAST = FREEZEBLAST__STATIC; +int32_t TILE_DEVISTATORBLAST = DEVISTATORBLAST__STATIC; +int32_t TILE_SHRINKSPARK = SHRINKSPARK__STATIC; +int32_t TILE_TONGUE = TONGUE__STATIC; +int32_t TILE_MORTER = MORTER__STATIC; +int32_t TILE_SHRINKEREXPLOSION = SHRINKEREXPLOSION__STATIC; +int32_t TILE_RADIUSEXPLOSION = RADIUSEXPLOSION__STATIC; +int32_t TILE_FORCERIPPLE = FORCERIPPLE__STATIC; +int32_t TILE_LIZTROOP = LIZTROOP__STATIC; +int32_t TILE_LIZTROOPRUNNING = LIZTROOPRUNNING__STATIC; +int32_t TILE_LIZTROOPSTAYPUT = LIZTROOPSTAYPUT__STATIC; +int32_t TILE_LIZTOP = LIZTOP__STATIC; +int32_t TILE_LIZTROOPSHOOT = LIZTROOPSHOOT__STATIC; +int32_t TILE_LIZTROOPJETPACK = LIZTROOPJETPACK__STATIC; +int32_t TILE_LIZTROOPDSPRITE = LIZTROOPDSPRITE__STATIC; +int32_t TILE_LIZTROOPONTOILET = LIZTROOPONTOILET__STATIC; +int32_t TILE_LIZTROOPJUSTSIT = LIZTROOPJUSTSIT__STATIC; +int32_t TILE_LIZTROOPDUCKING = LIZTROOPDUCKING__STATIC; +int32_t TILE_HEADJIB1 = HEADJIB1__STATIC; +int32_t TILE_ARMJIB1 = ARMJIB1__STATIC; +int32_t TILE_LEGJIB1 = LEGJIB1__STATIC; +int32_t TILE_CANNONBALL = CANNONBALL__STATIC; +int32_t TILE_OCTABRAIN = OCTABRAIN__STATIC; +int32_t TILE_OCTABRAINSTAYPUT = OCTABRAINSTAYPUT__STATIC; +int32_t TILE_OCTATOP = OCTATOP__STATIC; +int32_t TILE_OCTADEADSPRITE = OCTADEADSPRITE__STATIC; +int32_t TILE_INNERJAW = INNERJAW__STATIC; +int32_t TILE_DRONE = DRONE__STATIC; +int32_t TILE_EXPLOSION2 = EXPLOSION2__STATIC; +int32_t TILE_COMMANDER = COMMANDER__STATIC; +int32_t TILE_COMMANDERSTAYPUT = COMMANDERSTAYPUT__STATIC; +int32_t TILE_RECON = RECON__STATIC; +int32_t TILE_TANK = TANK__STATIC; +int32_t TILE_PIGCOP = PIGCOP__STATIC; +int32_t TILE_PIGCOPSTAYPUT = PIGCOPSTAYPUT__STATIC; +int32_t TILE_PIGCOPDIVE = PIGCOPDIVE__STATIC; +int32_t TILE_PIGCOPDEADSPRITE = PIGCOPDEADSPRITE__STATIC; +int32_t TILE_PIGTOP = PIGTOP__STATIC; +int32_t TILE_LIZMAN = LIZMAN__STATIC; +int32_t TILE_LIZMANSTAYPUT = LIZMANSTAYPUT__STATIC; +int32_t TILE_LIZMANSPITTING = LIZMANSPITTING__STATIC; +int32_t TILE_LIZMANFEEDING = LIZMANFEEDING__STATIC; +int32_t TILE_LIZMANJUMP = LIZMANJUMP__STATIC; +int32_t TILE_LIZMANDEADSPRITE = LIZMANDEADSPRITE__STATIC; +int32_t TILE_FECES = FECES__STATIC; +int32_t TILE_LIZMANHEAD1 = LIZMANHEAD1__STATIC; +int32_t TILE_LIZMANARM1 = LIZMANARM1__STATIC; +int32_t TILE_LIZMANLEG1 = LIZMANLEG1__STATIC; +int32_t TILE_EXPLOSION2BOT = EXPLOSION2BOT__STATIC; +int32_t TILE_USERWEAPON = USERWEAPON__STATIC; +int32_t TILE_HEADERBAR = HEADERBAR__STATIC; +int32_t TILE_JIBS1 = JIBS1__STATIC; +int32_t TILE_JIBS2 = JIBS2__STATIC; +int32_t TILE_JIBS3 = JIBS3__STATIC; +int32_t TILE_JIBS4 = JIBS4__STATIC; +int32_t TILE_JIBS5 = JIBS5__STATIC; +int32_t TILE_BURNING = BURNING__STATIC; +int32_t TILE_FIRE = FIRE__STATIC; +int32_t TILE_JIBS6 = JIBS6__STATIC; +int32_t TILE_BLOODSPLAT1 = BLOODSPLAT1__STATIC; +int32_t TILE_BLOODSPLAT3 = BLOODSPLAT3__STATIC; +int32_t TILE_BLOODSPLAT2 = BLOODSPLAT2__STATIC; +int32_t TILE_BLOODSPLAT4 = BLOODSPLAT4__STATIC; +int32_t TILE_OOZ = OOZ__STATIC; +int32_t TILE_OOZ2 = OOZ2__STATIC; +int32_t TILE_WALLBLOOD1 = WALLBLOOD1__STATIC; +int32_t TILE_WALLBLOOD2 = WALLBLOOD2__STATIC; +int32_t TILE_WALLBLOOD3 = WALLBLOOD3__STATIC; +int32_t TILE_WALLBLOOD4 = WALLBLOOD4__STATIC; +int32_t TILE_WALLBLOOD5 = WALLBLOOD5__STATIC; +int32_t TILE_WALLBLOOD6 = WALLBLOOD6__STATIC; +int32_t TILE_WALLBLOOD7 = WALLBLOOD7__STATIC; +int32_t TILE_WALLBLOOD8 = WALLBLOOD8__STATIC; +int32_t TILE_BURNING2 = BURNING2__STATIC; +int32_t TILE_FIRE2 = FIRE2__STATIC; +int32_t TILE_CRACKKNUCKLES = CRACKKNUCKLES__STATIC; +int32_t TILE_SMALLSMOKE = SMALLSMOKE__STATIC; +int32_t TILE_SMALLSMOKEMAKER = SMALLSMOKEMAKER__STATIC; +int32_t TILE_FLOORFLAME = FLOORFLAME__STATIC; +int32_t TILE_ROTATEGUN = ROTATEGUN__STATIC; +int32_t TILE_GREENSLIME = GREENSLIME__STATIC; +int32_t TILE_WATERDRIPSPLASH = WATERDRIPSPLASH__STATIC; +int32_t TILE_SCRAP6 = SCRAP6__STATIC; +int32_t TILE_SCRAP1 = SCRAP1__STATIC; +int32_t TILE_SCRAP2 = SCRAP2__STATIC; +int32_t TILE_SCRAP3 = SCRAP3__STATIC; +int32_t TILE_SCRAP4 = SCRAP4__STATIC; +int32_t TILE_SCRAP5 = SCRAP5__STATIC; +int32_t TILE_ORGANTIC = ORGANTIC__STATIC; +int32_t TILE_BETAVERSION = BETAVERSION__STATIC; +int32_t TILE_PLAYERISHERE = PLAYERISHERE__STATIC; +int32_t TILE_PLAYERWASHERE = PLAYERWASHERE__STATIC; +int32_t TILE_SELECTDIR = SELECTDIR__STATIC; +int32_t TILE_F1HELP = F1HELP__STATIC; +int32_t TILE_NOTCHON = NOTCHON__STATIC; +int32_t TILE_NOTCHOFF = NOTCHOFF__STATIC; +int32_t TILE_GROWSPARK = GROWSPARK__STATIC; +int32_t TILE_DUKEICON = DUKEICON__STATIC; +int32_t TILE_BADGUYICON = BADGUYICON__STATIC; +int32_t TILE_FOODICON = FOODICON__STATIC; +int32_t TILE_GETICON = GETICON__STATIC; +int32_t TILE_MENUSCREEN = MENUSCREEN__STATIC; +int32_t TILE_MENUBAR = MENUBAR__STATIC; +int32_t TILE_KILLSICON = KILLSICON__STATIC; +int32_t TILE_FIRSTAID_ICON = FIRSTAID_ICON__STATIC; +int32_t TILE_HEAT_ICON = HEAT_ICON__STATIC; +int32_t TILE_BOTTOMSTATUSBAR = BOTTOMSTATUSBAR__STATIC; +int32_t TILE_BOOT_ICON = BOOT_ICON__STATIC; +int32_t TILE_FRAGBAR = FRAGBAR__STATIC; +int32_t TILE_JETPACK_ICON = JETPACK_ICON__STATIC; +int32_t TILE_AIRTANK_ICON = AIRTANK_ICON__STATIC; +int32_t TILE_STEROIDS_ICON = STEROIDS_ICON__STATIC; +int32_t TILE_HOLODUKE_ICON = HOLODUKE_ICON__STATIC; +int32_t TILE_ACCESS_ICON = ACCESS_ICON__STATIC; +int32_t TILE_DIGITALNUM = DIGITALNUM__STATIC; +int32_t TILE_DUKECAR = DUKECAR__STATIC; +int32_t TILE_CAMCORNER = CAMCORNER__STATIC; +int32_t TILE_CAMLIGHT = CAMLIGHT__STATIC; +int32_t TILE_LOGO = LOGO__STATIC; +int32_t TILE_TITLE = TITLE__STATIC; +int32_t TILE_NUKEWARNINGICON = NUKEWARNINGICON__STATIC; +int32_t TILE_MOUSECURSOR = MOUSECURSOR__STATIC; +int32_t TILE_SLIDEBAR = SLIDEBAR__STATIC; +int32_t TILE_DREALMS = DREALMS__STATIC; +int32_t TILE_BETASCREEN = BETASCREEN__STATIC; +int32_t TILE_WINDOWBORDER1 = WINDOWBORDER1__STATIC; +int32_t TILE_TEXTBOX = TEXTBOX__STATIC; +int32_t TILE_WINDOWBORDER2 = WINDOWBORDER2__STATIC; +int32_t TILE_DUKENUKEM = DUKENUKEM__STATIC; +int32_t TILE_THREEDEE = THREEDEE__STATIC; +int32_t TILE_INGAMEDUKETHREEDEE = INGAMEDUKETHREEDEE__STATIC; +int32_t TILE_TENSCREEN = TENSCREEN__STATIC; +int32_t TILE_PLUTOPAKSPRITE = PLUTOPAKSPRITE__STATIC; +int32_t TILE_DEVISTATOR = DEVISTATOR__STATIC; +int32_t TILE_KNEE = KNEE__STATIC; +int32_t TILE_CROSSHAIR = CROSSHAIR__STATIC; +int32_t TILE_FIRSTGUN = FIRSTGUN__STATIC; +int32_t TILE_FIRSTGUNRELOAD = FIRSTGUNRELOAD__STATIC; +int32_t TILE_FALLINGCLIP = FALLINGCLIP__STATIC; +int32_t TILE_CLIPINHAND = CLIPINHAND__STATIC; +int32_t TILE_HAND = HAND__STATIC; +int32_t TILE_SHELL = SHELL__STATIC; +int32_t TILE_SHOTGUNSHELL = SHOTGUNSHELL__STATIC; +int32_t TILE_CHAINGUN = CHAINGUN__STATIC; +int32_t TILE_RPGGUN = RPGGUN__STATIC; +int32_t TILE_RPGMUZZLEFLASH = RPGMUZZLEFLASH__STATIC; +int32_t TILE_FREEZE = FREEZE__STATIC; +int32_t TILE_CATLITE = CATLITE__STATIC; +int32_t TILE_SHRINKER = SHRINKER__STATIC; +int32_t TILE_HANDHOLDINGLASER = HANDHOLDINGLASER__STATIC; +int32_t TILE_TRIPBOMB = TRIPBOMB__STATIC; +int32_t TILE_LASERLINE = LASERLINE__STATIC; +int32_t TILE_HANDHOLDINGACCESS = HANDHOLDINGACCESS__STATIC; +int32_t TILE_HANDREMOTE = HANDREMOTE__STATIC; +int32_t TILE_HANDTHROW = HANDTHROW__STATIC; +int32_t TILE_TIP = TIP__STATIC; +int32_t TILE_GLAIR = GLAIR__STATIC; +int32_t TILE_SCUBAMASK = SCUBAMASK__STATIC; +int32_t TILE_SPACEMASK = SPACEMASK__STATIC; +int32_t TILE_FORCESPHERE = FORCESPHERE__STATIC; +int32_t TILE_SHOTSPARK1 = SHOTSPARK1__STATIC; +int32_t TILE_RPG = RPG__STATIC; +int32_t TILE_LASERSITE = LASERSITE__STATIC; +int32_t TILE_SHOTGUN = SHOTGUN__STATIC; +int32_t TILE_BOSS1 = BOSS1__STATIC; +int32_t TILE_BOSS1STAYPUT = BOSS1STAYPUT__STATIC; +int32_t TILE_BOSS1SHOOT = BOSS1SHOOT__STATIC; +int32_t TILE_BOSS1LOB = BOSS1LOB__STATIC; +int32_t TILE_BOSSTOP = BOSSTOP__STATIC; +int32_t TILE_BOSS2 = BOSS2__STATIC; +int32_t TILE_BOSS3 = BOSS3__STATIC; +int32_t TILE_SPINNINGNUKEICON = SPINNINGNUKEICON__STATIC; +int32_t TILE_BIGFNTCURSOR = BIGFNTCURSOR__STATIC; +int32_t TILE_SMALLFNTCURSOR = SMALLFNTCURSOR__STATIC; +int32_t TILE_STARTALPHANUM = STARTALPHANUM__STATIC; +int32_t TILE_ENDALPHANUM = ENDALPHANUM__STATIC; +int32_t TILE_BIGALPHANUM = BIGALPHANUM__STATIC; +int32_t TILE_BIGPERIOD = BIGPERIOD__STATIC; +int32_t TILE_BIGCOMMA = BIGCOMMA__STATIC; // "BIGX" clashes on the Wii? -int32_t BIGX_ = BIGX__STATIC; -int32_t BIGQ = BIGQ__STATIC; -int32_t BIGSEMI = BIGSEMI__STATIC; -int32_t BIGCOLIN = BIGCOLIN__STATIC; -int32_t THREEBYFIVE = THREEBYFIVE__STATIC; -int32_t BIGAPPOS = BIGAPPOS__STATIC; -int32_t BLANK = BLANK__STATIC; -int32_t MINIFONT = MINIFONT__STATIC; -int32_t BUTTON1 = BUTTON1__STATIC; -int32_t GLASS3 = GLASS3__STATIC; -int32_t RESPAWNMARKERRED = RESPAWNMARKERRED__STATIC; -int32_t RESPAWNMARKERYELLOW = RESPAWNMARKERYELLOW__STATIC; -int32_t RESPAWNMARKERGREEN = RESPAWNMARKERGREEN__STATIC; -int32_t BONUSSCREEN = BONUSSCREEN__STATIC; -int32_t VIEWBORDER = VIEWBORDER__STATIC; -int32_t VICTORY1 = VICTORY1__STATIC; -int32_t ORDERING = ORDERING__STATIC; -int32_t TEXTSTORY = TEXTSTORY__STATIC; -int32_t LOADSCREEN = LOADSCREEN__STATIC; -int32_t BORNTOBEWILDSCREEN = BORNTOBEWILDSCREEN__STATIC; -int32_t BLIMP = BLIMP__STATIC; -int32_t FEM9 = FEM9__STATIC; -int32_t FOOTPRINT = FOOTPRINT__STATIC; -int32_t POOP = POOP__STATIC; -int32_t FRAMEEFFECT1 = FRAMEEFFECT1__STATIC; -int32_t PANNEL3 = PANNEL3__STATIC; -int32_t SCREENBREAK14 = SCREENBREAK14__STATIC; -int32_t SCREENBREAK15 = SCREENBREAK15__STATIC; -int32_t SCREENBREAK19 = SCREENBREAK19__STATIC; -int32_t SCREENBREAK16 = SCREENBREAK16__STATIC; -int32_t SCREENBREAK17 = SCREENBREAK17__STATIC; -int32_t SCREENBREAK18 = SCREENBREAK18__STATIC; -int32_t W_TECHWALL11 = W_TECHWALL11__STATIC; -int32_t W_TECHWALL12 = W_TECHWALL12__STATIC; -int32_t W_TECHWALL13 = W_TECHWALL13__STATIC; -int32_t W_TECHWALL14 = W_TECHWALL14__STATIC; -int32_t W_TECHWALL5 = W_TECHWALL5__STATIC; -int32_t W_TECHWALL6 = W_TECHWALL6__STATIC; -int32_t W_TECHWALL7 = W_TECHWALL7__STATIC; -int32_t W_TECHWALL8 = W_TECHWALL8__STATIC; -int32_t W_TECHWALL9 = W_TECHWALL9__STATIC; -int32_t BPANNEL3 = BPANNEL3__STATIC; -int32_t W_HITTECHWALL16 = W_HITTECHWALL16__STATIC; -int32_t W_HITTECHWALL10 = W_HITTECHWALL10__STATIC; -int32_t W_HITTECHWALL15 = W_HITTECHWALL15__STATIC; -int32_t W_MILKSHELF = W_MILKSHELF__STATIC; -int32_t W_MILKSHELFBROKE = W_MILKSHELFBROKE__STATIC; -int32_t PURPLELAVA = PURPLELAVA__STATIC; -int32_t LAVABUBBLE = LAVABUBBLE__STATIC; -int32_t DUKECUTOUT = DUKECUTOUT__STATIC; -int32_t TARGET = TARGET__STATIC; -int32_t GUNPOWDERBARREL = GUNPOWDERBARREL__STATIC; -int32_t DUCK = DUCK__STATIC; -int32_t HATRACK = HATRACK__STATIC; -int32_t DESKLAMP = DESKLAMP__STATIC; -int32_t COFFEEMACHINE = COFFEEMACHINE__STATIC; -int32_t CUPS = CUPS__STATIC; -int32_t GAVALS = GAVALS__STATIC; -int32_t GAVALS2 = GAVALS2__STATIC; -int32_t POLICELIGHTPOLE = POLICELIGHTPOLE__STATIC; -int32_t FLOORBASKET = FLOORBASKET__STATIC; -int32_t PUKE = PUKE__STATIC; -int32_t DOORTILE23 = DOORTILE23__STATIC; -int32_t TOPSECRET = TOPSECRET__STATIC; -int32_t SPEAKER = SPEAKER__STATIC; -int32_t TEDDYBEAR = TEDDYBEAR__STATIC; -int32_t ROBOTDOG = ROBOTDOG__STATIC; -int32_t ROBOTPIRATE = ROBOTPIRATE__STATIC; -int32_t ROBOTMOUSE = ROBOTMOUSE__STATIC; -int32_t MAIL = MAIL__STATIC; -int32_t MAILBAG = MAILBAG__STATIC; -int32_t HOTMEAT = HOTMEAT__STATIC; -int32_t COFFEEMUG = COFFEEMUG__STATIC; -int32_t DONUTS2 = DONUTS2__STATIC; -int32_t TRIPODCAMERA = TRIPODCAMERA__STATIC; -int32_t METER = METER__STATIC; -int32_t DESKPHONE = DESKPHONE__STATIC; -int32_t GUMBALLMACHINE = GUMBALLMACHINE__STATIC; -int32_t GUMBALLMACHINEBROKE = GUMBALLMACHINEBROKE__STATIC; -int32_t PAPER = PAPER__STATIC; -int32_t MACE = MACE__STATIC; -int32_t GENERICPOLE2 = GENERICPOLE2__STATIC; -int32_t XXXSTACY = XXXSTACY__STATIC; -int32_t WETFLOOR = WETFLOOR__STATIC; -int32_t BROOM = BROOM__STATIC; -int32_t MOP = MOP__STATIC; -int32_t LETTER = LETTER__STATIC; -int32_t PIRATE1A = PIRATE1A__STATIC; -int32_t PIRATE4A = PIRATE4A__STATIC; -int32_t PIRATE2A = PIRATE2A__STATIC; -int32_t PIRATE5A = PIRATE5A__STATIC; -int32_t PIRATE3A = PIRATE3A__STATIC; -int32_t PIRATE6A = PIRATE6A__STATIC; -int32_t PIRATEHALF = PIRATEHALF__STATIC; -int32_t CHESTOFGOLD = CHESTOFGOLD__STATIC; -int32_t SIDEBOLT1 = SIDEBOLT1__STATIC; -int32_t FOODOBJECT1 = FOODOBJECT1__STATIC; -int32_t FOODOBJECT2 = FOODOBJECT2__STATIC; -int32_t FOODOBJECT3 = FOODOBJECT3__STATIC; -int32_t FOODOBJECT4 = FOODOBJECT4__STATIC; -int32_t FOODOBJECT5 = FOODOBJECT5__STATIC; -int32_t FOODOBJECT6 = FOODOBJECT6__STATIC; -int32_t FOODOBJECT7 = FOODOBJECT7__STATIC; -int32_t FOODOBJECT8 = FOODOBJECT8__STATIC; -int32_t FOODOBJECT9 = FOODOBJECT9__STATIC; -int32_t FOODOBJECT10 = FOODOBJECT10__STATIC; -int32_t FOODOBJECT11 = FOODOBJECT11__STATIC; -int32_t FOODOBJECT12 = FOODOBJECT12__STATIC; -int32_t FOODOBJECT13 = FOODOBJECT13__STATIC; -int32_t FOODOBJECT14 = FOODOBJECT14__STATIC; -int32_t FOODOBJECT15 = FOODOBJECT15__STATIC; -int32_t FOODOBJECT16 = FOODOBJECT16__STATIC; -int32_t FOODOBJECT17 = FOODOBJECT17__STATIC; -int32_t FOODOBJECT18 = FOODOBJECT18__STATIC; -int32_t FOODOBJECT19 = FOODOBJECT19__STATIC; -int32_t FOODOBJECT20 = FOODOBJECT20__STATIC; -int32_t HEADLAMP = HEADLAMP__STATIC; -int32_t TAMPON = TAMPON__STATIC; -int32_t SKINNEDCHICKEN = SKINNEDCHICKEN__STATIC; -int32_t FEATHEREDCHICKEN = FEATHEREDCHICKEN__STATIC; -int32_t ROBOTDOG2 = ROBOTDOG2__STATIC; -int32_t JOLLYMEAL = JOLLYMEAL__STATIC; -int32_t DUKEBURGER = DUKEBURGER__STATIC; -int32_t SHOPPINGCART = SHOPPINGCART__STATIC; -int32_t CANWITHSOMETHING2 = CANWITHSOMETHING2__STATIC; -int32_t CANWITHSOMETHING3 = CANWITHSOMETHING3__STATIC; -int32_t CANWITHSOMETHING4 = CANWITHSOMETHING4__STATIC; -int32_t SNAKEP = SNAKEP__STATIC; -int32_t DOLPHIN1 = DOLPHIN1__STATIC; -int32_t DOLPHIN2 = DOLPHIN2__STATIC; -int32_t NEWBEAST = NEWBEAST__STATIC; -int32_t NEWBEASTSTAYPUT = NEWBEASTSTAYPUT__STATIC; -int32_t NEWBEASTJUMP = NEWBEASTJUMP__STATIC; -int32_t NEWBEASTHANG = NEWBEASTHANG__STATIC; -int32_t NEWBEASTHANGDEAD = NEWBEASTHANGDEAD__STATIC; -int32_t BOSS4 = BOSS4__STATIC; -int32_t BOSS4STAYPUT = BOSS4STAYPUT__STATIC; -int32_t FEM10 = FEM10__STATIC; -int32_t TOUGHGAL = TOUGHGAL__STATIC; -int32_t MAN = MAN__STATIC; -int32_t MAN2 = MAN2__STATIC; -int32_t WOMAN = WOMAN__STATIC; -int32_t PLEASEWAIT = PLEASEWAIT__STATIC; -int32_t NATURALLIGHTNING = NATURALLIGHTNING__STATIC; -int32_t WEATHERWARN = WEATHERWARN__STATIC; -int32_t DUKETAG = DUKETAG__STATIC; -int32_t SIGN1 = SIGN1__STATIC; -int32_t SIGN2 = SIGN2__STATIC; -int32_t JURYGUY = JURYGUY__STATIC; +int32_t TILE_BIGX_ = BIGX__STATIC; +int32_t TILE_BIGQ = BIGQ__STATIC; +int32_t TILE_BIGSEMI = BIGSEMI__STATIC; +int32_t TILE_BIGCOLIN = BIGCOLIN__STATIC; +int32_t TILE_THREEBYFIVE = THREEBYFIVE__STATIC; +int32_t TILE_BIGAPPOS = BIGAPPOS__STATIC; +int32_t TILE_BLANK = BLANK__STATIC; +int32_t TILE_MINIFONT = MINIFONT__STATIC; +int32_t TILE_BUTTON1 = BUTTON1__STATIC; +int32_t TILE_GLASS3 = GLASS3__STATIC; +int32_t TILE_RESPAWNMARKERRED = RESPAWNMARKERRED__STATIC; +int32_t TILE_RESPAWNMARKERYELLOW = RESPAWNMARKERYELLOW__STATIC; +int32_t TILE_RESPAWNMARKERGREEN = RESPAWNMARKERGREEN__STATIC; +int32_t TILE_BONUSSCREEN = BONUSSCREEN__STATIC; +int32_t TILE_VIEWBORDER = VIEWBORDER__STATIC; +int32_t TILE_VICTORY1 = VICTORY1__STATIC; +int32_t TILE_ORDERING = ORDERING__STATIC; +int32_t TILE_TEXTSTORY = TEXTSTORY__STATIC; +int32_t TILE_LOADSCREEN = LOADSCREEN__STATIC; +int32_t TILE_BORNTOBEWILDSCREEN = BORNTOBEWILDSCREEN__STATIC; +int32_t TILE_BLIMP = BLIMP__STATIC; +int32_t TILE_FEM9 = FEM9__STATIC; +int32_t TILE_FOOTPRINT = FOOTPRINT__STATIC; +int32_t TILE_POOP = POOP__STATIC; +int32_t TILE_FRAMEEFFECT1 = FRAMEEFFECT1__STATIC; +int32_t TILE_PANNEL3 = PANNEL3__STATIC; +int32_t TILE_SCREENBREAK14 = SCREENBREAK14__STATIC; +int32_t TILE_SCREENBREAK15 = SCREENBREAK15__STATIC; +int32_t TILE_SCREENBREAK19 = SCREENBREAK19__STATIC; +int32_t TILE_SCREENBREAK16 = SCREENBREAK16__STATIC; +int32_t TILE_SCREENBREAK17 = SCREENBREAK17__STATIC; +int32_t TILE_SCREENBREAK18 = SCREENBREAK18__STATIC; +int32_t TILE_W_TECHWALL11 = W_TECHWALL11__STATIC; +int32_t TILE_W_TECHWALL12 = W_TECHWALL12__STATIC; +int32_t TILE_W_TECHWALL13 = W_TECHWALL13__STATIC; +int32_t TILE_W_TECHWALL14 = W_TECHWALL14__STATIC; +int32_t TILE_W_TECHWALL5 = W_TECHWALL5__STATIC; +int32_t TILE_W_TECHWALL6 = W_TECHWALL6__STATIC; +int32_t TILE_W_TECHWALL7 = W_TECHWALL7__STATIC; +int32_t TILE_W_TECHWALL8 = W_TECHWALL8__STATIC; +int32_t TILE_W_TECHWALL9 = W_TECHWALL9__STATIC; +int32_t TILE_BPANNEL3 = BPANNEL3__STATIC; +int32_t TILE_W_HITTECHWALL16 = W_HITTECHWALL16__STATIC; +int32_t TILE_W_HITTECHWALL10 = W_HITTECHWALL10__STATIC; +int32_t TILE_W_HITTECHWALL15 = W_HITTECHWALL15__STATIC; +int32_t TILE_W_MILKSHELF = W_MILKSHELF__STATIC; +int32_t TILE_W_MILKSHELFBROKE = W_MILKSHELFBROKE__STATIC; +int32_t TILE_PURPLELAVA = PURPLELAVA__STATIC; +int32_t TILE_LAVABUBBLE = LAVABUBBLE__STATIC; +int32_t TILE_DUKECUTOUT = DUKECUTOUT__STATIC; +int32_t TILE_TARGET = TARGET__STATIC; +int32_t TILE_GUNPOWDERBARREL = GUNPOWDERBARREL__STATIC; +int32_t TILE_DUCK = DUCK__STATIC; +int32_t TILE_HATRACK = HATRACK__STATIC; +int32_t TILE_DESKLAMP = DESKLAMP__STATIC; +int32_t TILE_COFFEEMACHINE = COFFEEMACHINE__STATIC; +int32_t TILE_CUPS = CUPS__STATIC; +int32_t TILE_GAVALS = GAVALS__STATIC; +int32_t TILE_GAVALS2 = GAVALS2__STATIC; +int32_t TILE_POLICELIGHTPOLE = POLICELIGHTPOLE__STATIC; +int32_t TILE_FLOORBASKET = FLOORBASKET__STATIC; +int32_t TILE_PUKE = PUKE__STATIC; +int32_t TILE_DOORTILE23 = DOORTILE23__STATIC; +int32_t TILE_TOPSECRET = TOPSECRET__STATIC; +int32_t TILE_SPEAKER = SPEAKER__STATIC; +int32_t TILE_TEDDYBEAR = TEDDYBEAR__STATIC; +int32_t TILE_ROBOTDOG = ROBOTDOG__STATIC; +int32_t TILE_ROBOTPIRATE = ROBOTPIRATE__STATIC; +int32_t TILE_ROBOTMOUSE = ROBOTMOUSE__STATIC; +int32_t TILE_MAIL = MAIL__STATIC; +int32_t TILE_MAILBAG = MAILBAG__STATIC; +int32_t TILE_HOTMEAT = HOTMEAT__STATIC; +int32_t TILE_COFFEEMUG = COFFEEMUG__STATIC; +int32_t TILE_DONUTS2 = DONUTS2__STATIC; +int32_t TILE_TRIPODCAMERA = TRIPODCAMERA__STATIC; +int32_t TILE_METER = METER__STATIC; +int32_t TILE_DESKPHONE = DESKPHONE__STATIC; +int32_t TILE_GUMBALLMACHINE = GUMBALLMACHINE__STATIC; +int32_t TILE_GUMBALLMACHINEBROKE = GUMBALLMACHINEBROKE__STATIC; +int32_t TILE_PAPER = PAPER__STATIC; +int32_t TILE_MACE = MACE__STATIC; +int32_t TILE_GENERICPOLE2 = GENERICPOLE2__STATIC; +int32_t TILE_XXXSTACY = XXXSTACY__STATIC; +int32_t TILE_WETFLOOR = WETFLOOR__STATIC; +int32_t TILE_BROOM = BROOM__STATIC; +int32_t TILE_MOP = MOP__STATIC; +int32_t TILE_LETTER = LETTER__STATIC; +int32_t TILE_PIRATE1A = PIRATE1A__STATIC; +int32_t TILE_PIRATE4A = PIRATE4A__STATIC; +int32_t TILE_PIRATE2A = PIRATE2A__STATIC; +int32_t TILE_PIRATE5A = PIRATE5A__STATIC; +int32_t TILE_PIRATE3A = PIRATE3A__STATIC; +int32_t TILE_PIRATE6A = PIRATE6A__STATIC; +int32_t TILE_PIRATEHALF = PIRATEHALF__STATIC; +int32_t TILE_CHESTOFGOLD = CHESTOFGOLD__STATIC; +int32_t TILE_SIDEBOLT1 = SIDEBOLT1__STATIC; +int32_t TILE_FOODOBJECT1 = FOODOBJECT1__STATIC; +int32_t TILE_FOODOBJECT2 = FOODOBJECT2__STATIC; +int32_t TILE_FOODOBJECT3 = FOODOBJECT3__STATIC; +int32_t TILE_FOODOBJECT4 = FOODOBJECT4__STATIC; +int32_t TILE_FOODOBJECT5 = FOODOBJECT5__STATIC; +int32_t TILE_FOODOBJECT6 = FOODOBJECT6__STATIC; +int32_t TILE_FOODOBJECT7 = FOODOBJECT7__STATIC; +int32_t TILE_FOODOBJECT8 = FOODOBJECT8__STATIC; +int32_t TILE_FOODOBJECT9 = FOODOBJECT9__STATIC; +int32_t TILE_FOODOBJECT10 = FOODOBJECT10__STATIC; +int32_t TILE_FOODOBJECT11 = FOODOBJECT11__STATIC; +int32_t TILE_FOODOBJECT12 = FOODOBJECT12__STATIC; +int32_t TILE_FOODOBJECT13 = FOODOBJECT13__STATIC; +int32_t TILE_FOODOBJECT14 = FOODOBJECT14__STATIC; +int32_t TILE_FOODOBJECT15 = FOODOBJECT15__STATIC; +int32_t TILE_FOODOBJECT16 = FOODOBJECT16__STATIC; +int32_t TILE_FOODOBJECT17 = FOODOBJECT17__STATIC; +int32_t TILE_FOODOBJECT18 = FOODOBJECT18__STATIC; +int32_t TILE_FOODOBJECT19 = FOODOBJECT19__STATIC; +int32_t TILE_FOODOBJECT20 = FOODOBJECT20__STATIC; +int32_t TILE_HEADLAMP = HEADLAMP__STATIC; +int32_t TILE_TAMPON = TAMPON__STATIC; +int32_t TILE_SKINNEDCHICKEN = SKINNEDCHICKEN__STATIC; +int32_t TILE_FEATHEREDCHICKEN = FEATHEREDCHICKEN__STATIC; +int32_t TILE_ROBOTDOG2 = ROBOTDOG2__STATIC; +int32_t TILE_JOLLYMEAL = JOLLYMEAL__STATIC; +int32_t TILE_DUKEBURGER = DUKEBURGER__STATIC; +int32_t TILE_SHOPPINGCART = SHOPPINGCART__STATIC; +int32_t TILE_CANWITHSOMETHING2 = CANWITHSOMETHING2__STATIC; +int32_t TILE_CANWITHSOMETHING3 = CANWITHSOMETHING3__STATIC; +int32_t TILE_CANWITHSOMETHING4 = CANWITHSOMETHING4__STATIC; +int32_t TILE_SNAKEP = SNAKEP__STATIC; +int32_t TILE_DOLPHIN1 = DOLPHIN1__STATIC; +int32_t TILE_DOLPHIN2 = DOLPHIN2__STATIC; +int32_t TILE_NEWBEAST = NEWBEAST__STATIC; +int32_t TILE_NEWBEASTSTAYPUT = NEWBEASTSTAYPUT__STATIC; +int32_t TILE_NEWBEASTJUMP = NEWBEASTJUMP__STATIC; +int32_t TILE_NEWBEASTHANG = NEWBEASTHANG__STATIC; +int32_t TILE_NEWBEASTHANGDEAD = NEWBEASTHANGDEAD__STATIC; +int32_t TILE_BOSS4 = BOSS4__STATIC; +int32_t TILE_BOSS4STAYPUT = BOSS4STAYPUT__STATIC; +int32_t TILE_FEM10 = FEM10__STATIC; +int32_t TILE_TOUGHGAL = TOUGHGAL__STATIC; +int32_t TILE_MAN = MAN__STATIC; +int32_t TILE_MAN2 = MAN2__STATIC; +int32_t TILE_WOMAN = WOMAN__STATIC; +int32_t TILE_PLEASEWAIT = PLEASEWAIT__STATIC; +int32_t TILE_NATURALLIGHTNING = NATURALLIGHTNING__STATIC; +int32_t TILE_WEATHERWARN = WEATHERWARN__STATIC; +int32_t TILE_DUKETAG = DUKETAG__STATIC; +int32_t TILE_SIGN1 = SIGN1__STATIC; +int32_t TILE_SIGN2 = SIGN2__STATIC; +int32_t TILE_JURYGUY = JURYGUY__STATIC; -int32_t RRTILE11 = 0; -int32_t RPG2SPRITE = 0; -int32_t RRTILE18 = 0; -int32_t RRTILE19 = 0; -int32_t RRTILE34 = 0; -int32_t RRTILE35 = 0; -int32_t DESTRUCTO = 0; -int32_t RRTILE38 = 0; -int32_t RRTILE43 = 0; -int32_t GUTMETER = 0; -int32_t RRTILE63 = 0; -int32_t RRTILE64 = 0; -int32_t RRTILE65 = 0; -int32_t RRTILE66 = 0; -int32_t RRTILE67 = 0; -int32_t RRTILE68 = 0; -int32_t SOUNDFX = 0; -int32_t MOTOAMMO = 0; -int32_t UFOBEAM = 0; -int32_t RRTILE280 = 0; -int32_t RRTILE281 = 0; -int32_t RRTILE282 = 0; -int32_t RRTILE283 = 0; -int32_t RRTILE285 = 0; -int32_t RRTILE286 = 0; -int32_t RRTILE287 = 0; -int32_t RRTILE288 = 0; -int32_t RRTILE289 = 0; -int32_t RRTILE290 = 0; -int32_t RRTILE291 = 0; -int32_t RRTILE292 = 0; -int32_t RRTILE293 = 0; -int32_t RRTILE295 = 0; -int32_t RRTILE296 = 0; -int32_t RRTILE297 = 0; -int32_t CDPLAYER = 0; -int32_t RRTILE380 = 0; -int32_t RRTILE403 = 0; -int32_t RRTILE409 = 0; -int32_t GUTMETER_LIGHT1 = 0; -int32_t GUTMETER_LIGHT2 = 0; -int32_t GUTMETER_LIGHT3 = 0; -int32_t GUTMETER_LIGHT4 = 0; -int32_t AMMO_ICON = 0; -int32_t RRTILE1076 = 0; -int32_t MUD = 0; -int32_t EXPLOSION3 = 0; -int32_t RRTILE1636 = 0; -int32_t WEAPONBAR = 0; -int32_t RRTILE1752 = 0; -int32_t RPG2 = 0; -int32_t RRTILE1790 = 0; -int32_t RRTILE1792 = 0; -int32_t RRTILE1801 = 0; -int32_t RRTILE1805 = 0; -int32_t RRTILE1807 = 0; -int32_t RRTILE1808 = 0; -int32_t RRTILE1812 = 0; -int32_t RRTILE1814 = 0; -int32_t RRTILE1817 = 0; -int32_t RRTILE1821 = 0; -int32_t RRTILE1824 = 0; -int32_t RRTILE1826 = 0; -int32_t RRTILE1850 = 0; -int32_t RRTILE1851 = 0; -int32_t RRTILE1856 = 0; -int32_t RRTILE1877 = 0; -int32_t RRTILE1878 = 0; -int32_t RRTILE1938 = 0; -int32_t RRTILE1939 = 0; -int32_t RRTILE1942 = 0; -int32_t RRTILE1944 = 0; -int32_t RRTILE1945 = 0; -int32_t RRTILE1947 = 0; -int32_t RRTILE1951 = 0; -int32_t RRTILE1952 = 0; -int32_t RRTILE1953 = 0; -int32_t RRTILE1961 = 0; -int32_t RRTILE1964 = 0; -int32_t RRTILE1973 = 0; -int32_t RRTILE1985 = 0; -int32_t RRTILE1986 = 0; -int32_t RRTILE1987 = 0; -int32_t RRTILE1988 = 0; -int32_t RRTILE1990 = 0; -int32_t RRTILE1995 = 0; -int32_t RRTILE1996 = 0; -int32_t RRTILE2004 = 0; -int32_t RRTILE2005 = 0; -int32_t POPCORN = 0; -int32_t RRTILE2022 = 0; -int32_t LANEPICS = 0; -int32_t RRTILE2025 = 0; -int32_t RRTILE2026 = 0; -int32_t RRTILE2027 = 0; -int32_t RRTILE2028 = 0; -int32_t RRTILE2034 = 0; -int32_t RRTILE2050 = 0; -int32_t RRTILE2052 = 0; -int32_t RRTILE2053 = 0; -int32_t RRTILE2056 = 0; -int32_t RRTILE2060 = 0; -int32_t RRTILE2072 = 0; -int32_t RRTILE2074 = 0; -int32_t RRTILE2075 = 0; -int32_t RRTILE2083 = 0; -int32_t RRTILE2097 = 0; -int32_t RRTILE2121 = 0; -int32_t RRTILE2122 = 0; -int32_t RRTILE2123 = 0; -int32_t RRTILE2124 = 0; -int32_t RRTILE2125 = 0; -int32_t RRTILE2126 = 0; -int32_t RRTILE2137 = 0; -int32_t RRTILE2132 = 0; -int32_t RRTILE2136 = 0; -int32_t RRTILE2139 = 0; -int32_t RRTILE2150 = 0; -int32_t RRTILE2151 = 0; -int32_t RRTILE2152 = 0; -int32_t RRTILE2156 = 0; -int32_t RRTILE2157 = 0; -int32_t RRTILE2158 = 0; -int32_t RRTILE2159 = 0; -int32_t RRTILE2160 = 0; -int32_t RRTILE2161 = 0; -int32_t RRTILE2175 = 0; -int32_t RRTILE2176 = 0; -int32_t RRTILE2178 = 0; -int32_t RRTILE2186 = 0; -int32_t RRTILE2214 = 0; -int32_t RRTILE2319 = 0; -int32_t RRTILE2321 = 0; -int32_t RRTILE2326 = 0; -int32_t RRTILE2329 = 0; -int32_t RRTILE2357 = 0; -int32_t RRTILE2382 = 0; -int32_t RRTILE2430 = 0; -int32_t RRTILE2431 = 0; -int32_t RRTILE2432 = 0; -int32_t RRTILE2437 = 0; -int32_t RRTILE2443 = 0; -int32_t RRTILE2445 = 0; -int32_t RRTILE2446 = 0; -int32_t RRTILE2450 = 0; -int32_t RRTILE2451 = 0; -int32_t RRTILE2455 = 0; -int32_t RRTILE2460 = 0; -int32_t RRTILE2465 = 0; -int32_t RRTILE2560 = 0; -int32_t RRTILE2562 = 0; -int32_t RRTILE2564 = 0; -int32_t RRTILE2573 = 0; -int32_t RRTILE2574 = 0; -int32_t RRTILE2577 = 0; -int32_t RRTILE2578 = 0; -int32_t RRTILE2581 = 0; -int32_t RRTILE2583 = 0; -int32_t RRTILE2604 = 0; -int32_t RRTILE2610 = 0; -int32_t RRTILE2613 = 0; -int32_t RRTILE2621 = 0; -int32_t RRTILE2622 = 0; -int32_t RRTILE2636 = 0; -int32_t RRTILE2637 = 0; -int32_t RRTILE2654 = 0; -int32_t RRTILE2656 = 0; -int32_t RRTILE2676 = 0; -int32_t RRTILE2689 = 0; -int32_t RRTILE2697 = 0; -int32_t RRTILE2702 = 0; -int32_t RRTILE2707 = 0; -int32_t RRTILE2732 = 0; -int32_t RRTILE2030 = 0; -int32_t RRTILE2831 = 0; -int32_t RRTILE2832 = 0; -int32_t RRTILE2842 = 0; -int32_t RRTILE2859 = 0; -int32_t RRTILE2876 = 0; -int32_t RRTILE2878 = 0; -int32_t RRTILE2879 = 0; -int32_t RRTILE2893 = 0; -int32_t RRTILE2894 = 0; -int32_t RRTILE2898 = 0; -int32_t RRTILE2899 = 0; -int32_t RRTILE2915 = 0; -int32_t RRTILE2940 = 0; -int32_t RRTILE2944 = 0; -int32_t RRTILE2945 = 0; -int32_t RRTILE2946 = 0; -int32_t RRTILE2947 = 0; -int32_t RRTILE2948 = 0; -int32_t RRTILE2949 = 0; -int32_t RRTILE2961 = 0; -int32_t RRTILE2970 = 0; -int32_t RRTILE2977 = 0; -int32_t RRTILE2978 = 0; -int32_t RRTILE2990 = 0; -int32_t RRTILE3073 = 0; -int32_t RRTILE3083 = 0; -int32_t RRTILE3100 = 0; -int32_t RRTILE3114 = 0; -int32_t RRTILE3115 = 0; -int32_t RRTILE3116 = 0; -int32_t RRTILE3117 = 0; -int32_t RRTILE3120 = 0; -int32_t RRTILE3121 = 0; -int32_t RRTILE3122 = 0; -int32_t RRTILE3123 = 0; -int32_t RRTILE3124 = 0; -int32_t RRTILE3132 = 0; -int32_t RRTILE3139 = 0; -int32_t RRTILE3144 = 0; -int32_t RRTILE3152 = 0; -int32_t RRTILE3153 = 0; -int32_t RRTILE3155 = 0; -int32_t RRTILE3171 = 0; -int32_t RRTILE3172 = 0; -int32_t RRTILE3190 = 0; -int32_t RRTILE3191 = 0; -int32_t RRTILE3192 = 0; -int32_t RRTILE3195 = 0; -int32_t RRTILE3200 = 0; -int32_t RRTILE3201 = 0; -int32_t RRTILE3202 = 0; -int32_t RRTILE3203 = 0; -int32_t RRTILE3204 = 0; -int32_t RRTILE3205 = 0; -int32_t RRTILE3206 = 0; -int32_t RRTILE3207 = 0; -int32_t RRTILE3208 = 0; -int32_t RRTILE3209 = 0; -int32_t RRTILE3216 = 0; -int32_t RRTILE3218 = 0; -int32_t RRTILE3219 = 0; -int32_t RRTILE3232 = 0; -int32_t SHOTGUNSHELLS = 0; -int32_t CIRCLESTUCK = 0; -int32_t RRTILE3410 = 0; -int32_t LUMBERBLADE = 0; -int32_t BOWLINGBALLH = 0; -int32_t BOWLINGBALL = 0; -int32_t BOWLINGBALLSPRITE = 0; -int32_t POWDERH = 0; -int32_t RRTILE3440 = 0; -int32_t RRTILE3462 = 0; -int32_t OWHIP = 0; -int32_t UWHIP = 0; -int32_t RPGGUN2 = 0; -int32_t RRTILE3497 = 0; -int32_t RRTILE3498 = 0; -int32_t RRTILE3499 = 0; -int32_t RRTILE3500 = 0; -int32_t SLINGBLADE = 0; -int32_t RRTILE3584 = 0; -int32_t RRTILE3586 = 0; -int32_t RRTILE3587 = 0; -int32_t RRTILE3600 = 0; -int32_t RRTILE3631 = 0; -int32_t RRTILE3635 = 0; -int32_t RRTILE3637 = 0; -int32_t RRTILE3643 = 0; -int32_t RRTILE3647 = 0; -int32_t RRTILE3652 = 0; -int32_t RRTILE3653 = 0; -int32_t RRTILE3668 = 0; -int32_t RRTILE3671 = 0; -int32_t RRTILE3673 = 0; -int32_t RRTILE3677 = 0; -int32_t RRTILE3684 = 0; -int32_t RRTILE3708 = 0; -int32_t RRTILE3714 = 0; -int32_t RRTILE3716 = 0; -int32_t RRTILE3720 = 0; -int32_t RRTILE3723 = 0; -int32_t RRTILE3725 = 0; -int32_t RRTILE3737 = 0; -int32_t RRTILE3754 = 0; -int32_t RRTILE3762 = 0; -int32_t RRTILE3763 = 0; -int32_t RRTILE3764 = 0; -int32_t RRTILE3765 = 0; -int32_t RRTILE3767 = 0; -int32_t RRTILE3773 = 0; -int32_t RRTILE3774 = 0; -int32_t RRTILE3793 = 0; -int32_t RRTILE3795 = 0; -int32_t RRTILE3804 = 0; -int32_t RRTILE3814 = 0; -int32_t RRTILE3815 = 0; -int32_t RRTILE3819 = 0; -int32_t RRTILE3827 = 0; -int32_t RRTILE3837 = 0; -int32_t RRTILE5014 = 0; -int32_t RRTILE5016 = 0; -int32_t RRTILE5017 = 0; -int32_t RRTILE5018 = 0; -int32_t RRTILE5019 = 0; -int32_t RRTILE5020 = 0; -int32_t RRTILE5021 = 0; -int32_t RRTILE5022 = 0; -int32_t RRTILE5023 = 0; -int32_t RRTILE5024 = 0; -int32_t RRTILE5025 = 0; -int32_t RRTILE5026 = 0; -int32_t RRTILE5027 = 0; -int32_t RRTILE5029 = 0; -int32_t RRTILE5030 = 0; -int32_t RRTILE5031 = 0; -int32_t RRTILE5032 = 0; -int32_t RRTILE5033 = 0; -int32_t RRTILE5034 = 0; -int32_t RRTILE5035 = 0; -int32_t RRTILE5036 = 0; -int32_t RRTILE5037 = 0; -int32_t RRTILE5038 = 0; -int32_t RRTILE5039 = 0; -int32_t RRTILE5040 = 0; -int32_t RRTILE5041 = 0; -int32_t RRTILE5043 = 0; -int32_t RRTILE5044 = 0; -int32_t RRTILE5045 = 0; -int32_t RRTILE5046 = 0; -int32_t RRTILE5047 = 0; -int32_t RRTILE5048 = 0; -int32_t RRTILE5049 = 0; -int32_t RRTILE5050 = 0; -int32_t RRTILE5051 = 0; -int32_t RRTILE5052 = 0; -int32_t RRTILE5053 = 0; -int32_t RRTILE5054 = 0; -int32_t RRTILE5055 = 0; -int32_t RRTILE5056 = 0; -int32_t RRTILE5057 = 0; -int32_t RRTILE5058 = 0; -int32_t RRTILE5059 = 0; -int32_t RRTILE5061 = 0; -int32_t RRTILE5062 = 0; -int32_t RRTILE5063 = 0; -int32_t RRTILE5064 = 0; -int32_t RRTILE5065 = 0; -int32_t RRTILE5066 = 0; -int32_t RRTILE5067 = 0; -int32_t RRTILE5068 = 0; -int32_t RRTILE5069 = 0; -int32_t RRTILE5070 = 0; -int32_t RRTILE5071 = 0; -int32_t RRTILE5072 = 0; -int32_t RRTILE5073 = 0; -int32_t RRTILE5074 = 0; -int32_t RRTILE5075 = 0; -int32_t RRTILE5076 = 0; -int32_t RRTILE5077 = 0; -int32_t RRTILE5078 = 0; -int32_t RRTILE5079 = 0; -int32_t RRTILE5080 = 0; -int32_t RRTILE5081 = 0; -int32_t RRTILE5082 = 0; -int32_t RRTILE5083 = 0; -int32_t RRTILE5084 = 0; -int32_t RRTILE5085 = 0; -int32_t RRTILE5086 = 0; -int32_t RRTILE5087 = 0; -int32_t RRTILE5088 = 0; -int32_t RRTILE5090 = 0; -int32_t RRTILE6144 = 0; -int32_t RRTILE7110 = 0; -int32_t RRTILE7111 = 0; -int32_t RRTILE7112 = 0; -int32_t RRTILE7113 = 0; -int32_t MOTOGUN = 0; -int32_t RRTILE7169 = 0; -int32_t MOTOHIT = 0; -int32_t BOATHIT = 0; -int32_t RRTILE7184 = 0; -int32_t RRTILE7190 = 0; -int32_t RRTILE7191 = 0; -int32_t RRTILE7213 = 0; -int32_t RRTILE7219 = 0; -int32_t EMPTYBIKE = 0; -int32_t EMPTYBOAT = 0; -int32_t RRTILE7424 = 0; -int32_t RRTILE7430 = 0; -int32_t RRTILE7433 = 0; -int32_t RRTILE7441 = 0; -int32_t RRTILE7547 = 0; -int32_t RRTILE7467 = 0; -int32_t RRTILE7469 = 0; -int32_t RRTILE7470 = 0; -int32_t RRTILE7475 = 0; -int32_t RRTILE7478 = 0; -int32_t RRTILE7505 = 0; -int32_t RRTILE7506 = 0; -int32_t RRTILE7534 = 0; -int32_t RRTILE7540 = 0; -int32_t RRTILE7533 = 0; -int32_t RRTILE7545 = 0; -int32_t RRTILE7552 = 0; -int32_t RRTILE7553 = 0; -int32_t RRTILE7554 = 0; -int32_t RRTILE7555 = 0; -int32_t RRTILE7557 = 0; -int32_t RRTILE7558 = 0; -int32_t RRTILE7559 = 0; -int32_t RRTILE7561 = 0; -int32_t RRTILE7566 = 0; -int32_t RRTILE7568 = 0; -int32_t RRTILE7574 = 0; -int32_t RRTILE7575 = 0; -int32_t RRTILE7576 = 0; -int32_t RRTILE7578 = 0; -int32_t RRTILE7579 = 0; -int32_t RRTILE7580 = 0; -int32_t RRTILE7595 = 0; -int32_t RRTILE7629 = 0; -int32_t RRTILE7636 = 0; -int32_t RRTILE7638 = 0; -int32_t RRTILE7640 = 0; -int32_t RRTILE7644 = 0; -int32_t RRTILE7646 = 0; -int32_t RRTILE7648 = 0; -int32_t RRTILE7650 = 0; -int32_t RRTILE7653 = 0; -int32_t RRTILE7655 = 0; -int32_t RRTILE7657 = 0; -int32_t RRTILE7659 = 0; -int32_t RRTILE7691 = 0; -int32_t RRTILE7694 = 0; -int32_t RRTILE7696 = 0; -int32_t RRTILE7697 = 0; -int32_t RRTILE7700 = 0; -int32_t RRTILE7702 = 0; -int32_t RRTILE7704 = 0; -int32_t RRTILE7705 = 0; -int32_t RRTILE7711 = 0; -int32_t RRTILE7716 = 0; -int32_t RRTILE7756 = 0; -int32_t RRTILE7768 = 0; -int32_t RRTILE7806 = 0; -int32_t RRTILE7820 = 0; -int32_t RRTILE7859 = 0; -int32_t RRTILE7870 = 0; -int32_t RRTILE7873 = 0; -int32_t RRTILE7875 = 0; -int32_t RRTILE7876 = 0; -int32_t RRTILE7879 = 0; -int32_t RRTILE7881 = 0; -int32_t RRTILE7883 = 0; -int32_t RRTILE7885 = 0; -int32_t RRTILE7886 = 0; -int32_t RRTILE7887 = 0; -int32_t RRTILE7888 = 0; -int32_t RRTILE7889 = 0; -int32_t RRTILE7890 = 0; -int32_t RRTILE7900 = 0; -int32_t RRTILE7901 = 0; -int32_t RRTILE7906 = 0; -int32_t RRTILE7912 = 0; -int32_t RRTILE7913 = 0; -int32_t RRTILE7936 = 0; -int32_t RRTILE8047 = 0; -int32_t MULTISWITCH2 = 0; -int32_t RRTILE8059 = 0; -int32_t RRTILE8060 = 0; -int32_t RRTILE8063 = 0; -int32_t RRTILE8067 = 0; -int32_t RRTILE8076 = 0; -int32_t RRTILE8094 = 0; -int32_t RRTILE8096 = 0; -int32_t RRTILE8099 = 0; -int32_t RRTILE8106 = 0; -int32_t RRTILE8162 = 0; -int32_t RRTILE8163 = 0; -int32_t RRTILE8164 = 0; -int32_t RRTILE8165 = 0; -int32_t RRTILE8166 = 0; -int32_t RRTILE8167 = 0; -int32_t RRTILE8168 = 0; -int32_t RRTILE8192 = 0; -int32_t RRTILE8193 = 0; -int32_t RRTILE8215 = 0; -int32_t RRTILE8216 = 0; -int32_t RRTILE8217 = 0; -int32_t RRTILE8218 = 0; -int32_t RRTILE8220 = 0; -int32_t RRTILE8221 = 0; -int32_t RRTILE8222 = 0; -int32_t RRTILE8223 = 0; -int32_t RRTILE8224 = 0; -int32_t RRTILE8227 = 0; -int32_t RRTILE8312 = 0; -int32_t RRTILE8370 = 0; -int32_t RRTILE8371 = 0; -int32_t RRTILE8372 = 0; -int32_t RRTILE8373 = 0; -int32_t RRTILE8379 = 0; -int32_t RRTILE8380 = 0; -int32_t RRTILE8385 = 0; -int32_t RRTILE8386 = 0; -int32_t RRTILE8387 = 0; -int32_t RRTILE8388 = 0; -int32_t RRTILE8389 = 0; -int32_t RRTILE8390 = 0; -int32_t RRTILE8391 = 0; -int32_t RRTILE8392 = 0; -int32_t RRTILE8394 = 0; -int32_t RRTILE8395 = 0; -int32_t RRTILE8396 = 0; -int32_t RRTILE8397 = 0; -int32_t RRTILE8398 = 0; -int32_t RRTILE8399 = 0; -int32_t RRTILE8423 = 0; -int32_t RRTILE8448 = 0; -int32_t RRTILE8450 = 0; -int32_t BOATAMMO = 0; -int32_t RRTILE8461 = 0; -int32_t RRTILE8462 = 0; -int32_t RRTILE8464 = 0; -int32_t RRTILE8475 = 0; -int32_t RRTILE8487 = 0; -int32_t RRTILE8488 = 0; -int32_t RRTILE8489 = 0; -int32_t RRTILE8490 = 0; -int32_t RRTILE8496 = 0; -int32_t RRTILE8497 = 0; -int32_t RRTILE8498 = 0; -int32_t RRTILE8499 = 0; -int32_t RRTILE8503 = 0; -int32_t RRTILE8525 = 0; -int32_t RRTILE8537 = 0; -int32_t RRTILE8565 = 0; -int32_t RRTILE8567 = 0; -int32_t RRTILE8568 = 0; -int32_t RRTILE8569 = 0; -int32_t RRTILE8570 = 0; -int32_t RRTILE8571 = 0; -int32_t RRTILE8579 = 0; -int32_t RRTILE8588 = 0; -int32_t RRTILE8589 = 0; -int32_t RRTILE8590 = 0; -int32_t RRTILE8591 = 0; -int32_t RRTILE8592 = 0; -int32_t RRTILE8593 = 0; -int32_t RRTILE8594 = 0; -int32_t RRTILE8595 = 0; -int32_t RRTILE8596 = 0; -int32_t RRTILE8598 = 0; -int32_t RRTILE8605 = 0; -int32_t RRTILE8608 = 0; -int32_t RRTILE8609 = 0; -int32_t RRTILE8611 = 0; -int32_t RRTILE8617 = 0; -int32_t RRTILE8618 = 0; -int32_t RRTILE8620 = 0; -int32_t RRTILE8621 = 0; -int32_t RRTILE8622 = 0; -int32_t RRTILE8623 = 0; -int32_t RRTILE8624 = 0; -int32_t RRTILE8640 = 0; -int32_t RRTILE8651 = 0; -int32_t RRTILE8660 = 0; -int32_t RRTILE8677 = 0; -int32_t RRTILE8679 = 0; -int32_t RRTILE8680 = 0; -int32_t RRTILE8681 = 0; -int32_t RRTILE8682 = 0; -int32_t RRTILE8683 = 0; -int32_t RRTILE8704 = 0; -int32_t BOULDER = 0; -int32_t BOULDER1 = 0; -int32_t TORNADO = 0; -int32_t CHEERBOMB = 0; -int32_t CHEERBLADE = 0; -int32_t DOGATTACK = 0; -int32_t BILLYWALK = 0; -int32_t BILLYDIE = 0; -int32_t BILLYCOCK = 0; -int32_t BILLYRAY = 0; -int32_t BILLYRAYSTAYPUT = 0; -int32_t BILLYBUT = 0; -int32_t BILLYSCRATCH = 0; -int32_t BILLYSNIFF = 0; -int32_t BILLYWOUND = 0; -int32_t BILLYGORE = 0; -int32_t BILLYJIBA = 0; -int32_t BILLYJIBB = 0; -int32_t BRAYSNIPER = 0; -int32_t DOGRUN = 0; -int32_t DOGDIE = 0; -int32_t DOGDEAD = 0; -int32_t DOGBARK = 0; -int32_t LTH = 0; -int32_t LTHSTRAFE = 0; -int32_t HULKHANG = 0; -int32_t HULKHANGDEAD = 0; -int32_t HULKJUMP = 0; -int32_t LTHLOAD = 0; -int32_t LTHDIE = 0; -int32_t BUBBASCRATCH = 0; -int32_t BUBBANOSE = 0; -int32_t BUBBAPISS = 0; -int32_t BUBBASTAND = 0; -int32_t BUBBAOUCH = 0; -int32_t BUBBADIE = 0; -int32_t BUBBADEAD = 0; -int32_t HULK = 0; -int32_t HULKSTAYPUT = 0; -int32_t HULKA = 0; -int32_t HULKB = 0; -int32_t HULKC = 0; -int32_t HULKJIBA = 0; -int32_t HULKJIBB = 0; -int32_t HULKJIBC = 0; -int32_t SBSWIPE = 0; -int32_t SBPAIN = 0; -int32_t SBDIE = 0; -int32_t HEN = 0; -int32_t HENSTAYPUT = 0; -int32_t HENSTAND = 0; -int32_t PIG = 0; -int32_t PIGSTAYPUT = 0; -int32_t PIGEAT = 0; -int32_t SBMOVE = 0; -int32_t SBSPIT = 0; -int32_t SBDIP = 0; -int32_t MINION = 0; -int32_t MINIONSTAYPUT = 0; -int32_t UFO1 = 0; -int32_t UFO2 = 0; -int32_t UFO3 = 0; -int32_t UFO4 = 0; -int32_t UFO5 = 0; -int32_t MINJIBA = 0; -int32_t MINJIBB = 0; -int32_t MINJIBC = 0; -int32_t COW = 0; -int32_t COOT = 0; -int32_t COOTSTAYPUT = 0; -int32_t COOTSHOOT = 0; -int32_t COOTDIE = 0; -int32_t COOTDUCK = 0; -int32_t COOTPAIN = 0; -int32_t COOTTRANS = 0; -int32_t COOTGETUP = 0; -int32_t COOTJIBA = 0; -int32_t COOTJIBB = 0; -int32_t COOTJIBC = 0; -int32_t VIXEN = 0; -int32_t VIXENPAIN = 0; -int32_t VIXENDIE = 0; -int32_t VIXENSHOOT = 0; -int32_t VIXENWDN = 0; -int32_t VIXENWUP = 0; -int32_t VIXENKICK = 0; -int32_t VIXENTELE = 0; -int32_t VIXENTEAT = 0; -int32_t BIKEJIBA = 0; -int32_t BIKEJIBB = 0; -int32_t BIKEJIBC = 0; -int32_t BIKERB = 0; -int32_t BIKERBV2 = 0; -int32_t BIKER = 0; -int32_t BIKERJIBA = 0; -int32_t BIKERJIBB = 0; -int32_t BIKERJIBC = 0; -int32_t BIKERJIBD = 0; -int32_t MAKEOUT = 0; -int32_t CHEERB = 0; -int32_t CHEER = 0; -int32_t CHEERSTAYPUT = 0; -int32_t CHEERJIBA = 0; -int32_t CHEERJIBB = 0; -int32_t CHEERJIBC = 0; -int32_t CHEERJIBD = 0; -int32_t FBOATJIBA = 0; -int32_t FBOATJIBB = 0; -int32_t COOTPLAY = 0; -int32_t BILLYPLAY = 0; -int32_t MINIONBOAT = 0; -int32_t HULKBOAT = 0; -int32_t CHEERBOAT = 0; -int32_t RRTILE7274 = 0; -int32_t RABBIT = 0; -int32_t RABBITJIBA = 0; -int32_t RABBITJIBB = 0; -int32_t RABBITJIBC = 0; -int32_t ROCK = 0; -int32_t ROCK2 = 0; -int32_t MAMACLOUD = 0; -int32_t MAMA = 0; -int32_t MAMAJIBA = 0; -int32_t MAMAJIBB = 0; +int32_t TILE_RRTILE11 = 0; +int32_t TILE_RPG2SPRITE = 0; +int32_t TILE_RRTILE18 = 0; +int32_t TILE_RRTILE19 = 0; +int32_t TILE_RRTILE34 = 0; +int32_t TILE_RRTILE35 = 0; +int32_t TILE_DESTRUCTO = 0; +int32_t TILE_RRTILE38 = 0; +int32_t TILE_RRTILE43 = 0; +int32_t TILE_GUTMETER = 0; +int32_t TILE_RRTILE63 = 0; +int32_t TILE_RRTILE64 = 0; +int32_t TILE_RRTILE65 = 0; +int32_t TILE_RRTILE66 = 0; +int32_t TILE_RRTILE67 = 0; +int32_t TILE_RRTILE68 = 0; +int32_t TILE_SOUNDFX = 0; +int32_t TILE_MOTOAMMO = 0; +int32_t TILE_UFOBEAM = 0; +int32_t TILE_RRTILE280 = 0; +int32_t TILE_RRTILE281 = 0; +int32_t TILE_RRTILE282 = 0; +int32_t TILE_RRTILE283 = 0; +int32_t TILE_RRTILE285 = 0; +int32_t TILE_RRTILE286 = 0; +int32_t TILE_RRTILE287 = 0; +int32_t TILE_RRTILE288 = 0; +int32_t TILE_RRTILE289 = 0; +int32_t TILE_RRTILE290 = 0; +int32_t TILE_RRTILE291 = 0; +int32_t TILE_RRTILE292 = 0; +int32_t TILE_RRTILE293 = 0; +int32_t TILE_RRTILE295 = 0; +int32_t TILE_RRTILE296 = 0; +int32_t TILE_RRTILE297 = 0; +int32_t TILE_CDPLAYER = 0; +int32_t TILE_RRTILE380 = 0; +int32_t TILE_RRTILE403 = 0; +int32_t TILE_RRTILE409 = 0; +int32_t TILE_GUTMETER_LIGHT1 = 0; +int32_t TILE_GUTMETER_LIGHT2 = 0; +int32_t TILE_GUTMETER_LIGHT3 = 0; +int32_t TILE_GUTMETER_LIGHT4 = 0; +int32_t TILE_AMMO_ICON = 0; +int32_t TILE_RRTILE1076 = 0; +int32_t TILE_MUD = 0; +int32_t TILE_EXPLOSION3 = 0; +int32_t TILE_RRTILE1636 = 0; +int32_t TILE_WEAPONBAR = 0; +int32_t TILE_RRTILE1752 = 0; +int32_t TILE_RPG2 = 0; +int32_t TILE_RRTILE1790 = 0; +int32_t TILE_RRTILE1792 = 0; +int32_t TILE_RRTILE1801 = 0; +int32_t TILE_RRTILE1805 = 0; +int32_t TILE_RRTILE1807 = 0; +int32_t TILE_RRTILE1808 = 0; +int32_t TILE_RRTILE1812 = 0; +int32_t TILE_RRTILE1814 = 0; +int32_t TILE_RRTILE1817 = 0; +int32_t TILE_RRTILE1821 = 0; +int32_t TILE_RRTILE1824 = 0; +int32_t TILE_RRTILE1826 = 0; +int32_t TILE_RRTILE1850 = 0; +int32_t TILE_RRTILE1851 = 0; +int32_t TILE_RRTILE1856 = 0; +int32_t TILE_RRTILE1877 = 0; +int32_t TILE_RRTILE1878 = 0; +int32_t TILE_RRTILE1938 = 0; +int32_t TILE_RRTILE1939 = 0; +int32_t TILE_RRTILE1942 = 0; +int32_t TILE_RRTILE1944 = 0; +int32_t TILE_RRTILE1945 = 0; +int32_t TILE_RRTILE1947 = 0; +int32_t TILE_RRTILE1951 = 0; +int32_t TILE_RRTILE1952 = 0; +int32_t TILE_RRTILE1953 = 0; +int32_t TILE_RRTILE1961 = 0; +int32_t TILE_RRTILE1964 = 0; +int32_t TILE_RRTILE1973 = 0; +int32_t TILE_RRTILE1985 = 0; +int32_t TILE_RRTILE1986 = 0; +int32_t TILE_RRTILE1987 = 0; +int32_t TILE_RRTILE1988 = 0; +int32_t TILE_RRTILE1990 = 0; +int32_t TILE_RRTILE1995 = 0; +int32_t TILE_RRTILE1996 = 0; +int32_t TILE_RRTILE2004 = 0; +int32_t TILE_RRTILE2005 = 0; +int32_t TILE_POPCORN = 0; +int32_t TILE_RRTILE2022 = 0; +int32_t TILE_LANEPICS = 0; +int32_t TILE_RRTILE2025 = 0; +int32_t TILE_RRTILE2026 = 0; +int32_t TILE_RRTILE2027 = 0; +int32_t TILE_RRTILE2028 = 0; +int32_t TILE_RRTILE2034 = 0; +int32_t TILE_RRTILE2050 = 0; +int32_t TILE_RRTILE2052 = 0; +int32_t TILE_RRTILE2053 = 0; +int32_t TILE_RRTILE2056 = 0; +int32_t TILE_RRTILE2060 = 0; +int32_t TILE_RRTILE2072 = 0; +int32_t TILE_RRTILE2074 = 0; +int32_t TILE_RRTILE2075 = 0; +int32_t TILE_RRTILE2083 = 0; +int32_t TILE_RRTILE2097 = 0; +int32_t TILE_RRTILE2121 = 0; +int32_t TILE_RRTILE2122 = 0; +int32_t TILE_RRTILE2123 = 0; +int32_t TILE_RRTILE2124 = 0; +int32_t TILE_RRTILE2125 = 0; +int32_t TILE_RRTILE2126 = 0; +int32_t TILE_RRTILE2137 = 0; +int32_t TILE_RRTILE2132 = 0; +int32_t TILE_RRTILE2136 = 0; +int32_t TILE_RRTILE2139 = 0; +int32_t TILE_RRTILE2150 = 0; +int32_t TILE_RRTILE2151 = 0; +int32_t TILE_RRTILE2152 = 0; +int32_t TILE_RRTILE2156 = 0; +int32_t TILE_RRTILE2157 = 0; +int32_t TILE_RRTILE2158 = 0; +int32_t TILE_RRTILE2159 = 0; +int32_t TILE_RRTILE2160 = 0; +int32_t TILE_RRTILE2161 = 0; +int32_t TILE_RRTILE2175 = 0; +int32_t TILE_RRTILE2176 = 0; +int32_t TILE_RRTILE2178 = 0; +int32_t TILE_RRTILE2186 = 0; +int32_t TILE_RRTILE2214 = 0; +int32_t TILE_RRTILE2319 = 0; +int32_t TILE_RRTILE2321 = 0; +int32_t TILE_RRTILE2326 = 0; +int32_t TILE_RRTILE2329 = 0; +int32_t TILE_RRTILE2357 = 0; +int32_t TILE_RRTILE2382 = 0; +int32_t TILE_RRTILE2430 = 0; +int32_t TILE_RRTILE2431 = 0; +int32_t TILE_RRTILE2432 = 0; +int32_t TILE_RRTILE2437 = 0; +int32_t TILE_RRTILE2443 = 0; +int32_t TILE_RRTILE2445 = 0; +int32_t TILE_RRTILE2446 = 0; +int32_t TILE_RRTILE2450 = 0; +int32_t TILE_RRTILE2451 = 0; +int32_t TILE_RRTILE2455 = 0; +int32_t TILE_RRTILE2460 = 0; +int32_t TILE_RRTILE2465 = 0; +int32_t TILE_RRTILE2560 = 0; +int32_t TILE_RRTILE2562 = 0; +int32_t TILE_RRTILE2564 = 0; +int32_t TILE_RRTILE2573 = 0; +int32_t TILE_RRTILE2574 = 0; +int32_t TILE_RRTILE2577 = 0; +int32_t TILE_RRTILE2578 = 0; +int32_t TILE_RRTILE2581 = 0; +int32_t TILE_RRTILE2583 = 0; +int32_t TILE_RRTILE2604 = 0; +int32_t TILE_RRTILE2610 = 0; +int32_t TILE_RRTILE2613 = 0; +int32_t TILE_RRTILE2621 = 0; +int32_t TILE_RRTILE2622 = 0; +int32_t TILE_RRTILE2636 = 0; +int32_t TILE_RRTILE2637 = 0; +int32_t TILE_RRTILE2654 = 0; +int32_t TILE_RRTILE2656 = 0; +int32_t TILE_RRTILE2676 = 0; +int32_t TILE_RRTILE2689 = 0; +int32_t TILE_RRTILE2697 = 0; +int32_t TILE_RRTILE2702 = 0; +int32_t TILE_RRTILE2707 = 0; +int32_t TILE_RRTILE2732 = 0; +int32_t TILE_RRTILE2030 = 0; +int32_t TILE_RRTILE2831 = 0; +int32_t TILE_RRTILE2832 = 0; +int32_t TILE_RRTILE2842 = 0; +int32_t TILE_RRTILE2859 = 0; +int32_t TILE_RRTILE2876 = 0; +int32_t TILE_RRTILE2878 = 0; +int32_t TILE_RRTILE2879 = 0; +int32_t TILE_RRTILE2893 = 0; +int32_t TILE_RRTILE2894 = 0; +int32_t TILE_RRTILE2898 = 0; +int32_t TILE_RRTILE2899 = 0; +int32_t TILE_RRTILE2915 = 0; +int32_t TILE_RRTILE2940 = 0; +int32_t TILE_RRTILE2944 = 0; +int32_t TILE_RRTILE2945 = 0; +int32_t TILE_RRTILE2946 = 0; +int32_t TILE_RRTILE2947 = 0; +int32_t TILE_RRTILE2948 = 0; +int32_t TILE_RRTILE2949 = 0; +int32_t TILE_RRTILE2961 = 0; +int32_t TILE_RRTILE2970 = 0; +int32_t TILE_RRTILE2977 = 0; +int32_t TILE_RRTILE2978 = 0; +int32_t TILE_RRTILE2990 = 0; +int32_t TILE_RRTILE3073 = 0; +int32_t TILE_RRTILE3083 = 0; +int32_t TILE_RRTILE3100 = 0; +int32_t TILE_RRTILE3114 = 0; +int32_t TILE_RRTILE3115 = 0; +int32_t TILE_RRTILE3116 = 0; +int32_t TILE_RRTILE3117 = 0; +int32_t TILE_RRTILE3120 = 0; +int32_t TILE_RRTILE3121 = 0; +int32_t TILE_RRTILE3122 = 0; +int32_t TILE_RRTILE3123 = 0; +int32_t TILE_RRTILE3124 = 0; +int32_t TILE_RRTILE3132 = 0; +int32_t TILE_RRTILE3139 = 0; +int32_t TILE_RRTILE3144 = 0; +int32_t TILE_RRTILE3152 = 0; +int32_t TILE_RRTILE3153 = 0; +int32_t TILE_RRTILE3155 = 0; +int32_t TILE_RRTILE3171 = 0; +int32_t TILE_RRTILE3172 = 0; +int32_t TILE_RRTILE3190 = 0; +int32_t TILE_RRTILE3191 = 0; +int32_t TILE_RRTILE3192 = 0; +int32_t TILE_RRTILE3195 = 0; +int32_t TILE_RRTILE3200 = 0; +int32_t TILE_RRTILE3201 = 0; +int32_t TILE_RRTILE3202 = 0; +int32_t TILE_RRTILE3203 = 0; +int32_t TILE_RRTILE3204 = 0; +int32_t TILE_RRTILE3205 = 0; +int32_t TILE_RRTILE3206 = 0; +int32_t TILE_RRTILE3207 = 0; +int32_t TILE_RRTILE3208 = 0; +int32_t TILE_RRTILE3209 = 0; +int32_t TILE_RRTILE3216 = 0; +int32_t TILE_RRTILE3218 = 0; +int32_t TILE_RRTILE3219 = 0; +int32_t TILE_RRTILE3232 = 0; +int32_t TILE_SHOTGUNSHELLS = 0; +int32_t TILE_CIRCLESTUCK = 0; +int32_t TILE_RRTILE3410 = 0; +int32_t TILE_LUMBERBLADE = 0; +int32_t TILE_BOWLINGBALLH = 0; +int32_t TILE_BOWLINGBALL = 0; +int32_t TILE_BOWLINGBALLSPRITE = 0; +int32_t TILE_POWDERH = 0; +int32_t TILE_RRTILE3440 = 0; +int32_t TILE_RRTILE3462 = 0; +int32_t TILE_OWHIP = 0; +int32_t TILE_UWHIP = 0; +int32_t TILE_RPGGUN2 = 0; +int32_t TILE_RRTILE3497 = 0; +int32_t TILE_RRTILE3498 = 0; +int32_t TILE_RRTILE3499 = 0; +int32_t TILE_RRTILE3500 = 0; +int32_t TILE_SLINGBLADE = 0; +int32_t TILE_RRTILE3584 = 0; +int32_t TILE_RRTILE3586 = 0; +int32_t TILE_RRTILE3587 = 0; +int32_t TILE_RRTILE3600 = 0; +int32_t TILE_RRTILE3631 = 0; +int32_t TILE_RRTILE3635 = 0; +int32_t TILE_RRTILE3637 = 0; +int32_t TILE_RRTILE3643 = 0; +int32_t TILE_RRTILE3647 = 0; +int32_t TILE_RRTILE3652 = 0; +int32_t TILE_RRTILE3653 = 0; +int32_t TILE_RRTILE3668 = 0; +int32_t TILE_RRTILE3671 = 0; +int32_t TILE_RRTILE3673 = 0; +int32_t TILE_RRTILE3677 = 0; +int32_t TILE_RRTILE3684 = 0; +int32_t TILE_RRTILE3708 = 0; +int32_t TILE_RRTILE3714 = 0; +int32_t TILE_RRTILE3716 = 0; +int32_t TILE_RRTILE3720 = 0; +int32_t TILE_RRTILE3723 = 0; +int32_t TILE_RRTILE3725 = 0; +int32_t TILE_RRTILE3737 = 0; +int32_t TILE_RRTILE3754 = 0; +int32_t TILE_RRTILE3762 = 0; +int32_t TILE_RRTILE3763 = 0; +int32_t TILE_RRTILE3764 = 0; +int32_t TILE_RRTILE3765 = 0; +int32_t TILE_RRTILE3767 = 0; +int32_t TILE_RRTILE3773 = 0; +int32_t TILE_RRTILE3774 = 0; +int32_t TILE_RRTILE3793 = 0; +int32_t TILE_RRTILE3795 = 0; +int32_t TILE_RRTILE3804 = 0; +int32_t TILE_RRTILE3814 = 0; +int32_t TILE_RRTILE3815 = 0; +int32_t TILE_RRTILE3819 = 0; +int32_t TILE_RRTILE3827 = 0; +int32_t TILE_RRTILE3837 = 0; +int32_t TILE_RRTILE5014 = 0; +int32_t TILE_RRTILE5016 = 0; +int32_t TILE_RRTILE5017 = 0; +int32_t TILE_RRTILE5018 = 0; +int32_t TILE_RRTILE5019 = 0; +int32_t TILE_RRTILE5020 = 0; +int32_t TILE_RRTILE5021 = 0; +int32_t TILE_RRTILE5022 = 0; +int32_t TILE_RRTILE5023 = 0; +int32_t TILE_RRTILE5024 = 0; +int32_t TILE_RRTILE5025 = 0; +int32_t TILE_RRTILE5026 = 0; +int32_t TILE_RRTILE5027 = 0; +int32_t TILE_RRTILE5029 = 0; +int32_t TILE_RRTILE5030 = 0; +int32_t TILE_RRTILE5031 = 0; +int32_t TILE_RRTILE5032 = 0; +int32_t TILE_RRTILE5033 = 0; +int32_t TILE_RRTILE5034 = 0; +int32_t TILE_RRTILE5035 = 0; +int32_t TILE_RRTILE5036 = 0; +int32_t TILE_RRTILE5037 = 0; +int32_t TILE_RRTILE5038 = 0; +int32_t TILE_RRTILE5039 = 0; +int32_t TILE_RRTILE5040 = 0; +int32_t TILE_RRTILE5041 = 0; +int32_t TILE_RRTILE5043 = 0; +int32_t TILE_RRTILE5044 = 0; +int32_t TILE_RRTILE5045 = 0; +int32_t TILE_RRTILE5046 = 0; +int32_t TILE_RRTILE5047 = 0; +int32_t TILE_RRTILE5048 = 0; +int32_t TILE_RRTILE5049 = 0; +int32_t TILE_RRTILE5050 = 0; +int32_t TILE_RRTILE5051 = 0; +int32_t TILE_RRTILE5052 = 0; +int32_t TILE_RRTILE5053 = 0; +int32_t TILE_RRTILE5054 = 0; +int32_t TILE_RRTILE5055 = 0; +int32_t TILE_RRTILE5056 = 0; +int32_t TILE_RRTILE5057 = 0; +int32_t TILE_RRTILE5058 = 0; +int32_t TILE_RRTILE5059 = 0; +int32_t TILE_RRTILE5061 = 0; +int32_t TILE_RRTILE5062 = 0; +int32_t TILE_RRTILE5063 = 0; +int32_t TILE_RRTILE5064 = 0; +int32_t TILE_RRTILE5065 = 0; +int32_t TILE_RRTILE5066 = 0; +int32_t TILE_RRTILE5067 = 0; +int32_t TILE_RRTILE5068 = 0; +int32_t TILE_RRTILE5069 = 0; +int32_t TILE_RRTILE5070 = 0; +int32_t TILE_RRTILE5071 = 0; +int32_t TILE_RRTILE5072 = 0; +int32_t TILE_RRTILE5073 = 0; +int32_t TILE_RRTILE5074 = 0; +int32_t TILE_RRTILE5075 = 0; +int32_t TILE_RRTILE5076 = 0; +int32_t TILE_RRTILE5077 = 0; +int32_t TILE_RRTILE5078 = 0; +int32_t TILE_RRTILE5079 = 0; +int32_t TILE_RRTILE5080 = 0; +int32_t TILE_RRTILE5081 = 0; +int32_t TILE_RRTILE5082 = 0; +int32_t TILE_RRTILE5083 = 0; +int32_t TILE_RRTILE5084 = 0; +int32_t TILE_RRTILE5085 = 0; +int32_t TILE_RRTILE5086 = 0; +int32_t TILE_RRTILE5087 = 0; +int32_t TILE_RRTILE5088 = 0; +int32_t TILE_RRTILE5090 = 0; +int32_t TILE_RRTILE6144 = 0; +int32_t TILE_RRTILE7110 = 0; +int32_t TILE_RRTILE7111 = 0; +int32_t TILE_RRTILE7112 = 0; +int32_t TILE_RRTILE7113 = 0; +int32_t TILE_MOTOGUN = 0; +int32_t TILE_RRTILE7169 = 0; +int32_t TILE_MOTOHIT = 0; +int32_t TILE_BOATHIT = 0; +int32_t TILE_RRTILE7184 = 0; +int32_t TILE_RRTILE7190 = 0; +int32_t TILE_RRTILE7191 = 0; +int32_t TILE_RRTILE7213 = 0; +int32_t TILE_RRTILE7219 = 0; +int32_t TILE_EMPTYBIKE = 0; +int32_t TILE_EMPTYBOAT = 0; +int32_t TILE_RRTILE7424 = 0; +int32_t TILE_RRTILE7430 = 0; +int32_t TILE_RRTILE7433 = 0; +int32_t TILE_RRTILE7441 = 0; +int32_t TILE_RRTILE7547 = 0; +int32_t TILE_RRTILE7467 = 0; +int32_t TILE_RRTILE7469 = 0; +int32_t TILE_RRTILE7470 = 0; +int32_t TILE_RRTILE7475 = 0; +int32_t TILE_RRTILE7478 = 0; +int32_t TILE_RRTILE7505 = 0; +int32_t TILE_RRTILE7506 = 0; +int32_t TILE_RRTILE7534 = 0; +int32_t TILE_RRTILE7540 = 0; +int32_t TILE_RRTILE7533 = 0; +int32_t TILE_RRTILE7545 = 0; +int32_t TILE_RRTILE7552 = 0; +int32_t TILE_RRTILE7553 = 0; +int32_t TILE_RRTILE7554 = 0; +int32_t TILE_RRTILE7555 = 0; +int32_t TILE_RRTILE7557 = 0; +int32_t TILE_RRTILE7558 = 0; +int32_t TILE_RRTILE7559 = 0; +int32_t TILE_RRTILE7561 = 0; +int32_t TILE_RRTILE7566 = 0; +int32_t TILE_RRTILE7568 = 0; +int32_t TILE_RRTILE7574 = 0; +int32_t TILE_RRTILE7575 = 0; +int32_t TILE_RRTILE7576 = 0; +int32_t TILE_RRTILE7578 = 0; +int32_t TILE_RRTILE7579 = 0; +int32_t TILE_RRTILE7580 = 0; +int32_t TILE_RRTILE7595 = 0; +int32_t TILE_RRTILE7629 = 0; +int32_t TILE_RRTILE7636 = 0; +int32_t TILE_RRTILE7638 = 0; +int32_t TILE_RRTILE7640 = 0; +int32_t TILE_RRTILE7644 = 0; +int32_t TILE_RRTILE7646 = 0; +int32_t TILE_RRTILE7648 = 0; +int32_t TILE_RRTILE7650 = 0; +int32_t TILE_RRTILE7653 = 0; +int32_t TILE_RRTILE7655 = 0; +int32_t TILE_RRTILE7657 = 0; +int32_t TILE_RRTILE7659 = 0; +int32_t TILE_RRTILE7691 = 0; +int32_t TILE_RRTILE7694 = 0; +int32_t TILE_RRTILE7696 = 0; +int32_t TILE_RRTILE7697 = 0; +int32_t TILE_RRTILE7700 = 0; +int32_t TILE_RRTILE7702 = 0; +int32_t TILE_RRTILE7704 = 0; +int32_t TILE_RRTILE7705 = 0; +int32_t TILE_RRTILE7711 = 0; +int32_t TILE_RRTILE7716 = 0; +int32_t TILE_RRTILE7756 = 0; +int32_t TILE_RRTILE7768 = 0; +int32_t TILE_RRTILE7806 = 0; +int32_t TILE_RRTILE7820 = 0; +int32_t TILE_RRTILE7859 = 0; +int32_t TILE_RRTILE7870 = 0; +int32_t TILE_RRTILE7873 = 0; +int32_t TILE_RRTILE7875 = 0; +int32_t TILE_RRTILE7876 = 0; +int32_t TILE_RRTILE7879 = 0; +int32_t TILE_RRTILE7881 = 0; +int32_t TILE_RRTILE7883 = 0; +int32_t TILE_RRTILE7885 = 0; +int32_t TILE_RRTILE7886 = 0; +int32_t TILE_RRTILE7887 = 0; +int32_t TILE_RRTILE7888 = 0; +int32_t TILE_RRTILE7889 = 0; +int32_t TILE_RRTILE7890 = 0; +int32_t TILE_RRTILE7900 = 0; +int32_t TILE_RRTILE7901 = 0; +int32_t TILE_RRTILE7906 = 0; +int32_t TILE_RRTILE7912 = 0; +int32_t TILE_RRTILE7913 = 0; +int32_t TILE_RRTILE7936 = 0; +int32_t TILE_RRTILE8047 = 0; +int32_t TILE_MULTISWITCH2 = 0; +int32_t TILE_RRTILE8059 = 0; +int32_t TILE_RRTILE8060 = 0; +int32_t TILE_RRTILE8063 = 0; +int32_t TILE_RRTILE8067 = 0; +int32_t TILE_RRTILE8076 = 0; +int32_t TILE_RRTILE8094 = 0; +int32_t TILE_RRTILE8096 = 0; +int32_t TILE_RRTILE8099 = 0; +int32_t TILE_RRTILE8106 = 0; +int32_t TILE_RRTILE8162 = 0; +int32_t TILE_RRTILE8163 = 0; +int32_t TILE_RRTILE8164 = 0; +int32_t TILE_RRTILE8165 = 0; +int32_t TILE_RRTILE8166 = 0; +int32_t TILE_RRTILE8167 = 0; +int32_t TILE_RRTILE8168 = 0; +int32_t TILE_RRTILE8192 = 0; +int32_t TILE_RRTILE8193 = 0; +int32_t TILE_RRTILE8215 = 0; +int32_t TILE_RRTILE8216 = 0; +int32_t TILE_RRTILE8217 = 0; +int32_t TILE_RRTILE8218 = 0; +int32_t TILE_RRTILE8220 = 0; +int32_t TILE_RRTILE8221 = 0; +int32_t TILE_RRTILE8222 = 0; +int32_t TILE_RRTILE8223 = 0; +int32_t TILE_RRTILE8224 = 0; +int32_t TILE_RRTILE8227 = 0; +int32_t TILE_RRTILE8312 = 0; +int32_t TILE_RRTILE8370 = 0; +int32_t TILE_RRTILE8371 = 0; +int32_t TILE_RRTILE8372 = 0; +int32_t TILE_RRTILE8373 = 0; +int32_t TILE_RRTILE8379 = 0; +int32_t TILE_RRTILE8380 = 0; +int32_t TILE_RRTILE8385 = 0; +int32_t TILE_RRTILE8386 = 0; +int32_t TILE_RRTILE8387 = 0; +int32_t TILE_RRTILE8388 = 0; +int32_t TILE_RRTILE8389 = 0; +int32_t TILE_RRTILE8390 = 0; +int32_t TILE_RRTILE8391 = 0; +int32_t TILE_RRTILE8392 = 0; +int32_t TILE_RRTILE8394 = 0; +int32_t TILE_RRTILE8395 = 0; +int32_t TILE_RRTILE8396 = 0; +int32_t TILE_RRTILE8397 = 0; +int32_t TILE_RRTILE8398 = 0; +int32_t TILE_RRTILE8399 = 0; +int32_t TILE_RRTILE8423 = 0; +int32_t TILE_RRTILE8448 = 0; +int32_t TILE_RRTILE8450 = 0; +int32_t TILE_BOATAMMO = 0; +int32_t TILE_RRTILE8461 = 0; +int32_t TILE_RRTILE8462 = 0; +int32_t TILE_RRTILE8464 = 0; +int32_t TILE_RRTILE8475 = 0; +int32_t TILE_RRTILE8487 = 0; +int32_t TILE_RRTILE8488 = 0; +int32_t TILE_RRTILE8489 = 0; +int32_t TILE_RRTILE8490 = 0; +int32_t TILE_RRTILE8496 = 0; +int32_t TILE_RRTILE8497 = 0; +int32_t TILE_RRTILE8498 = 0; +int32_t TILE_RRTILE8499 = 0; +int32_t TILE_RRTILE8503 = 0; +int32_t TILE_RRTILE8525 = 0; +int32_t TILE_RRTILE8537 = 0; +int32_t TILE_RRTILE8565 = 0; +int32_t TILE_RRTILE8567 = 0; +int32_t TILE_RRTILE8568 = 0; +int32_t TILE_RRTILE8569 = 0; +int32_t TILE_RRTILE8570 = 0; +int32_t TILE_RRTILE8571 = 0; +int32_t TILE_RRTILE8579 = 0; +int32_t TILE_RRTILE8588 = 0; +int32_t TILE_RRTILE8589 = 0; +int32_t TILE_RRTILE8590 = 0; +int32_t TILE_RRTILE8591 = 0; +int32_t TILE_RRTILE8592 = 0; +int32_t TILE_RRTILE8593 = 0; +int32_t TILE_RRTILE8594 = 0; +int32_t TILE_RRTILE8595 = 0; +int32_t TILE_RRTILE8596 = 0; +int32_t TILE_RRTILE8598 = 0; +int32_t TILE_RRTILE8605 = 0; +int32_t TILE_RRTILE8608 = 0; +int32_t TILE_RRTILE8609 = 0; +int32_t TILE_RRTILE8611 = 0; +int32_t TILE_RRTILE8617 = 0; +int32_t TILE_RRTILE8618 = 0; +int32_t TILE_RRTILE8620 = 0; +int32_t TILE_RRTILE8621 = 0; +int32_t TILE_RRTILE8622 = 0; +int32_t TILE_RRTILE8623 = 0; +int32_t TILE_RRTILE8624 = 0; +int32_t TILE_RRTILE8640 = 0; +int32_t TILE_RRTILE8651 = 0; +int32_t TILE_RRTILE8660 = 0; +int32_t TILE_RRTILE8677 = 0; +int32_t TILE_RRTILE8679 = 0; +int32_t TILE_RRTILE8680 = 0; +int32_t TILE_RRTILE8681 = 0; +int32_t TILE_RRTILE8682 = 0; +int32_t TILE_RRTILE8683 = 0; +int32_t TILE_RRTILE8704 = 0; +int32_t TILE_BOULDER = 0; +int32_t TILE_BOULDER1 = 0; +int32_t TILE_TORNADO = 0; +int32_t TILE_CHEERBOMB = 0; +int32_t TILE_CHEERBLADE = 0; +int32_t TILE_DOGATTACK = 0; +int32_t TILE_BILLYWALK = 0; +int32_t TILE_BILLYDIE = 0; +int32_t TILE_BILLYCOCK = 0; +int32_t TILE_BILLYRAY = 0; +int32_t TILE_BILLYRAYSTAYPUT = 0; +int32_t TILE_BILLYBUT = 0; +int32_t TILE_BILLYSCRATCH = 0; +int32_t TILE_BILLYSNIFF = 0; +int32_t TILE_BILLYWOUND = 0; +int32_t TILE_BILLYGORE = 0; +int32_t TILE_BILLYJIBA = 0; +int32_t TILE_BILLYJIBB = 0; +int32_t TILE_BRAYSNIPER = 0; +int32_t TILE_DOGRUN = 0; +int32_t TILE_DOGDIE = 0; +int32_t TILE_DOGDEAD = 0; +int32_t TILE_DOGBARK = 0; +int32_t TILE_LTH = 0; +int32_t TILE_LTHSTRAFE = 0; +int32_t TILE_HULKHANG = 0; +int32_t TILE_HULKHANGDEAD = 0; +int32_t TILE_HULKJUMP = 0; +int32_t TILE_LTHLOAD = 0; +int32_t TILE_LTHDIE = 0; +int32_t TILE_BUBBASCRATCH = 0; +int32_t TILE_BUBBANOSE = 0; +int32_t TILE_BUBBAPISS = 0; +int32_t TILE_BUBBASTAND = 0; +int32_t TILE_BUBBAOUCH = 0; +int32_t TILE_BUBBADIE = 0; +int32_t TILE_BUBBADEAD = 0; +int32_t TILE_HULK = 0; +int32_t TILE_HULKSTAYPUT = 0; +int32_t TILE_HULKA = 0; +int32_t TILE_HULKB = 0; +int32_t TILE_HULKC = 0; +int32_t TILE_HULKJIBA = 0; +int32_t TILE_HULKJIBB = 0; +int32_t TILE_HULKJIBC = 0; +int32_t TILE_SBSWIPE = 0; +int32_t TILE_SBPAIN = 0; +int32_t TILE_SBDIE = 0; +int32_t TILE_HEN = 0; +int32_t TILE_HENSTAYPUT = 0; +int32_t TILE_HENSTAND = 0; +int32_t TILE_PIG = 0; +int32_t TILE_PIGSTAYPUT = 0; +int32_t TILE_PIGEAT = 0; +int32_t TILE_SBMOVE = 0; +int32_t TILE_SBSPIT = 0; +int32_t TILE_SBDIP = 0; +int32_t TILE_MINION = 0; +int32_t TILE_MINIONSTAYPUT = 0; +int32_t TILE_UFO1 = 0; +int32_t TILE_UFO2 = 0; +int32_t TILE_UFO3 = 0; +int32_t TILE_UFO4 = 0; +int32_t TILE_UFO5 = 0; +int32_t TILE_MINJIBA = 0; +int32_t TILE_MINJIBB = 0; +int32_t TILE_MINJIBC = 0; +int32_t TILE_COW = 0; +int32_t TILE_COOT = 0; +int32_t TILE_COOTSTAYPUT = 0; +int32_t TILE_COOTSHOOT = 0; +int32_t TILE_COOTDIE = 0; +int32_t TILE_COOTDUCK = 0; +int32_t TILE_COOTPAIN = 0; +int32_t TILE_COOTTRANS = 0; +int32_t TILE_COOTGETUP = 0; +int32_t TILE_COOTJIBA = 0; +int32_t TILE_COOTJIBB = 0; +int32_t TILE_COOTJIBC = 0; +int32_t TILE_VIXEN = 0; +int32_t TILE_VIXENPAIN = 0; +int32_t TILE_VIXENDIE = 0; +int32_t TILE_VIXENSHOOT = 0; +int32_t TILE_VIXENWDN = 0; +int32_t TILE_VIXENWUP = 0; +int32_t TILE_VIXENKICK = 0; +int32_t TILE_VIXENTELE = 0; +int32_t TILE_VIXENTEAT = 0; +int32_t TILE_BIKEJIBA = 0; +int32_t TILE_BIKEJIBB = 0; +int32_t TILE_BIKEJIBC = 0; +int32_t TILE_BIKERB = 0; +int32_t TILE_BIKERBV2 = 0; +int32_t TILE_BIKER = 0; +int32_t TILE_BIKERJIBA = 0; +int32_t TILE_BIKERJIBB = 0; +int32_t TILE_BIKERJIBC = 0; +int32_t TILE_BIKERJIBD = 0; +int32_t TILE_MAKEOUT = 0; +int32_t TILE_CHEERB = 0; +int32_t TILE_CHEER = 0; +int32_t TILE_CHEERSTAYPUT = 0; +int32_t TILE_CHEERJIBA = 0; +int32_t TILE_CHEERJIBB = 0; +int32_t TILE_CHEERJIBC = 0; +int32_t TILE_CHEERJIBD = 0; +int32_t TILE_FBOATJIBA = 0; +int32_t TILE_FBOATJIBB = 0; +int32_t TILE_COOTPLAY = 0; +int32_t TILE_BILLYPLAY = 0; +int32_t TILE_MINIONBOAT = 0; +int32_t TILE_HULKBOAT = 0; +int32_t TILE_CHEERBOAT = 0; +int32_t TILE_RRTILE7274 = 0; +int32_t TILE_RABBIT = 0; +int32_t TILE_RABBITJIBA = 0; +int32_t TILE_RABBITJIBB = 0; +int32_t TILE_RABBITJIBC = 0; +int32_t TILE_ROCK = 0; +int32_t TILE_ROCK2 = 0; +int32_t TILE_MAMACLOUD = 0; +int32_t TILE_MAMA = 0; +int32_t TILE_MAMAJIBA = 0; +int32_t TILE_MAMAJIBB = 0; #if 0 static hashtable_t h_names = {512, NULL}; @@ -2996,56 +2996,56 @@ void G_InitDynamicTiles(void) DynamicTileMap[0] = 0; - g_blimpSpawnItems[0] = RPGSPRITE; - g_blimpSpawnItems[1] = CHAINGUNSPRITE; - g_blimpSpawnItems[2] = DEVISTATORAMMO; - g_blimpSpawnItems[3] = RPGAMMO; - g_blimpSpawnItems[4] = RPGAMMO; - g_blimpSpawnItems[5] = JETPACK; - g_blimpSpawnItems[6] = SHIELD; - g_blimpSpawnItems[7] = FIRSTAID; - g_blimpSpawnItems[8] = STEROIDS; - g_blimpSpawnItems[9] = RPGAMMO; - g_blimpSpawnItems[10] = RPGAMMO; - g_blimpSpawnItems[11] = RPGSPRITE; - g_blimpSpawnItems[12] = RPGAMMO; - g_blimpSpawnItems[13] = FREEZESPRITE; - g_blimpSpawnItems[14] = FREEZEAMMO; + g_blimpSpawnItems[0] = TILE_RPGSPRITE; + g_blimpSpawnItems[1] = TILE_CHAINGUNSPRITE; + g_blimpSpawnItems[2] = TILE_DEVISTATORAMMO; + g_blimpSpawnItems[3] = TILE_RPGAMMO; + g_blimpSpawnItems[4] = TILE_RPGAMMO; + g_blimpSpawnItems[5] = TILE_JETPACK; + g_blimpSpawnItems[6] = TILE_SHIELD; + g_blimpSpawnItems[7] = TILE_FIRSTAID; + g_blimpSpawnItems[8] = TILE_STEROIDS; + g_blimpSpawnItems[9] = TILE_RPGAMMO; + g_blimpSpawnItems[10] = TILE_RPGAMMO; + g_blimpSpawnItems[11] = TILE_RPGSPRITE; + g_blimpSpawnItems[12] = TILE_RPGAMMO; + g_blimpSpawnItems[13] = TILE_FREEZESPRITE; + g_blimpSpawnItems[14] = TILE_FREEZEAMMO; if (RR) { - WeaponPickupSprites[0] = KNEE; - WeaponPickupSprites[1] = FIRSTGUNSPRITE; - WeaponPickupSprites[2] = SHOTGUNSPRITE; - WeaponPickupSprites[3] = CHAINGUNSPRITE; - WeaponPickupSprites[4] = RPGSPRITE; - WeaponPickupSprites[5] = HEAVYHBOMB; - WeaponPickupSprites[6] = SHRINKERSPRITE; - WeaponPickupSprites[7] = DEVISTATORSPRITE; - WeaponPickupSprites[8] = TRIPBOMBSPRITE; - WeaponPickupSprites[9] = BOWLINGBALLSPRITE; - WeaponPickupSprites[10] = FREEZEBLAST; - WeaponPickupSprites[11] = HEAVYHBOMB; + WeaponPickupSprites[0] = TILE_KNEE; + WeaponPickupSprites[1] = TILE_FIRSTGUNSPRITE; + WeaponPickupSprites[2] = TILE_SHOTGUNSPRITE; + WeaponPickupSprites[3] = TILE_CHAINGUNSPRITE; + WeaponPickupSprites[4] = TILE_RPGSPRITE; + WeaponPickupSprites[5] = TILE_HEAVYHBOMB; + WeaponPickupSprites[6] = TILE_SHRINKERSPRITE; + WeaponPickupSprites[7] = TILE_DEVISTATORSPRITE; + WeaponPickupSprites[8] = TILE_TRIPBOMBSPRITE; + WeaponPickupSprites[9] = TILE_BOWLINGBALLSPRITE; + WeaponPickupSprites[10] = TILE_FREEZEBLAST; + WeaponPickupSprites[11] = TILE_HEAVYHBOMB; } else { - WeaponPickupSprites[0] = KNEE; - WeaponPickupSprites[1] = FIRSTGUNSPRITE; - WeaponPickupSprites[2] = SHOTGUNSPRITE; - WeaponPickupSprites[3] = CHAINGUNSPRITE; - WeaponPickupSprites[4] = RPGSPRITE; - WeaponPickupSprites[5] = HEAVYHBOMB; - WeaponPickupSprites[6] = SHRINKERSPRITE; - WeaponPickupSprites[7] = DEVISTATORSPRITE; - WeaponPickupSprites[8] = TRIPBOMBSPRITE; - WeaponPickupSprites[9] = FREEZESPRITE; - WeaponPickupSprites[10] = HEAVYHBOMB; - WeaponPickupSprites[11] = SHRINKERSPRITE; + WeaponPickupSprites[0] = TILE_KNEE; + WeaponPickupSprites[1] = TILE_FIRSTGUNSPRITE; + WeaponPickupSprites[2] = TILE_SHOTGUNSPRITE; + WeaponPickupSprites[3] = TILE_CHAINGUNSPRITE; + WeaponPickupSprites[4] = TILE_RPGSPRITE; + WeaponPickupSprites[5] = TILE_HEAVYHBOMB; + WeaponPickupSprites[6] = TILE_SHRINKERSPRITE; + WeaponPickupSprites[7] = TILE_DEVISTATORSPRITE; + WeaponPickupSprites[8] = TILE_TRIPBOMBSPRITE; + WeaponPickupSprites[9] = TILE_FREEZESPRITE; + WeaponPickupSprites[10] = TILE_HEAVYHBOMB; + WeaponPickupSprites[11] = TILE_SHRINKERSPRITE; } // ouch... the big background image takes up a fuckload of memory and takes a second to load! #ifdef EDUKE32_GLES - MENUSCREEN = LOADSCREEN = BETASCREEN; + TILE_MENUSCREEN = TILE_LOADSCREEN = TILE_BETASCREEN; #endif } END_DUKE_NS diff --git a/source/games/duke/src/namesdyn.h b/source/games/duke/src/namesdyn.h index e92a8a197..761c65b73 100644 --- a/source/games/duke/src/namesdyn.h +++ b/source/games/duke/src/namesdyn.h @@ -2129,1422 +2129,1422 @@ void G_ProcessDynamicTileMapping(const char *szLabel, int32_t lValue); void inithashnames(void); void freehashnames(void); -extern int32_t SECTOREFFECTOR; -extern int32_t ACTIVATOR; -extern int32_t TOUCHPLATE; -extern int32_t ACTIVATORLOCKED; -extern int32_t MUSICANDSFX; -extern int32_t LOCATORS; -extern int32_t CYCLER; -extern int32_t MASTERSWITCH; -extern int32_t RESPAWN; -extern int32_t GPSPEED; -extern int32_t FOF; -extern int32_t ARROW; -extern int32_t FIRSTGUNSPRITE; -extern int32_t CHAINGUNSPRITE; -extern int32_t RPGSPRITE; -extern int32_t FREEZESPRITE; -extern int32_t SHRINKERSPRITE; -extern int32_t HEAVYHBOMB; -extern int32_t TRIPBOMBSPRITE; -extern int32_t SHOTGUNSPRITE; -extern int32_t DEVISTATORSPRITE; -extern int32_t HEALTHBOX; -extern int32_t AMMOBOX; -extern int32_t GROWSPRITEICON; -extern int32_t INVENTORYBOX; -extern int32_t FREEZEAMMO; -extern int32_t AMMO; -extern int32_t BATTERYAMMO; -extern int32_t DEVISTATORAMMO; -extern int32_t RPGAMMO; -extern int32_t GROWAMMO; -extern int32_t CRYSTALAMMO; -extern int32_t HBOMBAMMO; -extern int32_t AMMOLOTS; -extern int32_t SHOTGUNAMMO; -extern int32_t COLA; -extern int32_t SIXPAK; -extern int32_t FIRSTAID; -extern int32_t SHIELD; -extern int32_t STEROIDS; -extern int32_t AIRTANK; -extern int32_t JETPACK; -extern int32_t HEATSENSOR; -extern int32_t ACCESSCARD; -extern int32_t BOOTS; -extern int32_t MIRRORBROKE; -extern int32_t CLOUDYOCEAN; -extern int32_t CLOUDYSKIES; -extern int32_t MOONSKY1; -extern int32_t MOONSKY2; -extern int32_t MOONSKY3; -extern int32_t MOONSKY4; -extern int32_t BIGORBIT1; -extern int32_t BIGORBIT2; -extern int32_t BIGORBIT3; -extern int32_t BIGORBIT4; -extern int32_t BIGORBIT5; -extern int32_t LA; -extern int32_t REDSKY1; -extern int32_t REDSKY2; -extern int32_t ATOMICHEALTH; -extern int32_t TECHLIGHT2; -extern int32_t TECHLIGHTBUST2; -extern int32_t TECHLIGHT4; -extern int32_t TECHLIGHTBUST4; -extern int32_t WALLLIGHT4; -extern int32_t WALLLIGHTBUST4; -extern int32_t ACCESSSWITCH; -extern int32_t SLOTDOOR; -extern int32_t LIGHTSWITCH; -extern int32_t SPACEDOORSWITCH; -extern int32_t SPACELIGHTSWITCH; -extern int32_t FRANKENSTINESWITCH; -extern int32_t NUKEBUTTON; -extern int32_t MULTISWITCH; -extern int32_t DOORTILE5; -extern int32_t DOORTILE6; -extern int32_t DOORTILE1; -extern int32_t DOORTILE2; -extern int32_t DOORTILE3; -extern int32_t DOORTILE4; -extern int32_t DOORTILE7; -extern int32_t DOORTILE8; -extern int32_t DOORTILE9; -extern int32_t DOORTILE10; -extern int32_t DOORSHOCK; -extern int32_t DIPSWITCH; -extern int32_t DIPSWITCH2; -extern int32_t TECHSWITCH; -extern int32_t DIPSWITCH3; -extern int32_t ACCESSSWITCH2; -extern int32_t REFLECTWATERTILE; -extern int32_t FLOORSLIME; -extern int32_t BIGFORCE; -extern int32_t EPISODE; -extern int32_t MASKWALL9; -extern int32_t W_LIGHT; -extern int32_t SCREENBREAK1; -extern int32_t SCREENBREAK2; -extern int32_t SCREENBREAK3; -extern int32_t SCREENBREAK4; -extern int32_t SCREENBREAK5; -extern int32_t SCREENBREAK6; -extern int32_t SCREENBREAK7; -extern int32_t SCREENBREAK8; -extern int32_t SCREENBREAK9; -extern int32_t SCREENBREAK10; -extern int32_t SCREENBREAK11; -extern int32_t SCREENBREAK12; -extern int32_t SCREENBREAK13; -extern int32_t MASKWALL1; -extern int32_t W_TECHWALL1; -extern int32_t W_TECHWALL2; -extern int32_t W_TECHWALL15; -extern int32_t W_TECHWALL3; -extern int32_t W_TECHWALL4; -extern int32_t W_TECHWALL10; -extern int32_t W_TECHWALL16; -extern int32_t WATERTILE2; -extern int32_t BPANNEL1; -extern int32_t PANNEL1; -extern int32_t PANNEL2; -extern int32_t WATERTILE; -extern int32_t STATIC; -extern int32_t W_SCREENBREAK; -extern int32_t W_HITTECHWALL3; -extern int32_t W_HITTECHWALL4; -extern int32_t W_HITTECHWALL2; -extern int32_t W_HITTECHWALL1; -extern int32_t MASKWALL10; -extern int32_t MASKWALL11; -extern int32_t DOORTILE22; -extern int32_t FANSPRITE; -extern int32_t FANSPRITEBROKE; -extern int32_t FANSHADOW; -extern int32_t FANSHADOWBROKE; -extern int32_t DOORTILE18; -extern int32_t DOORTILE19; -extern int32_t DOORTILE20; -extern int32_t SATELLITE; -extern int32_t VIEWSCREEN2; -extern int32_t VIEWSCREENBROKE; -extern int32_t VIEWSCREEN; -extern int32_t GLASS; -extern int32_t GLASS2; -extern int32_t STAINGLASS1; -extern int32_t MASKWALL5; -extern int32_t SATELITE; -extern int32_t FUELPOD; -extern int32_t SLIMEPIPE; -extern int32_t CRACK1; -extern int32_t CRACK2; -extern int32_t CRACK3; -extern int32_t CRACK4; -extern int32_t FOOTPRINTS; -extern int32_t DOMELITE; -extern int32_t CAMERAPOLE; -extern int32_t CHAIR1; -extern int32_t CHAIR2; -extern int32_t BROKENCHAIR; -extern int32_t MIRROR; -extern int32_t WATERFOUNTAIN; -extern int32_t WATERFOUNTAINBROKE; -extern int32_t FEMMAG1; -extern int32_t TOILET; -extern int32_t STALL; -extern int32_t STALLBROKE; -extern int32_t FEMMAG2; -extern int32_t REACTOR2; -extern int32_t REACTOR2BURNT; -extern int32_t REACTOR2SPARK; -extern int32_t GRATE1; -extern int32_t BGRATE1; -extern int32_t SOLARPANNEL; -extern int32_t NAKED1; -extern int32_t ANTENNA; -extern int32_t MASKWALL12; -extern int32_t TOILETBROKE; -extern int32_t PIPE2; -extern int32_t PIPE1B; -extern int32_t PIPE3; -extern int32_t PIPE1; -extern int32_t CAMERA1; -extern int32_t BRICK; -extern int32_t SPLINTERWOOD; -extern int32_t PIPE2B; -extern int32_t BOLT1; -extern int32_t W_NUMBERS; -extern int32_t WATERDRIP; -extern int32_t WATERBUBBLE; -extern int32_t WATERBUBBLEMAKER; -extern int32_t W_FORCEFIELD; -extern int32_t VACUUM; -extern int32_t FOOTPRINTS2; -extern int32_t FOOTPRINTS3; -extern int32_t FOOTPRINTS4; -extern int32_t EGG; -extern int32_t SCALE; -extern int32_t CHAIR3; -extern int32_t CAMERALIGHT; -extern int32_t MOVIECAMERA; -extern int32_t IVUNIT; -extern int32_t POT1; -extern int32_t POT2; -extern int32_t POT3; -extern int32_t PIPE3B; -extern int32_t WALLLIGHT3; -extern int32_t WALLLIGHTBUST3; -extern int32_t WALLLIGHT1; -extern int32_t WALLLIGHTBUST1; -extern int32_t WALLLIGHT2; -extern int32_t WALLLIGHTBUST2; -extern int32_t LIGHTSWITCH2; -extern int32_t WAITTOBESEATED; -extern int32_t DOORTILE14; -extern int32_t STATUE; -extern int32_t MIKE; -extern int32_t VASE; -extern int32_t SUSHIPLATE1; -extern int32_t SUSHIPLATE2; -extern int32_t SUSHIPLATE3; -extern int32_t SUSHIPLATE4; -extern int32_t DOORTILE16; -extern int32_t SUSHIPLATE5; -extern int32_t OJ; -extern int32_t MASKWALL13; -extern int32_t HURTRAIL; -extern int32_t POWERSWITCH1; -extern int32_t LOCKSWITCH1; -extern int32_t POWERSWITCH2; -extern int32_t ATM; -extern int32_t STATUEFLASH; -extern int32_t ATMBROKE; -extern int32_t BIGHOLE2; -extern int32_t STRIPEBALL; -extern int32_t QUEBALL; -extern int32_t POCKET; -extern int32_t WOODENHORSE; -extern int32_t TREE1; -extern int32_t TREE2; -extern int32_t CACTUS; -extern int32_t MASKWALL2; -extern int32_t MASKWALL3; -extern int32_t MASKWALL4; -extern int32_t FIREEXT; -extern int32_t TOILETWATER; -extern int32_t NEON1; -extern int32_t NEON2; -extern int32_t CACTUSBROKE; -extern int32_t BOUNCEMINE; -extern int32_t BROKEFIREHYDRENT; -extern int32_t BOX; -extern int32_t BULLETHOLE; -extern int32_t BOTTLE1; -extern int32_t BOTTLE2; -extern int32_t BOTTLE3; -extern int32_t BOTTLE4; -extern int32_t FEMPIC5; -extern int32_t FEMPIC6; -extern int32_t FEMPIC7; -extern int32_t HYDROPLANT; -extern int32_t OCEANSPRITE1; -extern int32_t OCEANSPRITE2; -extern int32_t OCEANSPRITE3; -extern int32_t OCEANSPRITE4; -extern int32_t OCEANSPRITE5; -extern int32_t GENERICPOLE; -extern int32_t CONE; -extern int32_t HANGLIGHT; -extern int32_t HYDRENT; -extern int32_t MASKWALL14; -extern int32_t TIRE; -extern int32_t PIPE5; -extern int32_t PIPE6; -extern int32_t PIPE4; -extern int32_t PIPE4B; -extern int32_t BROKEHYDROPLANT; -extern int32_t PIPE5B; -extern int32_t NEON3; -extern int32_t NEON4; -extern int32_t NEON5; -extern int32_t BOTTLE5; -extern int32_t BOTTLE6; -extern int32_t BOTTLE8; -extern int32_t SPOTLITE; -extern int32_t HANGOOZ; -extern int32_t MASKWALL15; -extern int32_t BOTTLE7; -extern int32_t HORSEONSIDE; -extern int32_t GLASSPIECES; -extern int32_t HORSELITE; -extern int32_t DONUTS; -extern int32_t NEON6; -extern int32_t MASKWALL6; -extern int32_t CLOCK; -extern int32_t RUBBERCAN; -extern int32_t BROKENCLOCK; -extern int32_t PLUG; -extern int32_t OOZFILTER; -extern int32_t FLOORPLASMA; -extern int32_t REACTOR; -extern int32_t REACTORSPARK; -extern int32_t REACTORBURNT; -extern int32_t DOORTILE15; -extern int32_t HANDSWITCH; -extern int32_t CIRCLEPANNEL; -extern int32_t CIRCLEPANNELBROKE; -extern int32_t PULLSWITCH; -extern int32_t MASKWALL8; -extern int32_t BIGHOLE; -extern int32_t ALIENSWITCH; -extern int32_t DOORTILE21; -extern int32_t HANDPRINTSWITCH; -extern int32_t BOTTLE10; -extern int32_t BOTTLE11; -extern int32_t BOTTLE12; -extern int32_t BOTTLE13; -extern int32_t BOTTLE14; -extern int32_t BOTTLE15; -extern int32_t BOTTLE16; -extern int32_t BOTTLE17; -extern int32_t BOTTLE18; -extern int32_t BOTTLE19; -extern int32_t DOORTILE17; -extern int32_t MASKWALL7; -extern int32_t JAILBARBREAK; -extern int32_t DOORTILE11; -extern int32_t DOORTILE12; -extern int32_t VENDMACHINE; -extern int32_t VENDMACHINEBROKE; -extern int32_t COLAMACHINE; -extern int32_t COLAMACHINEBROKE; -extern int32_t CRANEPOLE; -extern int32_t CRANE; -extern int32_t BARBROKE; -extern int32_t BLOODPOOL; -extern int32_t NUKEBARREL; -extern int32_t NUKEBARRELDENTED; -extern int32_t NUKEBARRELLEAKED; -extern int32_t CANWITHSOMETHING; -extern int32_t MONEY; -extern int32_t BANNER; -extern int32_t EXPLODINGBARREL; -extern int32_t EXPLODINGBARREL2; -extern int32_t FIREBARREL; -extern int32_t SEENINE; -extern int32_t SEENINEDEAD; -extern int32_t STEAM; -extern int32_t CEILINGSTEAM; -extern int32_t PIPE6B; -extern int32_t TRANSPORTERBEAM; -extern int32_t RAT; -extern int32_t TRASH; -extern int32_t FEMPIC1; -extern int32_t FEMPIC2; -extern int32_t BLANKSCREEN; -extern int32_t PODFEM1; -extern int32_t FEMPIC3; -extern int32_t FEMPIC4; -extern int32_t FEM1; -extern int32_t FEM2; -extern int32_t FEM3; -extern int32_t FEM5; -extern int32_t BLOODYPOLE; -extern int32_t FEM4; -extern int32_t FEM6; -extern int32_t FEM6PAD; -extern int32_t FEM8; -extern int32_t HELECOPT; -extern int32_t FETUSJIB; -extern int32_t HOLODUKE; -extern int32_t SPACEMARINE; -extern int32_t INDY; -extern int32_t FETUS; -extern int32_t FETUSBROKE; -extern int32_t MONK; -extern int32_t LUKE; -extern int32_t COOLEXPLOSION1; -extern int32_t WATERSPLASH2; -extern int32_t FIREVASE; -extern int32_t SCRATCH; -extern int32_t FEM7; -extern int32_t APLAYERTOP; -extern int32_t APLAYER; -extern int32_t PLAYERONWATER; -extern int32_t DUKELYINGDEAD; -extern int32_t DUKETORSO; -extern int32_t DUKEGUN; -extern int32_t DUKELEG; -extern int32_t SHARK; -extern int32_t BLOOD; -extern int32_t FIRELASER; -extern int32_t TRANSPORTERSTAR; -extern int32_t SPIT; -extern int32_t LOOGIE; -extern int32_t FIST; -extern int32_t FREEZEBLAST; -extern int32_t DEVISTATORBLAST; -extern int32_t SHRINKSPARK; -extern int32_t TONGUE; -extern int32_t MORTER; -extern int32_t SHRINKEREXPLOSION; -extern int32_t RADIUSEXPLOSION; -extern int32_t FORCERIPPLE; -extern int32_t LIZTROOP; -extern int32_t LIZTROOPRUNNING; -extern int32_t LIZTROOPSTAYPUT; -extern int32_t LIZTOP; -extern int32_t LIZTROOPSHOOT; -extern int32_t LIZTROOPJETPACK; -extern int32_t LIZTROOPDSPRITE; -extern int32_t LIZTROOPONTOILET; -extern int32_t LIZTROOPJUSTSIT; -extern int32_t LIZTROOPDUCKING; -extern int32_t HEADJIB1; -extern int32_t ARMJIB1; -extern int32_t LEGJIB1; -extern int32_t CANNONBALL; -extern int32_t OCTABRAIN; -extern int32_t OCTABRAINSTAYPUT; -extern int32_t OCTATOP; -extern int32_t OCTADEADSPRITE; -extern int32_t INNERJAW; -extern int32_t DRONE; -extern int32_t EXPLOSION2; -extern int32_t COMMANDER; -extern int32_t COMMANDERSTAYPUT; -extern int32_t RECON; -extern int32_t TANK; -extern int32_t PIGCOP; -extern int32_t PIGCOPSTAYPUT; -extern int32_t PIGCOPDIVE; -extern int32_t PIGCOPDEADSPRITE; -extern int32_t PIGTOP; -extern int32_t LIZMAN; -extern int32_t LIZMANSTAYPUT; -extern int32_t LIZMANSPITTING; -extern int32_t LIZMANFEEDING; -extern int32_t LIZMANJUMP; -extern int32_t LIZMANDEADSPRITE; -extern int32_t FECES; -extern int32_t LIZMANHEAD1; -extern int32_t LIZMANARM1; -extern int32_t LIZMANLEG1; -extern int32_t EXPLOSION2BOT; -extern int32_t USERWEAPON; -extern int32_t HEADERBAR; -extern int32_t JIBS1; -extern int32_t JIBS2; -extern int32_t JIBS3; -extern int32_t JIBS4; -extern int32_t JIBS5; -extern int32_t BURNING; -extern int32_t FIRE; -extern int32_t JIBS6; -extern int32_t BLOODSPLAT1; -extern int32_t BLOODSPLAT3; -extern int32_t BLOODSPLAT2; -extern int32_t BLOODSPLAT4; -extern int32_t OOZ; -extern int32_t OOZ2; -extern int32_t WALLBLOOD1; -extern int32_t WALLBLOOD2; -extern int32_t WALLBLOOD3; -extern int32_t WALLBLOOD4; -extern int32_t WALLBLOOD5; -extern int32_t WALLBLOOD6; -extern int32_t WALLBLOOD7; -extern int32_t WALLBLOOD8; -extern int32_t BURNING2; -extern int32_t FIRE2; -extern int32_t CRACKKNUCKLES; -extern int32_t SMALLSMOKE; -extern int32_t SMALLSMOKEMAKER; -extern int32_t FLOORFLAME; -extern int32_t ROTATEGUN; -extern int32_t GREENSLIME; -extern int32_t WATERDRIPSPLASH; -extern int32_t SCRAP6; -extern int32_t SCRAP1; -extern int32_t SCRAP2; -extern int32_t SCRAP3; -extern int32_t SCRAP4; -extern int32_t SCRAP5; -extern int32_t ORGANTIC; -extern int32_t BETAVERSION; -extern int32_t PLAYERISHERE; -extern int32_t PLAYERWASHERE; -extern int32_t SELECTDIR; -extern int32_t F1HELP; -extern int32_t NOTCHON; -extern int32_t NOTCHOFF; -extern int32_t GROWSPARK; -extern int32_t DUKEICON; -extern int32_t BADGUYICON; -extern int32_t FOODICON; -extern int32_t GETICON; -extern int32_t MENUSCREEN; -extern int32_t MENUBAR; -extern int32_t KILLSICON; -extern int32_t FIRSTAID_ICON; -extern int32_t HEAT_ICON; -extern int32_t BOTTOMSTATUSBAR; -extern int32_t BOOT_ICON; -extern int32_t FRAGBAR; -extern int32_t JETPACK_ICON; -extern int32_t AIRTANK_ICON; -extern int32_t STEROIDS_ICON; -extern int32_t HOLODUKE_ICON; -extern int32_t ACCESS_ICON; -extern int32_t DIGITALNUM; -extern int32_t DUKECAR; -extern int32_t CAMCORNER; -extern int32_t CAMLIGHT; -extern int32_t LOGO; -extern int32_t TITLE; -extern int32_t NUKEWARNINGICON; -extern int32_t MOUSECURSOR; -extern int32_t SLIDEBAR; -extern int32_t DREALMS; -extern int32_t BETASCREEN; -extern int32_t WINDOWBORDER1; -extern int32_t TEXTBOX; -extern int32_t WINDOWBORDER2; -extern int32_t DUKENUKEM; -extern int32_t THREEDEE; -extern int32_t INGAMEDUKETHREEDEE; -extern int32_t TENSCREEN; -extern int32_t PLUTOPAKSPRITE; -extern int32_t DEVISTATOR; -extern int32_t KNEE; -extern int32_t CROSSHAIR; -extern int32_t FIRSTGUN; -extern int32_t FIRSTGUNRELOAD; -extern int32_t FALLINGCLIP; -extern int32_t CLIPINHAND; -extern int32_t HAND; -extern int32_t SHELL; -extern int32_t SHOTGUNSHELL; -extern int32_t CHAINGUN; -extern int32_t RPGGUN; -extern int32_t RPGMUZZLEFLASH; -extern int32_t FREEZE; -extern int32_t CATLITE; -extern int32_t SHRINKER; -extern int32_t HANDHOLDINGLASER; -extern int32_t TRIPBOMB; -extern int32_t LASERLINE; -extern int32_t HANDHOLDINGACCESS; -extern int32_t HANDREMOTE; -extern int32_t HANDTHROW; -extern int32_t TIP; -extern int32_t GLAIR; -extern int32_t SCUBAMASK; -extern int32_t SPACEMASK; -extern int32_t FORCESPHERE; -extern int32_t SHOTSPARK1; -extern int32_t RPG; -extern int32_t LASERSITE; -extern int32_t SHOTGUN; -extern int32_t BOSS1; -extern int32_t BOSS1STAYPUT; -extern int32_t BOSS1SHOOT; -extern int32_t BOSS1LOB; -extern int32_t BOSSTOP; -extern int32_t BOSS2; -extern int32_t BOSS3; -extern int32_t SPINNINGNUKEICON; -extern int32_t BIGFNTCURSOR; -extern int32_t SMALLFNTCURSOR; -extern int32_t STARTALPHANUM; -extern int32_t ENDALPHANUM; -extern int32_t BIGALPHANUM; -extern int32_t BIGPERIOD; -extern int32_t BIGCOMMA; -extern int32_t BIGX_; -extern int32_t BIGQ; -extern int32_t BIGSEMI; -extern int32_t BIGCOLIN; -extern int32_t THREEBYFIVE; -extern int32_t BIGAPPOS; -extern int32_t BLANK; -extern int32_t MINIFONT; -extern int32_t BUTTON1; -extern int32_t GLASS3; -extern int32_t RESPAWNMARKERRED; -extern int32_t RESPAWNMARKERYELLOW; -extern int32_t RESPAWNMARKERGREEN; -extern int32_t BONUSSCREEN; -extern int32_t VIEWBORDER; -extern int32_t VICTORY1; -extern int32_t ORDERING; -extern int32_t TEXTSTORY; -extern int32_t LOADSCREEN; -extern int32_t BORNTOBEWILDSCREEN; -extern int32_t BLIMP; -extern int32_t FEM9; -extern int32_t FOOTPRINT; -extern int32_t POOP; -extern int32_t FRAMEEFFECT1; -extern int32_t PANNEL3; -extern int32_t SCREENBREAK14; -extern int32_t SCREENBREAK15; -extern int32_t SCREENBREAK19; -extern int32_t SCREENBREAK16; -extern int32_t SCREENBREAK17; -extern int32_t SCREENBREAK18; -extern int32_t W_TECHWALL11; -extern int32_t W_TECHWALL12; -extern int32_t W_TECHWALL13; -extern int32_t W_TECHWALL14; -extern int32_t W_TECHWALL5; -extern int32_t W_TECHWALL6; -extern int32_t W_TECHWALL7; -extern int32_t W_TECHWALL8; -extern int32_t W_TECHWALL9; -extern int32_t BPANNEL3; -extern int32_t W_HITTECHWALL16; -extern int32_t W_HITTECHWALL10; -extern int32_t W_HITTECHWALL15; -extern int32_t W_MILKSHELF; -extern int32_t W_MILKSHELFBROKE; -extern int32_t PURPLELAVA; -extern int32_t LAVABUBBLE; -extern int32_t DUKECUTOUT; -extern int32_t TARGET; -extern int32_t GUNPOWDERBARREL; -extern int32_t DUCK; -extern int32_t HATRACK; -extern int32_t DESKLAMP; -extern int32_t COFFEEMACHINE; -extern int32_t CUPS; -extern int32_t GAVALS; -extern int32_t GAVALS2; -extern int32_t POLICELIGHTPOLE; -extern int32_t FLOORBASKET; -extern int32_t PUKE; -extern int32_t DOORTILE23; -extern int32_t TOPSECRET; -extern int32_t SPEAKER; -extern int32_t TEDDYBEAR; -extern int32_t ROBOTDOG; -extern int32_t ROBOTPIRATE; -extern int32_t ROBOTMOUSE; -extern int32_t MAIL; -extern int32_t MAILBAG; -extern int32_t HOTMEAT; -extern int32_t COFFEEMUG; -extern int32_t DONUTS2; -extern int32_t TRIPODCAMERA; -extern int32_t METER; -extern int32_t DESKPHONE; -extern int32_t GUMBALLMACHINE; -extern int32_t GUMBALLMACHINEBROKE; -extern int32_t PAPER; -extern int32_t MACE; -extern int32_t GENERICPOLE2; -extern int32_t XXXSTACY; -extern int32_t WETFLOOR; -extern int32_t BROOM; -extern int32_t MOP; -extern int32_t LETTER; -extern int32_t PIRATE1A; -extern int32_t PIRATE4A; -extern int32_t PIRATE2A; -extern int32_t PIRATE5A; -extern int32_t PIRATE3A; -extern int32_t PIRATE6A; -extern int32_t PIRATEHALF; -extern int32_t CHESTOFGOLD; -extern int32_t SIDEBOLT1; -extern int32_t FOODOBJECT1; -extern int32_t FOODOBJECT2; -extern int32_t FOODOBJECT3; -extern int32_t FOODOBJECT4; -extern int32_t FOODOBJECT5; -extern int32_t FOODOBJECT6; -extern int32_t FOODOBJECT7; -extern int32_t FOODOBJECT8; -extern int32_t FOODOBJECT9; -extern int32_t FOODOBJECT10; -extern int32_t FOODOBJECT11; -extern int32_t FOODOBJECT12; -extern int32_t FOODOBJECT13; -extern int32_t FOODOBJECT14; -extern int32_t FOODOBJECT15; -extern int32_t FOODOBJECT16; -extern int32_t FOODOBJECT17; -extern int32_t FOODOBJECT18; -extern int32_t FOODOBJECT19; -extern int32_t FOODOBJECT20; -extern int32_t HEADLAMP; -extern int32_t TAMPON; -extern int32_t SKINNEDCHICKEN; -extern int32_t FEATHEREDCHICKEN; -extern int32_t ROBOTDOG2; -extern int32_t JOLLYMEAL; -extern int32_t DUKEBURGER; -extern int32_t SHOPPINGCART; -extern int32_t CANWITHSOMETHING2; -extern int32_t CANWITHSOMETHING3; -extern int32_t CANWITHSOMETHING4; -extern int32_t SNAKEP; -extern int32_t DOLPHIN1; -extern int32_t DOLPHIN2; -extern int32_t NEWBEAST; -extern int32_t NEWBEASTSTAYPUT; -extern int32_t NEWBEASTJUMP; -extern int32_t NEWBEASTHANG; -extern int32_t NEWBEASTHANGDEAD; -extern int32_t BOSS4; -extern int32_t BOSS4STAYPUT; -extern int32_t FEM10; -extern int32_t TOUGHGAL; -extern int32_t MAN; -extern int32_t MAN2; -extern int32_t WOMAN; -extern int32_t PLEASEWAIT; -extern int32_t NATURALLIGHTNING; -extern int32_t WEATHERWARN; -extern int32_t DUKETAG; -extern int32_t SIGN1; -extern int32_t SIGN2; -extern int32_t JURYGUY; -extern int32_t RRTILE11; -extern int32_t RPG2SPRITE; -extern int32_t RRTILE18; -extern int32_t RRTILE19; -extern int32_t RRTILE34; -extern int32_t RRTILE35; -extern int32_t DESTRUCTO; -extern int32_t RRTILE38; -extern int32_t RRTILE43; -extern int32_t GUTMETER; -extern int32_t RRTILE63; -extern int32_t RRTILE64; -extern int32_t RRTILE65; -extern int32_t RRTILE66; -extern int32_t RRTILE67; -extern int32_t RRTILE68; -extern int32_t SOUNDFX; -extern int32_t MOTOAMMO; -extern int32_t UFOBEAM; -extern int32_t RRTILE280; -extern int32_t RRTILE281; -extern int32_t RRTILE282; -extern int32_t RRTILE283; -extern int32_t RRTILE285; -extern int32_t RRTILE286; -extern int32_t RRTILE287; -extern int32_t RRTILE288; -extern int32_t RRTILE289; -extern int32_t RRTILE290; -extern int32_t RRTILE291; -extern int32_t RRTILE292; -extern int32_t RRTILE293; -extern int32_t RRTILE295; -extern int32_t RRTILE296; -extern int32_t RRTILE297; -extern int32_t CDPLAYER; -extern int32_t RRTILE380; -extern int32_t RRTILE403; -extern int32_t RRTILE409; -extern int32_t GUTMETER_LIGHT1; -extern int32_t GUTMETER_LIGHT2; -extern int32_t GUTMETER_LIGHT3; -extern int32_t GUTMETER_LIGHT4; -extern int32_t AMMO_ICON; -extern int32_t RRTILE1076; -extern int32_t MUD; -extern int32_t EXPLOSION3; -extern int32_t RRTILE1636; -extern int32_t WEAPONBAR; -extern int32_t RRTILE1752; -extern int32_t RPG2; -extern int32_t RRTILE1790; -extern int32_t RRTILE1792; -extern int32_t RRTILE1801; -extern int32_t RRTILE1805; -extern int32_t RRTILE1807; -extern int32_t RRTILE1808; -extern int32_t RRTILE1812; -extern int32_t RRTILE1814; -extern int32_t RRTILE1817; -extern int32_t RRTILE1821; -extern int32_t RRTILE1824; -extern int32_t RRTILE1826; -extern int32_t RRTILE1850; -extern int32_t RRTILE1851; -extern int32_t RRTILE1856; -extern int32_t RRTILE1877; -extern int32_t RRTILE1878; -extern int32_t RRTILE1938; -extern int32_t RRTILE1939; -extern int32_t RRTILE1942; -extern int32_t RRTILE1944; -extern int32_t RRTILE1945; -extern int32_t RRTILE1947; -extern int32_t RRTILE1951; -extern int32_t RRTILE1952; -extern int32_t RRTILE1953; -extern int32_t RRTILE1961; -extern int32_t RRTILE1964; -extern int32_t RRTILE1973; -extern int32_t RRTILE1985; -extern int32_t RRTILE1986; -extern int32_t RRTILE1987; -extern int32_t RRTILE1988; -extern int32_t RRTILE1990; -extern int32_t RRTILE1995; -extern int32_t RRTILE1996; -extern int32_t RRTILE2004; -extern int32_t RRTILE2005; -extern int32_t POPCORN; -extern int32_t RRTILE2022; -extern int32_t LANEPICS; -extern int32_t RRTILE2025; -extern int32_t RRTILE2026; -extern int32_t RRTILE2027; -extern int32_t RRTILE2028; -extern int32_t RRTILE2034; -extern int32_t RRTILE2050; -extern int32_t RRTILE2052; -extern int32_t RRTILE2053; -extern int32_t RRTILE2056; -extern int32_t RRTILE2060; -extern int32_t RRTILE2072; -extern int32_t RRTILE2074; -extern int32_t RRTILE2075; -extern int32_t RRTILE2083; -extern int32_t RRTILE2097; -extern int32_t RRTILE2121; -extern int32_t RRTILE2122; -extern int32_t RRTILE2123; -extern int32_t RRTILE2124; -extern int32_t RRTILE2125; -extern int32_t RRTILE2126; -extern int32_t RRTILE2137; -extern int32_t RRTILE2132; -extern int32_t RRTILE2136; -extern int32_t RRTILE2139; -extern int32_t RRTILE2150; -extern int32_t RRTILE2151; -extern int32_t RRTILE2152; -extern int32_t RRTILE2156; -extern int32_t RRTILE2157; -extern int32_t RRTILE2158; -extern int32_t RRTILE2159; -extern int32_t RRTILE2160; -extern int32_t RRTILE2161; -extern int32_t RRTILE2175; -extern int32_t RRTILE2176; -extern int32_t RRTILE2178; -extern int32_t RRTILE2186; -extern int32_t RRTILE2214; -extern int32_t RRTILE2319; -extern int32_t RRTILE2321; -extern int32_t RRTILE2326; -extern int32_t RRTILE2329; -extern int32_t RRTILE2357; -extern int32_t RRTILE2382; -extern int32_t RRTILE2430; -extern int32_t RRTILE2431; -extern int32_t RRTILE2432; -extern int32_t RRTILE2437; -extern int32_t RRTILE2443; -extern int32_t RRTILE2445; -extern int32_t RRTILE2446; -extern int32_t RRTILE2450; -extern int32_t RRTILE2451; -extern int32_t RRTILE2455; -extern int32_t RRTILE2460; -extern int32_t RRTILE2465; -extern int32_t RRTILE2560; -extern int32_t RRTILE2562; -extern int32_t RRTILE2564; -extern int32_t RRTILE2573; -extern int32_t RRTILE2574; -extern int32_t RRTILE2577; -extern int32_t RRTILE2578; -extern int32_t RRTILE2581; -extern int32_t RRTILE2583; -extern int32_t RRTILE2604; -extern int32_t RRTILE2610; -extern int32_t RRTILE2613; -extern int32_t RRTILE2621; -extern int32_t RRTILE2622; -extern int32_t RRTILE2636; -extern int32_t RRTILE2637; -extern int32_t RRTILE2654; -extern int32_t RRTILE2656; -extern int32_t RRTILE2676; -extern int32_t RRTILE2689; -extern int32_t RRTILE2697; -extern int32_t RRTILE2702; -extern int32_t RRTILE2707; -extern int32_t RRTILE2732; -extern int32_t RRTILE2030; -extern int32_t RRTILE2831; -extern int32_t RRTILE2832; -extern int32_t RRTILE2842; -extern int32_t RRTILE2859; -extern int32_t RRTILE2876; -extern int32_t RRTILE2878; -extern int32_t RRTILE2879; -extern int32_t RRTILE2893; -extern int32_t RRTILE2894; -extern int32_t RRTILE2898; -extern int32_t RRTILE2899; -extern int32_t RRTILE2915; -extern int32_t RRTILE2940; -extern int32_t RRTILE2944; -extern int32_t RRTILE2945; -extern int32_t RRTILE2946; -extern int32_t RRTILE2947; -extern int32_t RRTILE2948; -extern int32_t RRTILE2949; -extern int32_t RRTILE2961; -extern int32_t RRTILE2970; -extern int32_t RRTILE2977; -extern int32_t RRTILE2978; -extern int32_t RRTILE2990; -extern int32_t RRTILE3073; -extern int32_t RRTILE3083; -extern int32_t RRTILE3100; -extern int32_t RRTILE3114; -extern int32_t RRTILE3115; -extern int32_t RRTILE3116; -extern int32_t RRTILE3117; -extern int32_t RRTILE3120; -extern int32_t RRTILE3121; -extern int32_t RRTILE3122; -extern int32_t RRTILE3123; -extern int32_t RRTILE3124; -extern int32_t RRTILE3132; -extern int32_t RRTILE3139; -extern int32_t RRTILE3144; -extern int32_t RRTILE3152; -extern int32_t RRTILE3153; -extern int32_t RRTILE3155; -extern int32_t RRTILE3171; -extern int32_t RRTILE3172; -extern int32_t RRTILE3190; -extern int32_t RRTILE3191; -extern int32_t RRTILE3192; -extern int32_t RRTILE3195; -extern int32_t RRTILE3200; -extern int32_t RRTILE3201; -extern int32_t RRTILE3202; -extern int32_t RRTILE3203; -extern int32_t RRTILE3204; -extern int32_t RRTILE3205; -extern int32_t RRTILE3206; -extern int32_t RRTILE3207; -extern int32_t RRTILE3208; -extern int32_t RRTILE3209; -extern int32_t RRTILE3216; -extern int32_t RRTILE3218; -extern int32_t RRTILE3219; -extern int32_t RRTILE3232; -extern int32_t SHOTGUNSHELLS; -extern int32_t CIRCLESTUCK; -extern int32_t RRTILE3410; -extern int32_t LUMBERBLADE; -extern int32_t BOWLINGBALLH; -extern int32_t BOWLINGBALL; -extern int32_t BOWLINGBALLSPRITE; -extern int32_t POWDERH; -extern int32_t RRTILE3440; -extern int32_t RRTILE3462; -extern int32_t OWHIP; -extern int32_t UWHIP; -extern int32_t RPGGUN2; -extern int32_t RRTILE3497; -extern int32_t RRTILE3498; -extern int32_t RRTILE3499; -extern int32_t RRTILE3500; -extern int32_t SLINGBLADE; -extern int32_t RRTILE3584; -extern int32_t RRTILE3586; -extern int32_t RRTILE3587; -extern int32_t RRTILE3600; -extern int32_t RRTILE3631; -extern int32_t RRTILE3635; -extern int32_t RRTILE3637; -extern int32_t RRTILE3643; -extern int32_t RRTILE3647; -extern int32_t RRTILE3652; -extern int32_t RRTILE3653; -extern int32_t RRTILE3668; -extern int32_t RRTILE3671; -extern int32_t RRTILE3673; -extern int32_t RRTILE3677; -extern int32_t RRTILE3684; -extern int32_t RRTILE3708; -extern int32_t RRTILE3714; -extern int32_t RRTILE3716; -extern int32_t RRTILE3720; -extern int32_t RRTILE3723; -extern int32_t RRTILE3725; -extern int32_t RRTILE3737; -extern int32_t RRTILE3754; -extern int32_t RRTILE3762; -extern int32_t RRTILE3763; -extern int32_t RRTILE3764; -extern int32_t RRTILE3765; -extern int32_t RRTILE3767; -extern int32_t RRTILE3773; -extern int32_t RRTILE3774; -extern int32_t RRTILE3793; -extern int32_t RRTILE3795; -extern int32_t RRTILE3804; -extern int32_t RRTILE3814; -extern int32_t RRTILE3815; -extern int32_t RRTILE3819; -extern int32_t RRTILE3827; -extern int32_t RRTILE3837; -extern int32_t RRTILE5014; -extern int32_t RRTILE5016; -extern int32_t RRTILE5017; -extern int32_t RRTILE5018; -extern int32_t RRTILE5019; -extern int32_t RRTILE5020; -extern int32_t RRTILE5021; -extern int32_t RRTILE5022; -extern int32_t RRTILE5023; -extern int32_t RRTILE5024; -extern int32_t RRTILE5025; -extern int32_t RRTILE5026; -extern int32_t RRTILE5027; -extern int32_t RRTILE5029; -extern int32_t RRTILE5030; -extern int32_t RRTILE5031; -extern int32_t RRTILE5032; -extern int32_t RRTILE5033; -extern int32_t RRTILE5034; -extern int32_t RRTILE5035; -extern int32_t RRTILE5036; -extern int32_t RRTILE5037; -extern int32_t RRTILE5038; -extern int32_t RRTILE5039; -extern int32_t RRTILE5040; -extern int32_t RRTILE5041; -extern int32_t RRTILE5043; -extern int32_t RRTILE5044; -extern int32_t RRTILE5045; -extern int32_t RRTILE5046; -extern int32_t RRTILE5047; -extern int32_t RRTILE5048; -extern int32_t RRTILE5049; -extern int32_t RRTILE5050; -extern int32_t RRTILE5051; -extern int32_t RRTILE5052; -extern int32_t RRTILE5053; -extern int32_t RRTILE5054; -extern int32_t RRTILE5055; -extern int32_t RRTILE5056; -extern int32_t RRTILE5057; -extern int32_t RRTILE5058; -extern int32_t RRTILE5059; -extern int32_t RRTILE5061; -extern int32_t RRTILE5062; -extern int32_t RRTILE5063; -extern int32_t RRTILE5064; -extern int32_t RRTILE5065; -extern int32_t RRTILE5066; -extern int32_t RRTILE5067; -extern int32_t RRTILE5068; -extern int32_t RRTILE5069; -extern int32_t RRTILE5070; -extern int32_t RRTILE5071; -extern int32_t RRTILE5072; -extern int32_t RRTILE5073; -extern int32_t RRTILE5074; -extern int32_t RRTILE5075; -extern int32_t RRTILE5076; -extern int32_t RRTILE5077; -extern int32_t RRTILE5078; -extern int32_t RRTILE5079; -extern int32_t RRTILE5080; -extern int32_t RRTILE5081; -extern int32_t RRTILE5082; -extern int32_t RRTILE5083; -extern int32_t RRTILE5084; -extern int32_t RRTILE5085; -extern int32_t RRTILE5086; -extern int32_t RRTILE5087; -extern int32_t RRTILE5088; -extern int32_t RRTILE5090; -extern int32_t RRTILE6144; -extern int32_t RRTILE7110; -extern int32_t RRTILE7111; -extern int32_t RRTILE7112; -extern int32_t RRTILE7113; -extern int32_t MOTOGUN; -extern int32_t RRTILE7169; -extern int32_t MOTOHIT; -extern int32_t BOATHIT; -extern int32_t RRTILE7184; -extern int32_t RRTILE7190; -extern int32_t RRTILE7191; -extern int32_t RRTILE7213; -extern int32_t RRTILE7219; -extern int32_t EMPTYBIKE; -extern int32_t EMPTYBOAT; -extern int32_t RRTILE7424; -extern int32_t RRTILE7430; -extern int32_t RRTILE7433; -extern int32_t RRTILE7441; -extern int32_t RRTILE7547; -extern int32_t RRTILE7467; -extern int32_t RRTILE7469; -extern int32_t RRTILE7470; -extern int32_t RRTILE7475; -extern int32_t RRTILE7478; -extern int32_t RRTILE7505; -extern int32_t RRTILE7506; -extern int32_t RRTILE7534; -extern int32_t RRTILE7540; -extern int32_t RRTILE7533; -extern int32_t RRTILE7545; -extern int32_t RRTILE7552; -extern int32_t RRTILE7553; -extern int32_t RRTILE7554; -extern int32_t RRTILE7555; -extern int32_t RRTILE7557; -extern int32_t RRTILE7558; -extern int32_t RRTILE7559; -extern int32_t RRTILE7561; -extern int32_t RRTILE7566; -extern int32_t RRTILE7568; -extern int32_t RRTILE7574; -extern int32_t RRTILE7575; -extern int32_t RRTILE7576; -extern int32_t RRTILE7578; -extern int32_t RRTILE7579; -extern int32_t RRTILE7580; -extern int32_t RRTILE7595; -extern int32_t RRTILE7629; -extern int32_t RRTILE7636; -extern int32_t RRTILE7638; -extern int32_t RRTILE7640; -extern int32_t RRTILE7644; -extern int32_t RRTILE7646; -extern int32_t RRTILE7648; -extern int32_t RRTILE7650; -extern int32_t RRTILE7653; -extern int32_t RRTILE7655; -extern int32_t RRTILE7657; -extern int32_t RRTILE7659; -extern int32_t RRTILE7691; -extern int32_t RRTILE7694; -extern int32_t RRTILE7696; -extern int32_t RRTILE7697; -extern int32_t RRTILE7700; -extern int32_t RRTILE7702; -extern int32_t RRTILE7704; -extern int32_t RRTILE7705; -extern int32_t RRTILE7711; -extern int32_t RRTILE7716; -extern int32_t RRTILE7756; -extern int32_t RRTILE7768; -extern int32_t RRTILE7806; -extern int32_t RRTILE7820; -extern int32_t RRTILE7870; -extern int32_t RRTILE7873; -extern int32_t RRTILE7859; -extern int32_t RRTILE7875; -extern int32_t RRTILE7876; -extern int32_t RRTILE7879; -extern int32_t RRTILE7881; -extern int32_t RRTILE7883; -extern int32_t RRTILE7885; -extern int32_t RRTILE7886; -extern int32_t RRTILE7887; -extern int32_t RRTILE7888; -extern int32_t RRTILE7889; -extern int32_t RRTILE7890; -extern int32_t RRTILE7900; -extern int32_t RRTILE7901; -extern int32_t RRTILE7906; -extern int32_t RRTILE7912; -extern int32_t RRTILE7913; -extern int32_t RRTILE7936; -extern int32_t RRTILE8047; -extern int32_t MULTISWITCH2; -extern int32_t RRTILE8059; -extern int32_t RRTILE8060; -extern int32_t RRTILE8063; -extern int32_t RRTILE8067; -extern int32_t RRTILE8076; -extern int32_t RRTILE8094; -extern int32_t RRTILE8096; -extern int32_t RRTILE8099; -extern int32_t RRTILE8106; -extern int32_t RRTILE8162; -extern int32_t RRTILE8163; -extern int32_t RRTILE8164; -extern int32_t RRTILE8165; -extern int32_t RRTILE8166; -extern int32_t RRTILE8167; -extern int32_t RRTILE8168; -extern int32_t RRTILE8192; -extern int32_t RRTILE8193; -extern int32_t RRTILE8215; -extern int32_t RRTILE8216; -extern int32_t RRTILE8217; -extern int32_t RRTILE8218; -extern int32_t RRTILE8220; -extern int32_t RRTILE8221; -extern int32_t RRTILE8222; -extern int32_t RRTILE8223; -extern int32_t RRTILE8224; -extern int32_t RRTILE8227; -extern int32_t RRTILE8312; -extern int32_t RRTILE8370; -extern int32_t RRTILE8371; -extern int32_t RRTILE8372; -extern int32_t RRTILE8373; -extern int32_t RRTILE8379; -extern int32_t RRTILE8380; -extern int32_t RRTILE8385; -extern int32_t RRTILE8386; -extern int32_t RRTILE8387; -extern int32_t RRTILE8388; -extern int32_t RRTILE8389; -extern int32_t RRTILE8390; -extern int32_t RRTILE8391; -extern int32_t RRTILE8392; -extern int32_t RRTILE8394; -extern int32_t RRTILE8395; -extern int32_t RRTILE8396; -extern int32_t RRTILE8397; -extern int32_t RRTILE8398; -extern int32_t RRTILE8399; -extern int32_t RRTILE8423; -extern int32_t RRTILE8448; -extern int32_t RRTILE8450; -extern int32_t BOATAMMO; -extern int32_t RRTILE8461; -extern int32_t RRTILE8462; -extern int32_t RRTILE8464; -extern int32_t RRTILE8475; -extern int32_t RRTILE8487; -extern int32_t RRTILE8488; -extern int32_t RRTILE8489; -extern int32_t RRTILE8490; -extern int32_t RRTILE8496; -extern int32_t RRTILE8497; -extern int32_t RRTILE8498; -extern int32_t RRTILE8499; -extern int32_t RRTILE8503; -extern int32_t RRTILE8525; -extern int32_t RRTILE8537; -extern int32_t RRTILE8565; -extern int32_t RRTILE8567; -extern int32_t RRTILE8568; -extern int32_t RRTILE8569; -extern int32_t RRTILE8570; -extern int32_t RRTILE8571; -extern int32_t RRTILE8579; -extern int32_t RRTILE8588; -extern int32_t RRTILE8589; -extern int32_t RRTILE8590; -extern int32_t RRTILE8591; -extern int32_t RRTILE8592; -extern int32_t RRTILE8593; -extern int32_t RRTILE8594; -extern int32_t RRTILE8595; -extern int32_t RRTILE8596; -extern int32_t RRTILE8598; -extern int32_t RRTILE8605; -extern int32_t RRTILE8608; -extern int32_t RRTILE8609; -extern int32_t RRTILE8611; -extern int32_t RRTILE8617; -extern int32_t RRTILE8618; -extern int32_t RRTILE8620; -extern int32_t RRTILE8621; -extern int32_t RRTILE8622; -extern int32_t RRTILE8623; -extern int32_t RRTILE8624; -extern int32_t RRTILE8640; -extern int32_t RRTILE8651; -extern int32_t RRTILE8660; -extern int32_t RRTILE8677; -extern int32_t RRTILE8679; -extern int32_t RRTILE8680; -extern int32_t RRTILE8681; -extern int32_t RRTILE8682; -extern int32_t RRTILE8683; -extern int32_t RRTILE8704; -extern int32_t BOULDER; -extern int32_t BOULDER1; -extern int32_t TORNADO; -extern int32_t CHEERBOMB; -extern int32_t CHEERBLADE; -extern int32_t DOGATTACK; -extern int32_t BILLYWALK; -extern int32_t BILLYDIE; -extern int32_t BILLYCOCK; -extern int32_t BILLYRAY; -extern int32_t BILLYRAYSTAYPUT; -extern int32_t BILLYBUT; -extern int32_t BILLYSCRATCH; -extern int32_t BILLYSNIFF; -extern int32_t BILLYWOUND; -extern int32_t BILLYGORE; -extern int32_t BILLYJIBA; -extern int32_t BILLYJIBB; -extern int32_t BRAYSNIPER; -extern int32_t DOGRUN; -extern int32_t DOGDIE; -extern int32_t DOGDEAD; -extern int32_t DOGBARK; -extern int32_t LTH; -extern int32_t LTHSTRAFE; -extern int32_t HULKHANG; -extern int32_t HULKHANGDEAD; -extern int32_t HULKJUMP; -extern int32_t LTHLOAD; -extern int32_t LTHDIE; -extern int32_t BUBBASCRATCH; -extern int32_t BUBBANOSE; -extern int32_t BUBBAPISS; -extern int32_t BUBBASTAND; -extern int32_t BUBBAOUCH; -extern int32_t BUBBADIE; -extern int32_t BUBBADEAD; -extern int32_t HULK; -extern int32_t HULKSTAYPUT; -extern int32_t HULKA; -extern int32_t HULKB; -extern int32_t HULKC; -extern int32_t HULKJIBA; -extern int32_t HULKJIBB; -extern int32_t HULKJIBC; -extern int32_t SBSWIPE; -extern int32_t SBPAIN; -extern int32_t SBDIE; -extern int32_t HEN; -extern int32_t HENSTAYPUT; -extern int32_t HENSTAND; -extern int32_t PIG; -extern int32_t PIGSTAYPUT; -extern int32_t PIGEAT; -extern int32_t SBMOVE; -extern int32_t SBSPIT; -extern int32_t SBDIP; -extern int32_t MINION; -extern int32_t MINIONSTAYPUT; -extern int32_t UFO1; -extern int32_t UFO2; -extern int32_t UFO3; -extern int32_t UFO4; -extern int32_t UFO5; -extern int32_t MINJIBA; -extern int32_t MINJIBB; -extern int32_t MINJIBC; -extern int32_t COW; -extern int32_t COOT; -extern int32_t COOTSTAYPUT; -extern int32_t COOTSHOOT; -extern int32_t COOTDIE; -extern int32_t COOTDUCK; -extern int32_t COOTPAIN; -extern int32_t COOTTRANS; -extern int32_t COOTGETUP; -extern int32_t COOTJIBA; -extern int32_t COOTJIBB; -extern int32_t COOTJIBC; -extern int32_t VIXEN; -extern int32_t VIXENPAIN; -extern int32_t VIXENDIE; -extern int32_t VIXENSHOOT; -extern int32_t VIXENWDN; -extern int32_t VIXENWUP; -extern int32_t VIXENKICK; -extern int32_t VIXENTELE; -extern int32_t VIXENTEAT; -extern int32_t BIKEJIBA; -extern int32_t BIKEJIBB; -extern int32_t BIKEJIBC; -extern int32_t BIKERB; -extern int32_t BIKERBV2; -extern int32_t BIKER; -extern int32_t BIKERJIBA; -extern int32_t BIKERJIBB; -extern int32_t BIKERJIBC; -extern int32_t BIKERJIBD; -extern int32_t MAKEOUT; -extern int32_t CHEERB; -extern int32_t CHEER; -extern int32_t CHEERSTAYPUT; -extern int32_t CHEERJIBA; -extern int32_t CHEERJIBB; -extern int32_t CHEERJIBC; -extern int32_t CHEERJIBD; -extern int32_t FBOATJIBA; -extern int32_t FBOATJIBB; -extern int32_t COOTPLAY; -extern int32_t BILLYPLAY; -extern int32_t MINIONBOAT; -extern int32_t HULKBOAT; -extern int32_t CHEERBOAT; -extern int32_t RRTILE7274; -extern int32_t RABBIT; -extern int32_t RABBITJIBA; -extern int32_t RABBITJIBB; -extern int32_t RABBITJIBC; -extern int32_t ROCK; -extern int32_t ROCK2; -extern int32_t MAMACLOUD; -extern int32_t MAMA; -extern int32_t MAMAJIBA; -extern int32_t MAMAJIBB; +extern int32_t TILE_SECTOREFFECTOR; +extern int32_t TILE_ACTIVATOR; +extern int32_t TILE_TOUCHPLATE; +extern int32_t TILE_ACTIVATORLOCKED; +extern int32_t TILE_MUSICANDSFX; +extern int32_t TILE_LOCATORS; +extern int32_t TILE_CYCLER; +extern int32_t TILE_MASTERSWITCH; +extern int32_t TILE_RESPAWN; +extern int32_t TILE_GPSPEED; +extern int32_t TILE_FOF; +extern int32_t TILE_ARROW; +extern int32_t TILE_FIRSTGUNSPRITE; +extern int32_t TILE_CHAINGUNSPRITE; +extern int32_t TILE_RPGSPRITE; +extern int32_t TILE_FREEZESPRITE; +extern int32_t TILE_SHRINKERSPRITE; +extern int32_t TILE_HEAVYHBOMB; +extern int32_t TILE_TRIPBOMBSPRITE; +extern int32_t TILE_SHOTGUNSPRITE; +extern int32_t TILE_DEVISTATORSPRITE; +extern int32_t TILE_HEALTHBOX; +extern int32_t TILE_AMMOBOX; +extern int32_t TILE_GROWSPRITEICON; +extern int32_t TILE_INVENTORYBOX; +extern int32_t TILE_FREEZEAMMO; +extern int32_t TILE_AMMO; +extern int32_t TILE_BATTERYAMMO; +extern int32_t TILE_DEVISTATORAMMO; +extern int32_t TILE_RPGAMMO; +extern int32_t TILE_GROWAMMO; +extern int32_t TILE_CRYSTALAMMO; +extern int32_t TILE_HBOMBAMMO; +extern int32_t TILE_AMMOLOTS; +extern int32_t TILE_SHOTGUNAMMO; +extern int32_t TILE_COLA; +extern int32_t TILE_SIXPAK; +extern int32_t TILE_FIRSTAID; +extern int32_t TILE_SHIELD; +extern int32_t TILE_STEROIDS; +extern int32_t TILE_AIRTANK; +extern int32_t TILE_JETPACK; +extern int32_t TILE_HEATSENSOR; +extern int32_t TILE_ACCESSCARD; +extern int32_t TILE_BOOTS; +extern int32_t TILE_MIRRORBROKE; +extern int32_t TILE_CLOUDYOCEAN; +extern int32_t TILE_CLOUDYSKIES; +extern int32_t TILE_MOONSKY1; +extern int32_t TILE_MOONSKY2; +extern int32_t TILE_MOONSKY3; +extern int32_t TILE_MOONSKY4; +extern int32_t TILE_BIGORBIT1; +extern int32_t TILE_BIGORBIT2; +extern int32_t TILE_BIGORBIT3; +extern int32_t TILE_BIGORBIT4; +extern int32_t TILE_BIGORBIT5; +extern int32_t TILE_LA; +extern int32_t TILE_REDSKY1; +extern int32_t TILE_REDSKY2; +extern int32_t TILE_ATOMICHEALTH; +extern int32_t TILE_TECHLIGHT2; +extern int32_t TILE_TECHLIGHTBUST2; +extern int32_t TILE_TECHLIGHT4; +extern int32_t TILE_TECHLIGHTBUST4; +extern int32_t TILE_WALLLIGHT4; +extern int32_t TILE_WALLLIGHTBUST4; +extern int32_t TILE_ACCESSSWITCH; +extern int32_t TILE_SLOTDOOR; +extern int32_t TILE_LIGHTSWITCH; +extern int32_t TILE_SPACEDOORSWITCH; +extern int32_t TILE_SPACELIGHTSWITCH; +extern int32_t TILE_FRANKENSTINESWITCH; +extern int32_t TILE_NUKEBUTTON; +extern int32_t TILE_MULTISWITCH; +extern int32_t TILE_DOORTILE5; +extern int32_t TILE_DOORTILE6; +extern int32_t TILE_DOORTILE1; +extern int32_t TILE_DOORTILE2; +extern int32_t TILE_DOORTILE3; +extern int32_t TILE_DOORTILE4; +extern int32_t TILE_DOORTILE7; +extern int32_t TILE_DOORTILE8; +extern int32_t TILE_DOORTILE9; +extern int32_t TILE_DOORTILE10; +extern int32_t TILE_DOORSHOCK; +extern int32_t TILE_DIPSWITCH; +extern int32_t TILE_DIPSWITCH2; +extern int32_t TILE_TECHSWITCH; +extern int32_t TILE_DIPSWITCH3; +extern int32_t TILE_ACCESSSWITCH2; +extern int32_t TILE_REFLECTWATERTILE; +extern int32_t TILE_FLOORSLIME; +extern int32_t TILE_BIGFORCE; +extern int32_t TILE_EPISODE; +extern int32_t TILE_MASKWALL9; +extern int32_t TILE_W_LIGHT; +extern int32_t TILE_SCREENBREAK1; +extern int32_t TILE_SCREENBREAK2; +extern int32_t TILE_SCREENBREAK3; +extern int32_t TILE_SCREENBREAK4; +extern int32_t TILE_SCREENBREAK5; +extern int32_t TILE_SCREENBREAK6; +extern int32_t TILE_SCREENBREAK7; +extern int32_t TILE_SCREENBREAK8; +extern int32_t TILE_SCREENBREAK9; +extern int32_t TILE_SCREENBREAK10; +extern int32_t TILE_SCREENBREAK11; +extern int32_t TILE_SCREENBREAK12; +extern int32_t TILE_SCREENBREAK13; +extern int32_t TILE_MASKWALL1; +extern int32_t TILE_W_TECHWALL1; +extern int32_t TILE_W_TECHWALL2; +extern int32_t TILE_W_TECHWALL15; +extern int32_t TILE_W_TECHWALL3; +extern int32_t TILE_W_TECHWALL4; +extern int32_t TILE_W_TECHWALL10; +extern int32_t TILE_W_TECHWALL16; +extern int32_t TILE_WATERTILE2; +extern int32_t TILE_BPANNEL1; +extern int32_t TILE_PANNEL1; +extern int32_t TILE_PANNEL2; +extern int32_t TILE_WATERTILE; +extern int32_t TILE_STATIC; +extern int32_t TILE_W_SCREENBREAK; +extern int32_t TILE_W_HITTECHWALL3; +extern int32_t TILE_W_HITTECHWALL4; +extern int32_t TILE_W_HITTECHWALL2; +extern int32_t TILE_W_HITTECHWALL1; +extern int32_t TILE_MASKWALL10; +extern int32_t TILE_MASKWALL11; +extern int32_t TILE_DOORTILE22; +extern int32_t TILE_FANSPRITE; +extern int32_t TILE_FANSPRITEBROKE; +extern int32_t TILE_FANSHADOW; +extern int32_t TILE_FANSHADOWBROKE; +extern int32_t TILE_DOORTILE18; +extern int32_t TILE_DOORTILE19; +extern int32_t TILE_DOORTILE20; +extern int32_t TILE_SATELLITE; +extern int32_t TILE_VIEWSCREEN2; +extern int32_t TILE_VIEWSCREENBROKE; +extern int32_t TILE_VIEWSCREEN; +extern int32_t TILE_GLASS; +extern int32_t TILE_GLASS2; +extern int32_t TILE_STAINGLASS1; +extern int32_t TILE_MASKWALL5; +extern int32_t TILE_SATELITE; +extern int32_t TILE_FUELPOD; +extern int32_t TILE_SLIMEPIPE; +extern int32_t TILE_CRACK1; +extern int32_t TILE_CRACK2; +extern int32_t TILE_CRACK3; +extern int32_t TILE_CRACK4; +extern int32_t TILE_FOOTPRINTS; +extern int32_t TILE_DOMELITE; +extern int32_t TILE_CAMERAPOLE; +extern int32_t TILE_CHAIR1; +extern int32_t TILE_CHAIR2; +extern int32_t TILE_BROKENCHAIR; +extern int32_t TILE_MIRROR; +extern int32_t TILE_WATERFOUNTAIN; +extern int32_t TILE_WATERFOUNTAINBROKE; +extern int32_t TILE_FEMMAG1; +extern int32_t TILE_TOILET; +extern int32_t TILE_STALL; +extern int32_t TILE_STALLBROKE; +extern int32_t TILE_FEMMAG2; +extern int32_t TILE_REACTOR2; +extern int32_t TILE_REACTOR2BURNT; +extern int32_t TILE_REACTOR2SPARK; +extern int32_t TILE_GRATE1; +extern int32_t TILE_BGRATE1; +extern int32_t TILE_SOLARPANNEL; +extern int32_t TILE_NAKED1; +extern int32_t TILE_ANTENNA; +extern int32_t TILE_MASKWALL12; +extern int32_t TILE_TOILETBROKE; +extern int32_t TILE_PIPE2; +extern int32_t TILE_PIPE1B; +extern int32_t TILE_PIPE3; +extern int32_t TILE_PIPE1; +extern int32_t TILE_CAMERA1; +extern int32_t TILE_BRICK; +extern int32_t TILE_SPLINTERWOOD; +extern int32_t TILE_PIPE2B; +extern int32_t TILE_BOLT1; +extern int32_t TILE_W_NUMBERS; +extern int32_t TILE_WATERDRIP; +extern int32_t TILE_WATERBUBBLE; +extern int32_t TILE_WATERBUBBLEMAKER; +extern int32_t TILE_W_FORCEFIELD; +extern int32_t TILE_VACUUM; +extern int32_t TILE_FOOTPRINTS2; +extern int32_t TILE_FOOTPRINTS3; +extern int32_t TILE_FOOTPRINTS4; +extern int32_t TILE_EGG; +extern int32_t TILE_SCALE; +extern int32_t TILE_CHAIR3; +extern int32_t TILE_CAMERALIGHT; +extern int32_t TILE_MOVIECAMERA; +extern int32_t TILE_IVUNIT; +extern int32_t TILE_POT1; +extern int32_t TILE_POT2; +extern int32_t TILE_POT3; +extern int32_t TILE_PIPE3B; +extern int32_t TILE_WALLLIGHT3; +extern int32_t TILE_WALLLIGHTBUST3; +extern int32_t TILE_WALLLIGHT1; +extern int32_t TILE_WALLLIGHTBUST1; +extern int32_t TILE_WALLLIGHT2; +extern int32_t TILE_WALLLIGHTBUST2; +extern int32_t TILE_LIGHTSWITCH2; +extern int32_t TILE_WAITTOBESEATED; +extern int32_t TILE_DOORTILE14; +extern int32_t TILE_STATUE; +extern int32_t TILE_MIKE; +extern int32_t TILE_VASE; +extern int32_t TILE_SUSHIPLATE1; +extern int32_t TILE_SUSHIPLATE2; +extern int32_t TILE_SUSHIPLATE3; +extern int32_t TILE_SUSHIPLATE4; +extern int32_t TILE_DOORTILE16; +extern int32_t TILE_SUSHIPLATE5; +extern int32_t TILE_OJ; +extern int32_t TILE_MASKWALL13; +extern int32_t TILE_HURTRAIL; +extern int32_t TILE_POWERSWITCH1; +extern int32_t TILE_LOCKSWITCH1; +extern int32_t TILE_POWERSWITCH2; +extern int32_t TILE_ATM; +extern int32_t TILE_STATUEFLASH; +extern int32_t TILE_ATMBROKE; +extern int32_t TILE_BIGHOLE2; +extern int32_t TILE_STRIPEBALL; +extern int32_t TILE_QUEBALL; +extern int32_t TILE_POCKET; +extern int32_t TILE_WOODENHORSE; +extern int32_t TILE_TREE1; +extern int32_t TILE_TREE2; +extern int32_t TILE_CACTUS; +extern int32_t TILE_MASKWALL2; +extern int32_t TILE_MASKWALL3; +extern int32_t TILE_MASKWALL4; +extern int32_t TILE_FIREEXT; +extern int32_t TILE_TOILETWATER; +extern int32_t TILE_NEON1; +extern int32_t TILE_NEON2; +extern int32_t TILE_CACTUSBROKE; +extern int32_t TILE_BOUNCEMINE; +extern int32_t TILE_BROKEFIREHYDRENT; +extern int32_t TILE_BOX; +extern int32_t TILE_BULLETHOLE; +extern int32_t TILE_BOTTLE1; +extern int32_t TILE_BOTTLE2; +extern int32_t TILE_BOTTLE3; +extern int32_t TILE_BOTTLE4; +extern int32_t TILE_FEMPIC5; +extern int32_t TILE_FEMPIC6; +extern int32_t TILE_FEMPIC7; +extern int32_t TILE_HYDROPLANT; +extern int32_t TILE_OCEANSPRITE1; +extern int32_t TILE_OCEANSPRITE2; +extern int32_t TILE_OCEANSPRITE3; +extern int32_t TILE_OCEANSPRITE4; +extern int32_t TILE_OCEANSPRITE5; +extern int32_t TILE_GENERICPOLE; +extern int32_t TILE_CONE; +extern int32_t TILE_HANGLIGHT; +extern int32_t TILE_HYDRENT; +extern int32_t TILE_MASKWALL14; +extern int32_t TILE_TIRE; +extern int32_t TILE_PIPE5; +extern int32_t TILE_PIPE6; +extern int32_t TILE_PIPE4; +extern int32_t TILE_PIPE4B; +extern int32_t TILE_BROKEHYDROPLANT; +extern int32_t TILE_PIPE5B; +extern int32_t TILE_NEON3; +extern int32_t TILE_NEON4; +extern int32_t TILE_NEON5; +extern int32_t TILE_BOTTLE5; +extern int32_t TILE_BOTTLE6; +extern int32_t TILE_BOTTLE8; +extern int32_t TILE_SPOTLITE; +extern int32_t TILE_HANGOOZ; +extern int32_t TILE_MASKWALL15; +extern int32_t TILE_BOTTLE7; +extern int32_t TILE_HORSEONSIDE; +extern int32_t TILE_GLASSPIECES; +extern int32_t TILE_HORSELITE; +extern int32_t TILE_DONUTS; +extern int32_t TILE_NEON6; +extern int32_t TILE_MASKWALL6; +extern int32_t TILE_CLOCK; +extern int32_t TILE_RUBBERCAN; +extern int32_t TILE_BROKENCLOCK; +extern int32_t TILE_PLUG; +extern int32_t TILE_OOZFILTER; +extern int32_t TILE_FLOORPLASMA; +extern int32_t TILE_REACTOR; +extern int32_t TILE_REACTORSPARK; +extern int32_t TILE_REACTORBURNT; +extern int32_t TILE_DOORTILE15; +extern int32_t TILE_HANDSWITCH; +extern int32_t TILE_CIRCLEPANNEL; +extern int32_t TILE_CIRCLEPANNELBROKE; +extern int32_t TILE_PULLSWITCH; +extern int32_t TILE_MASKWALL8; +extern int32_t TILE_BIGHOLE; +extern int32_t TILE_ALIENSWITCH; +extern int32_t TILE_DOORTILE21; +extern int32_t TILE_HANDPRINTSWITCH; +extern int32_t TILE_BOTTLE10; +extern int32_t TILE_BOTTLE11; +extern int32_t TILE_BOTTLE12; +extern int32_t TILE_BOTTLE13; +extern int32_t TILE_BOTTLE14; +extern int32_t TILE_BOTTLE15; +extern int32_t TILE_BOTTLE16; +extern int32_t TILE_BOTTLE17; +extern int32_t TILE_BOTTLE18; +extern int32_t TILE_BOTTLE19; +extern int32_t TILE_DOORTILE17; +extern int32_t TILE_MASKWALL7; +extern int32_t TILE_JAILBARBREAK; +extern int32_t TILE_DOORTILE11; +extern int32_t TILE_DOORTILE12; +extern int32_t TILE_VENDMACHINE; +extern int32_t TILE_VENDMACHINEBROKE; +extern int32_t TILE_COLAMACHINE; +extern int32_t TILE_COLAMACHINEBROKE; +extern int32_t TILE_CRANEPOLE; +extern int32_t TILE_CRANE; +extern int32_t TILE_BARBROKE; +extern int32_t TILE_BLOODPOOL; +extern int32_t TILE_NUKEBARREL; +extern int32_t TILE_NUKEBARRELDENTED; +extern int32_t TILE_NUKEBARRELLEAKED; +extern int32_t TILE_CANWITHSOMETHING; +extern int32_t TILE_MONEY; +extern int32_t TILE_BANNER; +extern int32_t TILE_EXPLODINGBARREL; +extern int32_t TILE_EXPLODINGBARREL2; +extern int32_t TILE_FIREBARREL; +extern int32_t TILE_SEENINE; +extern int32_t TILE_SEENINEDEAD; +extern int32_t TILE_STEAM; +extern int32_t TILE_CEILINGSTEAM; +extern int32_t TILE_PIPE6B; +extern int32_t TILE_TRANSPORTERBEAM; +extern int32_t TILE_RAT; +extern int32_t TILE_TRASH; +extern int32_t TILE_FEMPIC1; +extern int32_t TILE_FEMPIC2; +extern int32_t TILE_BLANKSCREEN; +extern int32_t TILE_PODFEM1; +extern int32_t TILE_FEMPIC3; +extern int32_t TILE_FEMPIC4; +extern int32_t TILE_FEM1; +extern int32_t TILE_FEM2; +extern int32_t TILE_FEM3; +extern int32_t TILE_FEM5; +extern int32_t TILE_BLOODYPOLE; +extern int32_t TILE_FEM4; +extern int32_t TILE_FEM6; +extern int32_t TILE_FEM6PAD; +extern int32_t TILE_FEM8; +extern int32_t TILE_HELECOPT; +extern int32_t TILE_FETUSJIB; +extern int32_t TILE_HOLODUKE; +extern int32_t TILE_SPACEMARINE; +extern int32_t TILE_INDY; +extern int32_t TILE_FETUS; +extern int32_t TILE_FETUSBROKE; +extern int32_t TILE_MONK; +extern int32_t TILE_LUKE; +extern int32_t TILE_COOLEXPLOSION1; +extern int32_t TILE_WATERSPLASH2; +extern int32_t TILE_FIREVASE; +extern int32_t TILE_SCRATCH; +extern int32_t TILE_FEM7; +extern int32_t TILE_APLAYERTOP; +extern int32_t TILE_APLAYER; +extern int32_t TILE_PLAYERONWATER; +extern int32_t TILE_DUKELYINGDEAD; +extern int32_t TILE_DUKETORSO; +extern int32_t TILE_DUKEGUN; +extern int32_t TILE_DUKELEG; +extern int32_t TILE_SHARK; +extern int32_t TILE_BLOOD; +extern int32_t TILE_FIRELASER; +extern int32_t TILE_TRANSPORTERSTAR; +extern int32_t TILE_SPIT; +extern int32_t TILE_LOOGIE; +extern int32_t TILE_FIST; +extern int32_t TILE_FREEZEBLAST; +extern int32_t TILE_DEVISTATORBLAST; +extern int32_t TILE_SHRINKSPARK; +extern int32_t TILE_TONGUE; +extern int32_t TILE_MORTER; +extern int32_t TILE_SHRINKEREXPLOSION; +extern int32_t TILE_RADIUSEXPLOSION; +extern int32_t TILE_FORCERIPPLE; +extern int32_t TILE_LIZTROOP; +extern int32_t TILE_LIZTROOPRUNNING; +extern int32_t TILE_LIZTROOPSTAYPUT; +extern int32_t TILE_LIZTOP; +extern int32_t TILE_LIZTROOPSHOOT; +extern int32_t TILE_LIZTROOPJETPACK; +extern int32_t TILE_LIZTROOPDSPRITE; +extern int32_t TILE_LIZTROOPONTOILET; +extern int32_t TILE_LIZTROOPJUSTSIT; +extern int32_t TILE_LIZTROOPDUCKING; +extern int32_t TILE_HEADJIB1; +extern int32_t TILE_ARMJIB1; +extern int32_t TILE_LEGJIB1; +extern int32_t TILE_CANNONBALL; +extern int32_t TILE_OCTABRAIN; +extern int32_t TILE_OCTABRAINSTAYPUT; +extern int32_t TILE_OCTATOP; +extern int32_t TILE_OCTADEADSPRITE; +extern int32_t TILE_INNERJAW; +extern int32_t TILE_DRONE; +extern int32_t TILE_EXPLOSION2; +extern int32_t TILE_COMMANDER; +extern int32_t TILE_COMMANDERSTAYPUT; +extern int32_t TILE_RECON; +extern int32_t TILE_TANK; +extern int32_t TILE_PIGCOP; +extern int32_t TILE_PIGCOPSTAYPUT; +extern int32_t TILE_PIGCOPDIVE; +extern int32_t TILE_PIGCOPDEADSPRITE; +extern int32_t TILE_PIGTOP; +extern int32_t TILE_LIZMAN; +extern int32_t TILE_LIZMANSTAYPUT; +extern int32_t TILE_LIZMANSPITTING; +extern int32_t TILE_LIZMANFEEDING; +extern int32_t TILE_LIZMANJUMP; +extern int32_t TILE_LIZMANDEADSPRITE; +extern int32_t TILE_FECES; +extern int32_t TILE_LIZMANHEAD1; +extern int32_t TILE_LIZMANARM1; +extern int32_t TILE_LIZMANLEG1; +extern int32_t TILE_EXPLOSION2BOT; +extern int32_t TILE_USERWEAPON; +extern int32_t TILE_HEADERBAR; +extern int32_t TILE_JIBS1; +extern int32_t TILE_JIBS2; +extern int32_t TILE_JIBS3; +extern int32_t TILE_JIBS4; +extern int32_t TILE_JIBS5; +extern int32_t TILE_BURNING; +extern int32_t TILE_FIRE; +extern int32_t TILE_JIBS6; +extern int32_t TILE_BLOODSPLAT1; +extern int32_t TILE_BLOODSPLAT3; +extern int32_t TILE_BLOODSPLAT2; +extern int32_t TILE_BLOODSPLAT4; +extern int32_t TILE_OOZ; +extern int32_t TILE_OOZ2; +extern int32_t TILE_WALLBLOOD1; +extern int32_t TILE_WALLBLOOD2; +extern int32_t TILE_WALLBLOOD3; +extern int32_t TILE_WALLBLOOD4; +extern int32_t TILE_WALLBLOOD5; +extern int32_t TILE_WALLBLOOD6; +extern int32_t TILE_WALLBLOOD7; +extern int32_t TILE_WALLBLOOD8; +extern int32_t TILE_BURNING2; +extern int32_t TILE_FIRE2; +extern int32_t TILE_CRACKKNUCKLES; +extern int32_t TILE_SMALLSMOKE; +extern int32_t TILE_SMALLSMOKEMAKER; +extern int32_t TILE_FLOORFLAME; +extern int32_t TILE_ROTATEGUN; +extern int32_t TILE_GREENSLIME; +extern int32_t TILE_WATERDRIPSPLASH; +extern int32_t TILE_SCRAP6; +extern int32_t TILE_SCRAP1; +extern int32_t TILE_SCRAP2; +extern int32_t TILE_SCRAP3; +extern int32_t TILE_SCRAP4; +extern int32_t TILE_SCRAP5; +extern int32_t TILE_ORGANTIC; +extern int32_t TILE_BETAVERSION; +extern int32_t TILE_PLAYERISHERE; +extern int32_t TILE_PLAYERWASHERE; +extern int32_t TILE_SELECTDIR; +extern int32_t TILE_F1HELP; +extern int32_t TILE_NOTCHON; +extern int32_t TILE_NOTCHOFF; +extern int32_t TILE_GROWSPARK; +extern int32_t TILE_DUKEICON; +extern int32_t TILE_BADGUYICON; +extern int32_t TILE_FOODICON; +extern int32_t TILE_GETICON; +extern int32_t TILE_MENUSCREEN; +extern int32_t TILE_MENUBAR; +extern int32_t TILE_KILLSICON; +extern int32_t TILE_FIRSTAID_ICON; +extern int32_t TILE_HEAT_ICON; +extern int32_t TILE_BOTTOMSTATUSBAR; +extern int32_t TILE_BOOT_ICON; +extern int32_t TILE_FRAGBAR; +extern int32_t TILE_JETPACK_ICON; +extern int32_t TILE_AIRTANK_ICON; +extern int32_t TILE_STEROIDS_ICON; +extern int32_t TILE_HOLODUKE_ICON; +extern int32_t TILE_ACCESS_ICON; +extern int32_t TILE_DIGITALNUM; +extern int32_t TILE_DUKECAR; +extern int32_t TILE_CAMCORNER; +extern int32_t TILE_CAMLIGHT; +extern int32_t TILE_LOGO; +extern int32_t TILE_TITLE; +extern int32_t TILE_NUKEWARNINGICON; +extern int32_t TILE_MOUSECURSOR; +extern int32_t TILE_SLIDEBAR; +extern int32_t TILE_DREALMS; +extern int32_t TILE_BETASCREEN; +extern int32_t TILE_WINDOWBORDER1; +extern int32_t TILE_TEXTBOX; +extern int32_t TILE_WINDOWBORDER2; +extern int32_t TILE_DUKENUKEM; +extern int32_t TILE_THREEDEE; +extern int32_t TILE_INGAMEDUKETHREEDEE; +extern int32_t TILE_TENSCREEN; +extern int32_t TILE_PLUTOPAKSPRITE; +extern int32_t TILE_DEVISTATOR; +extern int32_t TILE_KNEE; +extern int32_t TILE_CROSSHAIR; +extern int32_t TILE_FIRSTGUN; +extern int32_t TILE_FIRSTGUNRELOAD; +extern int32_t TILE_FALLINGCLIP; +extern int32_t TILE_CLIPINHAND; +extern int32_t TILE_HAND; +extern int32_t TILE_SHELL; +extern int32_t TILE_SHOTGUNSHELL; +extern int32_t TILE_CHAINGUN; +extern int32_t TILE_RPGGUN; +extern int32_t TILE_RPGMUZZLEFLASH; +extern int32_t TILE_FREEZE; +extern int32_t TILE_CATLITE; +extern int32_t TILE_SHRINKER; +extern int32_t TILE_HANDHOLDINGLASER; +extern int32_t TILE_TRIPBOMB; +extern int32_t TILE_LASERLINE; +extern int32_t TILE_HANDHOLDINGACCESS; +extern int32_t TILE_HANDREMOTE; +extern int32_t TILE_HANDTHROW; +extern int32_t TILE_TIP; +extern int32_t TILE_GLAIR; +extern int32_t TILE_SCUBAMASK; +extern int32_t TILE_SPACEMASK; +extern int32_t TILE_FORCESPHERE; +extern int32_t TILE_SHOTSPARK1; +extern int32_t TILE_RPG; +extern int32_t TILE_LASERSITE; +extern int32_t TILE_SHOTGUN; +extern int32_t TILE_BOSS1; +extern int32_t TILE_BOSS1STAYPUT; +extern int32_t TILE_BOSS1SHOOT; +extern int32_t TILE_BOSS1LOB; +extern int32_t TILE_BOSSTOP; +extern int32_t TILE_BOSS2; +extern int32_t TILE_BOSS3; +extern int32_t TILE_SPINNINGNUKEICON; +extern int32_t TILE_BIGFNTCURSOR; +extern int32_t TILE_SMALLFNTCURSOR; +extern int32_t TILE_STARTALPHANUM; +extern int32_t TILE_ENDALPHANUM; +extern int32_t TILE_BIGALPHANUM; +extern int32_t TILE_BIGPERIOD; +extern int32_t TILE_BIGCOMMA; +extern int32_t TILE_BIGX_; +extern int32_t TILE_BIGQ; +extern int32_t TILE_BIGSEMI; +extern int32_t TILE_BIGCOLIN; +extern int32_t TILE_THREEBYFIVE; +extern int32_t TILE_BIGAPPOS; +extern int32_t TILE_BLANK; +extern int32_t TILE_MINIFONT; +extern int32_t TILE_BUTTON1; +extern int32_t TILE_GLASS3; +extern int32_t TILE_RESPAWNMARKERRED; +extern int32_t TILE_RESPAWNMARKERYELLOW; +extern int32_t TILE_RESPAWNMARKERGREEN; +extern int32_t TILE_BONUSSCREEN; +extern int32_t TILE_VIEWBORDER; +extern int32_t TILE_VICTORY1; +extern int32_t TILE_ORDERING; +extern int32_t TILE_TEXTSTORY; +extern int32_t TILE_LOADSCREEN; +extern int32_t TILE_BORNTOBEWILDSCREEN; +extern int32_t TILE_BLIMP; +extern int32_t TILE_FEM9; +extern int32_t TILE_FOOTPRINT; +extern int32_t TILE_POOP; +extern int32_t TILE_FRAMEEFFECT1; +extern int32_t TILE_PANNEL3; +extern int32_t TILE_SCREENBREAK14; +extern int32_t TILE_SCREENBREAK15; +extern int32_t TILE_SCREENBREAK19; +extern int32_t TILE_SCREENBREAK16; +extern int32_t TILE_SCREENBREAK17; +extern int32_t TILE_SCREENBREAK18; +extern int32_t TILE_W_TECHWALL11; +extern int32_t TILE_W_TECHWALL12; +extern int32_t TILE_W_TECHWALL13; +extern int32_t TILE_W_TECHWALL14; +extern int32_t TILE_W_TECHWALL5; +extern int32_t TILE_W_TECHWALL6; +extern int32_t TILE_W_TECHWALL7; +extern int32_t TILE_W_TECHWALL8; +extern int32_t TILE_W_TECHWALL9; +extern int32_t TILE_BPANNEL3; +extern int32_t TILE_W_HITTECHWALL16; +extern int32_t TILE_W_HITTECHWALL10; +extern int32_t TILE_W_HITTECHWALL15; +extern int32_t TILE_W_MILKSHELF; +extern int32_t TILE_W_MILKSHELFBROKE; +extern int32_t TILE_PURPLELAVA; +extern int32_t TILE_LAVABUBBLE; +extern int32_t TILE_DUKECUTOUT; +extern int32_t TILE_TARGET; +extern int32_t TILE_GUNPOWDERBARREL; +extern int32_t TILE_DUCK; +extern int32_t TILE_HATRACK; +extern int32_t TILE_DESKLAMP; +extern int32_t TILE_COFFEEMACHINE; +extern int32_t TILE_CUPS; +extern int32_t TILE_GAVALS; +extern int32_t TILE_GAVALS2; +extern int32_t TILE_POLICELIGHTPOLE; +extern int32_t TILE_FLOORBASKET; +extern int32_t TILE_PUKE; +extern int32_t TILE_DOORTILE23; +extern int32_t TILE_TOPSECRET; +extern int32_t TILE_SPEAKER; +extern int32_t TILE_TEDDYBEAR; +extern int32_t TILE_ROBOTDOG; +extern int32_t TILE_ROBOTPIRATE; +extern int32_t TILE_ROBOTMOUSE; +extern int32_t TILE_MAIL; +extern int32_t TILE_MAILBAG; +extern int32_t TILE_HOTMEAT; +extern int32_t TILE_COFFEEMUG; +extern int32_t TILE_DONUTS2; +extern int32_t TILE_TRIPODCAMERA; +extern int32_t TILE_METER; +extern int32_t TILE_DESKPHONE; +extern int32_t TILE_GUMBALLMACHINE; +extern int32_t TILE_GUMBALLMACHINEBROKE; +extern int32_t TILE_PAPER; +extern int32_t TILE_MACE; +extern int32_t TILE_GENERICPOLE2; +extern int32_t TILE_XXXSTACY; +extern int32_t TILE_WETFLOOR; +extern int32_t TILE_BROOM; +extern int32_t TILE_MOP; +extern int32_t TILE_LETTER; +extern int32_t TILE_PIRATE1A; +extern int32_t TILE_PIRATE4A; +extern int32_t TILE_PIRATE2A; +extern int32_t TILE_PIRATE5A; +extern int32_t TILE_PIRATE3A; +extern int32_t TILE_PIRATE6A; +extern int32_t TILE_PIRATEHALF; +extern int32_t TILE_CHESTOFGOLD; +extern int32_t TILE_SIDEBOLT1; +extern int32_t TILE_FOODOBJECT1; +extern int32_t TILE_FOODOBJECT2; +extern int32_t TILE_FOODOBJECT3; +extern int32_t TILE_FOODOBJECT4; +extern int32_t TILE_FOODOBJECT5; +extern int32_t TILE_FOODOBJECT6; +extern int32_t TILE_FOODOBJECT7; +extern int32_t TILE_FOODOBJECT8; +extern int32_t TILE_FOODOBJECT9; +extern int32_t TILE_FOODOBJECT10; +extern int32_t TILE_FOODOBJECT11; +extern int32_t TILE_FOODOBJECT12; +extern int32_t TILE_FOODOBJECT13; +extern int32_t TILE_FOODOBJECT14; +extern int32_t TILE_FOODOBJECT15; +extern int32_t TILE_FOODOBJECT16; +extern int32_t TILE_FOODOBJECT17; +extern int32_t TILE_FOODOBJECT18; +extern int32_t TILE_FOODOBJECT19; +extern int32_t TILE_FOODOBJECT20; +extern int32_t TILE_HEADLAMP; +extern int32_t TILE_TAMPON; +extern int32_t TILE_SKINNEDCHICKEN; +extern int32_t TILE_FEATHEREDCHICKEN; +extern int32_t TILE_ROBOTDOG2; +extern int32_t TILE_JOLLYMEAL; +extern int32_t TILE_DUKEBURGER; +extern int32_t TILE_SHOPPINGCART; +extern int32_t TILE_CANWITHSOMETHING2; +extern int32_t TILE_CANWITHSOMETHING3; +extern int32_t TILE_CANWITHSOMETHING4; +extern int32_t TILE_SNAKEP; +extern int32_t TILE_DOLPHIN1; +extern int32_t TILE_DOLPHIN2; +extern int32_t TILE_NEWBEAST; +extern int32_t TILE_NEWBEASTSTAYPUT; +extern int32_t TILE_NEWBEASTJUMP; +extern int32_t TILE_NEWBEASTHANG; +extern int32_t TILE_NEWBEASTHANGDEAD; +extern int32_t TILE_BOSS4; +extern int32_t TILE_BOSS4STAYPUT; +extern int32_t TILE_FEM10; +extern int32_t TILE_TOUGHGAL; +extern int32_t TILE_MAN; +extern int32_t TILE_MAN2; +extern int32_t TILE_WOMAN; +extern int32_t TILE_PLEASEWAIT; +extern int32_t TILE_NATURALLIGHTNING; +extern int32_t TILE_WEATHERWARN; +extern int32_t TILE_DUKETAG; +extern int32_t TILE_SIGN1; +extern int32_t TILE_SIGN2; +extern int32_t TILE_JURYGUY; +extern int32_t TILE_RRTILE11; +extern int32_t TILE_RPG2SPRITE; +extern int32_t TILE_RRTILE18; +extern int32_t TILE_RRTILE19; +extern int32_t TILE_RRTILE34; +extern int32_t TILE_RRTILE35; +extern int32_t TILE_DESTRUCTO; +extern int32_t TILE_RRTILE38; +extern int32_t TILE_RRTILE43; +extern int32_t TILE_GUTMETER; +extern int32_t TILE_RRTILE63; +extern int32_t TILE_RRTILE64; +extern int32_t TILE_RRTILE65; +extern int32_t TILE_RRTILE66; +extern int32_t TILE_RRTILE67; +extern int32_t TILE_RRTILE68; +extern int32_t TILE_SOUNDFX; +extern int32_t TILE_MOTOAMMO; +extern int32_t TILE_UFOBEAM; +extern int32_t TILE_RRTILE280; +extern int32_t TILE_RRTILE281; +extern int32_t TILE_RRTILE282; +extern int32_t TILE_RRTILE283; +extern int32_t TILE_RRTILE285; +extern int32_t TILE_RRTILE286; +extern int32_t TILE_RRTILE287; +extern int32_t TILE_RRTILE288; +extern int32_t TILE_RRTILE289; +extern int32_t TILE_RRTILE290; +extern int32_t TILE_RRTILE291; +extern int32_t TILE_RRTILE292; +extern int32_t TILE_RRTILE293; +extern int32_t TILE_RRTILE295; +extern int32_t TILE_RRTILE296; +extern int32_t TILE_RRTILE297; +extern int32_t TILE_CDPLAYER; +extern int32_t TILE_RRTILE380; +extern int32_t TILE_RRTILE403; +extern int32_t TILE_RRTILE409; +extern int32_t TILE_GUTMETER_LIGHT1; +extern int32_t TILE_GUTMETER_LIGHT2; +extern int32_t TILE_GUTMETER_LIGHT3; +extern int32_t TILE_GUTMETER_LIGHT4; +extern int32_t TILE_AMMO_ICON; +extern int32_t TILE_RRTILE1076; +extern int32_t TILE_MUD; +extern int32_t TILE_EXPLOSION3; +extern int32_t TILE_RRTILE1636; +extern int32_t TILE_WEAPONBAR; +extern int32_t TILE_RRTILE1752; +extern int32_t TILE_RPG2; +extern int32_t TILE_RRTILE1790; +extern int32_t TILE_RRTILE1792; +extern int32_t TILE_RRTILE1801; +extern int32_t TILE_RRTILE1805; +extern int32_t TILE_RRTILE1807; +extern int32_t TILE_RRTILE1808; +extern int32_t TILE_RRTILE1812; +extern int32_t TILE_RRTILE1814; +extern int32_t TILE_RRTILE1817; +extern int32_t TILE_RRTILE1821; +extern int32_t TILE_RRTILE1824; +extern int32_t TILE_RRTILE1826; +extern int32_t TILE_RRTILE1850; +extern int32_t TILE_RRTILE1851; +extern int32_t TILE_RRTILE1856; +extern int32_t TILE_RRTILE1877; +extern int32_t TILE_RRTILE1878; +extern int32_t TILE_RRTILE1938; +extern int32_t TILE_RRTILE1939; +extern int32_t TILE_RRTILE1942; +extern int32_t TILE_RRTILE1944; +extern int32_t TILE_RRTILE1945; +extern int32_t TILE_RRTILE1947; +extern int32_t TILE_RRTILE1951; +extern int32_t TILE_RRTILE1952; +extern int32_t TILE_RRTILE1953; +extern int32_t TILE_RRTILE1961; +extern int32_t TILE_RRTILE1964; +extern int32_t TILE_RRTILE1973; +extern int32_t TILE_RRTILE1985; +extern int32_t TILE_RRTILE1986; +extern int32_t TILE_RRTILE1987; +extern int32_t TILE_RRTILE1988; +extern int32_t TILE_RRTILE1990; +extern int32_t TILE_RRTILE1995; +extern int32_t TILE_RRTILE1996; +extern int32_t TILE_RRTILE2004; +extern int32_t TILE_RRTILE2005; +extern int32_t TILE_POPCORN; +extern int32_t TILE_RRTILE2022; +extern int32_t TILE_LANEPICS; +extern int32_t TILE_RRTILE2025; +extern int32_t TILE_RRTILE2026; +extern int32_t TILE_RRTILE2027; +extern int32_t TILE_RRTILE2028; +extern int32_t TILE_RRTILE2034; +extern int32_t TILE_RRTILE2050; +extern int32_t TILE_RRTILE2052; +extern int32_t TILE_RRTILE2053; +extern int32_t TILE_RRTILE2056; +extern int32_t TILE_RRTILE2060; +extern int32_t TILE_RRTILE2072; +extern int32_t TILE_RRTILE2074; +extern int32_t TILE_RRTILE2075; +extern int32_t TILE_RRTILE2083; +extern int32_t TILE_RRTILE2097; +extern int32_t TILE_RRTILE2121; +extern int32_t TILE_RRTILE2122; +extern int32_t TILE_RRTILE2123; +extern int32_t TILE_RRTILE2124; +extern int32_t TILE_RRTILE2125; +extern int32_t TILE_RRTILE2126; +extern int32_t TILE_RRTILE2137; +extern int32_t TILE_RRTILE2132; +extern int32_t TILE_RRTILE2136; +extern int32_t TILE_RRTILE2139; +extern int32_t TILE_RRTILE2150; +extern int32_t TILE_RRTILE2151; +extern int32_t TILE_RRTILE2152; +extern int32_t TILE_RRTILE2156; +extern int32_t TILE_RRTILE2157; +extern int32_t TILE_RRTILE2158; +extern int32_t TILE_RRTILE2159; +extern int32_t TILE_RRTILE2160; +extern int32_t TILE_RRTILE2161; +extern int32_t TILE_RRTILE2175; +extern int32_t TILE_RRTILE2176; +extern int32_t TILE_RRTILE2178; +extern int32_t TILE_RRTILE2186; +extern int32_t TILE_RRTILE2214; +extern int32_t TILE_RRTILE2319; +extern int32_t TILE_RRTILE2321; +extern int32_t TILE_RRTILE2326; +extern int32_t TILE_RRTILE2329; +extern int32_t TILE_RRTILE2357; +extern int32_t TILE_RRTILE2382; +extern int32_t TILE_RRTILE2430; +extern int32_t TILE_RRTILE2431; +extern int32_t TILE_RRTILE2432; +extern int32_t TILE_RRTILE2437; +extern int32_t TILE_RRTILE2443; +extern int32_t TILE_RRTILE2445; +extern int32_t TILE_RRTILE2446; +extern int32_t TILE_RRTILE2450; +extern int32_t TILE_RRTILE2451; +extern int32_t TILE_RRTILE2455; +extern int32_t TILE_RRTILE2460; +extern int32_t TILE_RRTILE2465; +extern int32_t TILE_RRTILE2560; +extern int32_t TILE_RRTILE2562; +extern int32_t TILE_RRTILE2564; +extern int32_t TILE_RRTILE2573; +extern int32_t TILE_RRTILE2574; +extern int32_t TILE_RRTILE2577; +extern int32_t TILE_RRTILE2578; +extern int32_t TILE_RRTILE2581; +extern int32_t TILE_RRTILE2583; +extern int32_t TILE_RRTILE2604; +extern int32_t TILE_RRTILE2610; +extern int32_t TILE_RRTILE2613; +extern int32_t TILE_RRTILE2621; +extern int32_t TILE_RRTILE2622; +extern int32_t TILE_RRTILE2636; +extern int32_t TILE_RRTILE2637; +extern int32_t TILE_RRTILE2654; +extern int32_t TILE_RRTILE2656; +extern int32_t TILE_RRTILE2676; +extern int32_t TILE_RRTILE2689; +extern int32_t TILE_RRTILE2697; +extern int32_t TILE_RRTILE2702; +extern int32_t TILE_RRTILE2707; +extern int32_t TILE_RRTILE2732; +extern int32_t TILE_RRTILE2030; +extern int32_t TILE_RRTILE2831; +extern int32_t TILE_RRTILE2832; +extern int32_t TILE_RRTILE2842; +extern int32_t TILE_RRTILE2859; +extern int32_t TILE_RRTILE2876; +extern int32_t TILE_RRTILE2878; +extern int32_t TILE_RRTILE2879; +extern int32_t TILE_RRTILE2893; +extern int32_t TILE_RRTILE2894; +extern int32_t TILE_RRTILE2898; +extern int32_t TILE_RRTILE2899; +extern int32_t TILE_RRTILE2915; +extern int32_t TILE_RRTILE2940; +extern int32_t TILE_RRTILE2944; +extern int32_t TILE_RRTILE2945; +extern int32_t TILE_RRTILE2946; +extern int32_t TILE_RRTILE2947; +extern int32_t TILE_RRTILE2948; +extern int32_t TILE_RRTILE2949; +extern int32_t TILE_RRTILE2961; +extern int32_t TILE_RRTILE2970; +extern int32_t TILE_RRTILE2977; +extern int32_t TILE_RRTILE2978; +extern int32_t TILE_RRTILE2990; +extern int32_t TILE_RRTILE3073; +extern int32_t TILE_RRTILE3083; +extern int32_t TILE_RRTILE3100; +extern int32_t TILE_RRTILE3114; +extern int32_t TILE_RRTILE3115; +extern int32_t TILE_RRTILE3116; +extern int32_t TILE_RRTILE3117; +extern int32_t TILE_RRTILE3120; +extern int32_t TILE_RRTILE3121; +extern int32_t TILE_RRTILE3122; +extern int32_t TILE_RRTILE3123; +extern int32_t TILE_RRTILE3124; +extern int32_t TILE_RRTILE3132; +extern int32_t TILE_RRTILE3139; +extern int32_t TILE_RRTILE3144; +extern int32_t TILE_RRTILE3152; +extern int32_t TILE_RRTILE3153; +extern int32_t TILE_RRTILE3155; +extern int32_t TILE_RRTILE3171; +extern int32_t TILE_RRTILE3172; +extern int32_t TILE_RRTILE3190; +extern int32_t TILE_RRTILE3191; +extern int32_t TILE_RRTILE3192; +extern int32_t TILE_RRTILE3195; +extern int32_t TILE_RRTILE3200; +extern int32_t TILE_RRTILE3201; +extern int32_t TILE_RRTILE3202; +extern int32_t TILE_RRTILE3203; +extern int32_t TILE_RRTILE3204; +extern int32_t TILE_RRTILE3205; +extern int32_t TILE_RRTILE3206; +extern int32_t TILE_RRTILE3207; +extern int32_t TILE_RRTILE3208; +extern int32_t TILE_RRTILE3209; +extern int32_t TILE_RRTILE3216; +extern int32_t TILE_RRTILE3218; +extern int32_t TILE_RRTILE3219; +extern int32_t TILE_RRTILE3232; +extern int32_t TILE_SHOTGUNSHELLS; +extern int32_t TILE_CIRCLESTUCK; +extern int32_t TILE_RRTILE3410; +extern int32_t TILE_LUMBERBLADE; +extern int32_t TILE_BOWLINGBALLH; +extern int32_t TILE_BOWLINGBALL; +extern int32_t TILE_BOWLINGBALLSPRITE; +extern int32_t TILE_POWDERH; +extern int32_t TILE_RRTILE3440; +extern int32_t TILE_RRTILE3462; +extern int32_t TILE_OWHIP; +extern int32_t TILE_UWHIP; +extern int32_t TILE_RPGGUN2; +extern int32_t TILE_RRTILE3497; +extern int32_t TILE_RRTILE3498; +extern int32_t TILE_RRTILE3499; +extern int32_t TILE_RRTILE3500; +extern int32_t TILE_SLINGBLADE; +extern int32_t TILE_RRTILE3584; +extern int32_t TILE_RRTILE3586; +extern int32_t TILE_RRTILE3587; +extern int32_t TILE_RRTILE3600; +extern int32_t TILE_RRTILE3631; +extern int32_t TILE_RRTILE3635; +extern int32_t TILE_RRTILE3637; +extern int32_t TILE_RRTILE3643; +extern int32_t TILE_RRTILE3647; +extern int32_t TILE_RRTILE3652; +extern int32_t TILE_RRTILE3653; +extern int32_t TILE_RRTILE3668; +extern int32_t TILE_RRTILE3671; +extern int32_t TILE_RRTILE3673; +extern int32_t TILE_RRTILE3677; +extern int32_t TILE_RRTILE3684; +extern int32_t TILE_RRTILE3708; +extern int32_t TILE_RRTILE3714; +extern int32_t TILE_RRTILE3716; +extern int32_t TILE_RRTILE3720; +extern int32_t TILE_RRTILE3723; +extern int32_t TILE_RRTILE3725; +extern int32_t TILE_RRTILE3737; +extern int32_t TILE_RRTILE3754; +extern int32_t TILE_RRTILE3762; +extern int32_t TILE_RRTILE3763; +extern int32_t TILE_RRTILE3764; +extern int32_t TILE_RRTILE3765; +extern int32_t TILE_RRTILE3767; +extern int32_t TILE_RRTILE3773; +extern int32_t TILE_RRTILE3774; +extern int32_t TILE_RRTILE3793; +extern int32_t TILE_RRTILE3795; +extern int32_t TILE_RRTILE3804; +extern int32_t TILE_RRTILE3814; +extern int32_t TILE_RRTILE3815; +extern int32_t TILE_RRTILE3819; +extern int32_t TILE_RRTILE3827; +extern int32_t TILE_RRTILE3837; +extern int32_t TILE_RRTILE5014; +extern int32_t TILE_RRTILE5016; +extern int32_t TILE_RRTILE5017; +extern int32_t TILE_RRTILE5018; +extern int32_t TILE_RRTILE5019; +extern int32_t TILE_RRTILE5020; +extern int32_t TILE_RRTILE5021; +extern int32_t TILE_RRTILE5022; +extern int32_t TILE_RRTILE5023; +extern int32_t TILE_RRTILE5024; +extern int32_t TILE_RRTILE5025; +extern int32_t TILE_RRTILE5026; +extern int32_t TILE_RRTILE5027; +extern int32_t TILE_RRTILE5029; +extern int32_t TILE_RRTILE5030; +extern int32_t TILE_RRTILE5031; +extern int32_t TILE_RRTILE5032; +extern int32_t TILE_RRTILE5033; +extern int32_t TILE_RRTILE5034; +extern int32_t TILE_RRTILE5035; +extern int32_t TILE_RRTILE5036; +extern int32_t TILE_RRTILE5037; +extern int32_t TILE_RRTILE5038; +extern int32_t TILE_RRTILE5039; +extern int32_t TILE_RRTILE5040; +extern int32_t TILE_RRTILE5041; +extern int32_t TILE_RRTILE5043; +extern int32_t TILE_RRTILE5044; +extern int32_t TILE_RRTILE5045; +extern int32_t TILE_RRTILE5046; +extern int32_t TILE_RRTILE5047; +extern int32_t TILE_RRTILE5048; +extern int32_t TILE_RRTILE5049; +extern int32_t TILE_RRTILE5050; +extern int32_t TILE_RRTILE5051; +extern int32_t TILE_RRTILE5052; +extern int32_t TILE_RRTILE5053; +extern int32_t TILE_RRTILE5054; +extern int32_t TILE_RRTILE5055; +extern int32_t TILE_RRTILE5056; +extern int32_t TILE_RRTILE5057; +extern int32_t TILE_RRTILE5058; +extern int32_t TILE_RRTILE5059; +extern int32_t TILE_RRTILE5061; +extern int32_t TILE_RRTILE5062; +extern int32_t TILE_RRTILE5063; +extern int32_t TILE_RRTILE5064; +extern int32_t TILE_RRTILE5065; +extern int32_t TILE_RRTILE5066; +extern int32_t TILE_RRTILE5067; +extern int32_t TILE_RRTILE5068; +extern int32_t TILE_RRTILE5069; +extern int32_t TILE_RRTILE5070; +extern int32_t TILE_RRTILE5071; +extern int32_t TILE_RRTILE5072; +extern int32_t TILE_RRTILE5073; +extern int32_t TILE_RRTILE5074; +extern int32_t TILE_RRTILE5075; +extern int32_t TILE_RRTILE5076; +extern int32_t TILE_RRTILE5077; +extern int32_t TILE_RRTILE5078; +extern int32_t TILE_RRTILE5079; +extern int32_t TILE_RRTILE5080; +extern int32_t TILE_RRTILE5081; +extern int32_t TILE_RRTILE5082; +extern int32_t TILE_RRTILE5083; +extern int32_t TILE_RRTILE5084; +extern int32_t TILE_RRTILE5085; +extern int32_t TILE_RRTILE5086; +extern int32_t TILE_RRTILE5087; +extern int32_t TILE_RRTILE5088; +extern int32_t TILE_RRTILE5090; +extern int32_t TILE_RRTILE6144; +extern int32_t TILE_RRTILE7110; +extern int32_t TILE_RRTILE7111; +extern int32_t TILE_RRTILE7112; +extern int32_t TILE_RRTILE7113; +extern int32_t TILE_MOTOGUN; +extern int32_t TILE_RRTILE7169; +extern int32_t TILE_MOTOHIT; +extern int32_t TILE_BOATHIT; +extern int32_t TILE_RRTILE7184; +extern int32_t TILE_RRTILE7190; +extern int32_t TILE_RRTILE7191; +extern int32_t TILE_RRTILE7213; +extern int32_t TILE_RRTILE7219; +extern int32_t TILE_EMPTYBIKE; +extern int32_t TILE_EMPTYBOAT; +extern int32_t TILE_RRTILE7424; +extern int32_t TILE_RRTILE7430; +extern int32_t TILE_RRTILE7433; +extern int32_t TILE_RRTILE7441; +extern int32_t TILE_RRTILE7547; +extern int32_t TILE_RRTILE7467; +extern int32_t TILE_RRTILE7469; +extern int32_t TILE_RRTILE7470; +extern int32_t TILE_RRTILE7475; +extern int32_t TILE_RRTILE7478; +extern int32_t TILE_RRTILE7505; +extern int32_t TILE_RRTILE7506; +extern int32_t TILE_RRTILE7534; +extern int32_t TILE_RRTILE7540; +extern int32_t TILE_RRTILE7533; +extern int32_t TILE_RRTILE7545; +extern int32_t TILE_RRTILE7552; +extern int32_t TILE_RRTILE7553; +extern int32_t TILE_RRTILE7554; +extern int32_t TILE_RRTILE7555; +extern int32_t TILE_RRTILE7557; +extern int32_t TILE_RRTILE7558; +extern int32_t TILE_RRTILE7559; +extern int32_t TILE_RRTILE7561; +extern int32_t TILE_RRTILE7566; +extern int32_t TILE_RRTILE7568; +extern int32_t TILE_RRTILE7574; +extern int32_t TILE_RRTILE7575; +extern int32_t TILE_RRTILE7576; +extern int32_t TILE_RRTILE7578; +extern int32_t TILE_RRTILE7579; +extern int32_t TILE_RRTILE7580; +extern int32_t TILE_RRTILE7595; +extern int32_t TILE_RRTILE7629; +extern int32_t TILE_RRTILE7636; +extern int32_t TILE_RRTILE7638; +extern int32_t TILE_RRTILE7640; +extern int32_t TILE_RRTILE7644; +extern int32_t TILE_RRTILE7646; +extern int32_t TILE_RRTILE7648; +extern int32_t TILE_RRTILE7650; +extern int32_t TILE_RRTILE7653; +extern int32_t TILE_RRTILE7655; +extern int32_t TILE_RRTILE7657; +extern int32_t TILE_RRTILE7659; +extern int32_t TILE_RRTILE7691; +extern int32_t TILE_RRTILE7694; +extern int32_t TILE_RRTILE7696; +extern int32_t TILE_RRTILE7697; +extern int32_t TILE_RRTILE7700; +extern int32_t TILE_RRTILE7702; +extern int32_t TILE_RRTILE7704; +extern int32_t TILE_RRTILE7705; +extern int32_t TILE_RRTILE7711; +extern int32_t TILE_RRTILE7716; +extern int32_t TILE_RRTILE7756; +extern int32_t TILE_RRTILE7768; +extern int32_t TILE_RRTILE7806; +extern int32_t TILE_RRTILE7820; +extern int32_t TILE_RRTILE7870; +extern int32_t TILE_RRTILE7873; +extern int32_t TILE_RRTILE7859; +extern int32_t TILE_RRTILE7875; +extern int32_t TILE_RRTILE7876; +extern int32_t TILE_RRTILE7879; +extern int32_t TILE_RRTILE7881; +extern int32_t TILE_RRTILE7883; +extern int32_t TILE_RRTILE7885; +extern int32_t TILE_RRTILE7886; +extern int32_t TILE_RRTILE7887; +extern int32_t TILE_RRTILE7888; +extern int32_t TILE_RRTILE7889; +extern int32_t TILE_RRTILE7890; +extern int32_t TILE_RRTILE7900; +extern int32_t TILE_RRTILE7901; +extern int32_t TILE_RRTILE7906; +extern int32_t TILE_RRTILE7912; +extern int32_t TILE_RRTILE7913; +extern int32_t TILE_RRTILE7936; +extern int32_t TILE_RRTILE8047; +extern int32_t TILE_MULTISWITCH2; +extern int32_t TILE_RRTILE8059; +extern int32_t TILE_RRTILE8060; +extern int32_t TILE_RRTILE8063; +extern int32_t TILE_RRTILE8067; +extern int32_t TILE_RRTILE8076; +extern int32_t TILE_RRTILE8094; +extern int32_t TILE_RRTILE8096; +extern int32_t TILE_RRTILE8099; +extern int32_t TILE_RRTILE8106; +extern int32_t TILE_RRTILE8162; +extern int32_t TILE_RRTILE8163; +extern int32_t TILE_RRTILE8164; +extern int32_t TILE_RRTILE8165; +extern int32_t TILE_RRTILE8166; +extern int32_t TILE_RRTILE8167; +extern int32_t TILE_RRTILE8168; +extern int32_t TILE_RRTILE8192; +extern int32_t TILE_RRTILE8193; +extern int32_t TILE_RRTILE8215; +extern int32_t TILE_RRTILE8216; +extern int32_t TILE_RRTILE8217; +extern int32_t TILE_RRTILE8218; +extern int32_t TILE_RRTILE8220; +extern int32_t TILE_RRTILE8221; +extern int32_t TILE_RRTILE8222; +extern int32_t TILE_RRTILE8223; +extern int32_t TILE_RRTILE8224; +extern int32_t TILE_RRTILE8227; +extern int32_t TILE_RRTILE8312; +extern int32_t TILE_RRTILE8370; +extern int32_t TILE_RRTILE8371; +extern int32_t TILE_RRTILE8372; +extern int32_t TILE_RRTILE8373; +extern int32_t TILE_RRTILE8379; +extern int32_t TILE_RRTILE8380; +extern int32_t TILE_RRTILE8385; +extern int32_t TILE_RRTILE8386; +extern int32_t TILE_RRTILE8387; +extern int32_t TILE_RRTILE8388; +extern int32_t TILE_RRTILE8389; +extern int32_t TILE_RRTILE8390; +extern int32_t TILE_RRTILE8391; +extern int32_t TILE_RRTILE8392; +extern int32_t TILE_RRTILE8394; +extern int32_t TILE_RRTILE8395; +extern int32_t TILE_RRTILE8396; +extern int32_t TILE_RRTILE8397; +extern int32_t TILE_RRTILE8398; +extern int32_t TILE_RRTILE8399; +extern int32_t TILE_RRTILE8423; +extern int32_t TILE_RRTILE8448; +extern int32_t TILE_RRTILE8450; +extern int32_t TILE_BOATAMMO; +extern int32_t TILE_RRTILE8461; +extern int32_t TILE_RRTILE8462; +extern int32_t TILE_RRTILE8464; +extern int32_t TILE_RRTILE8475; +extern int32_t TILE_RRTILE8487; +extern int32_t TILE_RRTILE8488; +extern int32_t TILE_RRTILE8489; +extern int32_t TILE_RRTILE8490; +extern int32_t TILE_RRTILE8496; +extern int32_t TILE_RRTILE8497; +extern int32_t TILE_RRTILE8498; +extern int32_t TILE_RRTILE8499; +extern int32_t TILE_RRTILE8503; +extern int32_t TILE_RRTILE8525; +extern int32_t TILE_RRTILE8537; +extern int32_t TILE_RRTILE8565; +extern int32_t TILE_RRTILE8567; +extern int32_t TILE_RRTILE8568; +extern int32_t TILE_RRTILE8569; +extern int32_t TILE_RRTILE8570; +extern int32_t TILE_RRTILE8571; +extern int32_t TILE_RRTILE8579; +extern int32_t TILE_RRTILE8588; +extern int32_t TILE_RRTILE8589; +extern int32_t TILE_RRTILE8590; +extern int32_t TILE_RRTILE8591; +extern int32_t TILE_RRTILE8592; +extern int32_t TILE_RRTILE8593; +extern int32_t TILE_RRTILE8594; +extern int32_t TILE_RRTILE8595; +extern int32_t TILE_RRTILE8596; +extern int32_t TILE_RRTILE8598; +extern int32_t TILE_RRTILE8605; +extern int32_t TILE_RRTILE8608; +extern int32_t TILE_RRTILE8609; +extern int32_t TILE_RRTILE8611; +extern int32_t TILE_RRTILE8617; +extern int32_t TILE_RRTILE8618; +extern int32_t TILE_RRTILE8620; +extern int32_t TILE_RRTILE8621; +extern int32_t TILE_RRTILE8622; +extern int32_t TILE_RRTILE8623; +extern int32_t TILE_RRTILE8624; +extern int32_t TILE_RRTILE8640; +extern int32_t TILE_RRTILE8651; +extern int32_t TILE_RRTILE8660; +extern int32_t TILE_RRTILE8677; +extern int32_t TILE_RRTILE8679; +extern int32_t TILE_RRTILE8680; +extern int32_t TILE_RRTILE8681; +extern int32_t TILE_RRTILE8682; +extern int32_t TILE_RRTILE8683; +extern int32_t TILE_RRTILE8704; +extern int32_t TILE_BOULDER; +extern int32_t TILE_BOULDER1; +extern int32_t TILE_TORNADO; +extern int32_t TILE_CHEERBOMB; +extern int32_t TILE_CHEERBLADE; +extern int32_t TILE_DOGATTACK; +extern int32_t TILE_BILLYWALK; +extern int32_t TILE_BILLYDIE; +extern int32_t TILE_BILLYCOCK; +extern int32_t TILE_BILLYRAY; +extern int32_t TILE_BILLYRAYSTAYPUT; +extern int32_t TILE_BILLYBUT; +extern int32_t TILE_BILLYSCRATCH; +extern int32_t TILE_BILLYSNIFF; +extern int32_t TILE_BILLYWOUND; +extern int32_t TILE_BILLYGORE; +extern int32_t TILE_BILLYJIBA; +extern int32_t TILE_BILLYJIBB; +extern int32_t TILE_BRAYSNIPER; +extern int32_t TILE_DOGRUN; +extern int32_t TILE_DOGDIE; +extern int32_t TILE_DOGDEAD; +extern int32_t TILE_DOGBARK; +extern int32_t TILE_LTH; +extern int32_t TILE_LTHSTRAFE; +extern int32_t TILE_HULKHANG; +extern int32_t TILE_HULKHANGDEAD; +extern int32_t TILE_HULKJUMP; +extern int32_t TILE_LTHLOAD; +extern int32_t TILE_LTHDIE; +extern int32_t TILE_BUBBASCRATCH; +extern int32_t TILE_BUBBANOSE; +extern int32_t TILE_BUBBAPISS; +extern int32_t TILE_BUBBASTAND; +extern int32_t TILE_BUBBAOUCH; +extern int32_t TILE_BUBBADIE; +extern int32_t TILE_BUBBADEAD; +extern int32_t TILE_HULK; +extern int32_t TILE_HULKSTAYPUT; +extern int32_t TILE_HULKA; +extern int32_t TILE_HULKB; +extern int32_t TILE_HULKC; +extern int32_t TILE_HULKJIBA; +extern int32_t TILE_HULKJIBB; +extern int32_t TILE_HULKJIBC; +extern int32_t TILE_SBSWIPE; +extern int32_t TILE_SBPAIN; +extern int32_t TILE_SBDIE; +extern int32_t TILE_HEN; +extern int32_t TILE_HENSTAYPUT; +extern int32_t TILE_HENSTAND; +extern int32_t TILE_PIG; +extern int32_t TILE_PIGSTAYPUT; +extern int32_t TILE_PIGEAT; +extern int32_t TILE_SBMOVE; +extern int32_t TILE_SBSPIT; +extern int32_t TILE_SBDIP; +extern int32_t TILE_MINION; +extern int32_t TILE_MINIONSTAYPUT; +extern int32_t TILE_UFO1; +extern int32_t TILE_UFO2; +extern int32_t TILE_UFO3; +extern int32_t TILE_UFO4; +extern int32_t TILE_UFO5; +extern int32_t TILE_MINJIBA; +extern int32_t TILE_MINJIBB; +extern int32_t TILE_MINJIBC; +extern int32_t TILE_COW; +extern int32_t TILE_COOT; +extern int32_t TILE_COOTSTAYPUT; +extern int32_t TILE_COOTSHOOT; +extern int32_t TILE_COOTDIE; +extern int32_t TILE_COOTDUCK; +extern int32_t TILE_COOTPAIN; +extern int32_t TILE_COOTTRANS; +extern int32_t TILE_COOTGETUP; +extern int32_t TILE_COOTJIBA; +extern int32_t TILE_COOTJIBB; +extern int32_t TILE_COOTJIBC; +extern int32_t TILE_VIXEN; +extern int32_t TILE_VIXENPAIN; +extern int32_t TILE_VIXENDIE; +extern int32_t TILE_VIXENSHOOT; +extern int32_t TILE_VIXENWDN; +extern int32_t TILE_VIXENWUP; +extern int32_t TILE_VIXENKICK; +extern int32_t TILE_VIXENTELE; +extern int32_t TILE_VIXENTEAT; +extern int32_t TILE_BIKEJIBA; +extern int32_t TILE_BIKEJIBB; +extern int32_t TILE_BIKEJIBC; +extern int32_t TILE_BIKERB; +extern int32_t TILE_BIKERBV2; +extern int32_t TILE_BIKER; +extern int32_t TILE_BIKERJIBA; +extern int32_t TILE_BIKERJIBB; +extern int32_t TILE_BIKERJIBC; +extern int32_t TILE_BIKERJIBD; +extern int32_t TILE_MAKEOUT; +extern int32_t TILE_CHEERB; +extern int32_t TILE_CHEER; +extern int32_t TILE_CHEERSTAYPUT; +extern int32_t TILE_CHEERJIBA; +extern int32_t TILE_CHEERJIBB; +extern int32_t TILE_CHEERJIBC; +extern int32_t TILE_CHEERJIBD; +extern int32_t TILE_FBOATJIBA; +extern int32_t TILE_FBOATJIBB; +extern int32_t TILE_COOTPLAY; +extern int32_t TILE_BILLYPLAY; +extern int32_t TILE_MINIONBOAT; +extern int32_t TILE_HULKBOAT; +extern int32_t TILE_CHEERBOAT; +extern int32_t TILE_RRTILE7274; +extern int32_t TILE_RABBIT; +extern int32_t TILE_RABBITJIBA; +extern int32_t TILE_RABBITJIBB; +extern int32_t TILE_RABBITJIBC; +extern int32_t TILE_ROCK; +extern int32_t TILE_ROCK2; +extern int32_t TILE_MAMACLOUD; +extern int32_t TILE_MAMA; +extern int32_t TILE_MAMAJIBA; +extern int32_t TILE_MAMAJIBB; #define DYNAMICTILEMAP(Tilenum) (DynamicTileMap[Tilenum]) diff --git a/source/games/duke/src/net.cpp b/source/games/duke/src/net.cpp index 3b50c4d8b..65e855bf7 100644 --- a/source/games/duke/src/net.cpp +++ b/source/games/duke/src/net.cpp @@ -132,12 +132,12 @@ void Net_SyncPlayer(ENetEvent *event) static void display_betascreen(void) { - rotatesprite_fs(160<<16,100<<16,65536,0,BETASCREEN,0,0,2+8+64+BGSTRETCH, nullptr, TITLEPAL); + rotatesprite_fs(160<<16,100<<16,65536,0,TILE_BETASCREEN,0,0,2+8+64+BGSTRETCH, nullptr, TITLEPAL); - rotatesprite_fs(160<<16,(104)<<16,60<<10,0,DUKENUKEM,0,0,2+8, nullptr, TITLEPAL); - rotatesprite_fs(160<<16,(129)<<16,30<<11,0,THREEDEE,0,0,2+8, nullptr, TITLEPAL); + rotatesprite_fs(160<<16,(104)<<16,60<<10,0,TILE_DUKENUKEM,0,0,2+8, nullptr, TITLEPAL); + rotatesprite_fs(160<<16,(129)<<16,30<<11,0,TILE_THREEDEE,0,0,2+8, nullptr, TITLEPAL); if (PLUTOPAK) // JBF 20030804 - rotatesprite_fs(160<<16,(151)<<16,30<<11,0,PLUTOPAKSPRITE+1,0,0,2+8, nullptr, TITLEPAL); + rotatesprite_fs(160<<16,(151)<<16,30<<11,0,TILE_PLUTOPAKSPRITE+1,0,0,2+8, nullptr, TITLEPAL); } void faketimerhandler(void) @@ -647,14 +647,14 @@ void Net_DoPrediction(void) while (spriteNum >= 0) { int const nextSprite = nextspritesect[spriteNum]; - if (sprite[spriteNum].picnum == RRTILE380) + if (sprite[spriteNum].picnum == TILE_RRTILE380) if (sprite[spriteNum].z - ZOFFSET3 < mypos.z) sectorLotag = 2; spriteNum = nextSprite; } } - if (sectorLotag == 848 && sector[mycursectnum].floorpicnum == WATERTILE2) + if (sectorLotag == 848 && sector[mycursectnum].floorpicnum == TILE_WATERTILE2) sectorLotag = 1; if (sectorLotag == 857) @@ -668,7 +668,7 @@ void Net_DoPrediction(void) int stepHeight, centerHoriz; int16_t ceilingBunch, floorBunch; - if (ud.clipping == 0 && (mycursectnum < 0 || mycursectnum >= MAXSECTORS || sector[mycursectnum].floorpicnum == MIRROR)) + if (ud.clipping == 0 && (mycursectnum < 0 || mycursectnum >= MAXSECTORS || sector[mycursectnum].floorpicnum == TILE_MIRROR)) { mypos.x = omypos.x; mypos.y = omypos.y; @@ -742,7 +742,7 @@ void Net_DoPrediction(void) } if (RR) { - if (sprite[highZhit].picnum == RRTILE3587) + if (sprite[highZhit].picnum == TILE_RRTILE3587) { if (!my_stairs) { @@ -806,7 +806,7 @@ check_enemy_sprite: } if (RR) { - if (sprite[spriteNum].picnum == RRTILE3587) + if (sprite[spriteNum].picnum == TILE_RRTILE3587) { if (!my_stairs) { @@ -1114,12 +1114,12 @@ check_enemy_sprite: { if (RRRA) { - if (sector[mycursectnum].floorpicnum == RRTILE7888) + if (sector[mycursectnum].floorpicnum == TILE_RRTILE7888) { if (pPlayer->on_motorcycle && myonground) my_moto_on_oil = 1; } - else if (sector[mycursectnum].floorpicnum == RRTILE7889) + else if (sector[mycursectnum].floorpicnum == TILE_RRTILE7889) { if (pPlayer->on_motorcycle) { @@ -1133,7 +1133,7 @@ check_enemy_sprite: } } } - if (sector[mycursectnum].floorpicnum == RRTILE3073 || sector[mycursectnum].floorpicnum == RRTILE2702) + if (sector[mycursectnum].floorpicnum == TILE_RRTILE3073 || sector[mycursectnum].floorpicnum == TILE_RRTILE2702) { if (RRRA && pPlayer->on_motorcycle) { @@ -1244,7 +1244,7 @@ FAKEHORIZONLY:; if (RRRA && pPlayer->on_motorcycle) { - if (A_CheckEnemySprite(&sprite[spriteNum]) || sprite[spriteNum].picnum == APLAYER) + if (A_CheckEnemySprite(&sprite[spriteNum]) || sprite[spriteNum].picnum == TILE_APLAYER) { my_moto_speed -= my_moto_speed>>2; my_moto_turb = 6; @@ -1252,7 +1252,7 @@ FAKEHORIZONLY:; } else if (RRRA && pPlayer->on_boat) { - if (A_CheckEnemySprite(&sprite[spriteNum]) || sprite[spriteNum].picnum == APLAYER) + if (A_CheckEnemySprite(&sprite[spriteNum]) || sprite[spriteNum].picnum == TILE_APLAYER) { my_moto_speed -= my_moto_speed>>2; my_moto_turb = 6; diff --git a/source/games/duke/src/player.cpp b/source/games/duke/src/player.cpp index 0605248d7..8d86a316f 100644 --- a/source/games/duke/src/player.cpp +++ b/source/games/duke/src/player.cpp @@ -65,7 +65,7 @@ void P_UpdateScreenPal(DukePlayer_t * const pPlayer) pPlayer->palette = SLIMEPAL; else if (playerSectnum < 0) pPlayer->palette = BASEPAL; - else if (sector[playerSectnum].ceilingpicnum >= FLOORSLIME && sector[playerSectnum].ceilingpicnum <= FLOORSLIME + 2) + else if (sector[playerSectnum].ceilingpicnum >= TILE_FLOORSLIME && sector[playerSectnum].ceilingpicnum <= TILE_FLOORSLIME + 2) { pPlayer->palette = SLIMEPAL; inWater = 1; @@ -137,7 +137,7 @@ void P_QuickKill(DukePlayer_t * const pPlayer) sprite[pPlayer->i].cstat |= 32768; if (ud.god == 0) - A_DoGuts(pPlayer->i,JIBS6,8); + A_DoGuts(pPlayer->i,TILE_JIBS6,8); } static void Proj_DoWaterTracers(vec3_t startPos, vec3_t const *endPos, int n, int16_t sectNum) @@ -159,14 +159,14 @@ static void Proj_DoWaterTracers(vec3_t startPos, vec3_t const *endPos, int n, in if (sectNum < 0) break; int32_t const r1 = krand2(), r2 = krand2(), r3 = krand2(); - A_InsertSprite(sectNum, startPos.x, startPos.y, startPos.z, WATERBUBBLE, -32, 4 + (r3 & 3), 4 + (r2 & 3), r1 & 2047, 0, 0, + A_InsertSprite(sectNum, startPos.x, startPos.y, startPos.z, TILE_WATERBUBBLE, -32, 4 + (r3 & 3), 4 + (r2 & 3), r1 & 2047, 0, 0, g_player[0].ps->i, 5); } } int32_t A_GetHitscanRange(int spriteNum) { - int const zOffset = (PN(spriteNum) == APLAYER) ? (40<<8) : 0; + int const zOffset = (PN(spriteNum) == TILE_APLAYER) ? (40<<8) : 0; hitdata_t hitData; SZ(spriteNum) -= zOffset; @@ -183,11 +183,11 @@ static int A_FindTargetSprite(const spritetype *pSprite, int projAng, int projec STAT_PLAYER, STAT_DUMMYPLAYER, STAT_ACTOR, STAT_ZOMBIEACTOR }; - int const playerNum = pSprite->picnum == APLAYER ? P_GetP(pSprite) : -1; + int const playerNum = pSprite->picnum == TILE_APLAYER ? P_GetP(pSprite) : -1; if (playerNum != -1) { - if (!g_player[playerNum].ps->auto_aim && (!RRRA || projecTile != RPG2)) + if (!g_player[playerNum].ps->auto_aim && (!RRRA || projecTile != TILE_RPG2)) return -1; if (g_player[playerNum].ps->auto_aim == 2) @@ -211,13 +211,13 @@ static int A_FindTargetSprite(const spritetype *pSprite, int projAng, int projec int const spriteAng = pSprite->ang; - int isShrinker = (!RR && pSprite->picnum == APLAYER && g_player[playerNum].ps->curr_weapon == SHRINKER_WEAPON); - int isFreezer = (!RR && pSprite->picnum == APLAYER && g_player[playerNum].ps->curr_weapon == FREEZE_WEAPON); + int isShrinker = (!RR && pSprite->picnum == TILE_APLAYER && g_player[playerNum].ps->curr_weapon == SHRINKER_WEAPON); + int isFreezer = (!RR && pSprite->picnum == TILE_APLAYER && g_player[playerNum].ps->curr_weapon == FREEZE_WEAPON); if (WW2GI) { - isShrinker = (pSprite->picnum == APLAYER && PWEAPON(playerNum, g_player[playerNum].ps->curr_weapon, WorksLike) == SHRINKER_WEAPON); - isFreezer = (pSprite->picnum == APLAYER && PWEAPON(playerNum, g_player[playerNum].ps->curr_weapon, WorksLike) == FREEZE_WEAPON); + isShrinker = (pSprite->picnum == TILE_APLAYER && PWEAPON(playerNum, g_player[playerNum].ps->curr_weapon, WorksLike) == SHRINKER_WEAPON); + isFreezer = (pSprite->picnum == TILE_APLAYER && PWEAPON(playerNum, g_player[playerNum].ps->curr_weapon, WorksLike) == FREEZE_WEAPON); } vec2_t const d1 = { sintable[(spriteAng + 512 - projAng) & 2047], sintable[(spriteAng - projAng) & 2047] }; @@ -238,15 +238,15 @@ static int A_FindTargetSprite(const spritetype *pSprite, int projAng, int projec (sprite[spriteNum].cstat & (257 + 32768)) == 257) && (A_CheckEnemySprite(&sprite[spriteNum]) || k < 2)) { - if (A_CheckEnemySprite(&sprite[spriteNum]) || PN(spriteNum) == APLAYER) + if (A_CheckEnemySprite(&sprite[spriteNum]) || PN(spriteNum) == TILE_APLAYER) { - if (PN(spriteNum) == APLAYER && pSprite->picnum == APLAYER && pSprite != &sprite[spriteNum] && + if (PN(spriteNum) == TILE_APLAYER && pSprite->picnum == TILE_APLAYER && pSprite != &sprite[spriteNum] && (GTFLAGS(GAMETYPE_PLAYERSFRIENDLY) || (GTFLAGS(GAMETYPE_TDM) && g_player[P_Get(spriteNum)].ps->team == g_player[playerNum].ps->team))) continue; if ((isShrinker && sprite[spriteNum].xrepeat < 30 - && (PN(spriteNum) == SHARK || !(!RR && PN(spriteNum) >= GREENSLIME && PN(spriteNum) <= GREENSLIME + 7))) + && (PN(spriteNum) == TILE_SHARK || !(!RR && PN(spriteNum) >= TILE_GREENSLIME && PN(spriteNum) <= TILE_GREENSLIME + 7))) || (isFreezer && sprite[spriteNum].pal == 1)) continue; } @@ -261,13 +261,13 @@ static int A_FindTargetSprite(const spritetype *pSprite, int projAng, int projec { int onScreen = 1; - if (pSprite->picnum == APLAYER) + if (pSprite->picnum == TILE_APLAYER) { const DukePlayer_t *const ps = g_player[P_GetP(pSprite)].ps; onScreen = (klabs(scale(SZ(spriteNum)-pSprite->z,10,spriteDist)-fix16_to_int(ps->q16horiz+ps->q16horizoff-F16(100))) < 100); } - int const zOffset = (!RR && (PN(spriteNum) == ORGANTIC || PN(spriteNum) == ROTATEGUN)) ? 0 : ZOFFSET5; + int const zOffset = (!RR && (PN(spriteNum) == TILE_ORGANTIC || PN(spriteNum) == TILE_ROTATEGUN)) ? 0 : ZOFFSET5; int const canSee = cansee(SX(spriteNum), SY(spriteNum), SZ(spriteNum) - zOffset, SECT(spriteNum), pSprite->x, pSprite->y, pSprite->z - ZOFFSET5, pSprite->sectnum); @@ -287,9 +287,9 @@ static int A_FindTargetSprite(const spritetype *pSprite, int projAng, int projec static int CheckShootSwitchTile(int tileNum) { - return tileNum == DIPSWITCH || tileNum == DIPSWITCH + 1 || tileNum == DIPSWITCH2 || tileNum == DIPSWITCH2 + 1 || - tileNum == DIPSWITCH3 || tileNum == DIPSWITCH3 + 1 || tileNum == HANDSWITCH || tileNum == HANDSWITCH + 1 || - (RRRA && tileNum == RRTILE8660); + return tileNum == TILE_DIPSWITCH || tileNum == TILE_DIPSWITCH + 1 || tileNum == TILE_DIPSWITCH2 || tileNum == TILE_DIPSWITCH2 + 1 || + tileNum == TILE_DIPSWITCH3 || tileNum == TILE_DIPSWITCH3 + 1 || tileNum == TILE_HANDSWITCH || tileNum == TILE_HANDSWITCH + 1 || + (RRRA && tileNum == TILE_RRTILE8660); } static int32_t safeldist(int32_t spriteNum, const void *pSprite) @@ -299,8 +299,8 @@ static int32_t safeldist(int32_t spriteNum, const void *pSprite) } // flags: -// 1: do sprite center adjustment (cen-=(8<<8)) for GREENSLIME or ROTATEGUN -// 2: do auto getangle only if not RECON (if clear, do unconditionally) +// 1: do sprite center adjustment (cen-=(8<<8)) for TILE_GREENSLIME or TILE_ROTATEGUN +// 2: do auto getangle only if not TILE_RECON (if clear, do unconditionally) static int GetAutoAimAng(int spriteNum, int playerNum, int projecTile, int zAdjust, int aimFlags, const vec3_t *startPos, int projVel, int32_t *pZvel, int *pAng) { @@ -308,7 +308,7 @@ static int GetAutoAimAng(int spriteNum, int playerNum, int projecTile, int zAdju Bassert((unsigned)playerNum < MAXPLAYERS); - Gv_SetVar(g_aimAngleVarID, (g_player[playerNum].ps->auto_aim == 3 && (!RRRA || projecTile != RPG2)) ? AUTO_AIM_ANGLE<<1 : AUTO_AIM_ANGLE, spriteNum, playerNum); + Gv_SetVar(g_aimAngleVarID, (g_player[playerNum].ps->auto_aim == 3 && (!RRRA || projecTile != TILE_RPG2)) ? AUTO_AIM_ANGLE<<1 : AUTO_AIM_ANGLE, spriteNum, playerNum); VM_OnEvent(EVENT_GETAUTOAIMANGLE, spriteNum, playerNum); @@ -322,13 +322,13 @@ static int GetAutoAimAng(int spriteNum, int playerNum, int projecTile, int zAdju int zCenter = 2 * (pSprite->xrepeat * tilesiz[pSprite->picnum].y) + zAdjust; if ((aimFlags&1) && !RR && - ((pSprite->picnum >= GREENSLIME && pSprite->picnum <= GREENSLIME + 7) || pSprite->picnum == ROTATEGUN)) + ((pSprite->picnum >= TILE_GREENSLIME && pSprite->picnum <= TILE_GREENSLIME + 7) || pSprite->picnum == TILE_ROTATEGUN)) zCenter -= ZOFFSET3; int spriteDist = safeldist(g_player[playerNum].ps->i, &sprite[returnSprite]); *pZvel = tabledivide32_noinline((pSprite->z - startPos->z - zCenter) * projVel, spriteDist); - if (!(aimFlags&2) || sprite[returnSprite].picnum != RECON) + if (!(aimFlags&2) || sprite[returnSprite].picnum != TILE_RECON) *pAng = getangle(pSprite->x-startPos->x, pSprite->y-startPos->y); } @@ -365,7 +365,7 @@ static void Proj_MaybeAddSpreadSwapped(int doSpread, int32_t *zvel, int *shootAn static void P_PreFireHitscan(int spriteNum, int playerNum, int projecTile, vec3_t *srcVect, int32_t *zvel, int *shootAng, int accurateAim, int doSpread) { - int angRange = (RR && projecTile == SHOTGUN) ? 128 : 32; + int angRange = (RR && projecTile == TILE_SHOTGUN) ? 128 : 32; int zRange = 256; int aimSprite = GetAutoAimAng(spriteNum, playerNum, projecTile, 5 << 8, 0 + 1, srcVect, 256, zvel, shootAng); @@ -428,10 +428,10 @@ static void A_PreFireHitscan(const spritetype *pSprite, vec3_t * const srcVect, *zvel = tabledivide32_noinline((pPlayer->pos.z - srcVect->z) << 8, playerDist); - if (pSprite->picnum == BOSS1) + if (pSprite->picnum == TILE_BOSS1) *shootAng = getangle(pPlayer->pos.x - srcVect->x, pPlayer->pos.y - srcVect->y); - Proj_MaybeAddSpread(doSpread, zvel, shootAng, 256, 128 >> (uint8_t)(pSprite->picnum != BOSS1)); + Proj_MaybeAddSpread(doSpread, zvel, shootAng, 256, 128 >> (uint8_t)(pSprite->picnum != TILE_BOSS1)); } static int Proj_DoHitscan(int spriteNum, int32_t const cstatmask, const vec3_t * const srcVect, int zvel, int const shootAng, hitdata_t * const hitData) @@ -448,7 +448,7 @@ static int Proj_DoHitscan(int spriteNum, int32_t const cstatmask, const vec3_t * { for (int spriteNum = 0; spriteNum < MAXSPRITES; spriteNum++) { - if (sprite[spriteNum].sectnum == hitData->sect && sprite[spriteNum].picnum == SECTOREFFECTOR + if (sprite[spriteNum].sectnum == hitData->sect && sprite[spriteNum].picnum == TILE_SECTOREFFECTOR && sprite[spriteNum].lotag == SE_7_TELEPORT) { vec3_t const newVect = { @@ -503,7 +503,7 @@ static int Proj_CheckBlood(vec3_t const *const srcVect, hitdata_t const *const h uwalltype const *const hitWall = (uwalltype *)&wall[hitData->wall]; if ((FindDistance2D(srcVect->x - hitData->pos.x, srcVect->y - hitData->pos.y) < bloodRange) - && (hitWall->overpicnum != BIGFORCE && (hitWall->cstat & 16) == 0) + && (hitWall->overpicnum != TILE_BIGFORCE && (hitWall->cstat & 16) == 0) && (sector[hitData->sect].lotag == 0) && (hitWall->nextsector < 0 || (sector[hitWall->nextsector].lotag == 0 && sector[hitData->sect].lotag == 0 && sector[hitData->sect].floorz - sector[hitWall->nextsector].floorz > minZdiff))) @@ -518,7 +518,7 @@ int A_Shoot(int const spriteNum, int const projecTile) spritetype *const pSprite = &sprite[spriteNum]; int const spriteSectnum = pSprite->sectnum; - int const playerNum = (pSprite->picnum == APLAYER) ? P_GetP(pSprite) : -1; + int const playerNum = (pSprite->picnum == TILE_APLAYER) ? P_GetP(pSprite) : -1; DukePlayer_t *const pPlayer = playerNum >= 0 ? g_player[playerNum].ps : NULL; int32_t Zvel = 0; @@ -541,11 +541,11 @@ int A_Shoot(int const spriteNum, int const projecTile) startPos = *(vec3_t *)pSprite; startPos.z -= (((pSprite->yrepeat * tilesiz[pSprite->picnum].y)<<1) - ZOFFSET6); - if (RR || pSprite->picnum != ROTATEGUN) + if (RR || pSprite->picnum != TILE_ROTATEGUN) { startPos.z -= (7<<8); - if (A_CheckEnemySprite(pSprite) && (RR || PN(spriteNum) != COMMANDER)) + if (A_CheckEnemySprite(pSprite) && (RR || PN(spriteNum) != TILE_COMMANDER)) { startPos.x += (sintable[(shootAng+1024+96)&2047]>>7); startPos.y += (sintable[(shootAng+512+96)&2047]>>7); @@ -591,10 +591,10 @@ int A_Shoot(int const spriteNum, int const projecTile) fallthrough__; case KNEE__STATIC: case SLINGBLADE__STATICRR: - if (RR && !RRRA && projecTile == SLINGBLADE) + if (RR && !RRRA && projecTile == TILE_SLINGBLADE) break; growspark_rr: - if (projecTile == KNEE || (RR && projecTile == GROWSPARK) || (RRRA && projecTile == SLINGBLADE)) + if (projecTile == TILE_KNEE || (RR && projecTile == TILE_GROWSPARK) || (RRRA && projecTile == TILE_SLINGBLADE)) { if (playerNum >= 0) { @@ -613,7 +613,7 @@ growspark_rr: Proj_DoHitscan(spriteNum, 0, &startPos, Zvel, shootAng, &hitData); - if (projecTile >= BLOODSPLAT1 && projecTile <= BLOODSPLAT4) + if (projecTile >= TILE_BLOODSPLAT1 && projecTile <= TILE_BLOODSPLAT4) { if (Proj_CheckBlood(&startPos, &hitData, 1024, 16 << 8)) { @@ -635,7 +635,7 @@ growspark_rr: sprite[spawnedSprite].cstat |= (krand2() & 4); A_SetSprite(spawnedSprite, CLIPMASK0); setsprite(spawnedSprite, (vec3_t *)&sprite[spawnedSprite]); - if (PN(spriteNum) == OOZFILTER || (!RR && PN(spriteNum) == NEWBEAST)) + if (PN(spriteNum) == TILE_OOZFILTER || (!RR && PN(spriteNum) == TILE_NEWBEAST)) sprite[spawnedSprite].pal = 6; } } @@ -651,23 +651,23 @@ growspark_rr: if (hitData.wall >= 0 || hitData.sprite >= 0) { int kneeSprite = A_InsertSprite(hitData.sect, hitData.pos.x, hitData.pos.y, hitData.pos.z, - (RRRA && projecTile == SLINGBLADE) ? SLINGBLADE : KNEE,-15,0,0,shootAng,32,0,spriteNum,4); - sprite[kneeSprite].extra += (RRRA && projecTile == SLINGBLADE) ? 50 : (krand2()&7); + (RRRA && projecTile == TILE_SLINGBLADE) ? TILE_SLINGBLADE : TILE_KNEE,-15,0,0,shootAng,32,0,spriteNum,4); + sprite[kneeSprite].extra += (RRRA && projecTile == TILE_SLINGBLADE) ? 50 : (krand2()&7); if (playerNum >= 0) { - int k = A_Spawn(kneeSprite, SMALLSMOKE); + int k = A_Spawn(kneeSprite, TILE_SMALLSMOKE); sprite[k].z -= ZOFFSET3; - if (!RR || projecTile == KNEE) + if (!RR || projecTile == TILE_KNEE) A_PlaySound(KICK_HIT, kneeSprite); - else if (RRRA && projecTile == SLINGBLADE) + else if (RRRA && projecTile == TILE_SLINGBLADE) A_PlaySound(260, kneeSprite); } if (pPlayer != NULL && pPlayer->inv_amount[GET_STEROIDS] > 0 && pPlayer->inv_amount[GET_STEROIDS] < 400) sprite[kneeSprite].extra += (pPlayer->max_player_health>>2); - if (hitData.sprite >= 0 && sprite[hitData.sprite].picnum != ACCESSSWITCH && sprite[hitData.sprite].picnum != ACCESSSWITCH2) + if (hitData.sprite >= 0 && sprite[hitData.sprite].picnum != TILE_ACCESSSWITCH && sprite[hitData.sprite].picnum != TILE_ACCESSSWITCH2) { A_DamageObject(hitData.sprite, kneeSprite); if (playerNum >= 0) @@ -677,7 +677,7 @@ growspark_rr: { HandleHitWall(&hitData); - if (hitData.wall >= 0 && wall[hitData.wall].picnum != ACCESSSWITCH && wall[hitData.wall].picnum != ACCESSSWITCH2) + if (hitData.wall >= 0 && wall[hitData.wall].picnum != TILE_ACCESSSWITCH && wall[hitData.wall].picnum != TILE_ACCESSSWITCH2) { A_DamageWall(kneeSprite, hitData.wall, &hitData.pos, projecTile); if (playerNum >= 0) @@ -687,7 +687,7 @@ growspark_rr: } else if(playerNum >= 0 && hitData.pos.z > 0 && sector[hitData.sect].lotag == 1) { - int splashSprite = A_Spawn(pPlayer->i, WATERSPLASH2); + int splashSprite = A_Spawn(pPlayer->i, TILE_WATERSPLASH2); sprite[splashSprite].x = hitData.pos.x; sprite[splashSprite].y = hitData.pos.y; sprite[splashSprite].ang = fix16_to_int(pPlayer->q16ang); // Total tweek @@ -707,14 +707,14 @@ growspark_rr: if (playerNum >= 0) P_PreFireHitscan(spriteNum, playerNum, projecTile, &startPos, &Zvel, &shootAng, - projecTile == SHOTSPARK1 && !WW2GI, 1); + projecTile == TILE_SHOTSPARK1 && !WW2GI, 1); else A_PreFireHitscan(pSprite, &startPos, &Zvel, &shootAng, 1); if (Proj_DoHitscan(spriteNum, 256 + 1, &startPos, Zvel, shootAng, &hitData)) return -1; - if (RR && projecTile == SHOTGUN && sector[hitData.sect].lotag == ST_1_ABOVE_WATER && (krand2()&1) != 0) + if (RR && projecTile == TILE_SHOTGUN && sector[hitData.sect].lotag == ST_1_ABOVE_WATER && (krand2()&1) != 0) return -1; if ((krand2() & 15) == 0 && sector[hitData.sect].lotag == ST_2_UNDERWATER) @@ -724,7 +724,7 @@ growspark_rr: if (playerNum >= 0) { - spawnedSprite = A_InsertSprite(hitData.sect, hitData.pos.x, hitData.pos.y, hitData.pos.z, SHOTSPARK1, -15, 10, 10, shootAng, 0, 0, spriteNum, 4); + spawnedSprite = A_InsertSprite(hitData.sect, hitData.pos.x, hitData.pos.y, hitData.pos.z, TILE_SHOTSPARK1, -15, 10, 10, shootAng, 0, 0, spriteNum, 4); sprite[spawnedSprite].extra = G_DefaultActorHealth(projecTile); sprite[spawnedSprite].extra += (krand2()%6); @@ -744,20 +744,20 @@ growspark_rr: } if (!RR || sector[hitData.sect].lotag != ST_1_ABOVE_WATER) - A_Spawn(spawnedSprite, SMALLSMOKE); + A_Spawn(spawnedSprite, TILE_SMALLSMOKE); } if (hitData.sprite >= 0) { - if (RR && sprite[hitData.sprite].picnum == TORNADO) + if (RR && sprite[hitData.sprite].picnum == TILE_TORNADO) return -1; A_DamageObject(hitData.sprite, spawnedSprite); - if (sprite[hitData.sprite].picnum == APLAYER && + if (sprite[hitData.sprite].picnum == TILE_APLAYER && (ud.ffire == 1 || (!GTFLAGS(GAMETYPE_PLAYERSFRIENDLY) && GTFLAGS(GAMETYPE_TDM) && g_player[P_Get(hitData.sprite)].ps->team != g_player[P_Get(spriteNum)].ps->team))) { - int jibSprite = A_Spawn(spawnedSprite, JIBS6); + int jibSprite = A_Spawn(spawnedSprite, TILE_JIBS6); sprite[spawnedSprite].xrepeat = sprite[spawnedSprite].yrepeat = 0; sprite[jibSprite].z += ZOFFSET6; @@ -767,7 +767,7 @@ growspark_rr: } else { - A_Spawn(spawnedSprite, SMALLSMOKE); + A_Spawn(spawnedSprite, TILE_SMALLSMOKE); } if (playerNum >= 0 && CheckShootSwitchTile(sprite[hitData.sprite].picnum)) @@ -780,7 +780,7 @@ growspark_rr: { uwalltype const * const hitWall = (uwalltype *)&wall[hitData.wall]; - A_Spawn(spawnedSprite, SMALLSMOKE); + A_Spawn(spawnedSprite, TILE_SMALLSMOKE); if (CheckDoorTile(hitWall->picnum) == 1) goto SKIPBULLETHOLE; @@ -798,7 +798,7 @@ growspark_rr: goto SKIPBULLETHOLE; if ((hitData.sect >= 0 && sector[hitData.sect].lotag == 0) && - (hitWall->overpicnum != BIGFORCE && (hitWall->cstat & 16) == 0) && + (hitWall->overpicnum != TILE_BIGFORCE && (hitWall->cstat & 16) == 0) && ((hitWall->nextsector >= 0 && sector[hitWall->nextsector].lotag == 0) || (hitWall->nextsector == -1 && sector[hitData.sect].lotag == 0))) { int decalSprite; @@ -807,10 +807,10 @@ growspark_rr: goto SKIPBULLETHOLE; for (SPRITES_OF(STAT_MISC, decalSprite)) - if (sprite[decalSprite].picnum == BULLETHOLE && dist(&sprite[decalSprite], &sprite[spawnedSprite]) < (12 + (krand2() & 7))) + if (sprite[decalSprite].picnum == TILE_BULLETHOLE && dist(&sprite[decalSprite], &sprite[spawnedSprite]) < (12 + (krand2() & 7))) goto SKIPBULLETHOLE; - decalSprite = A_Spawn(spawnedSprite, BULLETHOLE); + decalSprite = A_Spawn(spawnedSprite, TILE_BULLETHOLE); sprite[decalSprite].xvel = -1; sprite[decalSprite].ang @@ -822,19 +822,19 @@ growspark_rr: SKIPBULLETHOLE: HandleHitWall(&hitData); - A_DamageWall(spawnedSprite, hitData.wall, &hitData.pos, SHOTSPARK1); + A_DamageWall(spawnedSprite, hitData.wall, &hitData.pos, TILE_SHOTSPARK1); } } else { - spawnedSprite = A_InsertSprite(hitData.sect, hitData.pos.x, hitData.pos.y, hitData.pos.z, SHOTSPARK1, -15, 24, 24, shootAng, 0, 0, spriteNum, 4); + spawnedSprite = A_InsertSprite(hitData.sect, hitData.pos.x, hitData.pos.y, hitData.pos.z, TILE_SHOTSPARK1, -15, 24, 24, shootAng, 0, 0, spriteNum, 4); sprite[spawnedSprite].extra = G_DefaultActorHealth(projecTile); if (hitData.sprite >= 0) { A_DamageObject(hitData.sprite, spawnedSprite); - if (sprite[hitData.sprite].picnum != APLAYER) - A_Spawn(spawnedSprite, SMALLSMOKE); + if (sprite[hitData.sprite].picnum != TILE_APLAYER) + A_Spawn(spawnedSprite, TILE_SMALLSMOKE); else { sprite[spawnedSprite].xrepeat = 0; @@ -842,7 +842,7 @@ growspark_rr: } } else if (hitData.wall >= 0) - A_DamageWall(spawnedSprite, hitData.wall, &hitData.pos, SHOTSPARK1); + A_DamageWall(spawnedSprite, hitData.wall, &hitData.pos, TILE_SHOTSPARK1); } if ((krand2() & 255) < (RR ? 10 : 4)) @@ -876,12 +876,12 @@ growspark_rr: if (pSprite->extra >= 0) pSprite->shade = -96; - if (projecTile == OWHIP) + if (projecTile == TILE_OWHIP) { vel = 300; startPos.z -= (15<<8); } - else //if (projecTile == UWHIP) + else //if (projecTile == TILE_UWHIP) { vel = 300; startPos.z += (4<<8); @@ -895,7 +895,7 @@ growspark_rr: else { int const otherPlayer = A_FindPlayer(pSprite, NULL); - if (pSprite->picnum == VIXEN) + if (pSprite->picnum == TILE_VIXEN) shootAng -= krand2()&16; else shootAng += 16 - (krand2() & 31); @@ -932,7 +932,7 @@ growspark_rr: if (Proj_DoHitscan(spriteNum, 256 + 1, &startPos, Zvel, shootAng, &hitData)) return -1; - int const otherSprite = A_InsertSprite(hitData.sect, hitData.pos.x, hitData.pos.y, hitData.pos.z, GROWSPARK, -16, 28, 28, + int const otherSprite = A_InsertSprite(hitData.sect, hitData.pos.x, hitData.pos.y, hitData.pos.z, TILE_GROWSPARK, -16, 28, 28, shootAng, 0, 0, spriteNum, 1); sprite[otherSprite].pal = 2; @@ -946,7 +946,7 @@ growspark_rr: } else if (hitData.sprite >= 0) A_DamageObject(hitData.sprite, otherSprite); - else if (hitData.wall >= 0 && wall[hitData.wall].picnum != ACCESSSWITCH && wall[hitData.wall].picnum != ACCESSSWITCH2) + else if (hitData.wall >= 0 && wall[hitData.wall].picnum != TILE_ACCESSSWITCH && wall[hitData.wall].picnum != TILE_ACCESSSWITCH2) A_DamageWall(otherSprite, hitData.wall, &hitData.pos, projecTile); } break; @@ -955,13 +955,13 @@ growspark_rr: case SPIT__STATIC: case COOLEXPLOSION1__STATIC: { - if ((!RRRA || projecTile != SPIT) && pSprite->extra >= 0) + if ((!RRRA || projecTile != TILE_SPIT) && pSprite->extra >= 0) pSprite->shade = -96; switch (projecTile) { case SPIT__STATIC: - if (RRRA && pSprite->picnum == MAMA) + if (RRRA && pSprite->picnum == TILE_MAMA) vel = 600; else vel = RR ? 400 : 292; @@ -969,7 +969,7 @@ growspark_rr: case COOLEXPLOSION1__STATIC: if (!RR) { - vel = (pSprite->picnum == BOSS2) ? 644 : 348; + vel = (pSprite->picnum == TILE_BOSS2) ? 644 : 348; startPos.z -= (4 << 7); break; } @@ -980,13 +980,13 @@ growspark_rr: startPos.z -= (4 << 7); if (RR) { - if (pSprite->picnum == HULK) + if (pSprite->picnum == TILE_HULK) { startPos.x += sintable[(pSprite->ang+512+256)&2047]>>6; startPos.y += sintable[(pSprite->ang+256)&2047]>>6; startPos.z += (12 << 8); } - else if (pSprite->picnum == VIXEN) + else if (pSprite->picnum == TILE_VIXEN) startPos.z -= (12 << 8); } break; @@ -1007,11 +1007,11 @@ growspark_rr: int const otherPlayer = A_FindPlayer(pSprite, NULL); if (RR) { - if (pSprite->picnum == HULK) + if (pSprite->picnum == TILE_HULK) shootAng -= krand2()&31; - else if (pSprite->picnum == VIXEN) + else if (pSprite->picnum == TILE_VIXEN) shootAng -= krand2()&16; - else if (pSprite->picnum != UFOBEAM) + else if (pSprite->picnum != TILE_UFOBEAM) shootAng += 16 - (krand2() & 31); } else @@ -1024,19 +1024,19 @@ growspark_rr: if (RR) { - if (projecTile == SPIT) + if (projecTile == TILE_SPIT) { - if (RRRA && pSprite->picnum == MAMA) + if (RRRA && pSprite->picnum == TILE_MAMA) startPos.z -= (20 << 8); else startPos.z -= (10 << 8); } - else if (projecTile == COOLEXPLOSION1) + else if (projecTile == TILE_COOLEXPLOSION1) spriteSize = 8; } else { - if (projecTile == SPIT) + if (projecTile == TILE_SPIT) startPos.z -= (10 << 8); } @@ -1047,11 +1047,11 @@ growspark_rr: sprite[returnSprite].extra += (krand2() & 7); - if (!RR && projecTile == COOLEXPLOSION1) + if (!RR && projecTile == TILE_COOLEXPLOSION1) { sprite[returnSprite].shade = 0; - if (PN(spriteNum) == BOSS2) + if (PN(spriteNum) == TILE_BOSS2) { int const saveXvel = sprite[returnSprite].xvel; sprite[returnSprite].xvel = 1024; @@ -1067,7 +1067,7 @@ growspark_rr: shootAng = pSprite->ang + 32 - (krand2() & 63); Zvel += 512 - (krand2() & 1023); - if (RR && projecTile == FIRELASER) + if (RR && projecTile == TILE_FIRELASER) sprite[returnSprite].xrepeat = sprite[returnSprite].yrepeat = 8; return returnSprite; @@ -1081,8 +1081,8 @@ growspark_rr: case RRTILE1790__STATICRR: case SHRINKSPARK__STATIC: { - if (!RR && projecTile == SHRINKSPARK) break; - if (RR && !RRRA && (projecTile == RPG2 || projecTile == RRTILE1790)) break; + if (!RR && projecTile == TILE_SHRINKSPARK) break; + if (RR && !RRRA && (projecTile == TILE_RPG2 || projecTile == TILE_RRTILE1790)) break; int targetSprite = 0; @@ -1099,9 +1099,9 @@ growspark_rr: // NOTE: otherSprite is a SPRITE_INDEX otherSprite = GetAutoAimAng(spriteNum, playerNum, projecTile, 8 << 8, 0 + 2, &startPos, vel, &Zvel, &shootAng); - if (RRRA && projecTile == RPG2 && otherSprite >= 0) + if (RRRA && projecTile == TILE_RPG2 && otherSprite >= 0) { - if (sprite[otherSprite].picnum == HEN || sprite[otherSprite].picnum == HENSTAYPUT) + if (sprite[otherSprite].picnum == TILE_HEN || sprite[otherSprite].picnum == TILE_HENSTAYPUT) targetSprite = pPlayer->i; else targetSprite = otherSprite; @@ -1110,13 +1110,13 @@ growspark_rr: if (otherSprite < 0) Zvel = fix16_to_int(F16(100) - pPlayer->q16horiz - pPlayer->q16horizoff) * 81; - if (projecTile == RPG) + if (projecTile == TILE_RPG) A_PlaySound(RPG_SHOOT, spriteNum); else if (RRRA) { - if (projecTile == RPG2) + if (projecTile == TILE_RPG2) A_PlaySound(244, spriteNum); - else if (projecTile == RRTILE1790) + else if (projecTile == TILE_RRTILE1790) A_PlaySound(94, spriteNum); } } @@ -1125,9 +1125,9 @@ growspark_rr: // NOTE: otherSprite is a player index otherSprite = A_FindPlayer(pSprite, NULL); shootAng = getangle(g_player[otherSprite].ps->opos.x - startPos.x, g_player[otherSprite].ps->opos.y - startPos.y); - if (PN(spriteNum) == BOSS3) + if (PN(spriteNum) == TILE_BOSS3) startPos.z -= ZOFFSET5; - else if (PN(spriteNum) == BOSS2) + else if (PN(spriteNum) == TILE_BOSS2) { vel += 128; startPos.z += 24<<8; @@ -1142,7 +1142,7 @@ growspark_rr: //if (numplayers > 1 && g_netClient) // return -1; - if (RRRA && projecTile == RRTILE1790) + if (RRRA && projecTile == TILE_RRTILE1790) { Zvel = -(10 << 8); vel <<= 1; @@ -1155,21 +1155,21 @@ growspark_rr: if (RRRA) { - if (projecTile == RRTILE1790) + if (projecTile == TILE_RRTILE1790) { pReturn->extra = 10; pReturn->zvel = -(10 << 8); } - else if (projecTile == RPG2) + else if (projecTile == TILE_RPG2) { pReturn->lotag = targetSprite; pReturn->hitag = 0; - A_SpawnMultiple(returnSprite, MONEY, (krand2()&3)+1); + A_SpawnMultiple(returnSprite, TILE_MONEY, (krand2()&3)+1); } } pReturn->extra += (krand2() & 7); - if (projecTile != FREEZEBLAST) + if (projecTile != TILE_FREEZEBLAST) pReturn->yvel = (playerNum >= 0 && otherSprite >= 0) ? otherSprite : -1; // RPG_YVEL else { @@ -1181,12 +1181,12 @@ growspark_rr: if (playerNum == -1) { - if (RR && PN(spriteNum) == HULK) + if (RR && PN(spriteNum) == TILE_HULK) { pReturn->xrepeat = 8; pReturn->yrepeat = 8; } - else if (!RR && PN(spriteNum) == BOSS3) + else if (!RR && PN(spriteNum) == TILE_BOSS3) { if (krand2() & 1) { @@ -1203,7 +1203,7 @@ growspark_rr: pReturn->xrepeat = 42; pReturn->yrepeat = 42; } - else if (!RR && PN(spriteNum) == BOSS2) + else if (!RR && PN(spriteNum) == TILE_BOSS2) { pReturn->x -= sintable[shootAng & 2047] / 56; pReturn->y -= sintable[(shootAng + 1024 + 512) & 2047] / 56; @@ -1211,7 +1211,7 @@ growspark_rr: pReturn->xrepeat = 24; pReturn->yrepeat = 24; } - else if (projecTile != FREEZEBLAST) + else if (projecTile != TILE_FREEZEBLAST) { pReturn->xrepeat = 30; pReturn->yrepeat = 30; @@ -1239,9 +1239,9 @@ growspark_rr: } pReturn->cstat = 128; - pReturn->clipdist = (projecTile == RPG) ? 4 : 40; + pReturn->clipdist = (projecTile == TILE_RPG) ? 4 : 40; - if (RRRA && (projecTile == RPG2 || projecTile == RRTILE1790)) + if (RRRA && (projecTile == TILE_RPG2 || projecTile == TILE_RRTILE1790)) pReturn->clipdist = 4; return returnSprite; @@ -1279,7 +1279,7 @@ growspark_rr: if (placeMine == 1) { int const tripBombMode = Gv_GetVarByLabel("TRIPBOMB_CONTROL", TRIPBOMB_TRIPWIRE, -1, -1); - int const spawnedSprite = A_InsertSprite(hitData.sect, hitData.pos.x, hitData.pos.y, hitData.pos.z, TRIPBOMB, -16, 4, 5, + int const spawnedSprite = A_InsertSprite(hitData.sect, hitData.pos.x, hitData.pos.y, hitData.pos.z, TILE_TRIPBOMB, -16, 4, 5, shootAng, 0, 0, spriteNum, 6); if (tripBombMode & TRIPBOMB_TIMER) { @@ -1314,7 +1314,7 @@ growspark_rr: case MORTER__STATIC: case CHEERBOMB__STATICRR: { - if (RR && !RRRA && projecTile == CHEERBOMB) break; + if (RR && !RRRA && projecTile == TILE_CHEERBOMB) break; if (pSprite->extra >= 0) pSprite->shade = -96; @@ -1329,7 +1329,7 @@ growspark_rr: vel = playerDist >> 4; - int spriteSize = (RRRA && projecTile == CHEERBOMB) ? 16 : 32; + int spriteSize = (RRRA && projecTile == TILE_CHEERBOMB) ? 16 : 32; A_InsertSprite(spriteSectnum, startPos.x + (sintable[(512 + shootAng + 512) & 2047] >> 8), startPos.y + (sintable[(shootAng + 512) & 2047] >> 8), startPos.z + (6 << 8), projecTile, -64, @@ -1359,7 +1359,7 @@ growspark_rr: int const returnSprite = A_InsertSprite(spriteSectnum, startPos.x + (sintable[(512 + shootAng + 512) & 2047] >> 12), startPos.y + (sintable[(shootAng + 512) & 2047] >> 12), startPos.z + (2 << 8), - SHRINKSPARK, -16, 28, 28, shootAng, 768, Zvel, spriteNum, 4); + TILE_SHRINKSPARK, -16, 28, 28, shootAng, 768, Zvel, spriteNum, 4); sprite[returnSprite].cstat = 128; sprite[returnSprite].clipdist = 32; @@ -1410,7 +1410,7 @@ static void P_DisplaySpit(void) int const rotX = (-fix16_to_int(g_player[screenpeek].input->q16avel) >> 1) + (sintable[((loogCounter + i) << 6) & 2047] >> 10); rotatesprite_fs((pPlayer->loogiex[i] + rotX) << 16, (200 + pPlayer->loogiey[i] - rotY) << 16, rotZoom - (i << 8), - 256 - rotAng, LOOGIE, 0, 0, 2); + 256 - rotAng, TILE_LOOGIE, 0, 0, 2); } } @@ -1468,7 +1468,7 @@ static int P_DisplayFist(int const fistShade) #endif rotatesprite((-fistInc + 222 + (fix16_to_int(g_player[screenpeek].input->q16avel) >> 5)) << 16, (fistY + fistYOffset) << 16, - fistZoom, 0, FIST, fistShade, fistPal, 2, wx[0], windowxy1.y, wx[1], windowxy2.y); + fistZoom, 0, TILE_FIST, fistShade, fistPal, 2, wx[0], windowxy1.y, wx[1], windowxy2.y); return 1; } @@ -1558,7 +1558,7 @@ static void G_DrawWeaponTile(int weaponX, int weaponY, int weaponTile, int weapo #ifdef USE_OPENGL if (videoGetRenderMode() >= REND_POLYMOST) { - if (!RR && weaponTile >= CHAINGUN + 1 && weaponTile <= CHAINGUN + 4) + if (!RR && weaponTile >= TILE_CHAINGUN + 1 && weaponTile <= TILE_CHAINGUN + 4) { if (!hw_models || md_tilehasmodel(weaponTile, weaponPal) < 0) { @@ -1613,7 +1613,7 @@ static int P_DisplayKnee(int kneeShade) int const kneePal = P_GetKneePal(ps); G_DrawTileScaled(105+(fix16_to_int(g_player[screenpeek].input->q16avel)>>5)-(ps->look_ang>>1)+(knee_y[ps->knee_incs]>>2), - kneeY+280-(fix16_to_int(ps->q16horiz-ps->q16horizoff)>>4),KNEE,kneeShade,4+DRAWEAP_CENTER,kneePal); + kneeY+280-(fix16_to_int(ps->q16horiz-ps->q16horizoff)>>4),TILE_KNEE,kneeShade,4+DRAWEAP_CENTER,kneePal); return 1; } @@ -1637,7 +1637,7 @@ static int P_DisplayKnuckles(int knuckleShade) G_DrawTileScaled(160 + (fix16_to_int(g_player[screenpeek].input->q16avel) >> 5) - (pPlayer->look_ang >> 1), knuckleY + 180 - (fix16_to_int(pPlayer->q16horiz - pPlayer->q16horizoff) >> 4), - CRACKKNUCKLES + knuckleFrames[pPlayer->knuckle_incs >> 1], knuckleShade, 4 + DRAWEAP_CENTER, + TILE_CRACKKNUCKLES + knuckleFrames[pPlayer->knuckle_incs >> 1], knuckleShade, 4 + DRAWEAP_CENTER, knucklePal); return 1; @@ -1753,25 +1753,25 @@ void P_DisplayScuba(void) if (!(duke3d_globalflags & DUKE3D_NO_WIDESCREEN_PINNING)) { - G_DrawTileScaled(320 - (tilesiz[SCUBAMASK].x >> 1) - 15, 200 - (tilesiz[SCUBAMASK].y >> 1) + (sintable[(int32_t) totalclock & 2047] >> 10), - SCUBAMASK, 0, 2 + 16 + DRAWEAP_CENTER+512, scubaPal,49152); - G_DrawTileScaled(320 - tilesiz[SCUBAMASK+4].x, 200 - tilesiz[SCUBAMASK+4].y, SCUBAMASK+4, 0, 2 + 16 + DRAWEAP_CENTER + 1024, scubaPal); - G_DrawTileScaled(tilesiz[SCUBAMASK+4].x, 200 - tilesiz[SCUBAMASK+4].y, SCUBAMASK+4, 0, 2 + 4 + 16 + DRAWEAP_CENTER + 1024, scubaPal); - //G_DrawTileScaled(35, -1, SCUBAMASK+3, 0, 2 + 16 + DRAWEAP_CENTER+512, scubaPal); - //G_DrawTileScaled(35, -1, SCUBAMASK+3, 0, 2 + 16 + DRAWEAP_CENTER+256, scubaPal); - //G_DrawTileScaled(285, 200, SCUBAMASK+3, 0, 2 + 16 + DRAWEAP_CENTER+512, scubaPal,65536,1024); - //G_DrawTileScaled(285, 200, SCUBAMASK+3, 0, 2 + 16 + DRAWEAP_CENTER+256, scubaPal,65536,1024); - G_DrawTileScaled(35, -1, SCUBAMASK+3, 0, 2 + 16 + DRAWEAP_CENTER+1024, scubaPal); - G_DrawTileScaled(285, 200, SCUBAMASK+3, 0, 2 + 16 + DRAWEAP_CENTER+1024, scubaPal,65536,1024); + G_DrawTileScaled(320 - (tilesiz[TILE_SCUBAMASK].x >> 1) - 15, 200 - (tilesiz[TILE_SCUBAMASK].y >> 1) + (sintable[(int32_t) totalclock & 2047] >> 10), + TILE_SCUBAMASK, 0, 2 + 16 + DRAWEAP_CENTER+512, scubaPal,49152); + G_DrawTileScaled(320 - tilesiz[TILE_SCUBAMASK+4].x, 200 - tilesiz[TILE_SCUBAMASK+4].y, TILE_SCUBAMASK+4, 0, 2 + 16 + DRAWEAP_CENTER + 1024, scubaPal); + G_DrawTileScaled(tilesiz[TILE_SCUBAMASK+4].x, 200 - tilesiz[TILE_SCUBAMASK+4].y, TILE_SCUBAMASK+4, 0, 2 + 4 + 16 + DRAWEAP_CENTER + 1024, scubaPal); + //G_DrawTileScaled(35, -1, TILE_SCUBAMASK+3, 0, 2 + 16 + DRAWEAP_CENTER+512, scubaPal); + //G_DrawTileScaled(35, -1, TILE_SCUBAMASK+3, 0, 2 + 16 + DRAWEAP_CENTER+256, scubaPal); + //G_DrawTileScaled(285, 200, TILE_SCUBAMASK+3, 0, 2 + 16 + DRAWEAP_CENTER+512, scubaPal,65536,1024); + //G_DrawTileScaled(285, 200, TILE_SCUBAMASK+3, 0, 2 + 16 + DRAWEAP_CENTER+256, scubaPal,65536,1024); + G_DrawTileScaled(35, -1, TILE_SCUBAMASK+3, 0, 2 + 16 + DRAWEAP_CENTER+1024, scubaPal); + G_DrawTileScaled(285, 200, TILE_SCUBAMASK+3, 0, 2 + 16 + DRAWEAP_CENTER+1024, scubaPal,65536,1024); } else { - G_DrawTileScaled(320 - (tilesiz[SCUBAMASK].x >> 1) - 15, 200 - (tilesiz[SCUBAMASK].y >> 1) + (sintable[(int32_t) totalclock & 2047] >> 10), - SCUBAMASK, 0, 2 + 16 + DRAWEAP_CENTER, scubaPal,49152); - G_DrawTileScaled(320 - tilesiz[SCUBAMASK+4].x, 200 - tilesiz[SCUBAMASK+4].y, SCUBAMASK+4, 0, 2 + 16 + DRAWEAP_CENTER, scubaPal); - G_DrawTileScaled(tilesiz[SCUBAMASK+4].x, 200 - tilesiz[SCUBAMASK+4].y, SCUBAMASK+4, 0, 2 + 4 + 16 + DRAWEAP_CENTER, scubaPal); - G_DrawTileScaled(35, -1, SCUBAMASK+3, 0, 2 + 16 + DRAWEAP_CENTER, scubaPal); - G_DrawTileScaled(285, 200, SCUBAMASK+3, 0, 2 + 16 + DRAWEAP_CENTER, scubaPal,65536,1024); + G_DrawTileScaled(320 - (tilesiz[TILE_SCUBAMASK].x >> 1) - 15, 200 - (tilesiz[TILE_SCUBAMASK].y >> 1) + (sintable[(int32_t) totalclock & 2047] >> 10), + TILE_SCUBAMASK, 0, 2 + 16 + DRAWEAP_CENTER, scubaPal,49152); + G_DrawTileScaled(320 - tilesiz[TILE_SCUBAMASK+4].x, 200 - tilesiz[TILE_SCUBAMASK+4].y, TILE_SCUBAMASK+4, 0, 2 + 16 + DRAWEAP_CENTER, scubaPal); + G_DrawTileScaled(tilesiz[TILE_SCUBAMASK+4].x, 200 - tilesiz[TILE_SCUBAMASK+4].y, TILE_SCUBAMASK+4, 0, 2 + 4 + 16 + DRAWEAP_CENTER, scubaPal); + G_DrawTileScaled(35, -1, TILE_SCUBAMASK+3, 0, 2 + 16 + DRAWEAP_CENTER, scubaPal); + G_DrawTileScaled(285, 200, TILE_SCUBAMASK+3, 0, 2 + 16 + DRAWEAP_CENTER, scubaPal,65536,1024); } } else @@ -1779,10 +1779,10 @@ void P_DisplayScuba(void) // this is a hack to hide the seam that appears between the two halves of the mask in GL #ifdef USE_OPENGL if (videoGetRenderMode() >= REND_POLYMOST) - G_DrawTileScaled(44, (200 - tilesiz[SCUBAMASK].y), SCUBAMASK, 0, 2 + 16 + DRAWEAP_CENTER, scubaPal); + G_DrawTileScaled(44, (200 - tilesiz[TILE_SCUBAMASK].y), TILE_SCUBAMASK, 0, 2 + 16 + DRAWEAP_CENTER, scubaPal); #endif - G_DrawTileScaled(43, (200 - tilesiz[SCUBAMASK].y), SCUBAMASK, 0, 2 + 16 + DRAWEAP_CENTER, scubaPal); - G_DrawTileScaled(320 - 43, (200 - tilesiz[SCUBAMASK].y), SCUBAMASK, 0, 2 + 4 + 16 + DRAWEAP_CENTER, scubaPal); + G_DrawTileScaled(43, (200 - tilesiz[TILE_SCUBAMASK].y), TILE_SCUBAMASK, 0, 2 + 16 + DRAWEAP_CENTER, scubaPal); + G_DrawTileScaled(320 - 43, (200 - tilesiz[TILE_SCUBAMASK].y), TILE_SCUBAMASK, 0, 2 + 4 + 16 + DRAWEAP_CENTER, scubaPal); } } } @@ -1811,7 +1811,7 @@ static int P_DisplayTip(int tipShade) G_DrawTileScaled(170 + (fix16_to_int(g_player[screenpeek].input->q16avel) >> 5) - (pPlayer->look_ang >> 1), tipYOffset + tipY + 240 - (fix16_to_int(pPlayer->q16horiz - pPlayer->q16horizoff) >> 4), - TIP + ((26 - pPlayer->tipincs) >> 4), tipShade, DRAWEAP_CENTER, tipPal); + TILE_TIP + ((26 - pPlayer->tipincs) >> 4), tipShade, DRAWEAP_CENTER, tipPal); guniqhudid = 0; @@ -1838,12 +1838,12 @@ static int P_DisplayAccess(int accessShade) { G_DrawTileScaled(170 + (fix16_to_int(g_player[screenpeek].input->q16avel) >> 5) - (pSprite->look_ang >> 1) + accessX, accessY + 266 - (fix16_to_int(pSprite->q16horiz - pSprite->q16horizoff) >> 4), - HANDHOLDINGLASER + (pSprite->access_incs >> 3), accessShade, DRAWEAP_CENTER, accessPal); + TILE_HANDHOLDINGLASER + (pSprite->access_incs >> 3), accessShade, DRAWEAP_CENTER, accessPal); } else { G_DrawTileScaled(170 + (fix16_to_int(g_player[screenpeek].input->q16avel) >> 5) - (pSprite->look_ang >> 1) + accessX, - accessY + 266 - (fix16_to_int(pSprite->q16horiz - pSprite->q16horizoff) >> 4), HANDHOLDINGACCESS, accessShade, + accessY + 266 - (fix16_to_int(pSprite->q16horiz - pSprite->q16horizoff) >> 4), TILE_HANDHOLDINGACCESS, accessShade, 4 + DRAWEAP_CENTER, accessPal); } @@ -1936,10 +1936,10 @@ void P_DisplayWeapon(void) guniqhudid = 100; if (quickKickFrame < 6 || quickKickFrame > 12) - G_DrawTileScaled(weaponX + 80 - (pPlayer->look_ang >> 1), weaponY + 250 - weaponYOffset, KNEE, weaponShade, + G_DrawTileScaled(weaponX + 80 - (pPlayer->look_ang >> 1), weaponY + 250 - weaponYOffset, TILE_KNEE, weaponShade, weaponBits | 4 | DRAWEAP_CENTER, weaponPal); else - G_DrawTileScaled(weaponX + 160 - 16 - (pPlayer->look_ang >> 1), weaponY + 214 - weaponYOffset, KNEE + 1, + G_DrawTileScaled(weaponX + 160 - 16 - (pPlayer->look_ang >> 1), weaponY + 214 - weaponYOffset, TILE_KNEE + 1, weaponShade, weaponBits | 4 | DRAWEAP_CENTER, weaponPal); guniqhudid = 0; } @@ -1948,7 +1948,7 @@ void P_DisplayWeapon(void) { if (pPlayer->on_motorcycle) { - int motoTile = MOTOHIT; + int motoTile = TILE_MOTOHIT; if (!g_netServer && numplayers == 1) { if (*weaponFrame) @@ -1957,16 +1957,16 @@ void P_DisplayWeapon(void) if (*weaponFrame == 1) { if ((krand2()&1) == 1) - motoTile = MOTOHIT+1; + motoTile = TILE_MOTOHIT+1; else - motoTile = MOTOHIT+2; + motoTile = TILE_MOTOHIT+2; } else if (*weaponFrame == 4) { if ((krand2()&1) == 1) - motoTile = MOTOHIT+3; + motoTile = TILE_MOTOHIT+3; else - motoTile = MOTOHIT+4; + motoTile = TILE_MOTOHIT+4; } } } @@ -1992,53 +1992,53 @@ void P_DisplayWeapon(void) if (pPlayer->tilt_status > 0) { if (*weaponFrame == 0) - boatTile = BOATHIT+1; + boatTile = TILE_BOATHIT+1; else if (*weaponFrame <= 3) { - boatTile = BOATHIT+5; + boatTile = TILE_BOATHIT+5; weaponShade = -96; } else if (*weaponFrame <= 6) { - boatTile = BOATHIT+6; + boatTile = TILE_BOATHIT+6; weaponShade = -96; } else - boatTile = BOATHIT+1; + boatTile = TILE_BOATHIT+1; } else if (pPlayer->tilt_status < 0) { if (*weaponFrame == 0) - boatTile = BOATHIT+2; + boatTile = TILE_BOATHIT+2; else if (*weaponFrame <= 3) { - boatTile = BOATHIT+7; + boatTile = TILE_BOATHIT+7; weaponShade = -96; } else if (*weaponFrame <= 6) { - boatTile = BOATHIT+8; + boatTile = TILE_BOATHIT+8; weaponShade = -96; } else - boatTile = BOATHIT+2; + boatTile = TILE_BOATHIT+2; } else { if (*weaponFrame == 0) - boatTile = BOATHIT; + boatTile = TILE_BOATHIT; else if (*weaponFrame <= 3) { - boatTile = BOATHIT+3; + boatTile = TILE_BOATHIT+3; weaponShade = -96; } else if (*weaponFrame <= 6) { - boatTile = BOATHIT+4; + boatTile = TILE_BOATHIT+4; weaponShade = -96; } else - boatTile = BOATHIT; + boatTile = TILE_BOATHIT; } int const weaponPal = P_GetHudPal(pPlayer); @@ -2071,9 +2071,9 @@ void P_DisplayWeapon(void) currentWeapon = weaponX; weaponX += sintable[(fistPos)&2047] >> 10; G_DrawTileScaled(weaponX + 250 - (pPlayer->look_ang >> 1), weaponY + 258 - (klabs(sintable[(fistPos)&2047] >> 8)), - FIST, weaponShade, weaponBits, weaponPal); + TILE_FIST, weaponShade, weaponBits, weaponPal); weaponX = currentWeapon - (sintable[(fistPos)&2047] >> 10); - G_DrawTileScaled(weaponX + 40 - (pPlayer->look_ang >> 1), weaponY + 200 + (klabs(sintable[(fistPos)&2047] >> 8)), FIST, + G_DrawTileScaled(weaponX + 40 - (pPlayer->look_ang >> 1), weaponY + 200 + (klabs(sintable[(fistPos)&2047] >> 8)), TILE_FIST, weaponShade, weaponBits | 4, weaponPal); } else @@ -2084,7 +2084,7 @@ void P_DisplayWeapon(void) case 2: if ((unsigned)hudweap.cur < MAX_WEAPONS && hudweap.cur != KNEE_WEAPON) rotatesprite_win(160 << 16, (180 + (pPlayer->weapon_pos * pPlayer->weapon_pos)) << 16, divscale16(ud.statusbarscale, 100), 0, - (!RR && hudweap.cur == GROW_WEAPON) ? GROWSPRITEICON : WeaponPickupSprites[hudweap.cur], 0, + (!RR && hudweap.cur == GROW_WEAPON) ? TILE_GROWSPRITEICON : WeaponPickupSprites[hudweap.cur], 0, 0, 2); default: goto enddisplayweapon; } @@ -2109,7 +2109,7 @@ void P_DisplayWeapon(void) weaponX = weaponX + ((offsetX[weaponFrames[*weaponFrame]]>>1) - 12); weaponY = weaponY + 200 - (244-offsetY[weaponFrames[*weaponFrame]]); guniqhudid = currentWeapon; - G_DrawTileScaled(weaponX - halfLookAng, weaponY - weaponYOffset, KNEE + weaponFrames[*weaponFrame], + G_DrawTileScaled(weaponX - halfLookAng, weaponY - weaponYOffset, TILE_KNEE + weaponFrames[*weaponFrame], weaponShade, weaponBits, weaponPal, 32768); guniqhudid = 0; break; @@ -2125,7 +2125,7 @@ void P_DisplayWeapon(void) weaponX = weaponX + ((offsetX[weaponFrames[*weaponFrame]]>>1) - 12); weaponY = weaponY + 210 - (244-offsetY[weaponFrames[*weaponFrame]]); guniqhudid = currentWeapon; - G_DrawTileScaled(weaponX - halfLookAng + 20, weaponY - weaponYOffset - 80, SLINGBLADE + weaponFrames[*weaponFrame], + G_DrawTileScaled(weaponX - halfLookAng + 20, weaponY - weaponYOffset - 80, TILE_SLINGBLADE + weaponFrames[*weaponFrame], weaponShade, weaponBits, weaponPal, 32768); guniqhudid = 0; break; @@ -2141,12 +2141,12 @@ void P_DisplayWeapon(void) { if (pPlayer->ammo_amount[BOWLINGBALL_WEAPON]) { - G_DrawWeaponTileWithID(currentWeapon, weaponX + 162 - halfLookAng, weaponY + 214 - weaponYOffset + (*weaponFrame) * 8, BOWLINGBALLH, + G_DrawWeaponTileWithID(currentWeapon, weaponX + 162 - halfLookAng, weaponY + 214 - weaponYOffset + (*weaponFrame) * 8, TILE_BOWLINGBALLH, weaponShade, weaponBits, weaponPal, 32768); } else { - G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 162 - halfLookAng, weaponY + 214 - weaponYOffset, HANDTHROW+5, + G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 162 - halfLookAng, weaponY + 214 - weaponYOffset, TILE_HANDTHROW+5, weaponShade, weaponBits, weaponPal, 36700); } } @@ -2154,14 +2154,14 @@ void P_DisplayWeapon(void) { if (pPlayer->ammo_amount[TRIPBOMB_WEAPON]) { - G_DrawWeaponTileWithID(currentWeapon, weaponX + 180 - halfLookAng, weaponY + 214 - weaponYOffset + (*weaponFrame) * 8, POWDERH, + G_DrawWeaponTileWithID(currentWeapon, weaponX + 180 - halfLookAng, weaponY + 214 - weaponYOffset + (*weaponFrame) * 8, TILE_POWDERH, weaponShade, weaponBits, weaponPal, 36700); - G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 90 - halfLookAng, weaponY + 214 - weaponYOffset + (*weaponFrame) * 8, POWDERH, + G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 90 - halfLookAng, weaponY + 214 - weaponYOffset + (*weaponFrame) * 8, TILE_POWDERH, weaponShade, weaponBits | 4, weaponPal, 36700); } else { - G_DrawWeaponTileWithID(currentWeapon << 2, weaponX + 162 - halfLookAng, weaponY + 214 - weaponYOffset, HANDTHROW+5, + G_DrawWeaponTileWithID(currentWeapon << 2, weaponX + 162 - halfLookAng, weaponY + 214 - weaponYOffset, TILE_HANDTHROW+5, weaponShade, weaponBits, weaponPal, 36700); } } @@ -2176,17 +2176,17 @@ void P_DisplayWeapon(void) if (frame == 2 || frame == 3) { G_DrawWeaponTileWithID(currentWeapon, weaponX + 200 - halfLookAng, weaponY + 250 - weaponYOffset, - RPGGUN + frame, weaponShade, weaponBits, weaponPal, 36700); + TILE_RPGGUN + frame, weaponShade, weaponBits, weaponPal, 36700); } else if (frame == 1) { G_DrawWeaponTileWithID(currentWeapon, weaponX + 200 - halfLookAng, weaponY + 250 - weaponYOffset, - RPGGUN + frame, 0, weaponBits, weaponPal, 36700); + TILE_RPGGUN + frame, 0, weaponBits, weaponPal, 36700); } else { G_DrawWeaponTileWithID(currentWeapon, weaponX + 210 - halfLookAng, weaponY + 255 - weaponYOffset, - RPGGUN + frame, weaponShade, weaponBits, weaponPal, 36700); + TILE_RPGGUN + frame, weaponShade, weaponBits, weaponPal, 36700); } break; } @@ -2203,17 +2203,17 @@ void P_DisplayWeapon(void) if (frame == 2 || frame == 3) { G_DrawWeaponTileWithID(currentWeapon, weaponX + 200 - halfLookAng, weaponY + 250 - weaponYOffset, - RPGGUN2 + frame, weaponShade, weaponBits, weaponPal, 36700); + TILE_RPGGUN2 + frame, weaponShade, weaponBits, weaponPal, 36700); } else if (frame == 1) { G_DrawWeaponTileWithID(currentWeapon, weaponX + 200 - halfLookAng, weaponY + 250 - weaponYOffset, - RPGGUN2 + frame, 0, weaponBits, weaponPal, 36700); + TILE_RPGGUN2 + frame, 0, weaponBits, weaponPal, 36700); } else { G_DrawWeaponTileWithID(currentWeapon, weaponX + 210 - halfLookAng, weaponY + 255 - weaponYOffset, - RPGGUN2 + frame, weaponShade, weaponBits, weaponPal, 36700); + TILE_RPGGUN2 + frame, weaponShade, weaponBits, weaponPal, 36700); } } else @@ -2223,26 +2223,26 @@ void P_DisplayWeapon(void) if (g_chickenWeaponTimer) { G_DrawWeaponTileWithID(currentWeapon, weaponX + 210 - halfLookAng, weaponY + 222 - weaponYOffset, - RPGGUN2+7, weaponShade, weaponBits, weaponPal, 36700); + TILE_RPGGUN2+7, weaponShade, weaponBits, weaponPal, 36700); } else if ((krand2() & 15) == 5) { A_PlaySound(327, pPlayer->i); G_DrawWeaponTileWithID(currentWeapon, weaponX + 210 - halfLookAng, weaponY + 222 - weaponYOffset, - RPGGUN2+7, weaponShade, weaponBits, weaponPal, 36700); + TILE_RPGGUN2+7, weaponShade, weaponBits, weaponPal, 36700); g_chickenWeaponTimer = 6; } else { G_DrawWeaponTileWithID(currentWeapon, weaponX + 210 - halfLookAng, weaponY + 225 - weaponYOffset, - RPGGUN2, weaponShade, weaponBits, weaponPal, 36700); + TILE_RPGGUN2, weaponShade, weaponBits, weaponPal, 36700); } } else { G_DrawWeaponTileWithID(currentWeapon, weaponX + 210 - halfLookAng, weaponY + 225 - weaponYOffset, - RPGGUN2, weaponShade, weaponBits, weaponPal, 36700); + TILE_RPGGUN2, weaponShade, weaponBits, weaponPal, 36700); } } break; @@ -2264,7 +2264,7 @@ void P_DisplayWeapon(void) if (frm == 3 || frm == 4) weaponShade = 0; G_DrawWeaponTileWithID(currentWeapon, weaponX + 52 - halfLookAng + (kb_ox[frm] >> 1), - weaponY + kb_oy[frm] - 64 - weaponYOffset, SHOTGUN + frm, weaponShade, weaponBits, weaponPal, 32768); + weaponY + kb_oy[frm] - 64 - weaponYOffset, TILE_SHOTGUN + frm, weaponShade, weaponBits, weaponPal, 32768); } else { @@ -2285,10 +2285,10 @@ void P_DisplayWeapon(void) break; } G_DrawWeaponTileWithID(currentWeapon, weaponX + 64 - halfLookAng, weaponY - weaponYOffset, - SHOTGUN + kb_frames[*weaponFrame], weaponShade, weaponBits, weaponPal, 32768); + TILE_SHOTGUN + kb_frames[*weaponFrame], weaponShade, weaponBits, weaponPal, 32768); if (kb_frames[*weaponFrame] == 21) G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 96 - halfLookAng, weaponY - weaponYOffset, - SHOTGUNSHELLS, weaponShade, weaponBits, weaponPal, 32768); + TILE_SHOTGUNSHELLS, weaponShade, weaponBits, weaponPal, 32768); } } else @@ -2301,7 +2301,7 @@ void P_DisplayWeapon(void) if (frm == 3 || frm == 4) weaponShade = 0; G_DrawWeaponTileWithID(currentWeapon, weaponX + 52 - halfLookAng + (kb_ox[frm] >> 1), - weaponY + kb_oy[frm] - 64 - weaponYOffset, SHOTGUN + frm, weaponShade, weaponBits, weaponPal, 32768); + weaponY + kb_oy[frm] - 64 - weaponYOffset, TILE_SHOTGUN + frm, weaponShade, weaponBits, weaponPal, 32768); } else { @@ -2309,7 +2309,7 @@ void P_DisplayWeapon(void) if (frm == 1 || frm == 2) weaponShade = 0; G_DrawWeaponTileWithID(currentWeapon, weaponX + 52 - halfLookAng + (kb_ox[frm] >> 1), - weaponY + kb_oy[frm] - 64 - weaponYOffset, SHOTGUN + frm, weaponShade, weaponBits, weaponPal, 32768); + weaponY + kb_oy[frm] - 64 - weaponYOffset, TILE_SHOTGUN + frm, weaponShade, weaponBits, weaponPal, 32768); } } else if (pPlayer->shotgun_state[0]) @@ -2331,10 +2331,10 @@ void P_DisplayWeapon(void) break; } G_DrawWeaponTileWithID(currentWeapon, weaponX + 64 - halfLookAng, weaponY - weaponYOffset, - SHOTGUN + kb_frames2[*weaponFrame], weaponShade, weaponBits, weaponPal, 32768); + TILE_SHOTGUN + kb_frames2[*weaponFrame], weaponShade, weaponBits, weaponPal, 32768); if (kb_frames2[*weaponFrame] == 21) G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 96 - halfLookAng, weaponY - weaponYOffset, - SHOTGUNSHELLS, weaponShade, weaponBits, weaponPal, 32768); + TILE_SHOTGUNSHELLS, weaponShade, weaponBits, weaponPal, 32768); } } } @@ -2353,16 +2353,16 @@ void P_DisplayWeapon(void) { case 0: G_DrawWeaponTileWithID(currentWeapon, weaponX + 178 - (pPlayer->look_ang >> 1) + 30, weaponY + 233 - weaponYOffset + 5, - CHAINGUN, weaponShade, weaponBits, weaponPal, 32768); + TILE_CHAINGUN, weaponShade, weaponBits, weaponPal, 32768); break; default: if (*weaponFrame < 8) G_DrawWeaponTileWithID(currentWeapon, weaponX + 178 - (pPlayer->look_ang >> 1) + 30, weaponY + 233 - weaponYOffset + 5, - CHAINGUN + 1, 0, weaponBits, weaponPal, 32768); + TILE_CHAINGUN + 1, 0, weaponBits, weaponPal, 32768); else G_DrawWeaponTileWithID(currentWeapon, weaponX + 178 - (pPlayer->look_ang >> 1) + 30, weaponY + 233 - weaponYOffset + 5, - CHAINGUN + 2, weaponShade, weaponBits, weaponPal, 32768); + TILE_CHAINGUN + 2, weaponShade, weaponBits, weaponPal, 32768); break; } @@ -2380,7 +2380,7 @@ void P_DisplayWeapon(void) weaponShade = 0; G_DrawWeaponTileWithID(currentWeapon, offsetX[frame] - 12 + weaponX - (pPlayer->look_ang >> 1), weaponY + offsetY[frame] - weaponYOffset, - FIRSTGUN + frame, weaponShade, weaponBits, weaponPal, 36700); + TILE_FIRSTGUN + frame, weaponShade, weaponBits, weaponPal, 36700); break; } @@ -2436,14 +2436,14 @@ void P_DisplayWeapon(void) } G_DrawWeaponTileWithID(currentWeapon, weaponX + offsetX[frame] - 12 - dx - halfLookAng, weaponY + offsetY[frame] - weaponYOffset + dy, - FIRSTGUNRELOAD + frame, weaponShade, weaponBits, weaponPal, 36700); + TILE_FIRSTGUNRELOAD + frame, weaponShade, weaponBits, weaponPal, 36700); } break; case HANDBOMB_WEAPON__STATIC: weaponYOffset -= 9 * (*weaponFrame); G_DrawWeaponTileWithID(currentWeapon, weaponX + 190 - halfLookAng, weaponY + 260 - weaponYOffset, - HANDTHROW, weaponShade, weaponBits, weaponPal, 36700); + TILE_HANDTHROW, weaponShade, weaponBits, weaponPal, 36700); break; case HANDREMOTE_WEAPON__STATIC: @@ -2460,20 +2460,20 @@ void P_DisplayWeapon(void) if (*weaponFrame < 5) { G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 265 - halfLookAng, weaponY + 174 - weaponYOffset + pPlayer->hbomb_offset, - RRTILE1752, 0, weaponBits, weaponPal, 36700); + TILE_RRTILE1752, 0, weaponBits, weaponPal, 36700); } G_DrawWeaponTileWithID(currentWeapon, weaponX + 290 - halfLookAng, weaponY + 238 - weaponYOffset, - HANDTHROW + remoteFrames[(*weaponFrame)], 0, weaponBits, weaponPal, 36700); + TILE_HANDTHROW + remoteFrames[(*weaponFrame)], 0, weaponBits, weaponPal, 36700); } break; case DEVISTATOR_WEAPON__STATIC: if (*weaponFrame) G_DrawWeaponTileWithID(currentWeapon, 150 + (weaponX >> 1) - halfLookAng, 266 + (weaponY >> 1) - weaponYOffset, - DEVISTATOR, 0, weaponBits, weaponPal, 47040); + TILE_DEVISTATOR, 0, weaponBits, weaponPal, 47040); else G_DrawWeaponTileWithID(currentWeapon, 150 + (weaponX >> 1) - halfLookAng, 266 + (weaponY >> 1) - weaponYOffset, - DEVISTATOR + 1, weaponShade, weaponBits, weaponPal, 47040); + TILE_DEVISTATOR + 1, weaponShade, weaponBits, weaponPal, 47040); break; case FREEZE_WEAPON__STATIC: @@ -2485,11 +2485,11 @@ void P_DisplayWeapon(void) static uint8_t freezerFrames[] = { 0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }; G_DrawWeaponTileWithID(currentWeapon, weaponX + 260 - (pPlayer->look_ang >> 1), weaponY + 215 - weaponYOffset, - FREEZE + freezerFrames[*weaponFrame], -32, weaponBits, weaponPal, 32768); + TILE_FREEZE + freezerFrames[*weaponFrame], -32, weaponBits, weaponPal, 32768); } else G_DrawWeaponTileWithID(currentWeapon, weaponX + 260 - (pPlayer->look_ang >> 1), weaponY + 215 - weaponYOffset, - FREEZE, weaponShade, weaponBits, weaponPal, 32768); + TILE_FREEZE, weaponShade, weaponBits, weaponPal, 32768); break; case GROW_WEAPON__STATIC: @@ -2508,19 +2508,19 @@ void P_DisplayWeapon(void) if (currentWeapon == GROW_WEAPON) { G_DrawWeaponTileWithID(currentWeapon, weaponX + 184 - halfLookAng, weaponY + 240 - weaponYOffset, - GROWSPARK + ((*weaponFrame)&2), weaponShade, weaponBits, 0, 44040); + TILE_GROWSPARK + ((*weaponFrame)&2), weaponShade, weaponBits, 0, 44040); } else { static int frames[] = { 1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,0,0,0,0,0,0,0,0,0,0 }; G_DrawWeaponTileWithID(currentWeapon, weaponX + 184 - halfLookAng, weaponY + 240 - weaponYOffset, - SHRINKER + frames[*weaponFrame], weaponShade, weaponBits, 0, 44040); + TILE_SHRINKER + frames[*weaponFrame], weaponShade, weaponBits, 0, 44040); } } else { G_DrawWeaponTileWithID(currentWeapon, weaponX + 188 - halfLookAng, weaponY + 240 - weaponYOffset, - SHRINKER, weaponShade, weaponBits, weaponPal, 44040); + TILE_SHRINKER, weaponShade, weaponBits, weaponPal, 44040); } break; } @@ -2535,10 +2535,10 @@ void P_DisplayWeapon(void) guniqhudid = currentWeapon; if (*weaponFrame < 5 || *weaponFrame > 9) - G_DrawTileScaled(weaponX + 220 - halfLookAng, weaponY + 250 - weaponYOffset, KNEE, + G_DrawTileScaled(weaponX + 220 - halfLookAng, weaponY + 250 - weaponYOffset, TILE_KNEE, weaponShade, weaponBits, kneePal); else - G_DrawTileScaled(weaponX + 160 - halfLookAng, weaponY + 214 - weaponYOffset, KNEE + 1, + G_DrawTileScaled(weaponX + 160 - halfLookAng, weaponY + 214 - weaponYOffset, TILE_KNEE + 1, weaponShade, weaponBits, kneePal); guniqhudid = 0; break; @@ -2552,13 +2552,13 @@ void P_DisplayWeapon(void) weaponY += ((*weaponFrame) << 3); else if ((*weaponFrame) < 4) G_DrawWeaponTileWithID(currentWeapon << 2, weaponX + 142 - halfLookAng, - weaponY + 234 - weaponYOffset, HANDHOLDINGLASER + 3, weaponShade, weaponBits, weaponPal); + weaponY + 234 - weaponYOffset, TILE_HANDHOLDINGLASER + 3, weaponShade, weaponBits, weaponPal); G_DrawWeaponTileWithID(currentWeapon, weaponX + 130 - halfLookAng, weaponY + 249 - weaponYOffset, - HANDHOLDINGLASER + ((*weaponFrame) >> 2), weaponShade, weaponBits, weaponPal); + TILE_HANDHOLDINGLASER + ((*weaponFrame) >> 2), weaponShade, weaponBits, weaponPal); G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 152 - halfLookAng, - weaponY + 249 - weaponYOffset, HANDHOLDINGLASER + ((*weaponFrame) >> 2), weaponShade, weaponBits | 4, + weaponY + 249 - weaponYOffset, TILE_HANDHOLDINGLASER + ((*weaponFrame) >> 2), weaponShade, weaponBits | 4, weaponPal); break; @@ -2574,7 +2574,7 @@ void P_DisplayWeapon(void) int totalTime; if (*weaponFrame < (WW2GI ? (totalTime = PWEAPON(screenpeek, pPlayer->curr_weapon, TotalTime)) : 8)) G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 164, (weaponY << 1) + 176 - weaponYOffset, - RPGGUN + ((*weaponFrame) >> 1), weaponShade, weaponBits, weaponPal); + TILE_RPGGUN + ((*weaponFrame) >> 1), weaponShade, weaponBits, weaponPal); else if (WW2GI) { totalTime = PWEAPON(screenpeek, pPlayer->curr_weapon, TotalTime); @@ -2586,7 +2586,7 @@ void P_DisplayWeapon(void) } } - G_DrawWeaponTileWithID(currentWeapon, weaponX + 164, (weaponY << 1) + 176 - weaponYOffset, RPGGUN, weaponShade, + G_DrawWeaponTileWithID(currentWeapon, weaponX + 164, (weaponY << 1) + 176 - weaponYOffset, TILE_RPGGUN, weaponShade, weaponBits, weaponPal); break; @@ -2607,12 +2607,12 @@ void P_DisplayWeapon(void) if (*weaponFrame == 0) { G_DrawWeaponTileWithID(currentWeapon, weaponX + 146 - halfLookAng, weaponY + 202 - weaponYOffset, - SHOTGUN, weaponShade, weaponBits, weaponPal); + TILE_SHOTGUN, weaponShade, weaponBits, weaponPal); } else if (*weaponFrame <= totalTime) { G_DrawWeaponTileWithID(currentWeapon, weaponX + 146 - halfLookAng, weaponY + 202 - weaponYOffset, - SHOTGUN + 1, weaponShade, weaponBits, weaponPal); + TILE_SHOTGUN + 1, weaponShade, weaponBits, weaponPal); } // else we are in 'reload time' else @@ -2622,7 +2622,7 @@ void P_DisplayWeapon(void) : 10 * (reloadTime - (*weaponFrame)); // U G_DrawWeaponTileWithID(currentWeapon, weaponX + 146 - halfLookAng, weaponY + 202 - weaponYOffset, - SHOTGUN, weaponShade, weaponBits, weaponPal); + TILE_SHOTGUN, weaponShade, weaponBits, weaponPal); } break; @@ -2633,14 +2633,14 @@ void P_DisplayWeapon(void) case 1: case 2: G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 168 - halfLookAng, weaponY + 201 - weaponYOffset, - SHOTGUN + 2, -128, weaponBits, weaponPal); + TILE_SHOTGUN + 2, -128, weaponBits, weaponPal); fallthrough__; case 0: case 6: case 7: case 8: G_DrawWeaponTileWithID(currentWeapon, weaponX + 146 - halfLookAng, weaponY + 202 - weaponYOffset, - SHOTGUN, weaponShade, weaponBits, weaponPal); + TILE_SHOTGUN, weaponShade, weaponBits, weaponPal); break; case 3: @@ -2649,7 +2649,7 @@ void P_DisplayWeapon(void) weaponX += 20; G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 178 - halfLookAng, weaponY + 194 - weaponYOffset, - SHOTGUN + 1 + ((*(weaponFrame)-1) >> 1), -128, weaponBits, weaponPal); + TILE_SHOTGUN + 1 + ((*(weaponFrame)-1) >> 1), -128, weaponBits, weaponPal); fallthrough__; case 5: case 9: @@ -2657,14 +2657,14 @@ void P_DisplayWeapon(void) case 11: case 12: G_DrawWeaponTileWithID(currentWeapon, weaponX + 158 - halfLookAng, weaponY + 220 - weaponYOffset, - SHOTGUN + 3, weaponShade, weaponBits, weaponPal); + TILE_SHOTGUN + 3, weaponShade, weaponBits, weaponPal); break; case 13: case 14: case 15: G_DrawWeaponTileWithID(currentWeapon, 32 + weaponX + 166 - halfLookAng, weaponY + 210 - weaponYOffset, - SHOTGUN + 4, weaponShade, weaponBits, weaponPal); + TILE_SHOTGUN + 4, weaponShade, weaponBits, weaponPal); break; case 16: @@ -2676,7 +2676,7 @@ void P_DisplayWeapon(void) case 26: case 27: G_DrawWeaponTileWithID(currentWeapon, 64 + weaponX + 170 - halfLookAng, weaponY + 196 - weaponYOffset, - SHOTGUN + 5, weaponShade, weaponBits, weaponPal); + TILE_SHOTGUN + 5, weaponShade, weaponBits, weaponPal); break; case 20: @@ -2684,7 +2684,7 @@ void P_DisplayWeapon(void) case 22: case 23: G_DrawWeaponTileWithID(currentWeapon, 64 + weaponX + 176 - halfLookAng, weaponY + 196 - weaponYOffset, - SHOTGUN + 6, weaponShade, weaponBits, weaponPal); + TILE_SHOTGUN + 6, weaponShade, weaponBits, weaponPal); break; @@ -2692,7 +2692,7 @@ void P_DisplayWeapon(void) case 29: case 30: G_DrawWeaponTileWithID(currentWeapon, 32 + weaponX + 156 - halfLookAng, weaponY + 206 - weaponYOffset, - SHOTGUN + 4, weaponShade, weaponBits, weaponPal); + TILE_SHOTGUN + 4, weaponShade, weaponBits, weaponPal); break; } break; @@ -2714,20 +2714,20 @@ void P_DisplayWeapon(void) if (*weaponFrame == 0) { G_DrawWeaponTileWithID(currentWeapon, weaponX + 178 - halfLookAng,weaponY+233-weaponYOffset, - CHAINGUN+1,weaponShade,weaponBits,weaponPal); + TILE_CHAINGUN+1,weaponShade,weaponBits,weaponPal); } else if (*weaponFrame <= totalTime) { G_DrawWeaponTileWithID(currentWeapon, weaponX + 188 - halfLookAng,weaponY+243-weaponYOffset, - CHAINGUN+2,weaponShade,weaponBits,weaponPal); + TILE_CHAINGUN+2,weaponShade,weaponBits,weaponPal); } // else we are in 'reload time' // divide reload time into fifths.. - // 1) move weapon up/right, hand on clip (CHAINGUN - 17) - // 2) move weapon up/right, hand removing clip (CHAINGUN - 18) - // 3) hold weapon up/right, hand removed clip (CHAINGUN - 19) - // 4) hold weapon up/right, hand inserting clip (CHAINGUN - 18) - // 5) move weapon down/left, clip inserted (CHAINGUN - 17) + // 1) move weapon up/right, hand on clip (TILE_CHAINGUN - 17) + // 2) move weapon up/right, hand removing clip (TILE_CHAINGUN - 18) + // 3) hold weapon up/right, hand removed clip (TILE_CHAINGUN - 19) + // 4) hold weapon up/right, hand inserting clip (TILE_CHAINGUN - 18) + // 5) move weapon down/left, clip inserted (TILE_CHAINGUN - 17) else { int iFifths = (reloadTime - totalTime) / 5; @@ -2740,7 +2740,7 @@ void P_DisplayWeapon(void) int const weaponOffset = 80 - 10 * (totalTime + iFifths - (*weaponFrame)); weaponYOffset += weaponOffset; weaponX += weaponOffset; - G_DrawWeaponTileWithID(currentWeapon, weaponX + 168 - halfLookAng, weaponY + 260 - weaponYOffset, CHAINGUN - 17, + G_DrawWeaponTileWithID(currentWeapon, weaponX + 168 - halfLookAng, weaponY + 260 - weaponYOffset, TILE_CHAINGUN - 17, weaponShade, weaponBits, weaponPal); } else if (*weaponFrame < (iFifths * 2 + totalTime)) @@ -2748,7 +2748,7 @@ void P_DisplayWeapon(void) // second segment weaponYOffset += 80; // D weaponX += 80; - G_DrawWeaponTileWithID(currentWeapon, weaponX + 168 - halfLookAng, weaponY + 260 - weaponYOffset, CHAINGUN - 18, + G_DrawWeaponTileWithID(currentWeapon, weaponX + 168 - halfLookAng, weaponY + 260 - weaponYOffset, TILE_CHAINGUN - 18, weaponShade, weaponBits, weaponPal); } else if (*weaponFrame < (iFifths * 3 + totalTime)) @@ -2757,7 +2757,7 @@ void P_DisplayWeapon(void) // up weaponYOffset += 80; weaponX += 80; - G_DrawWeaponTileWithID(currentWeapon, weaponX + 168 - halfLookAng, weaponY + 260 - weaponYOffset, CHAINGUN - 19, + G_DrawWeaponTileWithID(currentWeapon, weaponX + 168 - halfLookAng, weaponY + 260 - weaponYOffset, TILE_CHAINGUN - 19, weaponShade, weaponBits, weaponPal); } else if (*weaponFrame < (iFifths * 4 + totalTime)) @@ -2766,7 +2766,7 @@ void P_DisplayWeapon(void) // down weaponYOffset += 80; // D weaponX += 80; - G_DrawWeaponTileWithID(currentWeapon, weaponX + 168 - halfLookAng, weaponY + 260 - weaponYOffset, CHAINGUN - 18, + G_DrawWeaponTileWithID(currentWeapon, weaponX + 168 - halfLookAng, weaponY + 260 - weaponYOffset, TILE_CHAINGUN - 18, weaponShade, weaponBits, weaponPal); } else @@ -2775,7 +2775,7 @@ void P_DisplayWeapon(void) int const weaponOffset = 10 * (reloadTime - (*weaponFrame)); weaponYOffset += weaponOffset; // U weaponX += weaponOffset; - G_DrawWeaponTileWithID(currentWeapon, weaponX + 168 - halfLookAng, weaponY + 260 - weaponYOffset, CHAINGUN - 17, + G_DrawWeaponTileWithID(currentWeapon, weaponX + 168 - halfLookAng, weaponY + 260 - weaponYOffset, TILE_CHAINGUN - 17, weaponShade, weaponBits, weaponPal); } } @@ -2787,7 +2787,7 @@ void P_DisplayWeapon(void) { case 0: G_DrawWeaponTileWithID(currentWeapon, weaponX + 178 - (pPlayer->look_ang >> 1), weaponY + 233 - weaponYOffset, - CHAINGUN + 1, weaponShade, weaponBits, weaponPal); + TILE_CHAINGUN + 1, weaponShade, weaponBits, weaponPal); break; default: @@ -2796,11 +2796,11 @@ void P_DisplayWeapon(void) int randomOffset = doAnim ? rand()&7 : 0; G_DrawWeaponTileWithID(currentWeapon << 2, randomOffset + weaponX - 4 + 140 - (pPlayer->look_ang >> 1), randomOffset + weaponY - ((*weaponFrame) >> 1) + 208 - weaponYOffset, - CHAINGUN + 5 + ((*weaponFrame - 4) / 5), weaponShade, weaponBits, weaponPal); + TILE_CHAINGUN + 5 + ((*weaponFrame - 4) / 5), weaponShade, weaponBits, weaponPal); if (doAnim) randomOffset = rand()&7; G_DrawWeaponTileWithID(currentWeapon << 2, randomOffset + weaponX - 4 + 184 - (pPlayer->look_ang >> 1), randomOffset + weaponY - ((*weaponFrame) >> 1) + 208 - weaponYOffset, - CHAINGUN + 5 + ((*weaponFrame - 4) / 5), weaponShade, weaponBits, weaponPal); + TILE_CHAINGUN + 5 + ((*weaponFrame - 4) / 5), weaponShade, weaponBits, weaponPal); } if (*weaponFrame < 8) @@ -2808,19 +2808,19 @@ void P_DisplayWeapon(void) int const randomOffset = doAnim ? rand()&7 : 0; G_DrawWeaponTileWithID(currentWeapon << 2, randomOffset + weaponX - 4 + 162 - (pPlayer->look_ang >> 1), randomOffset + weaponY - ((*weaponFrame) >> 1) + 208 - weaponYOffset, - CHAINGUN + 5 + ((*weaponFrame - 2) / 5), weaponShade, weaponBits, weaponPal); + TILE_CHAINGUN + 5 + ((*weaponFrame - 2) / 5), weaponShade, weaponBits, weaponPal); G_DrawWeaponTileWithID(currentWeapon, weaponX + 178 - (pPlayer->look_ang >> 1), weaponY + 233 - weaponYOffset, - CHAINGUN + 1 + ((*weaponFrame) >> 1), weaponShade, weaponBits, weaponPal); + TILE_CHAINGUN + 1 + ((*weaponFrame) >> 1), weaponShade, weaponBits, weaponPal); } else G_DrawWeaponTileWithID(currentWeapon, weaponX + 178 - (pPlayer->look_ang >> 1), weaponY + 233 - weaponYOffset, - CHAINGUN + 1, weaponShade, weaponBits, weaponPal); + TILE_CHAINGUN + 1, weaponShade, weaponBits, weaponPal); break; } G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 168 - (pPlayer->look_ang >> 1), weaponY + 260 - weaponYOffset, - CHAINGUN, weaponShade, weaponBits, weaponPal); + TILE_CHAINGUN, weaponShade, weaponBits, weaponPal); break; case PISTOL_WEAPON__STATIC: @@ -2833,7 +2833,7 @@ void P_DisplayWeapon(void) pistolOffset -= 3; G_DrawWeaponTileWithID(currentWeapon, (pistolOffset - (pPlayer->look_ang >> 1)), (weaponY + 244 - weaponYOffset), - FIRSTGUN + pistolFrames[*weaponFrame > 2 ? 0 : *weaponFrame], weaponShade, 2, + TILE_FIRSTGUN + pistolFrames[*weaponFrame > 2 ? 0 : *weaponFrame], weaponShade, 2, weaponPal); break; @@ -2843,41 +2843,41 @@ void P_DisplayWeapon(void) weaponBits |= 512; if ((*weaponFrame) < 10) - G_DrawWeaponTileWithID(currentWeapon, 194 - (pPlayer->look_ang >> 1), weaponY + 230 - weaponYOffset, FIRSTGUN + 4, + G_DrawWeaponTileWithID(currentWeapon, 194 - (pPlayer->look_ang >> 1), weaponY + 230 - weaponYOffset, TILE_FIRSTGUN + 4, weaponShade, weaponBits, weaponPal); else if ((*weaponFrame) < 15) { G_DrawWeaponTileWithID(currentWeapon << 1, 244 - ((*weaponFrame) << 3) - (pPlayer->look_ang >> 1), - weaponY + 130 - weaponYOffset + ((*weaponFrame) << 4), FIRSTGUN + 6, weaponShade, + weaponY + 130 - weaponYOffset + ((*weaponFrame) << 4), TILE_FIRSTGUN + 6, weaponShade, weaponBits, weaponPal); - G_DrawWeaponTileWithID(currentWeapon, 224 - (pPlayer->look_ang >> 1), weaponY + 220 - weaponYOffset, FIRSTGUN + 5, + G_DrawWeaponTileWithID(currentWeapon, 224 - (pPlayer->look_ang >> 1), weaponY + 220 - weaponYOffset, TILE_FIRSTGUN + 5, weaponShade, weaponBits, weaponPal); } else if ((*weaponFrame) < 20) { G_DrawWeaponTileWithID(currentWeapon << 1, 124 + ((*weaponFrame) << 1) - (pPlayer->look_ang >> 1), - weaponY + 430 - weaponYOffset - ((*weaponFrame) << 3), FIRSTGUN + 6, weaponShade, + weaponY + 430 - weaponYOffset - ((*weaponFrame) << 3), TILE_FIRSTGUN + 6, weaponShade, weaponBits, weaponPal); - G_DrawWeaponTileWithID(currentWeapon, 224 - (pPlayer->look_ang >> 1), weaponY + 220 - weaponYOffset, FIRSTGUN + 5, + G_DrawWeaponTileWithID(currentWeapon, 224 - (pPlayer->look_ang >> 1), weaponY + 220 - weaponYOffset, TILE_FIRSTGUN + 5, weaponShade, weaponBits, weaponPal); } else if ((*weaponFrame) < (WW2GI ? PWEAPON(screenpeek, PISTOL_WEAPON, Reload) - 12 : (NAM ? 38 : 23))) { G_DrawWeaponTileWithID(currentWeapon << 2, 184 - (pPlayer->look_ang >> 1), weaponY + 235 - weaponYOffset, - FIRSTGUN + 8, weaponShade, weaponBits, weaponPal); - G_DrawWeaponTileWithID(currentWeapon, 224 - (pPlayer->look_ang >> 1), weaponY + 210 - weaponYOffset, FIRSTGUN + 5, + TILE_FIRSTGUN + 8, weaponShade, weaponBits, weaponPal); + G_DrawWeaponTileWithID(currentWeapon, 224 - (pPlayer->look_ang >> 1), weaponY + 210 - weaponYOffset, TILE_FIRSTGUN + 5, weaponShade, weaponBits, weaponPal); } else if ((*weaponFrame) < (WW2GI ? PWEAPON(screenpeek, PISTOL_WEAPON, Reload) - 6 : (NAM ? 44 : 25))) { G_DrawWeaponTileWithID(currentWeapon << 2, 164 - (pPlayer->look_ang >> 1), weaponY + 245 - weaponYOffset, - FIRSTGUN + 8, weaponShade, weaponBits, weaponPal); - G_DrawWeaponTileWithID(currentWeapon, 224 - (pPlayer->look_ang >> 1), weaponY + 220 - weaponYOffset, FIRSTGUN + 5, + TILE_FIRSTGUN + 8, weaponShade, weaponBits, weaponPal); + G_DrawWeaponTileWithID(currentWeapon, 224 - (pPlayer->look_ang >> 1), weaponY + 220 - weaponYOffset, TILE_FIRSTGUN + 5, weaponShade, weaponBits, weaponPal); } else if ((*weaponFrame) < (WW2GI ? PWEAPON(screenpeek, PISTOL_WEAPON, Reload) : (NAM ? 50 : 27))) - G_DrawWeaponTileWithID(currentWeapon, 194 - (pPlayer->look_ang >> 1), weaponY + 235 - weaponYOffset, FIRSTGUN + 5, + G_DrawWeaponTileWithID(currentWeapon, 194 - (pPlayer->look_ang >> 1), weaponY + 235 - weaponYOffset, TILE_FIRSTGUN + 5, weaponShade, weaponBits, weaponPal); break; @@ -2931,7 +2931,7 @@ void P_DisplayWeapon(void) } G_DrawWeaponTileWithID(currentWeapon, weaponX + 190 - halfLookAng, weaponY + 260 - weaponYOffset, - HANDTHROW + pipebombFrames[(*weaponFrame)], weaponShade, weaponBits, weaponPal); + TILE_HANDTHROW + pipebombFrames[(*weaponFrame)], weaponShade, weaponBits, weaponPal); } break; @@ -2944,7 +2944,7 @@ void P_DisplayWeapon(void) weaponX = -48; G_DrawWeaponTileWithID(currentWeapon, weaponX + 150 - halfLookAng, weaponY + 258 - weaponYOffset, - HANDREMOTE + remoteFrames[(*weaponFrame)], weaponShade, weaponBits, weaponPal); + TILE_HANDREMOTE + remoteFrames[(*weaponFrame)], weaponShade, weaponBits, weaponPal); } break; @@ -2963,15 +2963,15 @@ void P_DisplayWeapon(void) if (pPlayer->ammo_amount[pPlayer->curr_weapon] & 1) { G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 30 - halfLookAng, weaponY + 240 - weaponYOffset, - DEVISTATOR, weaponShade, weaponBits | 4, weaponPal); + TILE_DEVISTATOR, weaponShade, weaponBits | 4, weaponPal); G_DrawWeaponTileWithID(currentWeapon, weaponX + 268 - halfLookAng, weaponY + 238 - weaponYOffset, - DEVISTATOR + tileOffset, -32, weaponBits, weaponPal); + TILE_DEVISTATOR + tileOffset, -32, weaponBits, weaponPal); } else { G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 30 - halfLookAng, weaponY + 240 - weaponYOffset, - DEVISTATOR + tileOffset, -32, weaponBits | 4, weaponPal); - G_DrawWeaponTileWithID(currentWeapon, weaponX + 268 - halfLookAng, weaponY + 238 - weaponYOffset, DEVISTATOR, + TILE_DEVISTATOR + tileOffset, -32, weaponBits | 4, weaponPal); + G_DrawWeaponTileWithID(currentWeapon, weaponX + 268 - halfLookAng, weaponY + 238 - weaponYOffset, TILE_DEVISTATOR, weaponShade, weaponBits, weaponPal); } } @@ -2982,17 +2982,17 @@ void P_DisplayWeapon(void) ? 10 * ((*weaponFrame) - totalTime) : 10 * (reloadTime - (*weaponFrame)); - G_DrawWeaponTileWithID(currentWeapon, weaponX + 268 - halfLookAng, weaponY + 238 - weaponYOffset, DEVISTATOR, + G_DrawWeaponTileWithID(currentWeapon, weaponX + 268 - halfLookAng, weaponY + 238 - weaponYOffset, TILE_DEVISTATOR, weaponShade, weaponBits, weaponPal); - G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 30 - halfLookAng, weaponY + 240 - weaponYOffset, DEVISTATOR, + G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 30 - halfLookAng, weaponY + 240 - weaponYOffset, TILE_DEVISTATOR, weaponShade, weaponBits | 4, weaponPal); } } else { - G_DrawWeaponTileWithID(currentWeapon, weaponX + 268 - halfLookAng, weaponY + 238 - weaponYOffset, DEVISTATOR, + G_DrawWeaponTileWithID(currentWeapon, weaponX + 268 - halfLookAng, weaponY + 238 - weaponYOffset, TILE_DEVISTATOR, weaponShade, weaponBits, weaponPal); - G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 30 - halfLookAng, weaponY + 240 - weaponYOffset, DEVISTATOR, + G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 30 - halfLookAng, weaponY + 240 - weaponYOffset, TILE_DEVISTATOR, weaponShade, weaponBits | 4, weaponPal); } break; @@ -3011,24 +3011,24 @@ void P_DisplayWeapon(void) { G_DrawWeaponTileWithID(currentWeapon, (devastatorFrames[*weaponFrame] >> 1) + weaponX + 268 - halfLookAng, devastatorFrames[*weaponFrame] + weaponY + 238 - weaponYOffset, - DEVISTATOR + tileOffset, -32, weaponBits, weaponPal); - G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 30 - halfLookAng, weaponY + 240 - weaponYOffset, DEVISTATOR, + TILE_DEVISTATOR + tileOffset, -32, weaponBits, weaponPal); + G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 30 - halfLookAng, weaponY + 240 - weaponYOffset, TILE_DEVISTATOR, weaponShade, weaponBits | 4, weaponPal); } else { G_DrawWeaponTileWithID(currentWeapon << 1, -(devastatorFrames[*weaponFrame] >> 1) + weaponX + 30 - halfLookAng, devastatorFrames[*weaponFrame] + weaponY + 240 - weaponYOffset, - DEVISTATOR + tileOffset, -32, weaponBits | 4, weaponPal); - G_DrawWeaponTileWithID(currentWeapon, weaponX + 268 - halfLookAng, weaponY + 238 - weaponYOffset, DEVISTATOR, + TILE_DEVISTATOR + tileOffset, -32, weaponBits | 4, weaponPal); + G_DrawWeaponTileWithID(currentWeapon, weaponX + 268 - halfLookAng, weaponY + 238 - weaponYOffset, TILE_DEVISTATOR, weaponShade, weaponBits, weaponPal); } } else { - G_DrawWeaponTileWithID(currentWeapon, weaponX + 268 - halfLookAng, weaponY + 238 - weaponYOffset, DEVISTATOR, weaponShade, + G_DrawWeaponTileWithID(currentWeapon, weaponX + 268 - halfLookAng, weaponY + 238 - weaponYOffset, TILE_DEVISTATOR, weaponShade, weaponBits, weaponPal); - G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 30 - halfLookAng, weaponY + 240 - weaponYOffset, DEVISTATOR, + G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 30 - halfLookAng, weaponY + 240 - weaponYOffset, TILE_DEVISTATOR, weaponShade, weaponBits | 4, weaponPal); } break; @@ -3051,13 +3051,13 @@ void P_DisplayWeapon(void) } weaponYOffset -= 16; G_DrawWeaponTileWithID(currentWeapon << 1, weaponX + 210 - (pPlayer->look_ang >> 1), weaponY + 261 - weaponYOffset, - FREEZE + 2, -32, weaponBits, weaponPal); + TILE_FREEZE + 2, -32, weaponBits, weaponPal); G_DrawWeaponTileWithID(currentWeapon, weaponX + 210 - (pPlayer->look_ang >> 1), weaponY + 235 - weaponYOffset, - FREEZE + 3 + freezerFrames[*weaponFrame % 6], -32, weaponBits, weaponPal); + TILE_FREEZE + 3 + freezerFrames[*weaponFrame % 6], -32, weaponBits, weaponPal); } else G_DrawWeaponTileWithID(currentWeapon, weaponX + 210 - (pPlayer->look_ang >> 1), weaponY + 261 - weaponYOffset, - FREEZE, weaponShade, weaponBits, weaponPal); + TILE_FREEZE, weaponShade, weaponBits, weaponPal); break; case GROW_WEAPON__STATIC: @@ -3072,15 +3072,15 @@ void P_DisplayWeapon(void) // the 'at rest' display if (currentWeapon == GROW_WEAPON) { - G_DrawWeaponTileWithID(currentWeapon, weaponX + 188 - halfLookAng, weaponY + 240 - weaponYOffset, SHRINKER - 2, + G_DrawWeaponTileWithID(currentWeapon, weaponX + 188 - halfLookAng, weaponY + 240 - weaponYOffset, TILE_SHRINKER - 2, weaponShade, weaponBits, weaponPal); break; } else if (pPlayer->ammo_amount[currentWeapon] > 0) { - G_DrawWeaponTileUnfadedWithID(currentWeapon << 1, weaponX + 184 - halfLookAng, weaponY + 240 - weaponYOffset, SHRINKER + 2, + G_DrawWeaponTileUnfadedWithID(currentWeapon << 1, weaponX + 184 - halfLookAng, weaponY + 240 - weaponYOffset, TILE_SHRINKER + 2, 16 - (sintable[pPlayer->random_club_frame & 2047] >> 10), weaponBits, 0); - G_DrawWeaponTileWithID(currentWeapon, weaponX + 188 - halfLookAng, weaponY + 240 - weaponYOffset, SHRINKER, + G_DrawWeaponTileWithID(currentWeapon, weaponX + 188 - halfLookAng, weaponY + 240 - weaponYOffset, TILE_SHRINKER, weaponShade, weaponBits, weaponPal); break; } @@ -3116,10 +3116,10 @@ void P_DisplayWeapon(void) } G_DrawWeaponTileUnfadedWithID(currentWeapon << 1, weaponX + 184 - halfLookAng, weaponY + 240 - weaponYOffset, - SHRINKER + 3 + ((*weaponFrame) & 3), -32, weaponBits, currentWeapon == GROW_WEAPON ? 2 : 0); + TILE_SHRINKER + 3 + ((*weaponFrame) & 3), -32, weaponBits, currentWeapon == GROW_WEAPON ? 2 : 0); G_DrawWeaponTileWithID(currentWeapon, weaponX + 188 - halfLookAng, weaponY + 240 - weaponYOffset, - SHRINKER + (currentWeapon == GROW_WEAPON ? -1 : 1), weaponShade, weaponBits, weaponPal); + TILE_SHRINKER + (currentWeapon == GROW_WEAPON ? -1 : 1), weaponShade, weaponBits, weaponPal); break; } @@ -3133,17 +3133,17 @@ void P_DisplayWeapon(void) } G_DrawWeaponTileUnfadedWithID(currentWeapon << 1, weaponX + 184 - halfLookAng, weaponY + 240 - weaponYOffset, - SHRINKER + 3 + ((*weaponFrame) & 3), -32, weaponBits, currentWeapon == GROW_WEAPON ? 2 : 0); + TILE_SHRINKER + 3 + ((*weaponFrame) & 3), -32, weaponBits, currentWeapon == GROW_WEAPON ? 2 : 0); G_DrawWeaponTileWithID(currentWeapon, weaponX + 188 - halfLookAng, weaponY + 240 - weaponYOffset, - currentWeapon == GROW_WEAPON ? SHRINKER - 1 : SHRINKER + 1, weaponShade, weaponBits, weaponPal); + currentWeapon == GROW_WEAPON ? TILE_SHRINKER - 1 : TILE_SHRINKER + 1, weaponShade, weaponBits, weaponPal); } else { G_DrawWeaponTileUnfadedWithID(currentWeapon << 1, weaponX + 184 - halfLookAng, weaponY + 240 - weaponYOffset, - SHRINKER + 2, 16 - (sintable[pPlayer->random_club_frame & 2047] >> 10), weaponBits, + TILE_SHRINKER + 2, 16 - (sintable[pPlayer->random_club_frame & 2047] >> 10), weaponBits, currentWeapon == GROW_WEAPON ? 2 : 0); G_DrawWeaponTileWithID(currentWeapon, weaponX + 188 - halfLookAng, weaponY + 240 - weaponYOffset, - currentWeapon == GROW_WEAPON ? SHRINKER - 2 : SHRINKER, weaponShade, weaponBits, weaponPal); + currentWeapon == GROW_WEAPON ? TILE_SHRINKER - 2 : TILE_SHRINKER, weaponShade, weaponBits, weaponPal); } break; } @@ -4424,7 +4424,7 @@ static int32_t P_DoCounters(int playerNum) pPlayer->last_quick_kick = pPlayer->quick_kick + 1; if (--pPlayer->quick_kick == 8) - A_Shoot(pPlayer->i, KNEE); + A_Shoot(pPlayer->i, TILE_KNEE); } else if (pPlayer->last_quick_kick > 0) --pPlayer->last_quick_kick; @@ -4601,7 +4601,7 @@ void P_DropWeapon(int const playerNum) { if (pPlayer->on_motorcycle) { - int const newSprite = A_Spawn(pPlayer->i, EMPTYBIKE); + int const newSprite = A_Spawn(pPlayer->i, TILE_EMPTYBIKE); sprite[newSprite].ang = fix16_to_int(pPlayer->q16ang); sprite[newSprite].owner = pPlayer->ammo_amount[MOTORCYCLE_WEAPON]; pPlayer->on_motorcycle = 0; @@ -4617,7 +4617,7 @@ void P_DropWeapon(int const playerNum) } else if (pPlayer->on_boat) { - int const newSprite = A_Spawn(pPlayer->i, EMPTYBOAT); + int const newSprite = A_Spawn(pPlayer->i, TILE_EMPTYBOAT); sprite[newSprite].ang = fix16_to_int(pPlayer->q16ang); sprite[newSprite].owner = pPlayer->ammo_amount[BOAT_WEAPON]; pPlayer->on_boat = 0; @@ -4645,7 +4645,7 @@ void P_DropWeapon(int const playerNum) if (!RRRA) break; fallthrough__; case RPG_WEAPON__STATIC: - case HANDBOMB_WEAPON__STATIC: A_Spawn(pPlayer->i, EXPLOSION2); break; + case HANDBOMB_WEAPON__STATIC: A_Spawn(pPlayer->i, TILE_EXPLOSION2); break; } if (RR) @@ -4654,7 +4654,7 @@ void P_DropWeapon(int const playerNum) { if (pPlayer->keys[key] == 1) { - int const newSprite = A_Spawn(pPlayer->i, ACCESSCARD); + int const newSprite = A_Spawn(pPlayer->i, TILE_ACCESSCARD); switch (key) { case 1: @@ -4885,7 +4885,7 @@ static void P_CheckTouchDamage(DukePlayer_t *pPlayer, int touchObject) } return; } - if (sprite[touchSprite].picnum == CACTUS) + if (sprite[touchSprite].picnum == TILE_CACTUS) { if (pPlayer->hurt_delay < 8) { @@ -5113,13 +5113,13 @@ void P_FragPlayer(int playerNum) } else { - if (actor[pPlayer->i].picnum != APLAYERTOP) + if (actor[pPlayer->i].picnum != TILE_APLAYERTOP) { pPlayer->fraggedself++; if ((unsigned)pPlayer->wackedbyactor < MAXTILES && A_CheckEnemyTile(sprite[pPlayer->wackedbyactor].picnum)) Bsprintf(tempbuf, quoteMgr.GetQuote(OBITQUOTEINDEX + (krand2() % g_numObituaries)), "A monster", &g_player[playerNum].user_name[0]); - else if (actor[pPlayer->i].picnum == NUKEBUTTON) + else if (actor[pPlayer->i].picnum == TILE_NUKEBUTTON) Bsprintf(tempbuf, "^02%s^02 tried to leave", &g_player[playerNum].user_name[0]); else { @@ -5312,7 +5312,7 @@ static void P_ProcessWeapon(int playerNum) } break; } - if (pPlayer->curr_weapon == BOWLINGBALL) + if (pPlayer->curr_weapon == TILE_BOWLINGBALL) break; if (pPlayer->ammo_amount[pPlayer->curr_weapon] > 0) { @@ -5327,13 +5327,13 @@ static void P_ProcessWeapon(int playerNum) break; if (hitData.wall >= 0 && wall[hitData.wall].overpicnum >= 0) - if (wall[hitData.wall].overpicnum == BIGFORCE) + if (wall[hitData.wall].overpicnum == TILE_BIGFORCE) break; int spriteNum = headspritesect[hitData.sect]; while (spriteNum >= 0) { - if (sprite[spriteNum].picnum == TRIPBOMB && klabs(sprite[spriteNum].z - hitData.pos.z) < ZOFFSET4 && + if (sprite[spriteNum].picnum == TILE_TRIPBOMB && klabs(sprite[spriteNum].z - hitData.pos.z) < ZOFFSET4 && ((sprite[spriteNum].x - hitData.pos.x) * (sprite[spriteNum].x - hitData.pos.x) + (sprite[spriteNum].y - hitData.pos.y) * (sprite[spriteNum].y - hitData.pos.y)) < (290 * 290)) break; @@ -5427,7 +5427,7 @@ static void P_ProcessWeapon(int playerNum) (*weaponFrame) = 1; break; } - if (RRRA && pPlayer->curr_weapon == SLINGBLADE) break; + if (RRRA && pPlayer->curr_weapon == TILE_SLINGBLADE) break; if (pPlayer->quick_kick == 0) { (*weaponFrame) = 1; @@ -5514,7 +5514,7 @@ static void P_ProcessWeapon(int playerNum) int pipeSpriteNum = A_InsertSprite(pPlayer->cursectnum, pPlayer->pos.x+(sintable[(fix16_to_int(pPlayer->q16ang)+512)&2047]>>6), pPlayer->pos.y+(sintable[fix16_to_int(pPlayer->q16ang)&2047]>>6), - pPlayer->pos.z,HEAVYHBOMB,-16,9,9, + pPlayer->pos.z,TILE_HEAVYHBOMB,-16,9,9, fix16_to_int(pPlayer->q16ang),(pipeBombFwdVel+(pPlayer->hbomb_hold_delay<<5))*2,pipeBombZvel,pPlayer->i,1); if (pipeBombFwdVel == 15) @@ -5556,7 +5556,7 @@ static void P_ProcessWeapon(int playerNum) case PISTOL_WEAPON__STATIC: if ((*weaponFrame) == 1) { - A_Shoot(pPlayer->i, SHOTSPARK1); + A_Shoot(pPlayer->i, TILE_SHOTSPARK1); A_PlaySound(PISTOL_FIRE, pPlayer->i); pPlayer->noise_radius = 8192; P_MadeNoise(playerNum); @@ -5613,16 +5613,16 @@ static void P_ProcessWeapon(int playerNum) pPlayer->shotgun_state[1] = 1; if ((*weaponFrame) == 4) { - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); pPlayer->ammo_amount[SHOTGUN_WEAPON]--; @@ -5640,16 +5640,16 @@ static void P_ProcessWeapon(int playerNum) { if (pPlayer->shotgun_state[1]) { - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); pPlayer->ammo_amount[SHOTGUN_WEAPON]--; @@ -5726,7 +5726,7 @@ static void P_ProcessWeapon(int playerNum) if (((*weaponFrame) % 3) == 0) { - spriteNum = A_Spawn(pPlayer->i, SHELL); + spriteNum = A_Spawn(pPlayer->i, TILE_SHELL); sprite[spriteNum].ang += 1024; sprite[spriteNum].ang &= 2047; @@ -5736,7 +5736,7 @@ static void P_ProcessWeapon(int playerNum) } A_PlaySound(CHAINGUN_FIRE, pPlayer->i); - A_Shoot(pPlayer->i, CHAINGUN); + A_Shoot(pPlayer->i, TILE_CHAINGUN); pPlayer->noise_radius = 8192; P_MadeNoise(playerNum); lastvisinc = (int32_t) totalclock + 32; @@ -5779,7 +5779,7 @@ static void P_ProcessWeapon(int playerNum) pus = 1; } - A_Shoot(pPlayer->i, GROWSPARK); + A_Shoot(pPlayer->i, TILE_GROWSPARK); pPlayer->noise_radius = 1024; P_MadeNoise(playerNum); @@ -5796,7 +5796,7 @@ static void P_ProcessWeapon(int playerNum) { pPlayer->ammo_amount[SHRINKER_WEAPON]--; - A_Shoot(pPlayer->i, SHRINKSPARK); + A_Shoot(pPlayer->i, TILE_SHRINKSPARK); P_CheckWeapon(pPlayer); } if (++(*weaponFrame) > 20) @@ -5811,7 +5811,7 @@ static void P_ProcessWeapon(int playerNum) flashColor = 255 + (95 << 8); lastvisinc = (int32_t) totalclock + 32; A_PlaySound(CHAINGUN_FIRE, pPlayer->i); - A_Shoot(pPlayer->i, SHOTSPARK1); + A_Shoot(pPlayer->i, TILE_SHOTSPARK1); pPlayer->noise_radius = 16384; P_MadeNoise(playerNum); pPlayer->ammo_amount[DEVISTATOR_WEAPON]--; @@ -5840,7 +5840,7 @@ static void P_ProcessWeapon(int playerNum) flashColor = 255 + (95 << 8); lastvisinc = (int32_t) totalclock + 32; A_PlaySound(CHAINGUN_FIRE, pPlayer->i); - A_Shoot(pPlayer->i, CHAINGUN); + A_Shoot(pPlayer->i, TILE_CHAINGUN); pPlayer->noise_radius = 16384; P_MadeNoise(playerNum); pPlayer->ammo_amount[MOTORCYCLE_WEAPON]--; @@ -5869,7 +5869,7 @@ static void P_ProcessWeapon(int playerNum) { pPlayer->moto_speed -= 20; pPlayer->ammo_amount[BOAT_WEAPON]--; - A_Shoot(pPlayer->i, RRTILE1790); + A_Shoot(pPlayer->i, TILE_RRTILE1790); } (*weaponFrame)++; if ((*weaponFrame) > 20) @@ -5886,7 +5886,7 @@ static void P_ProcessWeapon(int playerNum) case FREEZE_WEAPON__STATIC: (*weaponFrame)++; if ((*weaponFrame) >= 7 && (*weaponFrame) <= 11) - A_Shoot(pPlayer->i, FIRELASER); + A_Shoot(pPlayer->i, TILE_FIRELASER); if ((*weaponFrame) == 5) { @@ -5937,7 +5937,7 @@ static void P_ProcessWeapon(int playerNum) A_InsertSprite(pPlayer->cursectnum, pPlayer->pos.x+(sintable[(fix16_to_int(pPlayer->q16ang)+512)&2047]>>6), pPlayer->pos.y+(sintable[fix16_to_int(pPlayer->q16ang)&2047]>>6), - pPlayer->pos.z,TRIPBOMBSPRITE,-16,9,9, + pPlayer->pos.z,TILE_TRIPBOMBSPRITE,-16,9,9, fix16_to_int(pPlayer->q16ang),FwdVel*2,Zvel,pPlayer->i,1); } (*weaponFrame)++; @@ -5953,7 +5953,7 @@ static void P_ProcessWeapon(int playerNum) { pPlayer->ammo_amount[BOWLINGBALL_WEAPON]--; A_PlaySound(354, pPlayer->i); - A_Shoot(pPlayer->i, BOWLINGBALL); + A_Shoot(pPlayer->i, TILE_BOWLINGBALL); pPlayer->noise_radius = 1024; P_MadeNoise(playerNum); } @@ -5974,7 +5974,7 @@ static void P_ProcessWeapon(int playerNum) if ((*weaponFrame) == 12) { - A_Shoot(pPlayer->i, KNEE); + A_Shoot(pPlayer->i, TILE_KNEE); pPlayer->noise_radius = 1024; P_MadeNoise(playerNum); } @@ -5992,7 +5992,7 @@ static void P_ProcessWeapon(int playerNum) if ((*weaponFrame) == 8) { - A_Shoot(pPlayer->i, SLINGBLADE); + A_Shoot(pPlayer->i, TILE_SLINGBLADE); pPlayer->noise_radius = 1024; P_MadeNoise(playerNum); } @@ -6012,7 +6012,7 @@ static void P_ProcessWeapon(int playerNum) lastvisinc = (int32_t) totalclock + 32; pPlayer->visibility = 0; flashColor = 255+(95<<8); - A_Shoot(pPlayer->i, RPG); + A_Shoot(pPlayer->i, TILE_RPG); pPlayer->noise_radius = 32768; P_MadeNoise(playerNum); P_CheckWeapon(pPlayer); @@ -6031,7 +6031,7 @@ static void P_ProcessWeapon(int playerNum) lastvisinc = (int32_t) totalclock + 32; pPlayer->visibility = 0; flashColor = 255+(95<<8); - A_Shoot(pPlayer->i, RPG2); + A_Shoot(pPlayer->i, TILE_RPG2); pPlayer->noise_radius = 32768; P_MadeNoise(playerNum); P_CheckWeapon(pPlayer); @@ -6257,7 +6257,7 @@ static void P_ProcessWeapon(int playerNum) int pipeSpriteNum = A_InsertSprite(pPlayer->cursectnum, pPlayer->pos.x+(sintable[(fix16_to_int(pPlayer->q16ang)+512)&2047]>>6), pPlayer->pos.y+(sintable[fix16_to_int(pPlayer->q16ang)&2047]>>6), - pPlayer->pos.z,HEAVYHBOMB,-16,9,9, + pPlayer->pos.z,TILE_HEAVYHBOMB,-16,9,9, fix16_to_int(pPlayer->q16ang),(pipeBombFwdVel+(pPlayer->hbomb_hold_delay<<5)),pipeBombZvel,pPlayer->i,1); if (NAM) @@ -6323,7 +6323,7 @@ static void P_ProcessWeapon(int playerNum) case PISTOL_WEAPON__STATIC: if ((*weaponFrame) == 1) { - A_Shoot(pPlayer->i, SHOTSPARK1); + A_Shoot(pPlayer->i, TILE_SHOTSPARK1); A_PlaySound(PISTOL_FIRE, pPlayer->i); lastvisinc = (int32_t) totalclock+32; pPlayer->visibility = 0; @@ -6331,7 +6331,7 @@ static void P_ProcessWeapon(int playerNum) } else if ((*weaponFrame) == 2) { - A_Spawn(pPlayer->i, SHELL); + A_Spawn(pPlayer->i, TILE_SHELL); } if (++(*weaponFrame) >= 5) @@ -6365,13 +6365,13 @@ static void P_ProcessWeapon(int playerNum) case SHOTGUN_WEAPON__STATIC: if (++(*weaponFrame) == 4) { - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); - A_Shoot(pPlayer->i, SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); + A_Shoot(pPlayer->i, TILE_SHOTGUN); pPlayer->ammo_amount[SHOTGUN_WEAPON]--; @@ -6395,7 +6395,7 @@ static void P_ProcessWeapon(int playerNum) pPlayer->kickback_pic++; break; case 24: - spriteNum = A_Spawn(pPlayer->i, SHOTGUNSHELL); + spriteNum = A_Spawn(pPlayer->i, TILE_SHOTGUNSHELL); sprite[spriteNum].ang += 1024; A_SetSprite(spriteNum, CLIPMASK0); sprite[spriteNum].ang += 1024; @@ -6416,7 +6416,7 @@ static void P_ProcessWeapon(int playerNum) if (((*weaponFrame) % 3) == 0) { - spriteNum = A_Spawn(pPlayer->i, SHELL); + spriteNum = A_Spawn(pPlayer->i, TILE_SHELL); sprite[spriteNum].ang += 1024; sprite[spriteNum].ang &= 2047; @@ -6426,7 +6426,7 @@ static void P_ProcessWeapon(int playerNum) } A_PlaySound(CHAINGUN_FIRE, pPlayer->i); - A_Shoot(pPlayer->i, CHAINGUN); + A_Shoot(pPlayer->i, TILE_CHAINGUN); lastvisinc = (int32_t) totalclock + 32; pPlayer->visibility = 0; flashColor = 255+(95<<8); @@ -6471,7 +6471,7 @@ static void P_ProcessWeapon(int playerNum) pPlayer->ammo_amount[GROW_WEAPON]--; - A_Shoot(pPlayer->i, GROWSPARK); + A_Shoot(pPlayer->i, TILE_GROWSPARK); pPlayer->visibility = 0; flashColor = 216+(52<<8)+(20<<16); @@ -6508,7 +6508,7 @@ static void P_ProcessWeapon(int playerNum) pPlayer->ammo_amount[SHRINKER_WEAPON]--; - A_Shoot(pPlayer->i, SHRINKER); + A_Shoot(pPlayer->i, TILE_SHRINKER); if (!NAM) { @@ -6540,7 +6540,7 @@ static void P_ProcessWeapon(int playerNum) pPlayer->visibility = 0; flashColor = 255+(95<<8); lastvisinc = (int32_t) totalclock + 32; - A_Shoot(pPlayer->i, RPG); + A_Shoot(pPlayer->i, TILE_RPG); pPlayer->ammo_amount[DEVISTATOR_WEAPON]--; P_CheckWeapon(pPlayer); } @@ -6560,7 +6560,7 @@ static void P_ProcessWeapon(int playerNum) pPlayer->visibility = 0; flashColor = 72+(88<<8)+(140<<16); lastvisinc = (int32_t) totalclock + 32; - A_Shoot(pPlayer->i, FREEZEBLAST); + A_Shoot(pPlayer->i, TILE_FREEZEBLAST); P_CheckWeapon(pPlayer); } if (sprite[pPlayer->i].xrepeat < 32) @@ -6589,7 +6589,7 @@ static void P_ProcessWeapon(int playerNum) pPlayer->vel.z = 0; if ((*weaponFrame) == 3) { - A_Shoot(pPlayer->i, HANDHOLDINGLASER); + A_Shoot(pPlayer->i, TILE_HANDHOLDINGLASER); } } if ((*weaponFrame) == 16) @@ -6607,7 +6607,7 @@ static void P_ProcessWeapon(int playerNum) case KNEE_WEAPON__STATIC: if (++(*weaponFrame) == 7) { - A_Shoot(pPlayer->i, KNEE); + A_Shoot(pPlayer->i, TILE_KNEE); } else if ((*weaponFrame) == 14) { @@ -6634,7 +6634,7 @@ static void P_ProcessWeapon(int playerNum) lastvisinc = (int32_t) totalclock + 32; pPlayer->visibility = 0; flashColor = 255+(95<<8); - A_Shoot(pPlayer->i, RPG); + A_Shoot(pPlayer->i, TILE_RPG); P_CheckWeapon(pPlayer); } else if ((*weaponFrame) == 20) @@ -6681,7 +6681,7 @@ void P_EndLevel(void) static int P_DoFist(DukePlayer_t *pPlayer) { - // the fist punching NUKEBUTTON + // the fist punching TILE_NUKEBUTTON if (++(pPlayer->fist_incs) == 28) { @@ -6820,7 +6820,7 @@ static void P_DoWater(int const playerNum, int const playerBits, int const floor if (pPlayer->scuba_on && (krand2()&255) < 8) { - int const spriteNum = A_Spawn(pPlayer->i, WATERBUBBLE); + int const spriteNum = A_Spawn(pPlayer->i, TILE_WATERBUBBLE); int const q16ang = fix16_to_int(pPlayer->q16ang); sprite[spriteNum].x += sintable[(q16ang + 512 + 64 - (g_globalRandom & 128)+(RR ? 128 : 0)) & 2047] >> 6; @@ -7527,7 +7527,7 @@ void P_ProcessInput(int playerNum) while (spriteNum >= 0) { int const nextSprite = nextspritesect[spriteNum]; - if (sprite[spriteNum].picnum == RRTILE380) + if (sprite[spriteNum].picnum == TILE_RRTILE380) if (sprite[spriteNum].z - ZOFFSET3 < pPlayer->pos.z) sectorLotag = 2; spriteNum = nextSprite; @@ -7537,7 +7537,7 @@ void P_ProcessInput(int playerNum) if (ud.volume_number == 1 && ud.level_number == 6) g_lastLevel = 1; - if (sectorLotag == 848 && sector[pPlayer->cursectnum].floorpicnum == WATERTILE2) + if (sectorLotag == 848 && sector[pPlayer->cursectnum].floorpicnum == TILE_WATERTILE2) sectorLotag = 1; if (sectorLotag == 857) @@ -7580,7 +7580,7 @@ void P_ProcessInput(int playerNum) } if (RR) { - if (sprite[highZhit].picnum == RRTILE3587) + if (sprite[highZhit].picnum == TILE_RRTILE3587) { if (!pPlayer->stairs) { @@ -7617,7 +7617,7 @@ void P_ProcessInput(int playerNum) { if (A_CheckEnemySprite(&sprite[spriteNum])) { - actor[spriteNum].picnum = MOTOHIT; + actor[spriteNum].picnum = TILE_MOTOHIT; actor[spriteNum].extra = 2+(pPlayer->moto_speed>>1); pPlayer->moto_speed -= pPlayer->moto_speed >> 4; } @@ -7626,7 +7626,7 @@ void P_ProcessInput(int playerNum) { if (A_CheckEnemySprite(&sprite[spriteNum])) { - actor[spriteNum].picnum = MOTOHIT; + actor[spriteNum].picnum = TILE_MOTOHIT; actor[spriteNum].extra = 2+(pPlayer->moto_speed>>1); pPlayer->moto_speed -= pPlayer->moto_speed >> 4; } @@ -7649,7 +7649,7 @@ check_enemy_sprite: } if (RR) { - if (sprite[spriteNum].picnum == RRTILE3587) + if (sprite[spriteNum].picnum == TILE_RRTILE3587) { if (!pPlayer->stairs) { @@ -7664,7 +7664,7 @@ check_enemy_sprite: else pPlayer->stairs--; } - else if (sprite[spriteNum].picnum == TOILET || sprite[spriteNum].picnum == RRTILE2121) + else if (sprite[spriteNum].picnum == TILE_TOILET || sprite[spriteNum].picnum == TILE_RRTILE2121) { if (TEST_SYNC_KEY(playerBits, SK_CROUCH) && (!RRRA || !pPlayer->on_motorcycle)) { @@ -7832,7 +7832,7 @@ check_enemy_sprite: if (pPlayer->on_ground) pPlayer->bobcounter += sprite[pPlayer->i].xvel>>1; - if (ud.clipping == 0 && ((uint16_t)pPlayer->cursectnum >= MAXSECTORS || sector[pPlayer->cursectnum].floorpicnum == MIRROR)) + if (ud.clipping == 0 && ((uint16_t)pPlayer->cursectnum >= MAXSECTORS || sector[pPlayer->cursectnum].floorpicnum == TILE_MIRROR)) { pPlayer->pos.x = pPlayer->opos.x; pPlayer->pos.y = pPlayer->opos.y; @@ -7905,19 +7905,19 @@ check_enemy_sprite: if (pPlayer->on_ground == 1) { if (pPlayer->dummyplayersprite < 0) - pPlayer->dummyplayersprite = A_Spawn(pPlayer->i,PLAYERONWATER); + pPlayer->dummyplayersprite = A_Spawn(pPlayer->i,TILE_PLAYERONWATER); pPlayer->footprintcount = 6; //sprite[pPlayer->dummyplayersprite].cstat |= 32768; //sprite[pPlayer->dummyplayersprite].pal = sprite[pPlayer->i].pal; pPlayer->footprintpal = 0; pPlayer->footprintshade = 0; - if (sector[pPlayer->cursectnum].floorpicnum == FLOORSLIME) + if (sector[pPlayer->cursectnum].floorpicnum == TILE_FLOORSLIME) { pPlayer->footprintpal = 8; pPlayer->footprintshade = 0; } - else if (RRRA && (sector[pPlayer->cursectnum].floorpicnum == RRTILE7756 || sector[pPlayer->cursectnum].floorpicnum == RRTILE7888)) + else if (RRRA && (sector[pPlayer->cursectnum].floorpicnum == TILE_RRTILE7756 || sector[pPlayer->cursectnum].floorpicnum == TILE_RRTILE7888)) { pPlayer->footprintpal = 0; pPlayer->footprintshade = 40; @@ -7933,8 +7933,8 @@ check_enemy_sprite: for (spriteNum = headspritesect[pPlayer->cursectnum]; spriteNum >= 0; spriteNum = nextspritesect[spriteNum]) { - if (sprite[spriteNum].picnum == FOOTPRINTS || sprite[spriteNum].picnum == FOOTPRINTS2 || - sprite[spriteNum].picnum == FOOTPRINTS3 || sprite[spriteNum].picnum == FOOTPRINTS4) + if (sprite[spriteNum].picnum == TILE_FOOTPRINTS || sprite[spriteNum].picnum == TILE_FOOTPRINTS2 || + sprite[spriteNum].picnum == TILE_FOOTPRINTS3 || sprite[spriteNum].picnum == TILE_FOOTPRINTS4) { if (klabs(sprite[spriteNum].x - pPlayer->pos.x) < 384 && klabs(sprite[spriteNum].y - pPlayer->pos.y) < 384) @@ -7953,10 +7953,10 @@ check_enemy_sprite: { switch (krand2() & 3) { - case 0: spriteNum = A_Spawn(pPlayer->i, FOOTPRINTS); break; - case 1: spriteNum = A_Spawn(pPlayer->i, FOOTPRINTS2); break; - case 2: spriteNum = A_Spawn(pPlayer->i, FOOTPRINTS3); break; - default: spriteNum = A_Spawn(pPlayer->i, FOOTPRINTS4); break; + case 0: spriteNum = A_Spawn(pPlayer->i, TILE_FOOTPRINTS); break; + case 1: spriteNum = A_Spawn(pPlayer->i, TILE_FOOTPRINTS2); break; + case 2: spriteNum = A_Spawn(pPlayer->i, TILE_FOOTPRINTS3); break; + default: spriteNum = A_Spawn(pPlayer->i, TILE_FOOTPRINTS4); break; } sprite[spriteNum].pal = pPlayer->footprintpal; sprite[spriteNum].shade = pPlayer->footprintshade; @@ -8175,7 +8175,7 @@ check_enemy_sprite: { int const floorPicnum = sector[pSprite->sectnum].floorpicnum; - if (!RR && (floorPicnum == PURPLELAVA || sector[pSprite->sectnum].ceilingpicnum == PURPLELAVA)) + if (!RR && (floorPicnum == TILE_PURPLELAVA || sector[pSprite->sectnum].ceilingpicnum == TILE_PURPLELAVA)) { if (pPlayer->inv_amount[GET_BOOTS] > 0) { @@ -8193,7 +8193,7 @@ check_enemy_sprite: } } - if (RRRA && pPlayer->on_ground && trueFloorDist <= PHEIGHT+ZOFFSET2 && (floorPicnum == RRTILE7768 || floorPicnum == RRTILE7820)) + if (RRRA && pPlayer->on_ground && trueFloorDist <= PHEIGHT+ZOFFSET2 && (floorPicnum == TILE_RRTILE7768 || floorPicnum == TILE_RRTILE7820)) { if ((krand2() & 3) == 1) { @@ -8299,12 +8299,12 @@ check_enemy_sprite: { if (RRRA) { - if (sector[pPlayer->cursectnum].floorpicnum == RRTILE7888) + if (sector[pPlayer->cursectnum].floorpicnum == TILE_RRTILE7888) { if (pPlayer->on_motorcycle && pPlayer->on_ground) pPlayer->moto_on_oil = 1; } - else if (sector[pPlayer->cursectnum].floorpicnum == RRTILE7889) + else if (sector[pPlayer->cursectnum].floorpicnum == TILE_RRTILE7889) { if (pPlayer->on_motorcycle) { @@ -8320,7 +8320,7 @@ check_enemy_sprite: } } } - if (sector[pPlayer->cursectnum].floorpicnum == RRTILE3073 || sector[pPlayer->cursectnum].floorpicnum == RRTILE2702) + if (sector[pPlayer->cursectnum].floorpicnum == TILE_RRTILE3073 || sector[pPlayer->cursectnum].floorpicnum == TILE_RRTILE2702) { if (RRRA && pPlayer->on_motorcycle) { @@ -8521,9 +8521,9 @@ HORIZONLY:; if (RRRA && pPlayer->on_motorcycle) { - if (A_CheckEnemySprite(&sprite[spriteNum]) || sprite[spriteNum].picnum == APLAYER) + if (A_CheckEnemySprite(&sprite[spriteNum]) || sprite[spriteNum].picnum == TILE_APLAYER) { - if (sprite[spriteNum].picnum != APLAYER) + if (sprite[spriteNum].picnum != TILE_APLAYER) { if (numplayers == 1) { @@ -8537,22 +8537,22 @@ HORIZONLY:; } else actor[spriteNum].owner = pPlayer->i; - actor[spriteNum].picnum = MOTOHIT; + actor[spriteNum].picnum = TILE_MOTOHIT; actor[spriteNum].extra = pPlayer->moto_speed>>1; pPlayer->moto_speed -= pPlayer->moto_speed>>2; pPlayer->moto_turb = 6; } - else if ((sprite[spriteNum].picnum == RRTILE2431 || sprite[spriteNum].picnum == RRTILE2443 || sprite[spriteNum].picnum == RRTILE2451 || sprite[spriteNum].picnum == RRTILE2455) - && sprite[spriteNum].picnum != ACTIVATORLOCKED && pPlayer->moto_speed > 45) + else if ((sprite[spriteNum].picnum == TILE_RRTILE2431 || sprite[spriteNum].picnum == TILE_RRTILE2443 || sprite[spriteNum].picnum == TILE_RRTILE2451 || sprite[spriteNum].picnum == TILE_RRTILE2455) + && sprite[spriteNum].picnum != TILE_ACTIVATORLOCKED && pPlayer->moto_speed > 45) { A_PlaySound(SQUISHED,spriteNum); - if (sprite[spriteNum].picnum == RRTILE2431 || sprite[spriteNum].picnum == RRTILE2451) + if (sprite[spriteNum].picnum == TILE_RRTILE2431 || sprite[spriteNum].picnum == TILE_RRTILE2451) { if (sprite[spriteNum].lotag != 0) { for(bssize_t otherSprite = 0; otherSprite < MAXSPRITES; otherSprite++) { - if ((sprite[otherSprite].picnum == RRTILE2431 || sprite[otherSprite].picnum == RRTILE2451) && sprite[otherSprite].pal == 4) + if ((sprite[otherSprite].picnum == TILE_RRTILE2431 || sprite[otherSprite].picnum == TILE_RRTILE2451) && sprite[otherSprite].pal == 4) { if (sprite[spriteNum].lotag == sprite[otherSprite].lotag) { @@ -8562,21 +8562,21 @@ HORIZONLY:; } } } - A_DoGuts(spriteNum,RRTILE2460,12); - A_DoGuts(spriteNum,RRTILE2465,3); + A_DoGuts(spriteNum,TILE_RRTILE2460,12); + A_DoGuts(spriteNum,TILE_RRTILE2465,3); } else - A_DoGuts(spriteNum,RRTILE2465,3); - A_DoGuts(spriteNum,RRTILE2465,3); + A_DoGuts(spriteNum,TILE_RRTILE2465,3); + A_DoGuts(spriteNum,TILE_RRTILE2465,3); sprite[spriteNum].xrepeat = 0; sprite[spriteNum].yrepeat = 0; } } else if (RRRA && pPlayer->on_boat) { - if (A_CheckEnemySprite(&sprite[spriteNum]) || sprite[spriteNum].picnum == APLAYER) + if (A_CheckEnemySprite(&sprite[spriteNum]) || sprite[spriteNum].picnum == TILE_APLAYER) { - if (sprite[spriteNum].picnum != APLAYER) + if (sprite[spriteNum].picnum != TILE_APLAYER) { if (numplayers == 1) { @@ -8590,7 +8590,7 @@ HORIZONLY:; } else actor[spriteNum].owner = pPlayer->i; - actor[spriteNum].picnum = MOTOHIT; + actor[spriteNum].picnum = TILE_MOTOHIT; actor[spriteNum].extra = pPlayer->moto_speed>>2; pPlayer->moto_speed -= pPlayer->moto_speed>>2; pPlayer->moto_turb = 6; @@ -8601,19 +8601,19 @@ HORIZONLY:; if (sprite[spriteNum].statnum != STAT_ACTOR) { actor[spriteNum].timetosleep = 0; - if (sprite[spriteNum].picnum == BILLYRAY) + if (sprite[spriteNum].picnum == TILE_BILLYRAY) A_PlaySound(404, spriteNum); else A_PlayAlertSound(spriteNum); changespritestat(spriteNum, STAT_ACTOR); } } - if (sprite[spriteNum].picnum == RRTILE3410) + if (sprite[spriteNum].picnum == TILE_RRTILE3410) { P_QuickKill(pPlayer); A_PlaySound(446, pPlayer->i); } - else if (RRRA && sprite[spriteNum].picnum == RRTILE2443 && sprite[spriteNum].pal == 19) + else if (RRRA && sprite[spriteNum].picnum == TILE_RRTILE2443 && sprite[spriteNum].pal == 19) { sprite[spriteNum].pal = 0; pPlayer->drug_mode = 5; @@ -8797,8 +8797,8 @@ HORIZONLY:; if (pPlayer->actorsqu >= 0 && sprite[pPlayer->actorsqu].statnum != MAXSTATUS && dist(&sprite[pPlayer->i], &sprite[pPlayer->actorsqu]) < 1400) { - A_DoGuts(pPlayer->actorsqu, JIBS6, 7); - A_Spawn(pPlayer->actorsqu, BLOODPOOL); + A_DoGuts(pPlayer->actorsqu, TILE_JIBS6, 7); + A_Spawn(pPlayer->actorsqu, TILE_BLOODPOOL); A_PlaySound(SQUISHED, pPlayer->actorsqu); switch (DYNAMICTILEMAP(sprite[pPlayer->actorsqu].picnum)) { @@ -9057,7 +9057,7 @@ void P_DHProcessInput(int playerNum) if (pPlayer->on_ground) pPlayer->bobcounter += sprite[pPlayer->i].xvel>>1; - if (ud.clipping == 0 && ((uint16_t)pPlayer->cursectnum >= MAXSECTORS || sector[pPlayer->cursectnum].floorpicnum == MIRROR)) + if (ud.clipping == 0 && ((uint16_t)pPlayer->cursectnum >= MAXSECTORS || sector[pPlayer->cursectnum].floorpicnum == TILE_MIRROR)) { pPlayer->pos.x = pPlayer->opos.x; pPlayer->pos.y = pPlayer->opos.y; diff --git a/source/games/duke/src/player.h b/source/games/duke/src/player.h index 392f77c61..50bd7ca7a 100644 --- a/source/games/duke/src/player.h +++ b/source/games/duke/src/player.h @@ -357,7 +357,7 @@ int P_GetOverheadPal(const DukePlayer_t *pPlayer); void P_MadeNoise(int playerNum); int P_HasKey(int sectNum, int playerNum); -// Get the player index given an APLAYER sprite pointer. +// Get the player index given an TILE_APLAYER sprite pointer. static inline int P_GetP(const void *pSprite) { #if 0 // unprotected player index retrieval @@ -379,7 +379,7 @@ static inline int P_GetP(const void *pSprite) #endif } -// Get the player index given an APLAYER sprite index. +// Get the player index given an TILE_APLAYER sprite index. static inline int P_Get(int32_t spriteNum) { return P_GetP((const uspritetype *)&sprite[spriteNum]); } END_DUKE_NS diff --git a/source/games/duke/src/premap.cpp b/source/games/duke/src/premap.cpp index b2cfdaad1..f6bf0afc8 100644 --- a/source/games/duke/src/premap.cpp +++ b/source/games/duke/src/premap.cpp @@ -86,20 +86,20 @@ static void G_CacheSpriteNum(int32_t i) switch (DYNAMICTILEMAP(PN(i))) { case HYDRENT__STATIC: - tloadtile(BROKEFIREHYDRENT,1); - for (j = TOILETWATER; j < (TOILETWATER+4); j++) tloadtile(j,1); + tloadtile(TILE_BROKEFIREHYDRENT,1); + for (j = TILE_TOILETWATER; j < (TILE_TOILETWATER+4); j++) tloadtile(j,1); break; case RRTILE2121__STATICRR: case RRTILE2122__STATICRR: - tloadtile(BROKEFIREHYDRENT, 1); + tloadtile(TILE_BROKEFIREHYDRENT, 1); break; case TOILET__STATIC: - tloadtile(TOILETBROKE,1); - for (j = TOILETWATER; j < (TOILETWATER+4); j++) tloadtile(j,1); + tloadtile(TILE_TOILETBROKE,1); + for (j = TILE_TOILETWATER; j < (TILE_TOILETWATER+4); j++) tloadtile(j,1); break; case STALL__STATIC: - tloadtile(STALLBROKE,1); - for (j = TOILETWATER; j < (TOILETWATER+4); j++) tloadtile(j,1); + tloadtile(TILE_STALLBROKE,1); + for (j = TILE_TOILETWATER; j < (TILE_TOILETWATER+4); j++) tloadtile(j,1); break; case FORCERIPPLE__STATIC: if (!RR) break; @@ -112,28 +112,28 @@ static void G_CacheSpriteNum(int32_t i) maxc = 4; break; case BUBBASTAND__STATICRR: - for (j = BUBBASCRATCH; j < (BUBBASCRATCH+47); j++) tloadtile(j,1); + for (j = TILE_BUBBASCRATCH; j < (TILE_BUBBASCRATCH+47); j++) tloadtile(j,1); maxc = 0; break; case SBSWIPE__STATICRR: if (!RRRA) break; - for (j = BUBBASCRATCH; j <= (SBSWIPE+47); j++) tloadtile(j,1); + for (j = TILE_BUBBASCRATCH; j <= (TILE_SBSWIPE+47); j++) tloadtile(j,1); maxc = 0; break; case COOT__STATICRR: - for(j = COOT; j <= (COOT+217); j++) tloadtile(j,1); - for(j = COOTJIBA; j < COOTJIBC+4; j++) tloadtile(j,1); + for(j = TILE_COOT; j <= (TILE_COOT+217); j++) tloadtile(j,1); + for(j = TILE_COOTJIBA; j < TILE_COOTJIBC+4; j++) tloadtile(j,1); maxc = 0; break; case LTH__STATICRR: maxc = 105; - for (j = LTH; j < (LTH + maxc); j++) tloadtile(j,1); + for (j = TILE_LTH; j < (TILE_LTH + maxc); j++) tloadtile(j,1); maxc = 0; break; case BILLYRAY__STATICRR: maxc = 144; - for (j = BILLYWALK; j < (BILLYWALK + maxc); j++) tloadtile(j,1); - for (j = BILLYJIBA; j <= BILLYJIBB + 4; j++) tloadtile(j,1); + for (j = TILE_BILLYWALK; j < (TILE_BILLYWALK + maxc); j++) tloadtile(j,1); + for (j = TILE_BILLYJIBA; j <= TILE_BILLYJIBB + 4; j++) tloadtile(j,1); maxc = 0; break; case COW__STATICRR: @@ -142,71 +142,71 @@ static void G_CacheSpriteNum(int32_t i) maxc = 0; break; case DOGRUN__STATICRR: - for (j = DOGATTACK; j <= DOGATTACK + 35; j++) tloadtile(j,1); - for (j = DOGRUN; j <= DOGRUN + 121; j++) tloadtile(j,1); + for (j = TILE_DOGATTACK; j <= TILE_DOGATTACK + 35; j++) tloadtile(j,1); + for (j = TILE_DOGRUN; j <= TILE_DOGRUN + 121; j++) tloadtile(j,1); maxc = 0; break; case RABBIT__STATICRR: if (!RRRA) break; - for (j = RABBIT; j <= RABBIT + 54; j++) tloadtile(j,1); - for (j = RABBIT + 56; j <= RABBIT + 56 + 49; j++) tloadtile(j,1); - for (j = RABBIT + 56; j <= RABBIT + 56 + 49; j++) tloadtile(j,1); + for (j = TILE_RABBIT; j <= TILE_RABBIT + 54; j++) tloadtile(j,1); + for (j = TILE_RABBIT + 56; j <= TILE_RABBIT + 56 + 49; j++) tloadtile(j,1); + for (j = TILE_RABBIT + 56; j <= TILE_RABBIT + 56 + 49; j++) tloadtile(j,1); maxc = 0; break; case BIKERB__STATICRR: case BIKERBV2__STATICRR: if (!RRRA) break; - for (j = BIKERB; j <= BIKERB + 104; j++) tloadtile(j,1); + for (j = TILE_BIKERB; j <= TILE_BIKERB + 104; j++) tloadtile(j,1); maxc = 0; break; case BIKER__STATICRR: if (!RRRA) break; - for (j = BIKER; j <= BIKER + 116; j++) tloadtile(j,1); - for (j = BIKER + 150; j <= BIKER + 150 + 104; j++) tloadtile(j,1); + for (j = TILE_BIKER; j <= TILE_BIKER + 116; j++) tloadtile(j,1); + for (j = TILE_BIKER + 150; j <= TILE_BIKER + 150 + 104; j++) tloadtile(j,1); maxc = 0; break; case CHEER__STATICRR: if (!RRRA) break; - for (j = CHEER; j <= CHEER + 44; j++) tloadtile(j,1); - for (j = CHEER + 47; j <= CHEER + 47 + 211; j++) tloadtile(j,1); - for (j = CHEER + 262; j <= CHEER + 262 + 72; j++) tloadtile(j,1); + for (j = TILE_CHEER; j <= TILE_CHEER + 44; j++) tloadtile(j,1); + for (j = TILE_CHEER + 47; j <= TILE_CHEER + 47 + 211; j++) tloadtile(j,1); + for (j = TILE_CHEER + 262; j <= TILE_CHEER + 262 + 72; j++) tloadtile(j,1); maxc = 0; break; case CHEERB__STATICRR: if (!RRRA) break; - for (j = CHEERB; j <= CHEERB + 157 + 83; j++) tloadtile(j,1); + for (j = TILE_CHEERB; j <= TILE_CHEERB + 157 + 83; j++) tloadtile(j,1); maxc = 0; break; case MAMA__STATICRR: if (!RRRA) break; - for (j = MAMA; j <= MAMA + 78; j++) tloadtile(j,1); - for (j = MAMA + 80; j <= MAMA + 80 + 7; j++) tloadtile(j,1); - for (j = MAMA + 90; j <= MAMA + 90 + 94; j++) tloadtile(j,1); + for (j = TILE_MAMA; j <= TILE_MAMA + 78; j++) tloadtile(j,1); + for (j = TILE_MAMA + 80; j <= TILE_MAMA + 80 + 7; j++) tloadtile(j,1); + for (j = TILE_MAMA + 90; j <= TILE_MAMA + 90 + 94; j++) tloadtile(j,1); maxc = 0; break; case CHEERBOAT__STATICRR: if (!RRRA) break; - tloadtile(CHEERBOAT,1); + tloadtile(TILE_CHEERBOAT,1); maxc = 0; break; case HULKBOAT__STATICRR: if (!RRRA) break; - tloadtile(HULKBOAT,1); + tloadtile(TILE_HULKBOAT,1); maxc = 0; break; case MINIONBOAT__STATICRR: if (!RRRA) break; - tloadtile(MINIONBOAT,1); + tloadtile(TILE_MINIONBOAT,1); maxc = 0; break; case BILLYPLAY__STATICRR: if (!RRRA) break; - for (j = BILLYPLAY; j <= BILLYPLAY + 2; j++) tloadtile(j,1); + for (j = TILE_BILLYPLAY; j <= TILE_BILLYPLAY + 2; j++) tloadtile(j,1); maxc = 0; break; case COOTPLAY__STATICRR: if (!RRRA) break; - for (j = COOTPLAY; j <= COOTPLAY + 4; j++) tloadtile(j,1); + for (j = TILE_COOTPLAY; j <= TILE_COOTPLAY + 4; j++) tloadtile(j,1); maxc = 0; break; case PIG__STATICRR: @@ -231,14 +231,14 @@ static void G_CacheSpriteNum(int32_t i) case LIZTROOPONTOILET__STATIC: case LIZTROOPDUCKING__STATIC: if (RR) break; - for (j = LIZTROOP; j < (LIZTROOP+72); j++) tloadtile(j,1); - for (j=HEADJIB1; j 1)) - tloadtile(FRAGBAR,1); + tloadtile(TILE_FRAGBAR,1); - tloadtile(VIEWSCREEN,1); + tloadtile(TILE_VIEWSCREEN,1); - for (i=STARTALPHANUM; ii, screenpeek, DEER ? 7040 : LOADSCREEN); + int const loadScreenTile = VM_OnEventWithReturn(EVENT_GETLOADTILE, g_player[screenpeek].ps->i, screenpeek, DEER ? 7040 : TILE_LOADSCREEN); rotatesprite_fs(320<<15,200<<15,65536L,0,loadScreenTile,0,0,2+8+64+BGSTRETCH); @@ -549,9 +549,9 @@ static void G_DoLoadScreen(const char *statustext, int32_t percent) //G_FadePalette(0,0,0,0); P_SetGamePalette(g_player[myconnectindex].ps, BASEPAL, 0); // JBF 20040308 } - /*Gv_SetVar(g_iReturnVarID,LOADSCREEN, -1, -1);*/ + /*Gv_SetVar(g_iReturnVarID,TILE_LOADSCREEN, -1, -1);*/ - rotatesprite_fs(320<<15,200<<15,65536L, 0,LOADSCREEN,0,0,2+8+64+BGSTRETCH); + rotatesprite_fs(320<<15,200<<15,65536L, 0,TILE_LOADSCREEN,0,0,2+8+64+BGSTRETCH); menutext_center(RRRA?155:105,RR? GStrings("TXT_LOADIN") : GStrings("TXT_Loading...")); if (statustext) gametext_center_number(180, statustext); @@ -592,10 +592,10 @@ void G_CacheMapData(void) { tloadtile(sector[i].floorpicnum, 0); tloadtile(sector[i].ceilingpicnum, 0); - if (sector[i].ceilingpicnum == LA) // JBF 20040509: if( w aloff[sector[i].ceilingpicnum] == LA) WTF?!?!?!? + if (sector[i].ceilingpicnum == TILE_LA) // JBF 20040509: if( w aloff[sector[i].ceilingpicnum] == TILE_LA) WTF?!?!?!? { - tloadtile(LA+1, 0); - tloadtile(LA+2, 0); + tloadtile(TILE_LA+1, 0); + tloadtile(TILE_LA+2, 0); } for (SPRITES_OF_SECT(i, j)) @@ -699,7 +699,7 @@ void G_UpdateScreenArea(void) int32_t x1 = scale(ss,xdim,160); int32_t x2 = xdim-x1; - int32_t y1 = scale(ss,(200 * 100) - ((tilesiz[BOTTOMSTATUSBAR].y >> (RR ? 1 : 0)) * ud.statusbarscale),200 - tilesiz[BOTTOMSTATUSBAR].y); + int32_t y1 = scale(ss,(200 * 100) - ((tilesiz[TILE_BOTTOMSTATUSBAR].y >> (RR ? 1 : 0)) * ud.statusbarscale),200 - tilesiz[TILE_BOTTOMSTATUSBAR].y); int32_t y2 = 200*100-y1; if (RR && ud.screen_size <= 12) @@ -713,7 +713,7 @@ void G_UpdateScreenArea(void) y1 += fragbarheight()*100; if (ud.screen_size >= 8 && ud.statusbarmode==0) - y2 -= (tilesiz[BOTTOMSTATUSBAR].y >> (RR ? 1 : 0))*ud.statusbarscale; + y2 -= (tilesiz[TILE_BOTTOMSTATUSBAR].y >> (RR ? 1 : 0))*ud.statusbarscale; y1 = scale(y1,ydim,200*100); y2 = scale(y2,ydim,200*100); @@ -1236,7 +1236,7 @@ void G_InitRRRASkies(void) for (bssize_t i = 0; i < MAXSECTORS; i++) { - if (sector[i].ceilingpicnum != LA && sector[i].ceilingpicnum != MOONSKY1 && sector[i].ceilingpicnum != BIGORBIT1) + if (sector[i].ceilingpicnum != TILE_LA && sector[i].ceilingpicnum != TILE_MOONSKY1 && sector[i].ceilingpicnum != TILE_BIGORBIT1) { int const picnum = sector[i].ceilingpicnum; if (tileWidth(picnum) == 512) @@ -1352,7 +1352,7 @@ static void prelevel(char g) if (!DEER) for (bssize_t i=0; i 0) - Printf(TEXTCOLOR_RED "Map warning: have %d unhandled CLOUDYSKIES ceilings.\n", missedCloudSectors); + Printf(TEXTCOLOR_RED "Map warning: have %d unhandled TILE_CLOUDYSKIES ceilings.\n", missedCloudSectors); // NOTE: must be safe loop because callbacks could delete sprites. if (!DEER) @@ -1579,7 +1579,7 @@ static void prelevel(char g) { for (bssize_t i = 0; i < MAXSPRITES; i++) { - if (sprite[i].picnum == RRTILE19) + if (sprite[i].picnum == TILE_RRTILE19) { if (sprite[i].hitag == 0) { @@ -1588,7 +1588,7 @@ static void prelevel(char g) g_geoSector[g_geoSectorCnt] = sprite[i].sectnum; for (bssize_t j = 0; j < MAXSPRITES; j++) { - if (sprite[i].lotag == sprite[j].lotag && i != j && sprite[j].picnum == RRTILE19) + if (sprite[i].lotag == sprite[j].lotag && i != j && sprite[j].picnum == TILE_RRTILE19) { if (sprite[j].hitag == 1) { @@ -1612,18 +1612,18 @@ static void prelevel(char g) for (size_t i = 0; i < MAXSPRITES; i++) { - if (sprite[i].statnum < MAXSTATUS && (DEER || PN(i) != SECTOREFFECTOR || SLT(i) != SE_14_SUBWAY_CAR)) + if (sprite[i].statnum < MAXSTATUS && (DEER || PN(i) != TILE_SECTOREFFECTOR || SLT(i) != SE_14_SUBWAY_CAR)) A_Spawn(-1, i); } if (!DEER) for (size_t i = 0; i < MAXSPRITES; i++) { - if (sprite[i].statnum < MAXSTATUS && PN(i) == SECTOREFFECTOR && SLT(i) == SE_14_SUBWAY_CAR) + if (sprite[i].statnum < MAXSTATUS && PN(i) == TILE_SECTOREFFECTOR && SLT(i) == SE_14_SUBWAY_CAR) A_Spawn(-1, i); - if (RR && sprite[i].picnum == RRTILE19) + if (RR && sprite[i].picnum == TILE_RRTILE19) A_DeleteSprite(i); - if (RR && sprite[i].picnum == RRTILE34) + if (RR && sprite[i].picnum == TILE_RRTILE34) { g_sectorExtra[sprite[i].sectnum] = sprite[i].lotag; A_DeleteSprite(i); @@ -1656,7 +1656,7 @@ static void prelevel(char g) case LOCKSWITCH1__STATIC: case POWERSWITCH2__STATIC: case RRTILE8464__STATICRR: - if (RR && !RRRA && PN(i)-1+ii == (uint32_t)RRTILE8464) break; + if (RR && !RRRA && PN(i)-1+ii == (uint32_t)TILE_RRTILE8464) break; // the lower code only for the 'on' state (*) if (ii==0) { @@ -1687,19 +1687,19 @@ static void prelevel(char g) { walltype * const pWall = &wall[i]; - if (!DEER && pWall->overpicnum == MIRROR && (pWall->cstat&32) != 0) + if (!DEER && pWall->overpicnum == TILE_MIRROR && (pWall->cstat&32) != 0) { int const nextSectnum = pWall->nextsector; - if ((nextSectnum >= 0) && sector[nextSectnum].ceilingpicnum != MIRROR) + if ((nextSectnum >= 0) && sector[nextSectnum].ceilingpicnum != TILE_MIRROR) { if (g_mirrorCount > 63) { G_GameExit("\nToo many mirrors (64 max.)"); } - sector[nextSectnum].ceilingpicnum = MIRROR; - sector[nextSectnum].floorpicnum = MIRROR; + sector[nextSectnum].ceilingpicnum = TILE_MIRROR; + sector[nextSectnum].floorpicnum = TILE_MIRROR; g_mirrorWall[g_mirrorCount] = i; g_mirrorSector[g_mirrorCount] = nextSectnum; g_mirrorCount++; @@ -1740,7 +1740,7 @@ static void prelevel(char g) case W_FORCEFIELD__STATIC: if (RR) break; if (pWall->overpicnum == W_FORCEFIELD__STATIC) - for (bsize_t j = 0; j < 3; j++) tloadtile(W_FORCEFIELD + j, 0); + for (bsize_t j = 0; j < 3; j++) tloadtile(TILE_W_FORCEFIELD + j, 0); if (pWall->shade > 31) pWall->cstat = 0; else @@ -1805,7 +1805,7 @@ static void prelevel(char g) case SCREENBREAK6__STATIC: case SCREENBREAK7__STATIC: case SCREENBREAK8__STATIC: - for (bssize_t j = SCREENBREAK6; j < SCREENBREAK9; j++) + for (bssize_t j = TILE_SCREENBREAK6; j < TILE_SCREENBREAK9; j++) tloadtile(j, 0); animwall[g_animWallCnt].wallnum = i; @@ -1821,7 +1821,7 @@ static void prelevel(char g) animwall[g_animWallCnt].tag = -1; if (adult_lockout) - pWall->picnum = (pWall->picnum == FEMPIC1) ? BLANKSCREEN : SCREENBREAK6; + pWall->picnum = (pWall->picnum == TILE_FEMPIC1) ? TILE_BLANKSCREEN : TILE_SCREENBREAK6; animwall[g_animWallCnt].wallnum = i; animwall[g_animWallCnt].tag = pWall->picnum; @@ -1861,8 +1861,8 @@ static void prelevel(char g) for (bssize_t j = startWall; j < endWall; j++) { - wall[j].picnum = MIRROR; - wall[j].overpicnum = MIRROR; + wall[j].picnum = TILE_MIRROR; + wall[j].overpicnum = TILE_MIRROR; } } @@ -2000,7 +2000,7 @@ static void resetpspritevars(char gameMode) if (g_player[0].ps->cursectnum >= 0) // < 0 may happen if we start a map in void space (e.g. testing it) { A_InsertSprite(g_player[0].ps->cursectnum,g_player[0].ps->pos.x,g_player[0].ps->pos.y,g_player[0].ps->pos.z, - APLAYER,0,0,0,fix16_to_int(g_player[0].ps->q16ang),0,0,0,10); + TILE_APLAYER,0,0,0,fix16_to_int(g_player[0].ps->q16ang),0,0,0,10); } if (ud.recstat != 2) diff --git a/source/games/duke/src/rrdh.cpp b/source/games/duke/src/rrdh.cpp index f5af1bfc2..f42d01ff5 100644 --- a/source/games/duke/src/rrdh.cpp +++ b/source/games/duke/src/rrdh.cpp @@ -239,7 +239,7 @@ int ghcons_findnewspot(short a1) vec3_t pos = { v20, v24, v18 }; setsprite(a1, &pos); changespritesect(a1, v18); - if (spr->picnum == DOGRUN) + if (spr->picnum == TILE_DOGRUN) spr->z = -307200; else spr->z = sec->floorz; @@ -881,15 +881,15 @@ void sub_52BA8(void) v1c++; } } - ghprelvl_randkeep(PIG, 4); - ghprelvl_randkeep(VIXEN, 4); - ghprelvl_randkeep(DOGRUN, 4); - ghprelvl_randkeep(CHEER, 4); + ghprelvl_randkeep(TILE_PIG, 4); + ghprelvl_randkeep(TILE_VIXEN, 4); + ghprelvl_randkeep(TILE_DOGRUN, 4); + ghprelvl_randkeep(TILE_CHEER, 4); ghprelvl_randkeep(7065, 64); for (i = 0; i < MAXSPRITES; i++) { - if (sprite[i].picnum == PIG) + if (sprite[i].picnum == TILE_PIG) { sprite[i].cstat = 257; changespritestat(i, 1); @@ -897,7 +897,7 @@ void sub_52BA8(void) sprite[i].yrepeat = 10 + sub_52AB8(5, 125); sprite[i].clipdist = mulscale7(sprite[i].xrepeat, tilesiz[sprite[i].picnum].x); } - if (sprite[i].picnum == VIXEN) + if (sprite[i].picnum == TILE_VIXEN) { sprite[i].cstat = 257; changespritestat(i, 1); @@ -905,7 +905,7 @@ void sub_52BA8(void) sprite[i].yrepeat = 14 + sub_52AB8(7, 100); sprite[i].clipdist = mulscale7(sprite[i].xrepeat, tilesiz[sprite[i].picnum].x); } - if (sprite[i].picnum == DOGRUN) + if (sprite[i].picnum == TILE_DOGRUN) { sprite[i].cstat = 257; changespritestat(i, 1); @@ -913,7 +913,7 @@ void sub_52BA8(void) sprite[i].yrepeat = 8 + sub_52AB8(4, 100); sprite[i].clipdist = mulscale7(sprite[i].xrepeat, tilesiz[sprite[i].picnum].x); } - if (sprite[i].picnum == CHEER) + if (sprite[i].picnum == TILE_CHEER) { sprite[i].cstat = 257; changespritestat(i, 1); @@ -3556,12 +3556,12 @@ void sub_580C8(void) { int vsi = dword_AAAF0 % 10; int vd = dword_AAAF0 / 10; - rotatesprite(292<<16, 184<<16, 17408, 0, DIGITALNUM+vd, 0, 0, 128+10, 0, 0, xdim-1, ydim-1); - rotatesprite(296<<16, 184<<16, 17408, 0, DIGITALNUM+vsi, 0, 0, 128+10, 0, 0, xdim-1, ydim-1); + rotatesprite(292<<16, 184<<16, 17408, 0, TILE_DIGITALNUM+vd, 0, 0, 128+10, 0, 0, xdim-1, ydim-1); + rotatesprite(296<<16, 184<<16, 17408, 0, TILE_DIGITALNUM+vsi, 0, 0, 128+10, 0, 0, xdim-1, ydim-1); vsi = dword_AAAF4 % 10; vd = dword_AAAF4 / 10; - rotatesprite(302<<16, 184<<16, 17408, 0, DIGITALNUM+vd, 0, 0, 128+10, 0, 0, xdim-1, ydim-1); - rotatesprite(306<<16, 184<<16, 17408, 0, DIGITALNUM+vsi, 0, 0, 128+10, 0, 0, xdim-1, ydim-1); + rotatesprite(302<<16, 184<<16, 17408, 0, TILE_DIGITALNUM+vd, 0, 0, 128+10, 0, 0, xdim-1, ydim-1); + rotatesprite(306<<16, 184<<16, 17408, 0, TILE_DIGITALNUM+vsi, 0, 0, 128+10, 0, 0, xdim-1, ydim-1); } void ghtarget_move(void) @@ -3877,11 +3877,11 @@ void sub_58A5C(unsigned int a1) int t3 = (a1 % 1000) / 100; int t4 = (a1 % 10000) / 1000; int t5 = (a1 % 100000) / 10000; - rotatesprite(243<<16, 185<<16, 22528, 0, DIGITALNUM+t1, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); - rotatesprite(235<<16, 185<<16, 22528, 0, DIGITALNUM+t2, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); - rotatesprite(227<<16, 185<<16, 22528, 0, DIGITALNUM+t3, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); - rotatesprite(219<<16, 185<<16, 22528, 0, DIGITALNUM+t4, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); - rotatesprite(211<<16, 185<<16, 22528, 0, DIGITALNUM+t5, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); + rotatesprite(243<<16, 185<<16, 22528, 0, TILE_DIGITALNUM+t1, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); + rotatesprite(235<<16, 185<<16, 22528, 0, TILE_DIGITALNUM+t2, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); + rotatesprite(227<<16, 185<<16, 22528, 0, TILE_DIGITALNUM+t3, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); + rotatesprite(219<<16, 185<<16, 22528, 0, TILE_DIGITALNUM+t4, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); + rotatesprite(211<<16, 185<<16, 22528, 0, TILE_DIGITALNUM+t5, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); } short word_AAB10; @@ -3945,21 +3945,21 @@ void sub_58D14(void) unsigned int t1 = dword_AAB14 % 10; unsigned int t2 = (dword_AAB14 % 100) / 10; unsigned int t3 = (dword_AAB14 % 1000) / 100; - rotatesprite(64<<16, 180<<16, 18432, 0, DIGITALNUM+t1, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); + rotatesprite(64<<16, 180<<16, 18432, 0, TILE_DIGITALNUM+t1, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); if (t3 || t2 > 0) { - rotatesprite(58<<16, 180<<16, 18432, 0, DIGITALNUM+t2, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); + rotatesprite(58<<16, 180<<16, 18432, 0, TILE_DIGITALNUM+t2, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); } if (t3 > 0) { - rotatesprite(52<<16, 180<<16, 18432, 0, DIGITALNUM+t3, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); + rotatesprite(52<<16, 180<<16, 18432, 0, TILE_DIGITALNUM+t3, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); } t1 = dword_AAB18 % 10; t2 = (dword_AAB18 % 100) / 10; - rotatesprite(64<<16, 190<<16, 18432, 0, DIGITALNUM+t1, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); + rotatesprite(64<<16, 190<<16, 18432, 0, TILE_DIGITALNUM+t1, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); if (t2 > 0) { - rotatesprite(58<<16, 190<<16, 18432, 0, DIGITALNUM+t2, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); + rotatesprite(58<<16, 190<<16, 18432, 0, TILE_DIGITALNUM+t2, 0, 0, 128+64+10, 0, 0, xdim-1, ydim-1); } } } diff --git a/source/games/duke/src/savegame.cpp b/source/games/duke/src/savegame.cpp index 41da274db..e4d6c70bc 100644 --- a/source/games/duke/src/savegame.cpp +++ b/source/games/duke/src/savegame.cpp @@ -1538,7 +1538,7 @@ static void postloadplayer(int32_t savegamep) if (savegamep) { for (SPRITES_OF(STAT_FX, i)) - if (sprite[i].picnum == MUSICANDSFX) + if (sprite[i].picnum == TILE_MUSICANDSFX) { T2(i) = SoundEnabled(); T1(i) = 0; @@ -1557,11 +1557,11 @@ static void postloadplayer(int32_t savegamep) switch (DYNAMICTILEMAP(wall[animwall[i].wallnum].picnum)) { case FEMPIC1__STATIC: - wall[animwall[i].wallnum].picnum = BLANKSCREEN; + wall[animwall[i].wallnum].picnum = TILE_BLANKSCREEN; break; case FEMPIC2__STATIC: case FEMPIC3__STATIC: - wall[animwall[i].wallnum].picnum = SCREENBREAK6; + wall[animwall[i].wallnum].picnum = TILE_SCREENBREAK6; break; } } diff --git a/source/games/duke/src/sbar.cpp b/source/games/duke/src/sbar.cpp index 901d587f5..42c31ed75 100644 --- a/source/games/duke/src/sbar.cpp +++ b/source/games/duke/src/sbar.cpp @@ -27,8 +27,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include "compat.h" #include "sbar.h" #include "statusbar.h" +#include "v_draw.h" #include "texturemanager.h" - BEGIN_DUKE_NS static FFont* IndexFont; @@ -46,7 +46,7 @@ void InitFonts() // Small font for (int i = 0; i < 95; i++) { - auto tile = tileGetTexture(STARTALPHANUM + i); + auto tile = tileGetTexture(TILE_STARTALPHANUM + i); if (tile && tile->GetTexelWidth() > 0 && tile->GetTexelHeight() > 0) fontdata.Insert('!' + i, tile); } @@ -56,29 +56,29 @@ void InitFonts() // Big font // This font is VERY messy... - fontdata.Insert('_', tileGetTexture(BIGALPHANUM - 11)); - fontdata.Insert('-', tileGetTexture(BIGALPHANUM - 11)); - for (int i = 0; i < 10; i++) fontdata.Insert('0' + i, tileGetTexture(BIGALPHANUM - 10 + i)); - for (int i = 0; i < 26; i++) fontdata.Insert('A' + i, tileGetTexture(BIGALPHANUM + i)); - fontdata.Insert('.', tileGetTexture(BIGPERIOD)); - fontdata.Insert(',', tileGetTexture(BIGCOMMA)); - fontdata.Insert('!', tileGetTexture(BIGX_)); - fontdata.Insert('?', tileGetTexture(BIGQ)); - fontdata.Insert(';', tileGetTexture(BIGSEMI)); - fontdata.Insert(':', tileGetTexture(BIGCOLIN)); - fontdata.Insert('\\', tileGetTexture(BIGALPHANUM + 68)); - fontdata.Insert('/', tileGetTexture(BIGALPHANUM + 68)); - fontdata.Insert('%', tileGetTexture(BIGALPHANUM + 69)); - fontdata.Insert('`', tileGetTexture(BIGAPPOS)); - fontdata.Insert('"', tileGetTexture(BIGAPPOS)); - fontdata.Insert('\'', tileGetTexture(BIGAPPOS)); + fontdata.Insert('_', tileGetTexture(TILE_BIGALPHANUM - 11)); + fontdata.Insert('-', tileGetTexture(TILE_BIGALPHANUM - 11)); + for (int i = 0; i < 10; i++) fontdata.Insert('0' + i, tileGetTexture(TILE_BIGALPHANUM - 10 + i)); + for (int i = 0; i < 26; i++) fontdata.Insert('A' + i, tileGetTexture(TILE_BIGALPHANUM + i)); + fontdata.Insert('.', tileGetTexture(TILE_BIGPERIOD)); + fontdata.Insert(',', tileGetTexture(TILE_BIGCOMMA)); + fontdata.Insert('!', tileGetTexture(TILE_BIGX_)); + fontdata.Insert('?', tileGetTexture(TILE_BIGQ)); + fontdata.Insert(';', tileGetTexture(TILE_BIGSEMI)); + fontdata.Insert(':', tileGetTexture(TILE_BIGCOLIN)); + fontdata.Insert('\\', tileGetTexture(TILE_BIGALPHANUM + 68)); + fontdata.Insert('/', tileGetTexture(TILE_BIGALPHANUM + 68)); + fontdata.Insert('%', tileGetTexture(TILE_BIGALPHANUM + 69)); + fontdata.Insert('`', tileGetTexture(TILE_BIGAPPOS)); + fontdata.Insert('"', tileGetTexture(TILE_BIGAPPOS)); + fontdata.Insert('\'', tileGetTexture(TILE_BIGAPPOS)); BigFont = new ::FFont("BigFont", nullptr, "defbigfont", 0, 0, 0, -1, -1, false, false, false, &fontdata); fontdata.Clear(); // Tiny font for (int i = 0; i < 95; i++) { - auto tile = tileGetTexture(MINIFONT + i); + auto tile = tileGetTexture(TILE_MINIFONT + i); if (tile && tile->GetTexelWidth() > 0 && tile->GetTexelHeight() > 0) fontdata.Insert('!' + i, tile); } @@ -87,17 +87,17 @@ void InitFonts() fontdata.Clear(); // SBAR index font - for (int i = 0; i < 10; i++) fontdata.Insert('0' + i, tileGetTexture(THREEBYFIVE + i)); - fontdata.Insert(':', tileGetTexture(THREEBYFIVE + 10)); - fontdata.Insert('/', tileGetTexture(THREEBYFIVE + 11)); - fontdata.Insert('%', tileGetTexture(MINIFONT + '%' - '!')); + for (int i = 0; i < 10; i++) fontdata.Insert('0' + i, tileGetTexture(TILE_THREEBYFIVE + i)); + fontdata.Insert(':', tileGetTexture(TILE_THREEBYFIVE + 10)); + fontdata.Insert('/', tileGetTexture(TILE_THREEBYFIVE + 11)); + fontdata.Insert('%', tileGetTexture(TILE_MINIFONT + '%' - '!')); fontdata.Insert(1, TexMan.FindGameTexture("TINYBLAK")); // this is only here to widen the color range of the font to produce a better translation. IndexFont = new ::FFont("IndexFont", nullptr, nullptr, 0, 0, 0, -1, -1, false, false, false, &fontdata); fontdata.Clear(); // digital font - for (int i = 0; i < 10; i++) fontdata.Insert('0' + i, tileGetTexture(DIGITALNUM + i)); + for (int i = 0; i < 10; i++) fontdata.Insert('0' + i, tileGetTexture(TILE_DIGITALNUM + i)); fontdata.Insert(1, TexMan.FindGameTexture("TINYBLAK")); // this is only here to widen the color range of the font to produce a better translation. DigiFont = new ::FFont("DigiFont", nullptr, nullptr, 0, 0, 0, -1, -1, false, false, false, &fontdata); @@ -173,7 +173,7 @@ class DukeStatusBar : public DBaseStatusBar DHUDFont digiFont; double scale; std::array ammo_sprites; - std::array item_icons = { 0, FIRSTAID_ICON, STEROIDS_ICON, HOLODUKE_ICON, JETPACK_ICON, HEAT_ICON, AIRTANK_ICON, BOOT_ICON }; + std::array item_icons = { 0, TILE_FIRSTAID_ICON, TILE_STEROIDS_ICON, TILE_HOLODUKE_ICON, TILE_JETPACK_ICON, TILE_HEAT_ICON, TILE_AIRTANK_ICON, TILE_BOOT_ICON }; public: DukeStatusBar() @@ -183,18 +183,18 @@ public: digiFont(DigiFont, 1 , Off, 1, 1) { // optionally draw at the top of the screen. - SetSize(tilesiz[BOTTOMSTATUSBAR].y); + SetSize(tilesiz[TILE_BOTTOMSTATUSBAR].y); drawOffset.Y = hud_position ? -168 : 0; scale = (g_gameType & GAMEFLAG_RRALL) ? 0.5 : 1; if (!(g_gameType & GAMEFLAG_RRALL)) { - ammo_sprites = { -1, AMMO, SHOTGUNAMMO, BATTERYAMMO, RPGAMMO, HBOMBAMMO, CRYSTALAMMO, DEVISTATORAMMO, TRIPBOMBSPRITE, FREEZEAMMO + 1, HBOMBAMMO, GROWAMMO/*, FLAMETHROWERAMMO + 1*/ }; + ammo_sprites = { -1, TILE_AMMO, TILE_SHOTGUNAMMO, TILE_BATTERYAMMO, TILE_RPGAMMO, TILE_HBOMBAMMO, TILE_CRYSTALAMMO, TILE_DEVISTATORAMMO, TILE_TRIPBOMBSPRITE, TILE_FREEZEAMMO + 1, TILE_HBOMBAMMO, TILE_GROWAMMO/*, FLAMETHROWERAMMO + 1*/ }; } else { - ammo_sprites = { -1, AMMO, SHOTGUNAMMO, BATTERYAMMO, HBOMBAMMO, HBOMBAMMO, RRTILE43, DEVISTATORAMMO, TRIPBOMBSPRITE, GROWSPRITEICON, HBOMBAMMO, -1, - BOWLINGBALLSPRITE, MOTOAMMO, BOATAMMO, -1, RPG2SPRITE }; + ammo_sprites = { -1, TILE_AMMO, TILE_SHOTGUNAMMO, TILE_BATTERYAMMO, TILE_HBOMBAMMO, TILE_HBOMBAMMO, TILE_RRTILE43, TILE_DEVISTATORAMMO, TILE_TRIPBOMBSPRITE, TILE_GROWSPRITEICON, TILE_HBOMBAMMO, -1, + TILE_BOWLINGBALLSPRITE, TILE_MOTOAMMO, TILE_BOATAMMO, -1, TILE_RPG2SPRITE }; } } @@ -218,10 +218,10 @@ public: for (i = connecthead; i >= 0; i = connectpoint2[i]) if (i > j) j = i; - rotatesprite(0, 0, 65600L, 0, FRAGBAR, 0, 0, 2 + 8 + 16 + 64 + 128, 0, 0, xdim - 1, ydim - 1); - if (j >= 4) rotatesprite(319, (8) << 16, 65600L, 0, FRAGBAR, 0, 0, 10 + 16 + 64 + 128, 0, 0, xdim - 1, ydim - 1); - if (j >= 8) rotatesprite(319, (16) << 16, 65600L, 0, FRAGBAR, 0, 0, 10 + 16 + 64 + 128, 0, 0, xdim - 1, ydim - 1); - if (j >= 12) rotatesprite(319, (24) << 16, 65600L, 0, FRAGBAR, 0, 0, 10 + 16 + 64 + 128, 0, 0, xdim - 1, ydim - 1); + rotatesprite(0, 0, 65600L, 0, TILE_FRAGBAR, 0, 0, 2 + 8 + 16 + 64 + 128, 0, 0, xdim - 1, ydim - 1); + if (j >= 4) rotatesprite(319, (8) << 16, 65600L, 0, TILE_FRAGBAR, 0, 0, 10 + 16 + 64 + 128, 0, 0, xdim - 1, ydim - 1); + if (j >= 8) rotatesprite(319, (16) << 16, 65600L, 0, TILE_FRAGBAR, 0, 0, 10 + 16 + 64 + 128, 0, 0, xdim - 1, ydim - 1); + if (j >= 12) rotatesprite(319, (24) << 16, 65600L, 0, TILE_FRAGBAR, 0, 0, 10 + 16 + 64 + 128, 0, 0, xdim - 1, ydim - 1); for (i = connecthead; i >= 0; i = connectpoint2[i]) { @@ -287,28 +287,28 @@ public: switch (i) { case 1: - DrawGraphic(tileGetTexture(FIRSTAID_ICON), x, y, align, alpha, 0, 0, scale, scale); + DrawGraphic(tileGetTexture(TILE_FIRSTAID_ICON), x, y, align, alpha, 0, 0, scale, scale); break; case 2: - DrawGraphic(tileGetTexture(STEROIDS_ICON), x, y, align, alpha, 0, 0, scale, scale); + DrawGraphic(tileGetTexture(TILE_STEROIDS_ICON), x, y, align, alpha, 0, 0, scale, scale); break; case 4: - DrawGraphic(tileGetTexture(HOLODUKE_ICON), x, y, align, alpha, 0, 0, scale, scale); + DrawGraphic(tileGetTexture(TILE_HOLODUKE_ICON), x, y, align, alpha, 0, 0, scale, scale); break; case 8: - DrawGraphic(tileGetTexture(JETPACK_ICON), x, y, align, alpha, 0, 0, scale, scale); + DrawGraphic(tileGetTexture(TILE_JETPACK_ICON), x, y, align, alpha, 0, 0, scale, scale); break; case 16: - DrawGraphic(tileGetTexture(HEAT_ICON), x, y, align, alpha, 0, 0, scale, scale); + DrawGraphic(tileGetTexture(TILE_HEAT_ICON), x, y, align, alpha, 0, 0, scale, scale); break; case 32: - DrawGraphic(tileGetTexture(AIRTANK_ICON), x, y, align, alpha, 0, 0, scale, scale); + DrawGraphic(tileGetTexture(TILE_AIRTANK_ICON), x, y, align, alpha, 0, 0, scale, scale); break; case 64: - DrawGraphic(tileGetTexture(BOOT_ICON), x, y, align, alpha, 0, 0, scale, scale); + DrawGraphic(tileGetTexture(TILE_BOOT_ICON), x, y, align, alpha, 0, 0, scale, scale); break; } - if (select == i) DrawGraphic(tileGetTexture(ARROW), x, y, align, alpha, 0, 0, scale, scale); + if (select == i) DrawGraphic(tileGetTexture(TILE_ARROW), x, y, align, alpha, 0, 0, scale, scale); x += 22; } } @@ -325,7 +325,7 @@ public: // // Health // - DrawGraphic(tileGetTexture(COLA), 2, -2, DI_ITEM_LEFT_BOTTOM, 1., -1, -1, 0.75, 0.75); + DrawGraphic(tileGetTexture(TILE_COLA), 2, -2, DI_ITEM_LEFT_BOTTOM, 1., -1, -1, 0.75, 0.75); FString format; if (!althud_flashing || p->last_extra > (p->max_player_health >> 2) || ((int32_t)totalclock & 32) || (sprite[p->i].pal == 1 && p->last_extra < 2)) @@ -342,7 +342,7 @@ public: // // Armor // - DrawGraphic(tileGetTexture(SHIELD), 62, -2, DI_ITEM_LEFT_BOTTOM, 1., -1, -1, 0.75, 0.75); + DrawGraphic(tileGetTexture(TILE_SHIELD), 62, -2, DI_ITEM_LEFT_BOTTOM, 1., -1, -1, 0.75, 0.75); format.Format("%d", GetMoraleOrShield(p, snum)); SBar_DrawString(this, &numberFont, format, 105, -numberFont.mFont->GetHeight() - 0.5, DI_TEXT_ALIGN_CENTER, CR_UNTRANSLATED, 1, 0, 0, 1, 1); @@ -392,9 +392,9 @@ public: // // keys // - if (p->got_access & 1) DrawGraphic(tileGetTexture(ACCESSCARD), -29, -30, DI_ITEM_CENTER, 1, -1, -1, 0.5, 0.5, 0xffffffff, TRANSLATION(Translation_Remap, 0)); - if (p->got_access & 4) DrawGraphic(tileGetTexture(ACCESSCARD), -24, -28, DI_ITEM_CENTER, 1, -1, -1, 0.5, 0.5, 0xffffffff, TRANSLATION(Translation_Remap, 23)); - if (p->got_access & 2) DrawGraphic(tileGetTexture(ACCESSCARD), -19, -26, DI_ITEM_CENTER, 1, -1, -1, 0.5, 0.5, 0xffffffff, TRANSLATION(Translation_Remap, 21)); + if (p->got_access & 1) DrawGraphic(tileGetTexture(TILE_ACCESSCARD), -29, -30, DI_ITEM_CENTER, 1, -1, -1, 0.5, 0.5, 0xffffffff, TRANSLATION(Translation_Remap, 0)); + if (p->got_access & 4) DrawGraphic(tileGetTexture(TILE_ACCESSCARD), -24, -28, DI_ITEM_CENTER, 1, -1, -1, 0.5, 0.5, 0xffffffff, TRANSLATION(Translation_Remap, 23)); + if (p->got_access & 2) DrawGraphic(tileGetTexture(TILE_ACCESSCARD), -19, -26, DI_ITEM_CENTER, 1, -1, -1, 0.5, 0.5, 0xffffffff, TRANSLATION(Translation_Remap, 21)); } @@ -409,7 +409,7 @@ public: // // health // - DrawGraphic(tileGetTexture(HEALTHBOX), 5, -2, DI_ITEM_LEFT_BOTTOM, 1, -1, -1, scale, scale); + DrawGraphic(tileGetTexture(TILE_HEALTHBOX), 5, -2, DI_ITEM_LEFT_BOTTOM, 1, -1, -1, scale, scale); int32_t health = (sprite[p->i].pal == 1 && p->last_extra < 2) ? 1 : p->last_extra; FStringf format("%d", health); SBar_DrawString(this, &digiFont, format, 19, -digiFont.mFont->GetHeight() * scale - 7, DI_TEXT_ALIGN_CENTER, CR_UNTRANSLATED, 1, 0, 0, scale, scale); @@ -417,7 +417,7 @@ public: // // ammo // - DrawGraphic(tileGetTexture(AMMOBOX), 37, -2, DI_ITEM_LEFT_BOTTOM, 1, -1, -1, scale, scale); + DrawGraphic(tileGetTexture(TILE_AMMOBOX), 37, -2, DI_ITEM_LEFT_BOTTOM, 1, -1, -1, scale, scale); int wp = (p->curr_weapon == HANDREMOTE_WEAPON) ? HANDBOMB_WEAPON : p->curr_weapon; format.Format("%d", p->ammo_amount[wp]); SBar_DrawString(this, &digiFont, format, 53, -digiFont.mFont->GetHeight() * scale - 7, DI_TEXT_ALIGN_CENTER, CR_UNTRANSLATED, 1, 0, 0, scale, scale); @@ -429,7 +429,7 @@ public: if (icon > 0) { int x = 73; - DrawGraphic(tileGetTexture(INVENTORYBOX), 69, -2, DI_ITEM_LEFT_BOTTOM, 1, -1, -1, scale, scale); + DrawGraphic(tileGetTexture(TILE_INVENTORYBOX), 69, -2, DI_ITEM_LEFT_BOTTOM, 1, -1, -1, scale, scale); if (icon < ICON_MAX) DrawGraphic(tileGetTexture(item_icons[icon]), x, -14, DI_ITEM_LEFT|DI_ITEM_VCENTER, 1, -1, -1, scale, scale); @@ -457,7 +457,7 @@ public: // Health // - DrawGraphic(tileGetTexture(SPINNINGNUKEICON+1), 2, -2, DI_ITEM_LEFT_BOTTOM, 1, 0, 0, 10000. / 65536., 10000. / 65536.); + DrawGraphic(tileGetTexture(TILE_SPINNINGNUKEICON+1), 2, -2, DI_ITEM_LEFT_BOTTOM, 1, 0, 0, 10000. / 65536., 10000. / 65536.); FString format; if (!althud_flashing || p->last_extra > (p->max_player_health >> 2) || ((int32_t)totalclock & 32) || (sprite[p->i].pal == 1 && p->last_extra < 2)) @@ -474,14 +474,14 @@ public: // // drink // - DrawGraphic(tileGetTexture(COLA), 70, -2, DI_ITEM_LEFT_BOTTOM, 1, 0, 0, 10000. / 65536., 10000. / 65536.); + DrawGraphic(tileGetTexture(TILE_COLA), 70, -2, DI_ITEM_LEFT_BOTTOM, 1, 0, 0, 10000. / 65536., 10000. / 65536.); format.Format("%d", p->drink_amt); SBar_DrawString(this, &numberFont, format, 98, -BigFont->GetHeight() * scale - 0.5, DI_TEXT_ALIGN_CENTER, CR_UNTRANSLATED, 1, 0, 0, scale, scale); // // eat // - DrawGraphic(tileGetTexture(JETPACK), 122, -2, DI_ITEM_LEFT_BOTTOM, 1, 0, 0, 20000. / 65536., 20000. / 65536.); + DrawGraphic(tileGetTexture(TILE_JETPACK), 122, -2, DI_ITEM_LEFT_BOTTOM, 1, 0, 0, 20000. / 65536., 20000. / 65536.); format.Format("%d", p->eat_amt); SBar_DrawString(this, &numberFont, format, 175, -BigFont->GetHeight() * scale - 0.5, DI_TEXT_ALIGN_CENTER, CR_UNTRANSLATED, 1, 0, 0, scale, scale); @@ -525,9 +525,9 @@ public: auto text = ontext(p); if (text.first) SBar_DrawString(this, &miniFont, text.first, x + 35, -miniFont.mFont->GetHeight() * scale - 9.5, DI_TEXT_ALIGN_RIGHT, CR_UNTRANSLATED, 1, 0, 0, scale, scale); } - if (p->keys[1]) DrawGraphic(tileGetTexture(ACCESSCARD), -29, -32, DI_ITEM_BOTTOM, 1, -1, -1, 0.5, 0.5, 0xffffffff, TRANSLATION(Translation_Remap, 0)); - if (p->keys[3]) DrawGraphic(tileGetTexture(ACCESSCARD), -24, -30, DI_ITEM_BOTTOM, 1, -1, -1, 0.5, 0.5, 0xffffffff, TRANSLATION(Translation_Remap, 23)); - if (p->keys[2]) DrawGraphic(tileGetTexture(ACCESSCARD), -19, -28, DI_ITEM_BOTTOM, 1, -1, -1, 0.5, 0.5, 0xffffffff, TRANSLATION(Translation_Remap, 21)); + if (p->keys[1]) DrawGraphic(tileGetTexture(TILE_ACCESSCARD), -29, -32, DI_ITEM_BOTTOM, 1, -1, -1, 0.5, 0.5, 0xffffffff, TRANSLATION(Translation_Remap, 0)); + if (p->keys[3]) DrawGraphic(tileGetTexture(TILE_ACCESSCARD), -24, -30, DI_ITEM_BOTTOM, 1, -1, -1, 0.5, 0.5, 0xffffffff, TRANSLATION(Translation_Remap, 23)); + if (p->keys[2]) DrawGraphic(tileGetTexture(TILE_ACCESSCARD), -19, -28, DI_ITEM_BOTTOM, 1, -1, -1, 0.5, 0.5, 0xffffffff, TRANSLATION(Translation_Remap, 21)); } @@ -542,7 +542,7 @@ public: // // health // - DrawGraphic(tileGetTexture(HEALTHBOX), 2, -2, DI_ITEM_LEFT_BOTTOM, 1, -1, -1, scale, scale); + DrawGraphic(tileGetTexture(TILE_HEALTHBOX), 2, -2, DI_ITEM_LEFT_BOTTOM, 1, -1, -1, scale, scale); int32_t health = (sprite[p->i].pal == 1 && p->last_extra < 2) ? 1 : p->last_extra; FStringf format("%d", health); SBar_DrawString(this, &digiFont, format, 17, -digiFont.mFont->GetHeight() * scale - 7, DI_TEXT_ALIGN_CENTER, CR_UNTRANSLATED, 1, 0, 0, scale, scale); @@ -550,7 +550,7 @@ public: // // ammo // - DrawGraphic(tileGetTexture(AMMOBOX), 41, -2, DI_ITEM_LEFT_BOTTOM, 1, -1, -1, scale, scale); + DrawGraphic(tileGetTexture(TILE_AMMOBOX), 41, -2, DI_ITEM_LEFT_BOTTOM, 1, -1, -1, scale, scale); int wp = (p->curr_weapon == HANDREMOTE_WEAPON) ? HANDBOMB_WEAPON : p->curr_weapon; format.Format("%d", p->ammo_amount[wp]); SBar_DrawString(this, &digiFont, format, 57, -digiFont.mFont->GetHeight() * scale - 7, DI_TEXT_ALIGN_CENTER, CR_UNTRANSLATED, 1, 0, 0, scale, scale); @@ -562,7 +562,7 @@ public: if (icon > 0) { int x = 81; - DrawGraphic(tileGetTexture(INVENTORYBOX), 77, -2, DI_ITEM_LEFT_BOTTOM, 1, -1, -1, scale, scale); + DrawGraphic(tileGetTexture(TILE_INVENTORYBOX), 77, -2, DI_ITEM_LEFT_BOTTOM, 1, -1, -1, scale, scale); if (icon < ICON_MAX) DrawGraphic(tileGetTexture(item_icons[icon]), x, -14, DI_ITEM_LEFT | DI_ITEM_VCENTER, 1, -1, -1, scale, scale); @@ -664,15 +664,15 @@ public: format.Format("%3d/%d", num1, num2); } y--; - DrawGraphic(tileGetTexture(THREEBYFIVE + index), x - 7, y, DI_ITEM_LEFT|DI_ITEM_VCENTER, 1, 0, 0, 1, 1, LightForShade(shade - 10), TRANSLATION(Translation_Remap, 7)); + DrawGraphic(tileGetTexture(TILE_THREEBYFIVE + index), x - 7, y, DI_ITEM_LEFT|DI_ITEM_VCENTER, 1, 0, 0, 1, 1, LightForShade(shade - 10), TRANSLATION(Translation_Remap, 7)); auto pe = LightForShade(shade); - DrawGraphic(tileGetTexture(THREEBYFIVE + 10), x - 3, y, DI_ITEM_LEFT | DI_ITEM_VCENTER, 1, 0, 0, 1, 1, pe); + DrawGraphic(tileGetTexture(TILE_THREEBYFIVE + 10), x - 3, y, DI_ITEM_LEFT | DI_ITEM_VCENTER, 1, 0, 0, 1, 1, pe); for (size_t i = 0; i < format.Len(); i++) { if (format[i] != ' ') { char c = format[i] == '/' ? 11 : format[i] - '0'; - DrawGraphic(tileGetTexture(THREEBYFIVE + c), x + 4 * i, y, DI_ITEM_LEFT | DI_ITEM_VCENTER, 1, 0, 0, 1, 1, pe); + DrawGraphic(tileGetTexture(TILE_THREEBYFIVE + c), x + 4 * i, y, DI_ITEM_LEFT | DI_ITEM_VCENTER, 1, 0, 0, 1, 1, pe); } } } @@ -716,23 +716,23 @@ public: void Statusbar(int32_t snum) { auto p = g_player[snum].ps; - int h = tilesiz[BOTTOMSTATUSBAR].y; + int h = tilesiz[TILE_BOTTOMSTATUSBAR].y; int top = 200 - h; BeginStatusBar(320, 200, h, true); DrawInventory(p, 160, 154, 0); - DrawGraphic(tileGetTexture(BOTTOMSTATUSBAR), 0, top, DI_ITEM_LEFT_TOP, 1, -1, -1, 1, 1); + DrawGraphic(tileGetTexture(TILE_BOTTOMSTATUSBAR), 0, top, DI_ITEM_LEFT_TOP, 1, -1, -1, 1, 1); FString format; if ((g_netServer || ud.multimode > 1) && (g_gametypeFlags[ud.coop] & GAMETYPE_FRAGBAR)) { - DrawGraphic(tileGetTexture(KILLSICON), 228, top + 8, DI_ITEM_OFFSETS, 1, 0, 0, 1, 1); + DrawGraphic(tileGetTexture(TILE_KILLSICON), 228, top + 8, DI_ITEM_OFFSETS, 1, 0, 0, 1, 1); format.Format("%d", max(p->frag - p->fraggedself, 0)); SBar_DrawString(this, &digiFont, format, 287, top + 17, DI_TEXT_ALIGN_CENTER, CR_UNTRANSLATED, 1, 0, 0, 1, 1); } else { - auto key = tileGetTexture(ACCESS_ICON); + auto key = tileGetTexture(TILE_ACCESS_ICON); if (p->got_access & 4) DrawGraphic(key, 275, top + 16, DI_ITEM_OFFSETS, 1, -1, -1, 1, 1, 0xffffffff, TRANSLATION(Translation_Remap, 23)); if (p->got_access & 2) DrawGraphic(key, 288, top + 16, DI_ITEM_OFFSETS, 1, -1, -1, 1, 1, 0xffffffff, TRANSLATION(Translation_Remap, 21)); if (p->got_access & 1) DrawGraphic(key, 281, top + 23, DI_ITEM_OFFSETS, 1, -1, -1, 1, 1, 0xffffffff, TRANSLATION(Translation_Remap, 0)); @@ -780,20 +780,20 @@ public: { double sbscale = 32800. / 65536.; - DrawGraphic(tileGetTexture(WEAPONBAR), 0, 158, DI_ITEM_OFFSETS, 1, 0, 0, sbscale, sbscale); + DrawGraphic(tileGetTexture(TILE_WEAPONBAR), 0, 158, DI_ITEM_OFFSETS, 1, 0, 0, sbscale, sbscale); FString format; for (int i = 0; i < 9; i++) { if ((g_gameType & GAMEFLAG_RRRA) && i == 4 && p->curr_weapon == CHICKEN_WEAPON) { - DrawGraphic(tileGetTexture(AMMO_ICON + 10), 18 + i * 32, top - 6, DI_ITEM_OFFSETS, 1, 0, 0, sbscale, sbscale); + DrawGraphic(tileGetTexture(TILE_AMMO_ICON + 10), 18 + i * 32, top - 6, DI_ITEM_OFFSETS, 1, 0, 0, sbscale, sbscale); format.Format("%d", p->ammo_amount[CHICKEN_WEAPON]); } else { if (p->gotweapon & (1 << (i + 1))) { - DrawGraphic(tileGetTexture(AMMO_ICON + i), 18 + i * 32, top - 6, DI_ITEM_OFFSETS, 1, 0, 0, sbscale, sbscale); + DrawGraphic(tileGetTexture(TILE_AMMO_ICON + i), 18 + i * 32, top - 6, DI_ITEM_OFFSETS, 1, 0, 0, sbscale, sbscale); } format.Format("%d", p->ammo_amount[i+1]); } @@ -811,7 +811,7 @@ public: void StatusbarRR(int32_t snum) { auto p = g_player[snum].ps; - double h = tilesiz[BOTTOMSTATUSBAR].y * scale; + double h = tilesiz[TILE_BOTTOMSTATUSBAR].y * scale; double top = 200 - h; BeginStatusBar(320, 200, h, true); DrawInventory(p, 160, 154, 0); @@ -819,19 +819,19 @@ public: if (ud.screen_size > 8) DrawWeaponBar(p, top); - DrawGraphic(tileGetTexture(BOTTOMSTATUSBAR), 0, top, DI_ITEM_LEFT_TOP, 1, -1, -1, scale, scale); + DrawGraphic(tileGetTexture(TILE_BOTTOMSTATUSBAR), 0, top, DI_ITEM_LEFT_TOP, 1, -1, -1, scale, scale); FString format; if ((g_netServer || ud.multimode > 1) && (g_gametypeFlags[ud.coop] & GAMETYPE_FRAGBAR)) { - DrawGraphic(tileGetTexture(KILLSICON), 228, top + 8, DI_ITEM_OFFSETS, 1, 0, 0, 1, 1); + DrawGraphic(tileGetTexture(TILE_KILLSICON), 228, top + 8, DI_ITEM_OFFSETS, 1, 0, 0, 1, 1); format.Format("%d", max(p->frag - p->fraggedself, 0)); SBar_DrawString(this, &digiFont, format, 287, top + 17, DI_TEXT_ALIGN_CENTER, CR_UNTRANSLATED, 1, 0, 0, scale, scale); } else { - auto key = tileGetTexture(ACCESS_ICON); + auto key = tileGetTexture(TILE_ACCESS_ICON); if (p->keys[3]) DrawGraphic(key, 140, top + 16, DI_ITEM_OFFSETS, 1, -1, -1, scale, scale, 0xffffffff, TRANSLATION(Translation_Remap, 23)); if (p->keys[2]) DrawGraphic(key, 153, top + 16, DI_ITEM_OFFSETS, 1, -1, -1, scale, scale, 0xffffffff, TRANSLATION(Translation_Remap, 21)); if (p->keys[1]) DrawGraphic(key, 146, top + 23, DI_ITEM_OFFSETS, 1, -1, -1, scale, scale, 0xffffffff, TRANSLATION(Translation_Remap, 0)); @@ -870,41 +870,41 @@ public: p->drink_amt = 100; p->drink_ang = 400; } - DrawGraphic(tileGetTexture(GUTMETER), 257, top + 24, DI_ITEM_BOTTOM, 1, -1, -1, scale, scale, 0xffffffff, 0 /*, p->drink_ang * 360. / 2048 */ ); - DrawGraphic(tileGetTexture(GUTMETER), 293, top + 24, DI_ITEM_BOTTOM, 1, -1, -1, scale, scale, 0xffffffff, 0 /*, p->eat_ang * 360. / 2048 */); + DrawGraphic(tileGetTexture(TILE_GUTMETER), 257, top + 24, DI_ITEM_BOTTOM, 1, -1, -1, scale, scale, 0xffffffff, 0 /*, p->drink_ang * 360. / 2048 */ ); + DrawGraphic(tileGetTexture(TILE_GUTMETER), 293, top + 24, DI_ITEM_BOTTOM, 1, -1, -1, scale, scale, 0xffffffff, 0 /*, p->eat_ang * 360. / 2048 */); if (p->drink_amt >= 0 && p->drink_amt <= 30) { - DrawGraphic(tileGetTexture(GUTMETER_LIGHT1), 239, top + 24, DI_ITEM_OFFSETS, 1, -1, -1, scale, scale); + DrawGraphic(tileGetTexture(TILE_GUTMETER_LIGHT1), 239, top + 24, DI_ITEM_OFFSETS, 1, -1, -1, scale, scale); } else if (p->drink_amt >= 31 && p->drink_amt <= 65) { - DrawGraphic(tileGetTexture(GUTMETER_LIGHT2), 248, top + 24, DI_ITEM_OFFSETS, 1, -1, -1, scale, scale); + DrawGraphic(tileGetTexture(TILE_GUTMETER_LIGHT2), 248, top + 24, DI_ITEM_OFFSETS, 1, -1, -1, scale, scale); } else if (p->drink_amt >= 66 && p->drink_amt <= 87) { - DrawGraphic(tileGetTexture(GUTMETER_LIGHT3), 256, top + 24, DI_ITEM_OFFSETS, 1, -1, -1, scale, scale); + DrawGraphic(tileGetTexture(TILE_GUTMETER_LIGHT3), 256, top + 24, DI_ITEM_OFFSETS, 1, -1, -1, scale, scale); } else { - DrawGraphic(tileGetTexture(GUTMETER_LIGHT4), 265, top + 24, DI_ITEM_OFFSETS, 1, -1, -1, scale, scale); + DrawGraphic(tileGetTexture(TILE_GUTMETER_LIGHT4), 265, top + 24, DI_ITEM_OFFSETS, 1, -1, -1, scale, scale); } if (p->eat_amt >= 0 && p->eat_amt <= 30) { - DrawGraphic(tileGetTexture(GUTMETER_LIGHT1), 276, top + 24, DI_ITEM_OFFSETS, 1, -1, -1, scale, scale); + DrawGraphic(tileGetTexture(TILE_GUTMETER_LIGHT1), 276, top + 24, DI_ITEM_OFFSETS, 1, -1, -1, scale, scale); } else if (p->eat_amt >= 31 && p->eat_amt <= 65) { - DrawGraphic(tileGetTexture(GUTMETER_LIGHT2), 285, top + 24, DI_ITEM_OFFSETS, 1, -1, -1, scale, scale); + DrawGraphic(tileGetTexture(TILE_GUTMETER_LIGHT2), 285, top + 24, DI_ITEM_OFFSETS, 1, -1, -1, scale, scale); } else if (p->eat_amt >= 66 && p->eat_amt <= 87) { - DrawGraphic(tileGetTexture(GUTMETER_LIGHT3), 294, top + 24, DI_ITEM_OFFSETS, 1, -1, -1, scale, scale); + DrawGraphic(tileGetTexture(TILE_GUTMETER_LIGHT3), 294, top + 24, DI_ITEM_OFFSETS, 1, -1, -1, scale, scale); } else { - DrawGraphic(tileGetTexture(GUTMETER_LIGHT4), 302, top + 24, DI_ITEM_OFFSETS, 1, -1, -1, scale, scale); + DrawGraphic(tileGetTexture(TILE_GUTMETER_LIGHT4), 302, top + 24, DI_ITEM_OFFSETS, 1, -1, -1, scale, scale); } } @@ -940,7 +940,7 @@ void G_DrawBackground(void) if ((g_player[myconnectindex].ps->gm&MODE_GAME) == 0 && ud.recstat != 2) { twod->ClearScreen(); - auto tex = tileGetTexture((g_gameType & GAMEFLAG_DEER) ? 7040 : MENUSCREEN); + auto tex = tileGetTexture((g_gameType & GAMEFLAG_DEER) ? 7040 : TILE_MENUSCREEN); PalEntry color = (g_gameType & GAMEFLAG_DEER) ? 0xffffffff : 0xff808080; if (!hud_bgstretch) DrawTexture(twod, tex, 0, 0, DTA_FullscreenEx, 3, DTA_Color, color, TAG_DONE); @@ -949,7 +949,7 @@ void G_DrawBackground(void) return; } - auto tex = tileGetTexture((g_gameType & GAMEFLAG_RRRA) ? RRTILE7629 : BIGHOLE); + auto tex = tileGetTexture((g_gameType & GAMEFLAG_RRRA) ? TILE_RRTILE7629 : TILE_BIGHOLE); if (tex != nullptr && tex->isValid()) { if (windowxy1.y > 0) @@ -968,8 +968,8 @@ void G_DrawBackground(void) { twod->AddFlatFill(windowxy2.x + 1, windowxy1.y, twod->GetWidth(), windowxy2.y + 1, tex, false, 1); } - auto vb = tileGetTexture(VIEWBORDER); - auto ve = tileGetTexture(VIEWBORDER + 1); + auto vb = tileGetTexture(TILE_VIEWBORDER); + auto ve = tileGetTexture(TILE_VIEWBORDER + 1); int x1 = windowxy1.x - 4; int y1 = windowxy1.y - 4; int x2 = windowxy2.x + 5; diff --git a/source/games/duke/src/screens.cpp b/source/games/duke/src/screens.cpp index 69167293f..c7ea0adfb 100644 --- a/source/games/duke/src/screens.cpp +++ b/source/games/duke/src/screens.cpp @@ -192,13 +192,13 @@ static void G_DrawCameraText(int16_t i) if (!T1(i)) { - rotatesprite_win(24<<16, 33<<16, 65536L, 0, CAMCORNER, 0, 0, 2); - rotatesprite_win((320-26)<<16, 34<<16, 65536L, 0, CAMCORNER+1, 0, 0, 2); - rotatesprite_win(22<<16, 163<<16, 65536L, 512, CAMCORNER+1, 0, 0, 2+4); - rotatesprite_win((310-10)<<16, 163<<16, 65536L, 512, CAMCORNER+1, 0, 0, 2); + rotatesprite_win(24<<16, 33<<16, 65536L, 0, TILE_CAMCORNER, 0, 0, 2); + rotatesprite_win((320-26)<<16, 34<<16, 65536L, 0, TILE_CAMCORNER+1, 0, 0, 2); + rotatesprite_win(22<<16, 163<<16, 65536L, 512, TILE_CAMCORNER+1, 0, 0, 2+4); + rotatesprite_win((310-10)<<16, 163<<16, 65536L, 512, TILE_CAMCORNER+1, 0, 0, 2); if ((int32_t) totalclock&16) - rotatesprite_win(46<<16, 32<<16, 65536L, 0, CAMLIGHT, 0, 0, 2); + rotatesprite_win(46<<16, 32<<16, 65536L, 0, TILE_CAMLIGHT, 0, 0, 2); } else { @@ -206,7 +206,7 @@ static void G_DrawCameraText(int16_t i) for (bssize_t x=-64; x<394; x+=64) for (bssize_t y=0; y<200; y+=64) - rotatesprite_win(x<<16, y<<16, 65536L, 0, STATIC, 0, 0, 2+flipbits); + rotatesprite_win(x<<16, y<<16, 65536L, 0, TILE_STATIC, 0, 0, 2+flipbits); } } @@ -332,7 +332,7 @@ static void G_DrawOverheadMap(int32_t cposx, int32_t cposy, int32_t czoom, int16 break; case 16: - if (spr->picnum == LASERLINE) + if (spr->picnum == TILE_LASERLINE) { x1 = sprx; y1 = spry; @@ -497,9 +497,9 @@ static void G_DrawOverheadMap(int32_t cposx, int32_t cposy, int32_t czoom, int16 if (p == screenpeek || GTFLAGS(GAMETYPE_OTHERPLAYERSINMAP)) { if (pSprite->xvel > 16 && pPlayer->on_ground) - i = APLAYERTOP+(((int32_t) totalclock>>4)&3); + i = TILE_APLAYERTOP+(((int32_t) totalclock>>4)&3); else - i = APLAYERTOP; + i = TILE_APLAYERTOP; //i = VM_OnEventWithReturn(EVENT_DISPLAYOVERHEADMAPPLAYER, pPlayer->i, p, i); @@ -842,10 +842,10 @@ void G_DisplayRest(int32_t smoothratio) if (!DEER && g_player[myconnectindex].ps->newowner == -1 && ud.overhead_on == 0 && cl_crosshair && ud.camerasprite == -1) { - int32_t a = CROSSHAIR; + int32_t a = TILE_CROSSHAIR; //ud.returnvar[0] = (160<<16) - (g_player[myconnectindex].ps->look_ang<<15); //ud.returnvar[1] = 100<<16; - //int32_t a = VM_OnEventWithReturn(EVENT_DISPLAYCROSSHAIR, g_player[screenpeek].ps->i, screenpeek, CROSSHAIR); + //int32_t a = VM_OnEventWithReturn(EVENT_DISPLAYCROSSHAIR, g_player[screenpeek].ps->i, screenpeek, TILE_CROSSHAIR); if ((unsigned) a < MAXTILES) { vec2_t crosshairpos = { (160<<16) - (g_player[myconnectindex].ps->look_ang<<15), 100<<16 }; @@ -885,14 +885,14 @@ void G_DisplayRest(int32_t smoothratio) if (ud.screen_size == 4) { if (ud.althud == 0 || hud_position == 0) - i -= sbarsc(ud.althud ? ((tilesiz[BIGALPHANUM].y< 2) - i -= sbarsc(tilesiz[BOTTOMSTATUSBAR].y< 0 && (g_player[myconnectindex].ps->gm&MODE_MENU) == 0) - rotatesprite_fs((320-50)<<16, 9<<16, 65536L, 0, BETAVERSION, 0, 0, 2+8+16+128); + rotatesprite_fs((320-50)<<16, 9<<16, 65536L, 0, TILE_BETAVERSION, 0, 0, 2+8+16+128); } #endif @@ -1071,12 +1071,12 @@ void G_DisplayExtraScreens(void) fadepal(0, 0, 0, 0, 252, 28); inputState.ClearAllInput(); totalclock = 0; - rotatesprite_fs(160<<16, 100<<16, 65536L, 0, TENSCREEN, 0, 0, 2+8+64+BGSTRETCH); - fadepaltile(0, 0, 0, 252, 0, -28, TENSCREEN, BASEPAL); + rotatesprite_fs(160<<16, 100<<16, 65536L, 0, TILE_TENSCREEN, 0, 0, 2+8+64+BGSTRETCH); + fadepaltile(0, 0, 0, 252, 0, -28, TILE_TENSCREEN, BASEPAL); while (!inputState.CheckAllInput() && totalclock < 2400) G_HandleAsync(); - fadepaltile(0, 0, 0, 0, 252, 28, TENSCREEN, BASEPAL); + fadepaltile(0, 0, 0, 0, 252, 28, TILE_TENSCREEN, BASEPAL); inputState.ClearAllInput(); } } @@ -1286,9 +1286,9 @@ void G_DisplayLogo(void) fadepal(0, 0, 0, 0, 252, 28); renderFlushPerms(); - rotatesprite_fs(160 << 16, 100 << 16, 65536L, 0, DREALMS, 0, 0, 2 + 8 + 64 + BGSTRETCH, nullptr, DREALMSPAL); + rotatesprite_fs(160 << 16, 100 << 16, 65536L, 0, TILE_DREALMS, 0, 0, 2 + 8 + 64 + BGSTRETCH, nullptr, DREALMSPAL); videoNextPage(); - fadepaltile(0, 0, 0, 252, 0, -28, DREALMS, DREALMSPAL); + fadepaltile(0, 0, 0, 252, 0, -28, TILE_DREALMS, DREALMSPAL); totalclock = 0; while (totalclock < (120 * 7) && !inputState.CheckAllInput()) @@ -1296,13 +1296,13 @@ void G_DisplayLogo(void) if (G_FPSLimit()) { videoClearScreen(0); - rotatesprite_fs(160 << 16, 100 << 16, 65536L, 0, DREALMS, 0, 0, 2 + 8 + 64 + BGSTRETCH, nullptr, DREALMSPAL); + rotatesprite_fs(160 << 16, 100 << 16, 65536L, 0, TILE_DREALMS, 0, 0, 2 + 8 + 64 + BGSTRETCH, nullptr, DREALMSPAL); G_HandleAsync(); videoNextPage(); } } - fadepaltile(0, 0, 0, 0, 252, 28, DREALMS, DREALMSPAL); + fadepaltile(0, 0, 0, 0, 252, 28, TILE_DREALMS, DREALMSPAL); } } @@ -1318,9 +1318,9 @@ void G_DisplayLogo(void) //g_player[myconnectindex].ps->palette = titlepal; renderFlushPerms(); - rotatesprite_fs(160<<16, 100<<16, 65536L, 0, BETASCREEN, 0, 0, 2+8+64+BGSTRETCH, nullptr, TITLEPAL); + rotatesprite_fs(160<<16, 100<<16, 65536L, 0, TILE_BETASCREEN, 0, 0, 2+8+64+BGSTRETCH, nullptr, TITLEPAL); inputState.keyFlushChars(); - fadepaltile(0, 0, 0, 252, 0, -28, BETASCREEN, TITLEPAL); + fadepaltile(0, 0, 0, 252, 0, -28, TILE_BETASCREEN, TITLEPAL); totalclock = 0; while ( @@ -1330,7 +1330,7 @@ void G_DisplayLogo(void) if (G_FPSLimit()) { videoClearScreen(0); - rotatesprite_fs(160<<16, 100<<16, 65536L, 0, BETASCREEN, 0, 0, 2+8+64+BGSTRETCH, nullptr, TITLEPAL); + rotatesprite_fs(160<<16, 100<<16, 65536L, 0, TILE_BETASCREEN, 0, 0, 2+8+64+BGSTRETCH, nullptr, TITLEPAL); if (totalclock > 120 && totalclock < (120+60)) { @@ -1339,10 +1339,10 @@ void G_DisplayLogo(void) soundanm++; S_PlaySound(PIPEBOMB_EXPLODE, CHAN_AUTO, CHANF_UI); } - rotatesprite_fs(160<<16, 104<<16, ((int32_t) totalclock-120)<<10, 0, DUKENUKEM, 0, 0, 2+8, nullptr, TITLEPAL); + rotatesprite_fs(160<<16, 104<<16, ((int32_t) totalclock-120)<<10, 0, TILE_DUKENUKEM, 0, 0, 2+8, nullptr, TITLEPAL); } else if (totalclock >= (120+60)) - rotatesprite_fs(160<<16, (104)<<16, 60<<10, 0, DUKENUKEM, 0, 0, 2+8, nullptr, TITLEPAL); + rotatesprite_fs(160<<16, (104)<<16, 60<<10, 0, TILE_DUKENUKEM, 0, 0, 2+8, nullptr, TITLEPAL); if (totalclock > 220 && totalclock < (220+30)) { @@ -1352,18 +1352,18 @@ void G_DisplayLogo(void) S_PlaySound(PIPEBOMB_EXPLODE, CHAN_AUTO, CHANF_UI); } - rotatesprite_fs(160<<16, (104)<<16, 60<<10, 0, DUKENUKEM, 0, 0, 2+8, nullptr, TITLEPAL); - rotatesprite_fs(160<<16, (129)<<16, ((int32_t) totalclock - 220)<<11, 0, THREEDEE, 0, 0, 2+8, nullptr, TITLEPAL); + rotatesprite_fs(160<<16, (104)<<16, 60<<10, 0, TILE_DUKENUKEM, 0, 0, 2+8, nullptr, TITLEPAL); + rotatesprite_fs(160<<16, (129)<<16, ((int32_t) totalclock - 220)<<11, 0, TILE_THREEDEE, 0, 0, 2+8, nullptr, TITLEPAL); } else if (totalclock >= (220+30)) - rotatesprite_fs(160<<16, (129)<<16, 30<<11, 0, THREEDEE, 0, 0, 2+8, nullptr, TITLEPAL); + rotatesprite_fs(160<<16, (129)<<16, 30<<11, 0, TILE_THREEDEE, 0, 0, 2+8, nullptr, TITLEPAL); if (PLUTOPAK) { // JBF 20030804 if (totalclock >= 280 && totalclock < 395) { - rotatesprite_fs(160<<16, (151)<<16, (410-(int32_t) totalclock)<<12, 0, PLUTOPAKSPRITE+1, (sintable[((int32_t) totalclock<<4)&2047]>>11), 0, 2+8, nullptr, TITLEPAL); + rotatesprite_fs(160<<16, (151)<<16, (410-(int32_t) totalclock)<<12, 0, TILE_PLUTOPAKSPRITE+1, (sintable[((int32_t) totalclock<<4)&2047]>>11), 0, 2+8, nullptr, TITLEPAL); if (soundanm == 2) { soundanm++; @@ -1377,7 +1377,7 @@ void G_DisplayLogo(void) soundanm++; S_PlaySound(PIPEBOMB_EXPLODE, CHAN_AUTO, CHANF_UI); } - rotatesprite_fs(160<<16, (151)<<16, 30<<11, 0, PLUTOPAKSPRITE+1, (sintable[((int32_t) totalclock<<4)&2047]>>11), 0, 2+8, nullptr, TITLEPAL); + rotatesprite_fs(160<<16, (151)<<16, 30<<11, 0, TILE_PLUTOPAKSPRITE+1, (sintable[((int32_t) totalclock<<4)&2047]>>11), 0, 2+8, nullptr, TITLEPAL); } } @@ -1414,7 +1414,7 @@ void G_DoOrderScreen(void) { fadepal(0, 0, 0, 0, 252, 28); inputState.ClearAllInput(); - rotatesprite_fs(160<<16, 100<<16, 65536L, 0, ORDERING+i, 0, 0, 2+8+64+BGSTRETCH); + rotatesprite_fs(160<<16, 100<<16, 65536L, 0, TILE_ORDERING+i, 0, 0, 2+8+64+BGSTRETCH); fadepal(0, 0, 0, 252, 0, -28); while (!inputState.CheckAllInput()) G_HandleAsync(); @@ -1449,7 +1449,7 @@ static void G_BonusCutscenes(void) fadepal(0, 0, 0, 0, 252, 4); inputState.ClearAllInput(); P_SetGamePalette(g_player[myconnectindex].ps, BASEPAL, 0); - rotatesprite_fs(0, 0, 65536L, 0, TENSCREEN, 0, 0, 2+8+16+64+128+BGSTRETCH); + rotatesprite_fs(0, 0, 65536L, 0, TILE_TENSCREEN, 0, 0, 2+8+16+64+128+BGSTRETCH); videoNextPage(); fadepal(0, 0, 0, 252, 0, -4); inputState.ClearAllInput(); @@ -1476,7 +1476,7 @@ static void G_BonusCutscenes(void) videoSetViewableArea(0, 0, xdim-1, ydim-1); inputState.ClearAllInput(); P_SetGamePalette(g_player[myconnectindex].ps, BASEPAL, 0); - rotatesprite_fs(0, 0, 65536L, 0, TENSCREEN, 0, 0, 2 + 8 + 16 + 64 + 128 + BGSTRETCH); + rotatesprite_fs(0, 0, 65536L, 0, TILE_TENSCREEN, 0, 0, 2 + 8 + 16 + 64 + 128 + BGSTRETCH); videoNextPage(); fadepal(0, 0, 0, 252, 0, -4); inputState.ClearAllInput(); @@ -1497,17 +1497,17 @@ static void G_BonusCutscenes(void) int32_t bonuscnt=0; int32_t const bossmove [] = { - 0, 120, VICTORY1+3, 86, 59, - 220, 260, VICTORY1+4, 86, 59, - 260, 290, VICTORY1+5, 86, 59, - 290, 320, VICTORY1+6, 86, 59, - 320, 350, VICTORY1+7, 86, 59, - 350, 380, VICTORY1+8, 86, 59, - 350, 380, VICTORY1+8, 86, 59 // duplicate row to alleviate overflow in the for loop below "boss" + 0, 120, TILE_VICTORY1+3, 86, 59, + 220, 260, TILE_VICTORY1+4, 86, 59, + 260, 290, TILE_VICTORY1+5, 86, 59, + 290, 320, TILE_VICTORY1+6, 86, 59, + 320, 350, TILE_VICTORY1+7, 86, 59, + 350, 380, TILE_VICTORY1+8, 86, 59, + 350, 380, TILE_VICTORY1+8, 86, 59 // duplicate row to alleviate overflow in the for loop below "boss" }; videoClearScreen(0L); - rotatesprite_fs(0, 50<<16, 65536L, 0, VICTORY1, 0, 0, 2+8+16+64+128+BGSTRETCH, nullptr, ENDINGPAL); + rotatesprite_fs(0, 50<<16, 65536L, 0, TILE_VICTORY1, 0, 0, 2+8+16+64+128+BGSTRETCH, nullptr, ENDINGPAL); videoNextPage(); fadepal(0, 0, 0, 252, 0, -4); @@ -1519,7 +1519,7 @@ static void G_BonusCutscenes(void) if (G_FPSLimit()) { videoClearScreen(0L); - rotatesprite_fs(0, 50 << 16, 65536L, 0, VICTORY1, 0, 0, 2 + 8 + 16 + 64 + 128 + BGSTRETCH, nullptr, ENDINGPAL); + rotatesprite_fs(0, 50 << 16, 65536L, 0, TILE_VICTORY1, 0, 0, 2 + 8 + 16 + 64 + 128 + BGSTRETCH, nullptr, ENDINGPAL); // boss if (totalclock > 390 && totalclock < 780) @@ -1539,15 +1539,15 @@ static void G_BonusCutscenes(void) { int32_t const breathe [] = { - 0, 30, VICTORY1+1, 176, 59, - 30, 60, VICTORY1+2, 176, 59, - 60, 90, VICTORY1+1, 176, 59, + 0, 30, TILE_VICTORY1+1, 176, 59, + 30, 60, TILE_VICTORY1+2, 176, 59, + 60, 90, TILE_VICTORY1+1, 176, 59, 90, 120, 0, 176, 59 }; if (totalclock >= 750) { - rotatesprite_fs(86<<16, 59<<16, 65536L, 0, VICTORY1+8, 0, 0, 2+8+16+64+128+BGSTRETCH, nullptr, ENDINGPAL); + rotatesprite_fs(86<<16, 59<<16, 65536L, 0, TILE_VICTORY1+8, 0, 0, 2+8+16+64+128+BGSTRETCH, nullptr, ENDINGPAL); if (totalclock >= 750 && bonuscnt == 2) { S_PlaySound(DUKETALKTOBOSS, CHAN_AUTO, CHANF_UI); @@ -1764,10 +1764,10 @@ static void G_DisplayMPResultsScreen(void) { int32_t i, y, t = 0; - rotatesprite_fs(160<<16, 100<<16, 65536L, 0, MENUSCREEN, 16, 0, 2+8+64+BGSTRETCH); - rotatesprite_fs(160<<16, 34<<16, RR ? 23592L : 65536L, 0, INGAMEDUKETHREEDEE, 0, 0, 10); + rotatesprite_fs(160<<16, 100<<16, 65536L, 0, TILE_MENUSCREEN, 16, 0, 2+8+64+BGSTRETCH); + rotatesprite_fs(160<<16, 34<<16, RR ? 23592L : 65536L, 0, TILE_INGAMEDUKETHREEDEE, 0, 0, 10); if (!RR && PLUTOPAK) // JBF 20030804 - rotatesprite_fs((260)<<16, 36<<16, 65536L, 0, PLUTOPAKSPRITE+2, 0, 0, 2+8); + rotatesprite_fs((260)<<16, 36<<16, 65536L, 0, TILE_PLUTOPAKSPRITE+2, 0, 0, 2+8); gametext_center(58+(RR ? 0 : 2), GStrings("Multiplayer Totals")); gametext_center(58+10, currentLevel->DisplayName()); @@ -1965,7 +1965,7 @@ void G_BonusScreen(int32_t bonusonly) if (!RR) { gfx_offset = (ud.volume_number==1) ? 5 : 0; - gfx_offset += BONUSSCREEN; + gfx_offset += TILE_BONUSSCREEN; rotatesprite_fs(160<<16, 100<<16, 65536L, 0, gfx_offset, 0, 0, 2+8+64+128+BGSTRETCH); if (lastmapname) @@ -1978,14 +1978,14 @@ void G_BonusScreen(int32_t bonusonly) } else { - gfx_offset = (ud.volume_number==0) ? RRTILE403 : RRTILE409; + gfx_offset = (ud.volume_number==0) ? TILE_RRTILE403 : TILE_RRTILE409; gfx_offset += ud.level_number-1; if (g_lastLevel || g_vixenLevel) - gfx_offset = RRTILE409+7; + gfx_offset = TILE_RRTILE409+7; if (boardfilename[0]) - gfx_offset = RRTILE403; + gfx_offset = TILE_RRTILE403; rotatesprite_fs(160<<16, 100<<16, 65536L, 0, gfx_offset, 0, 0, 2+8+64+128+BGSTRETCH); if (lastmapname) @@ -2437,7 +2437,7 @@ void G_ShowMapFrame(void) break; } } - rotatesprite_fs(160<<16,100<<16,65536L,0,RRTILE8624+frame,0,0,10+64+128); + rotatesprite_fs(160<<16,100<<16,65536L,0,TILE_RRTILE8624+frame,0,0,10+64+128); } void G_BonusScreenRRRA(int32_t bonusonly) @@ -2534,14 +2534,14 @@ void G_BonusScreenRRRA(int32_t bonusonly) if (bonusonly || (g_netServer || ud.multimode > 1)) return; - gfx_offset = (ud.volume_number==0) ? RRTILE403 : RRTILE409; + gfx_offset = (ud.volume_number==0) ? TILE_RRTILE403 : TILE_RRTILE409; gfx_offset += ud.level_number-1; if (g_lastLevel || g_vixenLevel) - gfx_offset = RRTILE409+7; + gfx_offset = TILE_RRTILE409+7; if (boardfilename[0]) - gfx_offset = RRTILE403; + gfx_offset = TILE_RRTILE403; if (!showMap) rotatesprite_fs(160<<16, 100<<16, 65536L, 0, gfx_offset, 0, 0, 2+8+64+128+BGSTRETCH); @@ -2811,14 +2811,14 @@ void G_BonusScreenRRRA(int32_t bonusonly) switch (((int32_t) totalclock >> 4) & 1) { case 0: - rotatesprite(0,0,65536,0,RRTILE8677,0,0,2+8+16+64+128,0,0,xdim-1,ydim-1); + rotatesprite(0,0,65536,0,TILE_RRTILE8677,0,0,2+8+16+64+128,0,0,xdim-1,ydim-1); videoNextPage(); G_FadePalette(0, 0, 0, 0); P_SetGamePalette(g_player[myconnectindex].ps, BASEPAL, 0); Net_GetPackets(); break; case 1: - rotatesprite(0,0,65536,0,RRTILE8677+1,0,0,2+8+16+64+128,0,0,xdim-1,ydim-1); + rotatesprite(0,0,65536,0,TILE_RRTILE8677+1,0,0,2+8+16+64+128,0,0,xdim-1,ydim-1); videoNextPage(); G_FadePalette(0, 0, 0, 0); P_SetGamePalette(g_player[myconnectindex].ps, BASEPAL, 0); diff --git a/source/games/duke/src/sector.cpp b/source/games/duke/src/sector.cpp index 611187dca..503a2b90e 100644 --- a/source/games/duke/src/sector.cpp +++ b/source/games/duke/src/sector.cpp @@ -44,7 +44,7 @@ int S_FindMusicSFX(int sectNum, int *sndptr) const int32_t snd = sprite[spriteNum].lotag; EDUKE32_STATIC_ASSERT(MAXSOUNDS >= 1000); - if (PN(spriteNum) == MUSICANDSFX && (unsigned)snd < 1000) // XXX: in other places, 999 + if (PN(spriteNum) == TILE_MUSICANDSFX && (unsigned)snd < 1000) // XXX: in other places, 999 { *sndptr = snd; return spriteNum; @@ -60,7 +60,7 @@ void A_CallSound2(int soundNum, int playerNum) A_PlaySound(soundNum, g_player[playerNum].ps->i); } -// this function activates a sector's MUSICANDSFX sprite +// this function activates a sector's TILE_MUSICANDSFX sprite int A_CallSound(int sectNum, int spriteNum) { if (!RR && g_haltSoundHack) @@ -198,10 +198,10 @@ int CheckDoorTile(int tileNum) int CheckBlockDoorTile(int tileNum) { - if (tileNum == RRTILE3643) + if (tileNum == TILE_RRTILE3643) return 0; - if (tileNum >= RRTILE3643+2 && tileNum <= RRTILE3643+3) - tileNum = RRTILE3643; + if (tileNum >= TILE_RRTILE3643+2 && tileNum <= TILE_RRTILE3643+3) + tileNum = TILE_RRTILE3643; switch (DYNAMICTILEMAP(tileNum)) { @@ -566,7 +566,7 @@ void G_AnimateWalls(void) { for (bssize_t i = 0; i < MAXWALLS; i++) { - if (wall[i].picnum == RRTILE7873 || wall[i].picnum == RRTILE7870) + if (wall[i].picnum == TILE_RRTILE7873 || wall[i].picnum == TILE_RRTILE7870) wall[i].xpanning += 6; } } @@ -598,25 +598,25 @@ void G_AnimateWalls(void) if ((krand2()&255) < 16) { animwall[animwallNum].tag = wall[wallNum].picnum; - wall[wallNum].picnum = SCREENBREAK6; + wall[wallNum].picnum = TILE_SCREENBREAK6; } continue; case SCREENBREAK6__STATIC: case SCREENBREAK7__STATIC: case SCREENBREAK8__STATIC: - if (animwall[animwallNum].tag >= 0 && (RR || (wall[wallNum].extra != FEMPIC2 && wall[wallNum].extra != FEMPIC3))) + if (animwall[animwallNum].tag >= 0 && (RR || (wall[wallNum].extra != TILE_FEMPIC2 && wall[wallNum].extra != TILE_FEMPIC3))) wall[wallNum].picnum = animwall[animwallNum].tag; else { wall[wallNum].picnum++; - if (wall[wallNum].picnum == (SCREENBREAK6+3)) - wall[wallNum].picnum = SCREENBREAK6; + if (wall[wallNum].picnum == (TILE_SCREENBREAK6+3)) + wall[wallNum].picnum = TILE_SCREENBREAK6; } continue; } - if ((wall[wallNum].cstat&16) && G_GetForcefieldPicnum(wallNum)==W_FORCEFIELD) + if ((wall[wallNum].cstat&16) && G_GetForcefieldPicnum(wallNum)==TILE_W_FORCEFIELD) { int const wallTag = animwall[animwallNum].tag; @@ -634,13 +634,13 @@ void G_AnimateWalls(void) if (animwall[animwallNum].tag < (128 << 4)) { - wall[wallNum].overpicnum = (animwall[animwallNum].tag & 128) ? W_FORCEFIELD : W_FORCEFIELD + 1; + wall[wallNum].overpicnum = (animwall[animwallNum].tag & 128) ? TILE_W_FORCEFIELD : TILE_W_FORCEFIELD + 1; } else { if ((krand2()&255) < 32) animwall[animwallNum].tag = 128<<(krand2()&3); - else wall[wallNum].overpicnum = W_FORCEFIELD+1; + else wall[wallNum].overpicnum = TILE_W_FORCEFIELD+1; } } } @@ -849,11 +849,11 @@ void G_OperateSectors(int sectNum, int spriteNum) case ST_15_WARP_ELEVATOR://Warping elevators - if (sprite[spriteNum].picnum != APLAYER) + if (sprite[spriteNum].picnum != TILE_APLAYER) return; for (SPRITES_OF_SECT(sectNum, i)) - if (PN(i)==SECTOREFFECTOR && SLT(i) == SE_17_WARP_ELEVATOR) + if (PN(i)==TILE_SECTOREFFECTOR && SLT(i) == SE_17_WARP_ELEVATOR) break; if (i < 0) @@ -1170,18 +1170,18 @@ void G_OperateRespawns(int lotag) { spritetype * const pSprite = &sprite[spriteNum]; - if (pSprite->lotag == lotag && pSprite->picnum == RESPAWN) + if (pSprite->lotag == lotag && pSprite->picnum == TILE_RESPAWN) { if (!ud.monsters_off || !A_CheckEnemyTile(pSprite->hitag)) { - int const j = A_Spawn(spriteNum, TRANSPORTERSTAR); + int const j = A_Spawn(spriteNum, TILE_TRANSPORTERSTAR); sprite[j].z -= ZOFFSET5; // Just a way to killit (see G_MoveFX(): RESPAWN__STATIC) pSprite->extra = 66-12; } } - if (RRRA && pSprite->lotag == lotag && pSprite->picnum == RRTILE7424) + if (RRRA && pSprite->lotag == lotag && pSprite->picnum == TILE_RRTILE7424) { if (!ud.monsters_off) changespritestat(spriteNum, 119); @@ -1213,7 +1213,7 @@ void G_OperateActivators(int lotag, int playerNum) { if (sprite[spriteNum].lotag == lotag) { - if (sprite[spriteNum].picnum == ACTIVATORLOCKED) + if (sprite[spriteNum].picnum == TILE_ACTIVATORLOCKED) { sector[SECT(spriteNum)].lotag ^= 16384; @@ -1271,7 +1271,7 @@ void G_OperateActivators(int lotag, int playerNum) void G_OperateMasterSwitches(int lotag) { for (bssize_t SPRITES_OF(STAT_STANDABLE, i)) - if (PN(i) == MASTERSWITCH && SLT(i) == lotag && SP(i) == 0) + if (PN(i) == TILE_MASTERSWITCH && SLT(i) == lotag && SP(i) == 0) SP(i) = 1; } @@ -1282,7 +1282,7 @@ void G_OperateForceFields(int spriteNum, int wallTag) int const wallNum = animwall[animwallNum].wallnum; if ((wallTag == wall[wallNum].lotag || wallTag == -1) - && ((!RR && G_GetForcefieldPicnum(wallNum) == W_FORCEFIELD) || (wall[wallNum].overpicnum == BIGFORCE))) + && ((!RR && G_GetForcefieldPicnum(wallNum) == TILE_W_FORCEFIELD) || (wall[wallNum].overpicnum == TILE_BIGFORCE))) { animwall[animwallNum].tag = 0; @@ -1290,7 +1290,7 @@ void G_OperateForceFields(int spriteNum, int wallTag) { wall[wallNum].cstat = 0; - if (spriteNum >= 0 && sprite[spriteNum].picnum == SECTOREFFECTOR && sprite[spriteNum].lotag == SE_30_TWO_WAY_TRAIN) + if (spriteNum >= 0 && sprite[spriteNum].picnum == TILE_SECTOREFFECTOR && sprite[spriteNum].lotag == SE_30_TWO_WAY_TRAIN) wall[wallNum].lotag = 0; } else @@ -1311,7 +1311,7 @@ void G_OperateForceFields(int spriteNum, int wallTag) case ACCESSSWITCH2__STATIC // List of switches that don't fit the two preceding categories, and are not -// the MULTISWITCH. 13 cases. +// the TILE_MULTISWITCH. 13 cases. #define REST_SWITCH_CASES \ DIPSWITCH2__STATIC: \ case DIPSWITCH3__STATIC: \ @@ -1337,7 +1337,7 @@ void G_OperateForceFields(int spriteNum, int wallTag) static int G_IsLikeDipswitch(int switchPic) { for (bssize_t i=0; i<2; i++) - if (switchPic == DIPSWITCH+i || switchPic == TECHSWITCH+i || switchPic == ALIENSWITCH+i) + if (switchPic == TILE_DIPSWITCH+i || switchPic == TILE_TECHSWITCH+i || switchPic == TILE_ALIENSWITCH+i) return 1+i; return 0; @@ -1346,25 +1346,25 @@ static int G_IsLikeDipswitch(int switchPic) // Get base (unpressed) tile number for switch. static int G_GetBaseSwitch(int switchPic) { - if (switchPic > MULTISWITCH && switchPic <= MULTISWITCH+3) - return MULTISWITCH; + if (switchPic > TILE_MULTISWITCH && switchPic <= TILE_MULTISWITCH+3) + return TILE_MULTISWITCH; - if (RRRA && switchPic > MULTISWITCH2 && switchPic <= MULTISWITCH2+3) - return MULTISWITCH2; + if (RRRA && switchPic > TILE_MULTISWITCH2 && switchPic <= TILE_MULTISWITCH2+3) + return TILE_MULTISWITCH2; if (RR) { - if (switchPic == NUKEBUTTON+1 || switchPic == RRTILE2697+1 || switchPic == RRTILE2707+1) + if (switchPic == TILE_NUKEBUTTON+1 || switchPic == TILE_RRTILE2697+1 || switchPic == TILE_RRTILE2707+1) return switchPic-1; } - return ((RR && (switchPic == NUKEBUTTON+1 || switchPic == RRTILE2697+1 || switchPic == RRTILE2707+1)) || - switchPic == DIPSWITCH + 1 || switchPic == DIPSWITCH2 + 1 || switchPic == DIPSWITCH3 + 1 || - switchPic == TECHSWITCH + 1 || switchPic == ALIENSWITCH + 1 || switchPic == PULLSWITCH + 1 || - switchPic == HANDSWITCH + 1 || switchPic == SLOTDOOR + 1 || switchPic == SPACEDOORSWITCH + 1 || - switchPic == SPACELIGHTSWITCH + 1 || switchPic == LIGHTSWITCH + 1 || switchPic == LIGHTSWITCH2 + 1 || - switchPic == FRANKENSTINESWITCH + 1 || switchPic == POWERSWITCH1 + 1 || switchPic == POWERSWITCH2 + 1 || - switchPic == LOCKSWITCH1 + 1) ? + return ((RR && (switchPic == TILE_NUKEBUTTON+1 || switchPic == TILE_RRTILE2697+1 || switchPic == TILE_RRTILE2707+1)) || + switchPic == TILE_DIPSWITCH + 1 || switchPic == TILE_DIPSWITCH2 + 1 || switchPic == TILE_DIPSWITCH3 + 1 || + switchPic == TILE_TECHSWITCH + 1 || switchPic == TILE_ALIENSWITCH + 1 || switchPic == TILE_PULLSWITCH + 1 || + switchPic == TILE_HANDSWITCH + 1 || switchPic == TILE_SLOTDOOR + 1 || switchPic == TILE_SPACEDOORSWITCH + 1 || + switchPic == TILE_SPACELIGHTSWITCH + 1 || switchPic == TILE_LIGHTSWITCH + 1 || switchPic == TILE_LIGHTSWITCH2 + 1 || + switchPic == TILE_FRANKENSTINESWITCH + 1 || switchPic == TILE_POWERSWITCH1 + 1 || switchPic == TILE_POWERSWITCH2 + 1 || + switchPic == TILE_LOCKSWITCH1 + 1) ? switchPic-1 : switchPic; } @@ -1462,8 +1462,8 @@ int P_ActivateSwitch(int playerNum, int wallOrSprite, int switchType) case MULTISWITCH__STATIC: case MULTISWITCH2__STATICRR: case REST_SWITCH_CASES: - if (!RR && nSwitchPicnum == NUKEBUTTON) goto default_case; - if (RR && !RRRA && (nSwitchPicnum == MULTISWITCH2 || nSwitchPicnum == RRTILE8464 || nSwitchPicnum == RRTILE8660)) goto default_case; + if (!RR && nSwitchPicnum == TILE_NUKEBUTTON) goto default_case; + if (RR && !RRRA && (nSwitchPicnum == TILE_MULTISWITCH2 || nSwitchPicnum == TILE_RRTILE8464 || nSwitchPicnum == TILE_RRTILE8660)) goto default_case; if (G_CheckActivatorMotion(lotag)) return 0; break; @@ -1483,18 +1483,18 @@ default_case: // trigger on the result of changes: int const spritePic = PN(spriteNum); - if (spritePic >= MULTISWITCH && spritePic <= MULTISWITCH+3) + if (spritePic >= TILE_MULTISWITCH && spritePic <= TILE_MULTISWITCH+3) { sprite[spriteNum].picnum++; - if (sprite[spriteNum].picnum > MULTISWITCH+3) - sprite[spriteNum].picnum = MULTISWITCH; + if (sprite[spriteNum].picnum > TILE_MULTISWITCH+3) + sprite[spriteNum].picnum = TILE_MULTISWITCH; } - if (RRRA && spritePic >= MULTISWITCH2 && spritePic <= MULTISWITCH2+3) + if (RRRA && spritePic >= TILE_MULTISWITCH2 && spritePic <= TILE_MULTISWITCH2+3) { sprite[spriteNum].picnum++; - if (sprite[spriteNum].picnum > MULTISWITCH2+3) - sprite[spriteNum].picnum = MULTISWITCH2; + if (sprite[spriteNum].picnum > TILE_MULTISWITCH2+3) + sprite[spriteNum].picnum = TILE_MULTISWITCH2; } switch (DYNAMICTILEMAP(spritePic)) @@ -1517,35 +1517,35 @@ default_case: case REST_SWITCH_CASES: case NUKEBUTTON__STATIC: case RRTILE8660__STATICRR: - if (!RR && spritePic == NUKEBUTTON) + if (!RR && spritePic == TILE_NUKEBUTTON) break; - if (RR && !RRRA && spritePic == RRTILE8660) + if (RR && !RRRA && spritePic == TILE_RRTILE8660) break; if (RR) { - if (PN(spriteNum) == DIPSWITCH3 && SHT(spriteNum) == 999) + if (PN(spriteNum) == TILE_DIPSWITCH3 && SHT(spriteNum) == 999) { int j = headspritestat[107]; while (j >= 0) { int const nextj = nextspritestat[j]; - if (sprite[j].picnum == RRTILE3410) + if (sprite[j].picnum == TILE_RRTILE3410) { sprite[j].picnum++; sprite[j].hitag = 100; sprite[j].extra = 0; A_PlaySound(474, j); } - else if (sprite[j].picnum == RRTILE295) + else if (sprite[j].picnum == TILE_RRTILE295) A_DeleteSprite(j); j = nextj; } sprite[spriteNum].picnum++; break; } - if (PN(spriteNum) == NUKEBUTTON) + if (PN(spriteNum) == TILE_NUKEBUTTON) g_chickenPlant = 0; - if (RRRA && PN(spriteNum) == RRTILE8660) + if (RRRA && PN(spriteNum) == TILE_RRTILE8660) { g_bellTime = 132; g_bellSprite = spriteNum; @@ -1570,9 +1570,9 @@ default_case: case REST_SWITCH_CASES: case NUKEBUTTON__STATIC: - if (!RR && spritePic == NUKEBUTTON+1) + if (!RR && spritePic == TILE_NUKEBUTTON+1) break; - if (RR && PN(spriteNum) == NUKEBUTTON+1) + if (RR && PN(spriteNum) == TILE_NUKEBUTTON+1) g_chickenPlant = 1; if (!RR || SHT(spriteNum) != 999) sprite[spriteNum].picnum--; @@ -1587,17 +1587,17 @@ default_case: { if (lotag == wall[wallNum].lotag) { - if (wall[wallNum].picnum >= MULTISWITCH && wall[wallNum].picnum <= MULTISWITCH+3) + if (wall[wallNum].picnum >= TILE_MULTISWITCH && wall[wallNum].picnum <= TILE_MULTISWITCH+3) { wall[wallNum].picnum++; - if (wall[wallNum].picnum > MULTISWITCH+3) - wall[wallNum].picnum = MULTISWITCH; + if (wall[wallNum].picnum > TILE_MULTISWITCH+3) + wall[wallNum].picnum = TILE_MULTISWITCH; } - if (RRRA && wall[wallNum].picnum >= MULTISWITCH2 && wall[wallNum].picnum <= MULTISWITCH2+3) + if (RRRA && wall[wallNum].picnum >= TILE_MULTISWITCH2 && wall[wallNum].picnum <= TILE_MULTISWITCH2+3) { wall[wallNum].picnum++; - if (wall[wallNum].picnum > MULTISWITCH2+3) - wall[wallNum].picnum = MULTISWITCH2; + if (wall[wallNum].picnum > TILE_MULTISWITCH2+3) + wall[wallNum].picnum = TILE_MULTISWITCH2; } switch (DYNAMICTILEMAP(wall[wallNum].picnum)) @@ -1614,7 +1614,7 @@ default_case: case REST_SWITCH_CASES: case RRTILE8464__STATICRR: case RRTILE8660__STATICRR: - if (RR && !RRRA && wall[wallNum].picnum == RRTILE8660) break; + if (RR && !RRRA && wall[wallNum].picnum == TILE_RRTILE8660) break; wall[wallNum].picnum++; break; @@ -1658,7 +1658,7 @@ default_case: case DIPSWITCH_LIKE_CASES: if (G_IsLikeDipswitch(nSwitchPicnum)) { - S_PlaySound3D((nSwitchPicnum == ALIENSWITCH || nSwitchPicnum == ALIENSWITCH + 1) ? ALIEN_SWITCH1 : SWITCH_ON, + S_PlaySound3D((nSwitchPicnum == TILE_ALIENSWITCH || nSwitchPicnum == TILE_ALIENSWITCH + 1) ? ALIEN_SWITCH1 : SWITCH_ON, (switchType == SWITCH_SPRITE) ? wallOrSprite : g_player[playerNum].ps->i, &davector); if (numDips != correctDips) @@ -1674,16 +1674,16 @@ default_case: case RRTILE8464__STATICRR: case RRTILE8660__STATICRR: { - if (RR && !RRRA && (basePicnum == MULTISWITCH2 || basePicnum == RRTILE8464 || basePicnum == RRTILE8660)) break; + if (RR && !RRRA && (basePicnum == TILE_MULTISWITCH2 || basePicnum == TILE_RRTILE8464 || basePicnum == TILE_RRTILE8660)) break; if (RRRA && switchType == SWITCH_SPRITE) { - if (nSwitchPicnum == RRTILE8660) + if (nSwitchPicnum == TILE_RRTILE8660) { g_bellTime = 132; g_bellSprite = wallOrSprite; sprite[wallOrSprite].picnum++; } - else if (nSwitchPicnum == RRTILE8464) + else if (nSwitchPicnum == TILE_RRTILE8464) { sprite[wallOrSprite].picnum = sprite[wallOrSprite].picnum+1; if (hitag == 10001) @@ -1698,10 +1698,10 @@ default_case: } else if (hitag == 10000) { - if( nSwitchPicnum == MULTISWITCH || nSwitchPicnum == (MULTISWITCH+1) || - nSwitchPicnum == (MULTISWITCH+2) || nSwitchPicnum == (MULTISWITCH+3) || - nSwitchPicnum == MULTISWITCH2 || nSwitchPicnum == (MULTISWITCH2+1) || - nSwitchPicnum == (MULTISWITCH2+2) || nSwitchPicnum == (MULTISWITCH2+3) ) + if( nSwitchPicnum == TILE_MULTISWITCH || nSwitchPicnum == (TILE_MULTISWITCH+1) || + nSwitchPicnum == (TILE_MULTISWITCH+2) || nSwitchPicnum == (TILE_MULTISWITCH+3) || + nSwitchPicnum == TILE_MULTISWITCH2 || nSwitchPicnum == (TILE_MULTISWITCH2+1) || + nSwitchPicnum == (TILE_MULTISWITCH2+2) || nSwitchPicnum == (TILE_MULTISWITCH2+3) ) { int var6c[3], var54; int jpn, jht; @@ -1711,7 +1711,7 @@ default_case: { jpn = sprite[j].picnum; jht = sprite[j].hitag; - if ((jpn == MULTISWITCH || jpn == MULTISWITCH2) && jht == 10000) + if ((jpn == TILE_MULTISWITCH || jpn == TILE_MULTISWITCH2) && jht == 10000) { if (var54 < 3) { @@ -1726,10 +1726,10 @@ default_case: for (bssize_t j = 0; j < var54; j++) { sprite[var6c[j]].hitag = 0; - if (nSwitchPicnum >= MULTISWITCH2) - sprite[var6c[j]].picnum = MULTISWITCH2+3; + if (nSwitchPicnum >= TILE_MULTISWITCH2) + sprite[var6c[j]].picnum = TILE_MULTISWITCH2+3; else - sprite[var6c[j]].picnum = MULTISWITCH+3; + sprite[var6c[j]].picnum = TILE_MULTISWITCH+3; P_ActivateSwitch(playerNum,var6c[j],1); } } @@ -1737,11 +1737,11 @@ default_case: } } } - if (nSwitchPicnum >= MULTISWITCH && nSwitchPicnum <= MULTISWITCH + 3) - lotag += nSwitchPicnum - MULTISWITCH; + if (nSwitchPicnum >= TILE_MULTISWITCH && nSwitchPicnum <= TILE_MULTISWITCH + 3) + lotag += nSwitchPicnum - TILE_MULTISWITCH; - if (RRRA && nSwitchPicnum >= MULTISWITCH2 && nSwitchPicnum <= MULTISWITCH2 + 3) - lotag += nSwitchPicnum - MULTISWITCH2; + if (RRRA && nSwitchPicnum >= TILE_MULTISWITCH2 && nSwitchPicnum <= TILE_MULTISWITCH2 + 3) + lotag += nSwitchPicnum - TILE_MULTISWITCH2; for (bssize_t SPRITES_OF(STAT_EFFECTOR, spriteNum)) { @@ -1806,7 +1806,7 @@ void G_ActivateBySector(int sectNum, int spriteNum) int activatedSectors = 0; for (bssize_t SPRITES_OF_SECT(sectNum, i)) - if (PN(i) == ACTIVATOR) + if (PN(i) == TILE_ACTIVATOR) { G_OperateActivators(SLT(i),-1); ++activatedSectors; @@ -1829,7 +1829,7 @@ void A_DamageWall(int spriteNum, int wallNum, const vec3_t *vPos, int weaponNum) int16_t sectNum = -1; walltype *pWall = &wall[wallNum]; - if (pWall->overpicnum == MIRROR) + if (pWall->overpicnum == TILE_MIRROR) { switch (DYNAMICTILEMAP(weaponNum)) { @@ -1846,13 +1846,13 @@ void A_DamageWall(int spriteNum, int wallNum, const vec3_t *vPos, int weaponNum) A_SpawnWallGlass(spriteNum, wallNum, 70); A_PlaySound(GLASS_HEAVYBREAK, spriteNum); pWall->cstat &= ~16; - pWall->overpicnum = MIRRORBROKE; + pWall->overpicnum = TILE_MIRRORBROKE; return; } } - if ((((pWall->cstat & 16) || pWall->overpicnum == BIGFORCE) && pWall->nextsector >= 0) && + if ((((pWall->cstat & 16) || pWall->overpicnum == TILE_BIGFORCE) && pWall->nextsector >= 0) && (sector[pWall->nextsector].floorz > vPos->z) && (sector[pWall->nextsector].floorz != sector[pWall->nextsector].ceilingz)) { @@ -1875,13 +1875,13 @@ void A_DamageWall(int spriteNum, int wallNum, const vec3_t *vPos, int weaponNum) if (weaponNum == -1) xRepeat = yRepeat = 8; - else if (weaponNum == CHAINGUN) + else if (weaponNum == TILE_CHAINGUN) { xRepeat = 16 + sprite[spriteNum].xrepeat; yRepeat = 16 + sprite[spriteNum].yrepeat; } - int const i = A_InsertSprite(sectNum, vPos->x, vPos->y, vPos->z, FORCERIPPLE, -127, xRepeat, yRepeat, 0, + int const i = A_InsertSprite(sectNum, vPos->x, vPos->y, vPos->z, TILE_FORCERIPPLE, -127, xRepeat, yRepeat, 0, 0, 0, spriteNum, 5); CS(i) |= 18 + 128; @@ -1892,11 +1892,11 @@ void A_DamageWall(int spriteNum, int wallNum, const vec3_t *vPos, int weaponNum) return; case FANSPRITE__STATIC: - pWall->overpicnum = FANSPRITEBROKE; + pWall->overpicnum = TILE_FANSPRITEBROKE; pWall->cstat &= 65535 - 65; if (pWall->nextwall >= 0) { - wall[pWall->nextwall].overpicnum = FANSPRITEBROKE; + wall[pWall->nextwall].overpicnum = TILE_FANSPRITEBROKE; wall[pWall->nextwall].cstat &= 65535 - 65; } A_PlaySound(VENT_BUST, spriteNum); @@ -1907,7 +1907,7 @@ void A_DamageWall(int spriteNum, int wallNum, const vec3_t *vPos, int weaponNum) updatesector(vPos->x, vPos->y, §Num); if (sectNum < 0) return; - pWall->overpicnum = GLASS2; + pWall->overpicnum = TILE_GLASS2; A_SpawnWallPopcorn(spriteNum, wallNum, 64); pWall->cstat = 0; @@ -1915,7 +1915,7 @@ void A_DamageWall(int spriteNum, int wallNum, const vec3_t *vPos, int weaponNum) wall[pWall->nextwall].cstat = 0; { - int const i = A_InsertSprite(sectNum, vPos->x, vPos->y, vPos->z, SECTOREFFECTOR, 0, 0, 0, + int const i = A_InsertSprite(sectNum, vPos->x, vPos->y, vPos->z, TILE_SECTOREFFECTOR, 0, 0, 0, fix16_to_int(g_player[0].ps->q16ang), 0, 0, spriteNum, 3); SLT(i) = 128; T2(i) = 2; @@ -1928,7 +1928,7 @@ void A_DamageWall(int spriteNum, int wallNum, const vec3_t *vPos, int weaponNum) updatesector(vPos->x, vPos->y, §Num); if (sectNum < 0) return; - pWall->overpicnum = GLASS2; + pWall->overpicnum = TILE_GLASS2; A_SpawnWallGlass(spriteNum, wallNum, 10); pWall->cstat = 0; @@ -1936,7 +1936,7 @@ void A_DamageWall(int spriteNum, int wallNum, const vec3_t *vPos, int weaponNum) wall[pWall->nextwall].cstat = 0; { - int const i = A_InsertSprite(sectNum, vPos->x, vPos->y, vPos->z, SECTOREFFECTOR, 0, 0, 0, + int const i = A_InsertSprite(sectNum, vPos->x, vPos->y, vPos->z, TILE_SECTOREFFECTOR, 0, 0, 0, fix16_to_int(g_player[0].ps->q16ang), 0, 0, spriteNum, 3); SLT(i) = 128; T2(i) = RR ? 2 : 5; @@ -1961,8 +1961,8 @@ void A_DamageWall(int spriteNum, int wallNum, const vec3_t *vPos, int weaponNum) int wallPicnum = pWall->picnum; - if (RR && wallPicnum >= RRTILE3643 && wallPicnum <= RRTILE3643+3) - wallPicnum = RRTILE3643; + if (RR && wallPicnum >= TILE_RRTILE3643 && wallPicnum <= TILE_RRTILE3643+3) + wallPicnum = TILE_RRTILE3643; switch (DYNAMICTILEMAP(wallPicnum)) { @@ -1995,82 +1995,82 @@ void A_DamageWall(int spriteNum, int wallNum, const vec3_t *vPos, int weaponNum) } case RRTILE7555__STATICRR: if (!RRRA) break; - pWall->picnum = SBMOVE; + pWall->picnum = TILE_SBMOVE; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE7441__STATICRR: if (!RRRA) break; - pWall->picnum = RRTILE5016; + pWall->picnum = TILE_RRTILE5016; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE7559__STATICRR: if (!RRRA) break; - pWall->picnum = RRTILE5017; + pWall->picnum = TILE_RRTILE5017; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE7433__STATICRR: if (!RRRA) break; - pWall->picnum = RRTILE5018; + pWall->picnum = TILE_RRTILE5018; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE7557__STATICRR: if (!RRRA) break; - pWall->picnum = RRTILE5019; + pWall->picnum = TILE_RRTILE5019; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE7553__STATICRR: if (!RRRA) break; - pWall->picnum = RRTILE5020; + pWall->picnum = TILE_RRTILE5020; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE7552__STATICRR: if (!RRRA) break; - pWall->picnum = RRTILE5021; + pWall->picnum = TILE_RRTILE5021; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE7568__STATICRR: if (!RRRA) break; - pWall->picnum = RRTILE5022; + pWall->picnum = TILE_RRTILE5022; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE7540__STATICRR: if (!RRRA) break; - pWall->picnum = RRTILE5023; + pWall->picnum = TILE_RRTILE5023; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE7558__STATICRR: if (!RRRA) break; - pWall->picnum = RRTILE5024; + pWall->picnum = TILE_RRTILE5024; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE7554__STATICRR: if (!RRRA) break; - pWall->picnum = RRTILE5025; + pWall->picnum = TILE_RRTILE5025; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE7579__STATICRR: if (!RRRA) break; - pWall->picnum = RRTILE5026; + pWall->picnum = TILE_RRTILE5026; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE7561__STATICRR: if (!RRRA) break; - pWall->picnum = RRTILE5027; + pWall->picnum = TILE_RRTILE5027; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE7580__STATICRR: if (!RRRA) break; - pWall->picnum = RRTILE5037; + pWall->picnum = TILE_RRTILE5037; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE8227__STATICRR: if (!RRRA) break; - pWall->picnum = RRTILE5070; + pWall->picnum = TILE_RRTILE5070; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE8503__STATICRR: if (!RRRA) break; - pWall->picnum = RRTILE5079; + pWall->picnum = TILE_RRTILE5079; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE8567__STATICRR: @@ -2078,42 +2078,42 @@ void A_DamageWall(int spriteNum, int wallNum, const vec3_t *vPos, int weaponNum) case RRTILE8569__STATICRR: case RRTILE8570__STATICRR: case RRTILE8571__STATICRR: - pWall->picnum = RRTILE5082; + pWall->picnum = TILE_RRTILE5082; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE7859__STATICRR: - pWall->picnum = RRTILE5081; + pWall->picnum = TILE_RRTILE5081; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE8496__STATICRR: - pWall->picnum = RRTILE5061; + pWall->picnum = TILE_RRTILE5061; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE8617__STATICRR: if (numplayers < 2) { - pWall->picnum = RRTILE8618; + pWall->picnum = TILE_RRTILE8618; A_PlaySound(47, spriteNum); } return; case RRTILE8620__STATICRR: - pWall->picnum = RRTILE8621; + pWall->picnum = TILE_RRTILE8621; A_PlaySound(47, spriteNum); return; case RRTILE8622__STATICRR: - pWall->picnum = RRTILE8623; + pWall->picnum = TILE_RRTILE8623; A_PlaySound(495, spriteNum); return; case RRTILE7657__STATICRR: - pWall->picnum = RRTILE7659; + pWall->picnum = TILE_RRTILE7659; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); return; case RRTILE8497__STATICRR: - pWall->picnum = RRTILE5076; + pWall->picnum = TILE_RRTILE5076; A_PlaySound(495, spriteNum); return; case RRTILE7533__STATICRR: - pWall->picnum = RRTILE5035; + pWall->picnum = TILE_RRTILE5035; A_PlaySound(495, spriteNum); return; case COLAMACHINE__STATIC: @@ -2152,7 +2152,7 @@ void A_DamageWall(int spriteNum, int wallNum, const vec3_t *vPos, int weaponNum) case SCREENBREAK8__STATIC: A_SpawnWallGlass(spriteNum, wallNum, 30); A_PlaySound(GLASS_HEAVYBREAK, spriteNum); - pWall->picnum = W_SCREENBREAK + (krand2() % (RRRA ? 2: 3)); + pWall->picnum = TILE_W_SCREENBREAK + (krand2() % (RRRA ? 2: 3)); return; case W_TECHWALL5__STATIC: @@ -2166,12 +2166,12 @@ void A_DamageWall(int spriteNum, int wallNum, const vec3_t *vPos, int weaponNum) case W_MILKSHELF__STATIC: if (RR) break; - G_BreakWall(W_MILKSHELFBROKE, spriteNum, wallNum); + G_BreakWall(TILE_W_MILKSHELFBROKE, spriteNum, wallNum); return; case W_TECHWALL10__STATIC: if (RR) break; - G_BreakWall(W_HITTECHWALL10, spriteNum, wallNum); + G_BreakWall(TILE_W_HITTECHWALL10, spriteNum, wallNum); return; case W_TECHWALL1__STATIC: @@ -2180,37 +2180,37 @@ void A_DamageWall(int spriteNum, int wallNum, const vec3_t *vPos, int weaponNum) case W_TECHWALL13__STATIC: case W_TECHWALL14__STATIC: if (RR) break; - G_BreakWall(W_HITTECHWALL1, spriteNum, wallNum); + G_BreakWall(TILE_W_HITTECHWALL1, spriteNum, wallNum); return; case W_TECHWALL15__STATIC: if (RR) break; - G_BreakWall(W_HITTECHWALL15, spriteNum, wallNum); + G_BreakWall(TILE_W_HITTECHWALL15, spriteNum, wallNum); return; case W_TECHWALL16__STATIC: if (RR) break; - G_BreakWall(W_HITTECHWALL16, spriteNum, wallNum); + G_BreakWall(TILE_W_HITTECHWALL16, spriteNum, wallNum); return; case W_TECHWALL2__STATIC: if (RR) break; - G_BreakWall(W_HITTECHWALL2, spriteNum, wallNum); + G_BreakWall(TILE_W_HITTECHWALL2, spriteNum, wallNum); return; case W_TECHWALL3__STATIC: if (RR) break; - G_BreakWall(W_HITTECHWALL3, spriteNum, wallNum); + G_BreakWall(TILE_W_HITTECHWALL3, spriteNum, wallNum); return; case W_TECHWALL4__STATIC: if (RR) break; - G_BreakWall(W_HITTECHWALL4, spriteNum, wallNum); + G_BreakWall(TILE_W_HITTECHWALL4, spriteNum, wallNum); return; case ATM__STATIC: - pWall->picnum = ATMBROKE; - A_SpawnMultiple(spriteNum, MONEY, 1 + (krand2() & 7)); + pWall->picnum = TILE_ATMBROKE; + A_SpawnMultiple(spriteNum, TILE_MONEY, 1 + (krand2() & 7)); A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; @@ -2242,66 +2242,66 @@ void A_DamageWall(int spriteNum, int wallNum, const vec3_t *vPos, int weaponNum) if (RR) { - if (pWall->picnum == RRTILE1814) - pWall->picnum = RRTILE1817; + if (pWall->picnum == TILE_RRTILE1814) + pWall->picnum = TILE_RRTILE1817; - if (pWall->picnum == RRTILE1986) - pWall->picnum = RRTILE1987; + if (pWall->picnum == TILE_RRTILE1986) + pWall->picnum = TILE_RRTILE1987; - if (pWall->picnum == RRTILE1939) - pWall->picnum = RRTILE2004; + if (pWall->picnum == TILE_RRTILE1939) + pWall->picnum = TILE_RRTILE2004; - if (pWall->picnum == RRTILE1988) - pWall->picnum = RRTILE2005; + if (pWall->picnum == TILE_RRTILE1988) + pWall->picnum = TILE_RRTILE2005; - if (pWall->picnum == RRTILE2898) - pWall->picnum = RRTILE2899; + if (pWall->picnum == TILE_RRTILE2898) + pWall->picnum = TILE_RRTILE2899; - if (pWall->picnum == RRTILE2878) - pWall->picnum = RRTILE2879; + if (pWall->picnum == TILE_RRTILE2878) + pWall->picnum = TILE_RRTILE2879; - if (pWall->picnum == RRTILE2123) - pWall->picnum = RRTILE2124; + if (pWall->picnum == TILE_RRTILE2123) + pWall->picnum = TILE_RRTILE2124; - if (pWall->picnum == RRTILE2125) - pWall->picnum = RRTILE2126; + if (pWall->picnum == TILE_RRTILE2125) + pWall->picnum = TILE_RRTILE2126; - if (pWall->picnum == RRTILE3200) - pWall->picnum = RRTILE3201; + if (pWall->picnum == TILE_RRTILE3200) + pWall->picnum = TILE_RRTILE3201; - if (pWall->picnum == RRTILE3202) - pWall->picnum = RRTILE3203; + if (pWall->picnum == TILE_RRTILE3202) + pWall->picnum = TILE_RRTILE3203; - if (pWall->picnum == RRTILE3204) - pWall->picnum = RRTILE3205; + if (pWall->picnum == TILE_RRTILE3204) + pWall->picnum = TILE_RRTILE3205; - if (pWall->picnum == RRTILE3206) - pWall->picnum = RRTILE3207; + if (pWall->picnum == TILE_RRTILE3206) + pWall->picnum = TILE_RRTILE3207; - if (pWall->picnum == RRTILE3208) - pWall->picnum = RRTILE3209; + if (pWall->picnum == TILE_RRTILE3208) + pWall->picnum = TILE_RRTILE3209; - if (pWall->picnum == RRTILE2636) - pWall->picnum = RRTILE2637; + if (pWall->picnum == TILE_RRTILE2636) + pWall->picnum = TILE_RRTILE2637; } - if (pWall->picnum == WALLLIGHT1) - pWall->picnum = WALLLIGHTBUST1; + if (pWall->picnum == TILE_WALLLIGHT1) + pWall->picnum = TILE_WALLLIGHTBUST1; - if (!RR && pWall->picnum == WALLLIGHT2) - pWall->picnum = WALLLIGHTBUST2; + if (!RR && pWall->picnum == TILE_WALLLIGHT2) + pWall->picnum = TILE_WALLLIGHTBUST2; - if (pWall->picnum == WALLLIGHT3) - pWall->picnum = WALLLIGHTBUST3; + if (pWall->picnum == TILE_WALLLIGHT3) + pWall->picnum = TILE_WALLLIGHTBUST3; - if (pWall->picnum == WALLLIGHT4) - pWall->picnum = WALLLIGHTBUST4; + if (pWall->picnum == TILE_WALLLIGHT4) + pWall->picnum = TILE_WALLLIGHTBUST4; - if (pWall->picnum == TECHLIGHT2) - pWall->picnum = TECHLIGHTBUST2; + if (pWall->picnum == TILE_TECHLIGHT2) + pWall->picnum = TILE_TECHLIGHTBUST2; - if (pWall->picnum == TECHLIGHT4) - pWall->picnum = TECHLIGHTBUST4; + if (pWall->picnum == TILE_TECHLIGHT4) + pWall->picnum = TILE_TECHLIGHTBUST4; if (pWall->lotag == 0) return; @@ -2340,19 +2340,19 @@ void Sect_DamageCeiling(int const sectNum) switch (DYNAMICTILEMAP(*pPicnum)) { - case RRTILE1939__STATICRR: *pPicnum = RRTILE2004; goto GLASSBREAK_CODE; - case RRTILE1986__STATICRR: *pPicnum = RRTILE1987; goto GLASSBREAK_CODE; - case RRTILE1988__STATICRR: *pPicnum = RRTILE2005; goto GLASSBREAK_CODE; - case RRTILE2123__STATICRR: *pPicnum = RRTILE2124; goto GLASSBREAK_CODE; - case RRTILE2125__STATICRR: *pPicnum = RRTILE2126; goto GLASSBREAK_CODE; - case RRTILE2878__STATICRR: *pPicnum = RRTILE2879; goto GLASSBREAK_CODE; - case RRTILE2898__STATICRR: *pPicnum = RRTILE2899; goto GLASSBREAK_CODE; - case WALLLIGHT1__STATIC: *pPicnum = WALLLIGHTBUST1; goto GLASSBREAK_CODE; - case WALLLIGHT2__STATIC: if (RR) break; *pPicnum = WALLLIGHTBUST2; goto GLASSBREAK_CODE; - case WALLLIGHT3__STATIC: *pPicnum = WALLLIGHTBUST3; goto GLASSBREAK_CODE; - case WALLLIGHT4__STATIC: *pPicnum = WALLLIGHTBUST4; goto GLASSBREAK_CODE; - case TECHLIGHT2__STATIC: *pPicnum = TECHLIGHTBUST2; goto GLASSBREAK_CODE; - case TECHLIGHT4__STATIC: *pPicnum = TECHLIGHTBUST4; + case RRTILE1939__STATICRR: *pPicnum = TILE_RRTILE2004; goto GLASSBREAK_CODE; + case RRTILE1986__STATICRR: *pPicnum = TILE_RRTILE1987; goto GLASSBREAK_CODE; + case RRTILE1988__STATICRR: *pPicnum = TILE_RRTILE2005; goto GLASSBREAK_CODE; + case RRTILE2123__STATICRR: *pPicnum = TILE_RRTILE2124; goto GLASSBREAK_CODE; + case RRTILE2125__STATICRR: *pPicnum = TILE_RRTILE2126; goto GLASSBREAK_CODE; + case RRTILE2878__STATICRR: *pPicnum = TILE_RRTILE2879; goto GLASSBREAK_CODE; + case RRTILE2898__STATICRR: *pPicnum = TILE_RRTILE2899; goto GLASSBREAK_CODE; + case WALLLIGHT1__STATIC: *pPicnum = TILE_WALLLIGHTBUST1; goto GLASSBREAK_CODE; + case WALLLIGHT2__STATIC: if (RR) break; *pPicnum = TILE_WALLLIGHTBUST2; goto GLASSBREAK_CODE; + case WALLLIGHT3__STATIC: *pPicnum = TILE_WALLLIGHTBUST3; goto GLASSBREAK_CODE; + case WALLLIGHT4__STATIC: *pPicnum = TILE_WALLLIGHTBUST4; goto GLASSBREAK_CODE; + case TECHLIGHT2__STATIC: *pPicnum = TILE_TECHLIGHTBUST2; goto GLASSBREAK_CODE; + case TECHLIGHT4__STATIC: *pPicnum = TILE_TECHLIGHTBUST4; GLASSBREAK_CODE: A_SpawnCeilingGlass(g_player[myconnectindex].ps->i, sectNum, 10); A_PlaySound(GLASS_BREAKING, g_player[screenpeek].ps->i); @@ -2360,7 +2360,7 @@ void Sect_DamageCeiling(int const sectNum) { for (bssize_t SPRITES_OF_SECT(sectNum, i)) { - if (PN(i) == SECTOREFFECTOR && (SLT(i) == SE_12_LIGHT_SWITCH || (RRRA && (SLT(i) == 47 || SLT(i) == 48)))) + if (PN(i) == TILE_SECTOREFFECTOR && (SLT(i) == SE_12_LIGHT_SWITCH || (RRRA && (SLT(i) == 47 || SLT(i) == 48)))) { for (bssize_t SPRITES_OF(STAT_EFFECTOR, j)) if (sprite[j].hitag == SHT(i)) @@ -2394,14 +2394,14 @@ void A_DamageObject(int spriteNum, int const dmgSrc) int spritePicnum = PN(spriteNum); if (RR) { - if (spritePicnum == HENSTAND+1) - spritePicnum = HENSTAND; - if (spritePicnum == RRTILE3440+1) - spritePicnum = RRTILE3440; + if (spritePicnum == TILE_HENSTAND+1) + spritePicnum = TILE_HENSTAND; + if (spritePicnum == TILE_RRTILE3440+1) + spritePicnum = TILE_RRTILE3440; } - if (spritePicnum > WATERFOUNTAIN && spritePicnum <= WATERFOUNTAIN+3) - spritePicnum = WATERFOUNTAIN; + if (spritePicnum > TILE_WATERFOUNTAIN && spritePicnum <= TILE_WATERFOUNTAIN+3) + spritePicnum = TILE_WATERFOUNTAIN; switch (DYNAMICTILEMAP(spritePicnum)) { @@ -2458,127 +2458,127 @@ void A_DamageObject(int spriteNum, int const dmgSrc) case RRTILE7595__STATICRR: case RRTILE7704__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE7705; + PN(spriteNum) = TILE_RRTILE7705; A_PlaySound(495, spriteNum); break; case RRTILE8579__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5014; + PN(spriteNum) = TILE_RRTILE5014; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE7441__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5016; + PN(spriteNum) = TILE_RRTILE5016; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE7534__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5029; + PN(spriteNum) = TILE_RRTILE5029; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE7545__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5030; + PN(spriteNum) = TILE_RRTILE5030; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE7547__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5031; + PN(spriteNum) = TILE_RRTILE5031; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE7574__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5032; + PN(spriteNum) = TILE_RRTILE5032; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE7575__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5033; + PN(spriteNum) = TILE_RRTILE5033; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE7578__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5034; + PN(spriteNum) = TILE_RRTILE5034; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE7478__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5035; + PN(spriteNum) = TILE_RRTILE5035; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8525__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5036; + PN(spriteNum) = TILE_RRTILE5036; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8537__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5062; + PN(spriteNum) = TILE_RRTILE5062; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8215__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5064; + PN(spriteNum) = TILE_RRTILE5064; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8216__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5065; + PN(spriteNum) = TILE_RRTILE5065; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8217__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5066; + PN(spriteNum) = TILE_RRTILE5066; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8218__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5067; + PN(spriteNum) = TILE_RRTILE5067; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8220__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5068; + PN(spriteNum) = TILE_RRTILE5068; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8221__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5069; + PN(spriteNum) = TILE_RRTILE5069; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8312__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5071; + PN(spriteNum) = TILE_RRTILE5071; A_PlaySound(472, spriteNum); break; case RRTILE8395__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5072; + PN(spriteNum) = TILE_RRTILE5072; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8423__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5073; + PN(spriteNum) = TILE_RRTILE5073; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE3462__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5074; + PN(spriteNum) = TILE_RRTILE5074; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case UWHIP__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5075; + PN(spriteNum) = TILE_RRTILE5075; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8608__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5083; + PN(spriteNum) = TILE_RRTILE5083; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8609__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5084; + PN(spriteNum) = TILE_RRTILE5084; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8567__STATICRR: @@ -2587,27 +2587,27 @@ void A_DamageObject(int spriteNum, int const dmgSrc) case RRTILE8570__STATICRR: case RRTILE8571__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5082; + PN(spriteNum) = TILE_RRTILE5082; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8640__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5085; + PN(spriteNum) = TILE_RRTILE5085; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8611__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5086; + PN(spriteNum) = TILE_RRTILE5086; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case TECHLIGHTBUST2__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = TECHLIGHTBUST4; + PN(spriteNum) = TILE_TECHLIGHTBUST4; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8497__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5076; + PN(spriteNum) = TILE_RRTILE5076; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8162__STATICRR: @@ -2619,7 +2619,7 @@ void A_DamageObject(int spriteNum, int const dmgSrc) case RRTILE8168__STATICRR: if (!RRRA) goto default_case; changespritestat(spriteNum, 5); - PN(spriteNum) = RRTILE5063; + PN(spriteNum) = TILE_RRTILE5063; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8589__STATICRR: @@ -2631,253 +2631,253 @@ void A_DamageObject(int spriteNum, int const dmgSrc) case RRTILE8595__STATICRR: if (!RRRA) goto default_case; changespritestat(spriteNum, 5); - PN(spriteNum) = RRTILE8588; + PN(spriteNum) = TILE_RRTILE8588; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE3497__STATICRR: - PN(spriteNum) = RRTILE5076; + PN(spriteNum) = TILE_RRTILE5076; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE3498__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5077; + PN(spriteNum) = TILE_RRTILE5077; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE3499__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5078; + PN(spriteNum) = TILE_RRTILE5078; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8503__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5079; + PN(spriteNum) = TILE_RRTILE5079; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE7901__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5080; + PN(spriteNum) = TILE_RRTILE5080; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE7696__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE7697; + PN(spriteNum) = TILE_RRTILE7697; A_PlaySound(47, spriteNum); break; case RRTILE7806__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5043; + PN(spriteNum) = TILE_RRTILE5043; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE7885__STATICRR: case RRTILE7890__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5045; + PN(spriteNum) = TILE_RRTILE5045; A_PlaySound(495, spriteNum); A_RadiusDamage(spriteNum, 10, 0, 0, 1, 1); break; case RRTILE7886__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5046; + PN(spriteNum) = TILE_RRTILE5046; A_PlaySound(495, spriteNum); A_RadiusDamage(spriteNum, 10, 0, 0, 1, 1); break; case RRTILE7887__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5044; + PN(spriteNum) = TILE_RRTILE5044; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); A_RadiusDamage(spriteNum, 10, 0, 0, 1, 1); break; case RRTILE7900__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5047; + PN(spriteNum) = TILE_RRTILE5047; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE7906__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5048; + PN(spriteNum) = TILE_RRTILE5048; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE7912__STATICRR: case RRTILE7913__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5049; + PN(spriteNum) = TILE_RRTILE5049; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8047__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5050; + PN(spriteNum) = TILE_RRTILE5050; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8596__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE8598; + PN(spriteNum) = TILE_RRTILE8598; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8059__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5051; + PN(spriteNum) = TILE_RRTILE5051; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8060__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5052; + PN(spriteNum) = TILE_RRTILE5052; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8222__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5053; + PN(spriteNum) = TILE_RRTILE5053; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8223__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5054; + PN(spriteNum) = TILE_RRTILE5054; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8224__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5055; + PN(spriteNum) = TILE_RRTILE5055; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8370__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5056; + PN(spriteNum) = TILE_RRTILE5056; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8371__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5057; + PN(spriteNum) = TILE_RRTILE5057; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8372__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5058; + PN(spriteNum) = TILE_RRTILE5058; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8373__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5059; + PN(spriteNum) = TILE_RRTILE5059; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8396__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5038; + PN(spriteNum) = TILE_RRTILE5038; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8397__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5039; + PN(spriteNum) = TILE_RRTILE5039; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8398__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5040; + PN(spriteNum) = TILE_RRTILE5040; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8399__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5041; + PN(spriteNum) = TILE_RRTILE5041; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8385__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE8386; + PN(spriteNum) = TILE_RRTILE8386; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8387__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE8388; + PN(spriteNum) = TILE_RRTILE8388; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8389__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE8390; + PN(spriteNum) = TILE_RRTILE8390; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8391__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE8392; + PN(spriteNum) = TILE_RRTILE8392; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE7553__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5035; + PN(spriteNum) = TILE_RRTILE5035; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8475__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5075; + PN(spriteNum) = TILE_RRTILE5075; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8498__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5077; + PN(spriteNum) = TILE_RRTILE5077; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8499__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5078; + PN(spriteNum) = TILE_RRTILE5078; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE2445__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE2450; + PN(spriteNum) = TILE_RRTILE2450; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE2123__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE2124; + PN(spriteNum) = TILE_RRTILE2124; A_PlaySound(GLASS_BREAKING, spriteNum); A_SpawnWallGlass(spriteNum, -1, 10); break; case RRTILE3773__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE8651; + PN(spriteNum) = TILE_RRTILE8651; A_PlaySound(GLASS_BREAKING, spriteNum); A_SpawnWallGlass(spriteNum, -1, 10); break; case RRTILE7533__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5035; + PN(spriteNum) = TILE_RRTILE5035; A_PlaySound(495, spriteNum); A_RadiusDamage(spriteNum, 10, 0, 0, 1, 1); break; case RRTILE8394__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5072; + PN(spriteNum) = TILE_RRTILE5072; A_PlaySound(495, spriteNum); break; case RRTILE8461__STATICRR: case RRTILE8462__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE5074; + PN(spriteNum) = TILE_RRTILE5074; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8679__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE8680; + PN(spriteNum) = TILE_RRTILE8680; A_PlaySound(47, spriteNum); A_RadiusDamage(spriteNum, 10, 0, 0, 1, 1); if (SLT(spriteNum) != 0) { for (bssize_t j = 0; j < MAXSPRITES; j++) { - if (sprite[j].picnum == RRTILE8679 && sprite[j].pal == 4) + if (sprite[j].picnum == TILE_RRTILE8679 && sprite[j].pal == 4) { if (sprite[j].lotag == SLT(spriteNum)) - sprite[j].picnum = RRTILE8680; + sprite[j].picnum = TILE_RRTILE8680; } } } break; case RRTILE3584__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE8681; + PN(spriteNum) = TILE_RRTILE8681; A_PlaySound(495, spriteNum); A_RadiusDamage(spriteNum, 250, 0, 0, 1, 1); break; case RRTILE8682__STATICRR: if (!RRRA) goto default_case; - PN(spriteNum) = RRTILE8683; + PN(spriteNum) = TILE_RRTILE8683; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); break; case RRTILE8099__STATICRR: @@ -2885,12 +2885,12 @@ void A_DamageObject(int spriteNum, int const dmgSrc) if (SLT(spriteNum) == 5) { SLT(spriteNum) = 0; - PN(spriteNum) = RRTILE5087; + PN(spriteNum) = TILE_RRTILE5087; A_PlaySound(340, spriteNum); for (bssize_t j = 0; j < MAXSPRITES; j++) { - if (sprite[j].picnum == RRTILE8094) - sprite[j].picnum = RRTILE5088; + if (sprite[j].picnum == TILE_RRTILE8094) + sprite[j].picnum = TILE_RRTILE5088; } } break; @@ -2898,15 +2898,15 @@ void A_DamageObject(int spriteNum, int const dmgSrc) if (!RRRA) goto default_case; if (sprite[spriteNum].pal != 4) { - PN(spriteNum) = RRTILE2451; + PN(spriteNum) = TILE_RRTILE2451; if (SLT(spriteNum) != 0) { for (bssize_t j = 0; j < MAXSPRITES; j++) { - if (sprite[j].picnum == RRTILE2431 && sprite[j].pal == 4) + if (sprite[j].picnum == TILE_RRTILE2431 && sprite[j].pal == 4) { if (SLT(spriteNum) == sprite[j].lotag) - sprite[j].picnum = RRTILE2451; + sprite[j].picnum = TILE_RRTILE2451; } } } @@ -2915,12 +2915,12 @@ void A_DamageObject(int spriteNum, int const dmgSrc) case RRTILE2443__STATICRR: if (!RRRA) goto default_case; if (sprite[spriteNum].pal != 19) - PN(spriteNum) = RRTILE2455; + PN(spriteNum) = TILE_RRTILE2455; break; case RRTILE2455__STATICRR: if (!RRRA) goto default_case; A_PlaySound(SQUISHED, spriteNum); - A_DoGuts(spriteNum, RRTILE2465, 3); + A_DoGuts(spriteNum, TILE_RRTILE2465, 3); deletesprite(spriteNum); break; case RRTILE2451__STATICRR: @@ -2932,12 +2932,12 @@ void A_DamageObject(int spriteNum, int const dmgSrc) { for (bssize_t j = 0; j < MAXSPRITES; j++) { - if (sprite[j].picnum == RRTILE2451 && sprite[j].pal == 4) + if (sprite[j].picnum == TILE_RRTILE2451 && sprite[j].pal == 4) { if (SLT(spriteNum) == sprite[j].lotag) { - A_DoGuts(spriteNum, RRTILE2460, 12); - A_DoGuts(spriteNum, RRTILE2465, 3); + A_DoGuts(spriteNum, TILE_RRTILE2460, 12); + A_DoGuts(spriteNum, TILE_RRTILE2465, 3); sprite[j].xrepeat = 0; sprite[j].yrepeat = 0; sprite[spriteNum].xrepeat = 0; @@ -2948,8 +2948,8 @@ void A_DamageObject(int spriteNum, int const dmgSrc) } else { - A_DoGuts(spriteNum, RRTILE2460, 12); - A_DoGuts(spriteNum, RRTILE2465, 3); + A_DoGuts(spriteNum, TILE_RRTILE2460, 12); + A_DoGuts(spriteNum, TILE_RRTILE2465, 3); sprite[spriteNum].xrepeat = 0; sprite[spriteNum].yrepeat = 0; } @@ -2960,19 +2960,19 @@ void A_DamageObject(int spriteNum, int const dmgSrc) A_PlaySound(439, spriteNum); break; case RRTILE3114__STATICRR: - PN(spriteNum) = RRTILE3117; + PN(spriteNum) = TILE_RRTILE3117; break; case RRTILE2876__STATICRR: - PN(spriteNum) = RRTILE2990; + PN(spriteNum) = TILE_RRTILE2990; break; case RRTILE3152__STATICRR: - PN(spriteNum) = RRTILE3218; + PN(spriteNum) = TILE_RRTILE3218; break; case RRTILE3153__STATICRR: - PN(spriteNum) = RRTILE3219; + PN(spriteNum) = TILE_RRTILE3219; break; case RRTILE2030__STATICRR: - PN(spriteNum) = RRTILE2034; + PN(spriteNum) = TILE_RRTILE2034; A_PlaySound(GLASS_BREAKING, spriteNum); A_SpawnWallGlass(spriteNum, -1, 10); break; @@ -2983,16 +2983,16 @@ void A_DamageObject(int spriteNum, int const dmgSrc) switch (DYNAMICTILEMAP(PN(spriteNum))) { case RRTILE2915__STATICRR: - PN(spriteNum) = RRTILE2977; + PN(spriteNum) = TILE_RRTILE2977; break; case RRTILE2893__STATICRR: - PN(spriteNum) = RRTILE2978; + PN(spriteNum) = TILE_RRTILE2978; break; case RRTILE3115__STATICRR: - PN(spriteNum) = RRTILE3116; + PN(spriteNum) = TILE_RRTILE3116; break; case RRTILE3171__STATICRR: - PN(spriteNum) = RRTILE3216; + PN(spriteNum) = TILE_RRTILE3216; break; } A_PlaySound(GLASS_BREAKING, spriteNum); @@ -3015,7 +3015,7 @@ void A_DamageObject(int spriteNum, int const dmgSrc) for (int k = 0; k < 6; k++) { int32_t const r1 = krand2(), r2 = krand2(), r3 = krand2(), r4 = krand2(); - A_InsertSprite(SECT(spriteNum), SX(spriteNum), SY(spriteNum), SZ(spriteNum) - ZOFFSET3, SCRAP6 + (r4 & 15), -8, 48, 48, r3 & 2047, (r2 & 63) + 64, -(r1 & 4095) - (sprite[spriteNum].zvel >> 2), spriteNum, STAT_MISC); + A_InsertSprite(SECT(spriteNum), SX(spriteNum), SY(spriteNum), SZ(spriteNum) - ZOFFSET3, TILE_SCRAP6 + (r4 & 15), -8, 48, 48, r3 & 2047, (r2 & 63) + 64, -(r1 & 4095) - (sprite[spriteNum].zvel >> 2), spriteNum, STAT_MISC); } break; case BOWLINGBALL__STATICRR: @@ -3029,7 +3029,7 @@ void A_DamageObject(int spriteNum, int const dmgSrc) case OCEANSPRITE4__STATIC: case OCEANSPRITE5__STATIC: if (RR) goto default_case; - A_Spawn(spriteNum,SMALLSMOKE); + A_Spawn(spriteNum,TILE_SMALLSMOKE); A_DeleteSprite(spriteNum); break; @@ -3037,7 +3037,7 @@ void A_DamageObject(int spriteNum, int const dmgSrc) case STRIPEBALL__STATIC: case RRTILE3440__STATICRR: case HENSTAND__STATICRR: - if (sprite[dmgSrc].picnum == QUEBALL || sprite[dmgSrc].picnum == STRIPEBALL) + if (sprite[dmgSrc].picnum == TILE_QUEBALL || sprite[dmgSrc].picnum == TILE_STRIPEBALL) { sprite[dmgSrc].xvel = (sprite[spriteNum].xvel>>1)+(sprite[spriteNum].xvel>>2); sprite[dmgSrc].ang -= (SA(spriteNum)<<1)+1024; @@ -3045,14 +3045,14 @@ void A_DamageObject(int spriteNum, int const dmgSrc) if (S_CheckSoundPlaying(POOLBALLHIT) < 2) A_PlaySound(POOLBALLHIT, spriteNum); } - else if (RR && (sprite[dmgSrc].picnum == RRTILE3440 || sprite[dmgSrc].picnum == RRTILE3440+1)) + else if (RR && (sprite[dmgSrc].picnum == TILE_RRTILE3440 || sprite[dmgSrc].picnum == TILE_RRTILE3440+1)) { sprite[dmgSrc].xvel = (sprite[spriteNum].xvel>>1)+(sprite[spriteNum].xvel>>2); sprite[dmgSrc].ang -= ((SA(spriteNum)<<1)+krand2())&64; SA(spriteNum) = (SA(spriteNum)+krand2())&16; A_PlaySound(355,spriteNum); } - else if (RR && (sprite[dmgSrc].picnum == HENSTAND || sprite[dmgSrc].picnum == HENSTAND+1)) + else if (RR && (sprite[dmgSrc].picnum == TILE_HENSTAND || sprite[dmgSrc].picnum == TILE_HENSTAND+1)) { sprite[dmgSrc].xvel = (sprite[spriteNum].xvel>>1)+(sprite[spriteNum].xvel>>2); sprite[dmgSrc].ang -= ((SA(spriteNum)<<1)+krand2())&16; @@ -3102,7 +3102,7 @@ void A_DamageObject(int spriteNum, int const dmgSrc) { CS(spriteNum) &= ~257; T1(spriteNum) = 1; - A_Spawn(spriteNum,BURNING); + A_Spawn(spriteNum,TILE_BURNING); } break; } @@ -3131,13 +3131,13 @@ void A_DamageObject(int spriteNum, int const dmgSrc) { int32_t const r1 = krand2(), r2 = krand2(), r3 = krand2(), r4 = krand2(), r5 = krand2(); int newSprite = - A_InsertSprite(SECT(spriteNum), SX(spriteNum), SY(spriteNum), SZ(spriteNum) - (r5 % (48 << 8)), SCRAP3 + (r4 & 3), -8, 48, 48, + A_InsertSprite(SECT(spriteNum), SX(spriteNum), SY(spriteNum), SZ(spriteNum) - (r5 % (48 << 8)), TILE_SCRAP3 + (r4 & 3), -8, 48, 48, r3 & 2047, (r2 & 63) + 64, -(r1 & 4095) - (sprite[spriteNum].zvel >> 2), spriteNum, 5); sprite[newSprite].pal = 8; } - // case CACTUSBROKE: - if (PN(spriteNum) == CACTUS) - PN(spriteNum) = CACTUSBROKE; + // case TILE_CACTUSBROKE: + if (PN(spriteNum) == TILE_CACTUS) + PN(spriteNum) = TILE_CACTUSBROKE; CS(spriteNum) &= ~257; break; } @@ -3150,17 +3150,17 @@ void A_DamageObject(int spriteNum, int const dmgSrc) for (bssize_t k=6; k>0; k--) { int32_t const r1 = krand2(), r2 = krand2(), r3 = krand2(), r4 = krand2(); - A_InsertSprite(SECT(spriteNum),SX(spriteNum),SY(spriteNum),SZ(spriteNum)-ZOFFSET3,SCRAP1+(r4&15),-8,48,48,r3&2047,(r2&63)+64,-(r1&4095)-(sprite[spriteNum].zvel>>2),spriteNum,5); + A_InsertSprite(SECT(spriteNum),SX(spriteNum),SY(spriteNum),SZ(spriteNum)-ZOFFSET3,TILE_SCRAP1+(r4&15),-8,48,48,r3&2047,(r2&63)+64,-(r1&4095)-(sprite[spriteNum].zvel>>2),spriteNum,5); } A_PlaySound(GLASS_HEAVYBREAK,spriteNum); A_DeleteSprite(spriteNum); break; case FANSPRITE__STATIC: - PN(spriteNum) = FANSPRITEBROKE; + PN(spriteNum) = TILE_FANSPRITEBROKE; CS(spriteNum) &= (65535-257); - if (!RR && sector[SECT(spriteNum)].floorpicnum == FANSHADOW) - sector[SECT(spriteNum)].floorpicnum = FANSHADOWBROKE; + if (!RR && sector[SECT(spriteNum)].floorpicnum == TILE_FANSHADOW) + sector[SECT(spriteNum)].floorpicnum = TILE_FANSHADOWBROKE; A_PlaySound(GLASS_HEAVYBREAK, spriteNum); @@ -3172,26 +3172,26 @@ void A_DamageObject(int spriteNum, int const dmgSrc) break; case WATERFOUNTAIN__STATIC: - // case WATERFOUNTAIN+1: - // case WATERFOUNTAIN+2: + // case TILE_WATERFOUNTAIN+1: + // case TILE_WATERFOUNTAIN+2: if (!RR) - PN(spriteNum) = WATERFOUNTAINBROKE; - A_Spawn(spriteNum,TOILETWATER); + PN(spriteNum) = TILE_WATERFOUNTAINBROKE; + A_Spawn(spriteNum,TILE_TOILETWATER); break; case SATELITE__STATIC: case FUELPOD__STATIC: case SOLARPANNEL__STATIC: case ANTENNA__STATIC: - if (sprite[dmgSrc].extra != G_DefaultActorHealth(SHOTSPARK1)) + if (sprite[dmgSrc].extra != G_DefaultActorHealth(TILE_SHOTSPARK1)) { for (bssize_t j=0; j<15; j++) { int32_t const r1 = krand2(), r2 = krand2(), r3 = krand2(), r4 = krand2(); - A_InsertSprite(SECT(spriteNum),SX(spriteNum),SY(spriteNum),sector[SECT(spriteNum)].floorz-ZOFFSET4-(j<<9),SCRAP1+(r4&15),-8,64,64, + A_InsertSprite(SECT(spriteNum),SX(spriteNum),SY(spriteNum),sector[SECT(spriteNum)].floorz-ZOFFSET4-(j<<9),TILE_SCRAP1+(r4&15),-8,64,64, r3&2047,(r2&127)+64,-(r1&511)-256,spriteNum,5); } - A_Spawn(spriteNum,EXPLOSION2); + A_Spawn(spriteNum,TILE_EXPLOSION2); A_DeleteSprite(spriteNum); } break; @@ -3227,15 +3227,15 @@ void A_DamageObject(int spriteNum, int const dmgSrc) case STATUEFLASH__STATIC: case STATUE__STATIC: case RRTILE1824__STATICRR: - if (RR && !RRRA && PN(spriteNum) == RRTILE1824) goto default_case; - if (PN(spriteNum) == BOTTLE10) - A_SpawnMultiple(spriteNum, MONEY, 4+(krand2()&3)); - else if (PN(spriteNum) == STATUE || PN(spriteNum) == STATUEFLASH) + if (RR && !RRRA && PN(spriteNum) == TILE_RRTILE1824) goto default_case; + if (PN(spriteNum) == TILE_BOTTLE10) + A_SpawnMultiple(spriteNum, TILE_MONEY, 4+(krand2()&3)); + else if (PN(spriteNum) == TILE_STATUE || PN(spriteNum) == TILE_STATUEFLASH) { A_SpawnRandomGlass(spriteNum,-1,40); A_PlaySound(GLASS_HEAVYBREAK,spriteNum); } - else if (PN(spriteNum) == VASE) + else if (PN(spriteNum) == TILE_VASE) A_SpawnWallGlass(spriteNum,-1,40); A_PlaySound(GLASS_BREAKING,spriteNum); @@ -3246,7 +3246,7 @@ void A_DamageObject(int spriteNum, int const dmgSrc) case FETUS__STATIC: if (RR) goto default_case; - PN(spriteNum) = FETUSBROKE; + PN(spriteNum) = TILE_FETUSBROKE; A_PlaySound(GLASS_BREAKING,spriteNum); A_SpawnWallGlass(spriteNum,-1,10); break; @@ -3255,7 +3255,7 @@ void A_DamageObject(int spriteNum, int const dmgSrc) if (RR) goto default_case; for (bssize_t j=48; j>0; j--) { - A_Shoot(spriteNum,BLOODSPLAT1); + A_Shoot(spriteNum,TILE_BLOODSPLAT1); SA(spriteNum) += 333; } A_PlaySound(GLASS_HEAVYBREAK,spriteNum); @@ -3277,7 +3277,7 @@ void A_DamageObject(int spriteNum, int const dmgSrc) case HYDROPLANT__STATIC: if (RR) goto default_case; - PN(spriteNum) = BROKEHYDROPLANT; + PN(spriteNum) = TILE_BROKEHYDROPLANT; A_PlaySound(GLASS_BREAKING,spriteNum); A_SpawnWallGlass(spriteNum,-1,10); break; @@ -3287,7 +3287,7 @@ void A_DamageObject(int spriteNum, int const dmgSrc) actor[OW(spriteNum)].t_data[0] = 32; actor[OW(spriteNum)].t_data[1] = !actor[OW(spriteNum)].t_data[1]; actor[OW(spriteNum)].t_data[2] ++; - A_Spawn(spriteNum,EXPLOSION2); + A_Spawn(spriteNum,TILE_EXPLOSION2); break; case BROKEHYDROPLANT__STATIC: @@ -3302,41 +3302,41 @@ void A_DamageObject(int spriteNum, int const dmgSrc) break; case TOILET__STATIC: - PN(spriteNum) = TOILETBROKE; + PN(spriteNum) = TILE_TOILETBROKE; CS(spriteNum) |= (krand2()&1)<<2; CS(spriteNum) &= ~257; - A_Spawn(spriteNum,TOILETWATER); + A_Spawn(spriteNum,TILE_TOILETWATER); A_PlaySound(GLASS_BREAKING,spriteNum); break; case STALL__STATIC: - PN(spriteNum) = STALLBROKE; + PN(spriteNum) = TILE_STALLBROKE; CS(spriteNum) |= (krand2()&1)<<2; CS(spriteNum) &= ~257; - A_Spawn(spriteNum,TOILETWATER); + A_Spawn(spriteNum,TILE_TOILETWATER); A_PlaySound(GLASS_HEAVYBREAK,spriteNum); break; case HYDRENT__STATIC: - PN(spriteNum) = BROKEFIREHYDRENT; - A_Spawn(spriteNum,TOILETWATER); + PN(spriteNum) = TILE_BROKEFIREHYDRENT; + A_Spawn(spriteNum,TILE_TOILETWATER); // for(k=0;k<5;k++) // { - // j = A_InsertSprite(SECT,SX,SY,SZ-(krand2()%(48<<8)),SCRAP3+(krand2()&3),-8,48,48,krand2()&2047,(krand2()&63)+64,-(krand2()&4095)-(sprite[i].zvel>>2),i,5); + // j = A_InsertSprite(SECT,SX,SY,SZ-(krand2()%(48<<8)),TILE_SCRAP3+(krand2()&3),-8,48,48,krand2()&2047,(krand2()&63)+64,-(krand2()&4095)-(sprite[i].zvel>>2),i,5); // sprite[j].pal = 2; // } A_PlaySound(GLASS_HEAVYBREAK,spriteNum); break; case GRATE1__STATIC: - PN(spriteNum) = BGRATE1; + PN(spriteNum) = TILE_BGRATE1; CS(spriteNum) &= (65535-256-1); A_PlaySound(VENT_BUST, spriteNum); break; case CIRCLEPANNEL__STATIC: - PN(spriteNum) = CIRCLEPANNELBROKE; + PN(spriteNum) = TILE_CIRCLEPANNELBROKE; CS(spriteNum) &= (65535-256-1); A_PlaySound(VENT_BUST,spriteNum); break; @@ -3344,14 +3344,14 @@ void A_DamageObject(int spriteNum, int const dmgSrc) case PANNEL1__STATIC: case PANNEL2__STATIC: if (RR) goto default_case; - PN(spriteNum) = BPANNEL1; + PN(spriteNum) = TILE_BPANNEL1; CS(spriteNum) &= (65535-256-1); A_PlaySound(VENT_BUST,spriteNum); break; case PANNEL3__STATIC: if (RR) goto default_case; - PN(spriteNum) = BPANNEL3; + PN(spriteNum) = TILE_BPANNEL3; CS(spriteNum) &= (65535-256-1); A_PlaySound(VENT_BUST,spriteNum); break; @@ -3366,26 +3366,26 @@ void A_DamageObject(int spriteNum, int const dmgSrc) switch (DYNAMICTILEMAP(PN(spriteNum))) { case PIPE1__STATIC: - PN(spriteNum)=PIPE1B; + PN(spriteNum)=TILE_PIPE1B; break; case PIPE2__STATIC: - PN(spriteNum)=PIPE2B; + PN(spriteNum)=TILE_PIPE2B; break; case PIPE3__STATIC: - PN(spriteNum)=PIPE3B; + PN(spriteNum)=TILE_PIPE3B; break; case PIPE4__STATIC: - PN(spriteNum)=PIPE4B; + PN(spriteNum)=TILE_PIPE4B; break; case PIPE5__STATIC: - PN(spriteNum)=PIPE5B; + PN(spriteNum)=TILE_PIPE5B; break; case PIPE6__STATIC: - PN(spriteNum)=PIPE6B; + PN(spriteNum)=TILE_PIPE6B; break; } - int newSprite = A_Spawn(spriteNum, STEAM); + int newSprite = A_Spawn(spriteNum, TILE_STEAM); sprite[newSprite].z = sector[SECT(spriteNum)].floorz-ZOFFSET5; break; } @@ -3403,34 +3403,34 @@ void A_DamageObject(int spriteNum, int const dmgSrc) sprite[spriteNum].extra -= sprite[dmgSrc].extra; if (sprite[spriteNum].extra > 0) break; SA(spriteNum) = krand2()&2047; - A_Shoot(spriteNum,BLOODSPLAT1); + A_Shoot(spriteNum,TILE_BLOODSPLAT1); SA(spriteNum) = krand2()&2047; - A_Shoot(spriteNum,BLOODSPLAT2); + A_Shoot(spriteNum,TILE_BLOODSPLAT2); SA(spriteNum) = krand2()&2047; - A_Shoot(spriteNum,BLOODSPLAT3); + A_Shoot(spriteNum,TILE_BLOODSPLAT3); SA(spriteNum) = krand2()&2047; - A_Shoot(spriteNum,BLOODSPLAT4); + A_Shoot(spriteNum,TILE_BLOODSPLAT4); SA(spriteNum) = krand2()&2047; - A_Shoot(spriteNum,BLOODSPLAT1); + A_Shoot(spriteNum,TILE_BLOODSPLAT1); SA(spriteNum) = krand2()&2047; - A_Shoot(spriteNum,BLOODSPLAT2); + A_Shoot(spriteNum,TILE_BLOODSPLAT2); SA(spriteNum) = krand2()&2047; - A_Shoot(spriteNum,BLOODSPLAT3); + A_Shoot(spriteNum,TILE_BLOODSPLAT3); SA(spriteNum) = krand2()&2047; - A_Shoot(spriteNum,BLOODSPLAT4); - A_DoGuts(spriteNum,JIBS1,1); - A_DoGuts(spriteNum,JIBS2,2); - A_DoGuts(spriteNum,JIBS3,3); - A_DoGuts(spriteNum,JIBS4,4); - A_DoGuts(spriteNum,JIBS5,1); - A_DoGuts(spriteNum,JIBS3,6); + A_Shoot(spriteNum,TILE_BLOODSPLAT4); + A_DoGuts(spriteNum,TILE_JIBS1,1); + A_DoGuts(spriteNum,TILE_JIBS2,2); + A_DoGuts(spriteNum,TILE_JIBS3,3); + A_DoGuts(spriteNum,TILE_JIBS4,4); + A_DoGuts(spriteNum,TILE_JIBS5,1); + A_DoGuts(spriteNum,TILE_JIBS3,6); S_PlaySound(SQUISHED); A_DeleteSprite(spriteNum); break; case CHAIR1__STATIC: case CHAIR2__STATIC: - PN(spriteNum) = BROKENCHAIR; + PN(spriteNum) = TILE_BROKENCHAIR; CS(spriteNum) = 0; break; @@ -3463,18 +3463,18 @@ default_case: if ((sprite[spriteNum].cstat&16) && SHT(spriteNum) == 0 && SLT(spriteNum) == 0 && sprite[spriteNum].statnum == STAT_DEFAULT) break; - if (((RR && sprite[dmgSrc].picnum == SHRINKSPARK) || sprite[dmgSrc].picnum == FREEZEBLAST || sprite[dmgSrc].owner != spriteNum) && sprite[spriteNum].statnum != STAT_PROJECTILE) + if (((RR && sprite[dmgSrc].picnum == TILE_SHRINKSPARK) || sprite[dmgSrc].picnum == TILE_FREEZEBLAST || sprite[dmgSrc].owner != spriteNum) && sprite[spriteNum].statnum != STAT_PROJECTILE) { if (A_CheckEnemySprite(&sprite[spriteNum]) == 1) { - if (sprite[dmgSrc].picnum == RPG || (RRRA && sprite[dmgSrc].picnum == RPG2)) + if (sprite[dmgSrc].picnum == TILE_RPG || (RRRA && sprite[dmgSrc].picnum == TILE_RPG2)) sprite[dmgSrc].extra <<= 1; - if ((PN(spriteNum) != DRONE) && (RR || ((PN(spriteNum) != ROTATEGUN) && (PN(spriteNum) != COMMANDER) && (PN(spriteNum) < GREENSLIME || PN(spriteNum) > GREENSLIME+7)))) - if (sprite[dmgSrc].picnum != FREEZEBLAST) + if ((PN(spriteNum) != TILE_DRONE) && (RR || ((PN(spriteNum) != TILE_ROTATEGUN) && (PN(spriteNum) != TILE_COMMANDER) && (PN(spriteNum) < TILE_GREENSLIME || PN(spriteNum) > TILE_GREENSLIME+7)))) + if (sprite[dmgSrc].picnum != TILE_FREEZEBLAST) if (!A_CheckSpriteFlags(spriteNum, SFLAG_BADGUY)) { - int const newSprite = A_Spawn(dmgSrc, JIBS6); + int const newSprite = A_Spawn(dmgSrc, TILE_JIBS6); sprite[newSprite].z += ZOFFSET6; if (sprite[dmgSrc].pal == 6) sprite[newSprite].pal = 6; @@ -3485,13 +3485,13 @@ default_case: int const damageOwner = sprite[dmgSrc].owner; - if (damageOwner >= 0 && sprite[damageOwner].picnum == APLAYER && (RR || PN(spriteNum) != ROTATEGUN) && PN(spriteNum) != DRONE) + if (damageOwner >= 0 && sprite[damageOwner].picnum == TILE_APLAYER && (RR || PN(spriteNum) != TILE_ROTATEGUN) && PN(spriteNum) != TILE_DRONE) if (g_player[P_Get(damageOwner)].ps->curr_weapon == SHOTGUN_WEAPON) { - A_Shoot(spriteNum, BLOODSPLAT3); - A_Shoot(spriteNum, BLOODSPLAT1); - A_Shoot(spriteNum, BLOODSPLAT2); - A_Shoot(spriteNum, BLOODSPLAT4); + A_Shoot(spriteNum, TILE_BLOODSPLAT3); + A_Shoot(spriteNum, TILE_BLOODSPLAT1); + A_Shoot(spriteNum, TILE_BLOODSPLAT2); + A_Shoot(spriteNum, TILE_BLOODSPLAT4); } if (!RR && !A_CheckSpriteFlags(spriteNum, SFLAG_NODAMAGEPUSH)) @@ -3514,17 +3514,17 @@ default_case: actor[spriteNum].timetosleep = SLEEPTIME; } - if (!RR && (sprite[spriteNum].xrepeat < 24 || PN(spriteNum) == SHARK) && sprite[dmgSrc].picnum == SHRINKSPARK) + if (!RR && (sprite[spriteNum].xrepeat < 24 || PN(spriteNum) == TILE_SHARK) && sprite[dmgSrc].picnum == TILE_SHRINKSPARK) return; } if (sprite[spriteNum].statnum != STAT_ZOMBIEACTOR) { - if (sprite[dmgSrc].picnum == FREEZEBLAST && ((PN(spriteNum) == APLAYER && sprite[spriteNum].pal == 1) || (g_freezerSelfDamage == 0 && sprite[dmgSrc].owner == spriteNum))) + if (sprite[dmgSrc].picnum == TILE_FREEZEBLAST && ((PN(spriteNum) == TILE_APLAYER && sprite[spriteNum].pal == 1) || (g_freezerSelfDamage == 0 && sprite[dmgSrc].owner == spriteNum))) return; actor[spriteNum].picnum = sprite[dmgSrc].picnum; actor[spriteNum].extra += sprite[dmgSrc].extra; - if (!RR || PN(spriteNum) != COW) + if (!RR || PN(spriteNum) != TILE_COW) actor[spriteNum].ang = sprite[dmgSrc].ang; actor[spriteNum].owner = sprite[dmgSrc].owner; } @@ -3536,10 +3536,10 @@ default_case: if (ps->newowner >= 0) G_ClearCameraView(ps); - if (!RR && sprite[spriteNum].xrepeat < 24 && sprite[dmgSrc].picnum == SHRINKSPARK) + if (!RR && sprite[spriteNum].xrepeat < 24 && sprite[dmgSrc].picnum == TILE_SHRINKSPARK) return; - if (sprite[actor[spriteNum].owner].picnum != APLAYER) + if (sprite[actor[spriteNum].owner].picnum != TILE_APLAYER) if (ud.player_skill >= 3) sprite[dmgSrc].extra += (sprite[dmgSrc].extra>>1); } @@ -3881,7 +3881,7 @@ CHECKINV1: int spriteNum = headspritestat[1]; while (spriteNum >= 0) { - if (sprite[spriteNum].picnum == HEAVYHBOMB && sprite[spriteNum].owner == pPlayer->i) + if (sprite[spriteNum].picnum == TILE_HEAVYHBOMB && sprite[spriteNum].owner == pPlayer->i) { pPlayer->gotweapon |= 1<ammo_amount[weaponNum] > 0 && (pPlayer->gotweapon & (1<cursectnum > -1) { int const i = A_InsertSprite(pPlayer->cursectnum, pPlayer->pos.x, pPlayer->pos.y, - pPlayer->pos.z+(30<<8), APLAYER, -64, 0, 0, fix16_to_int(pPlayer->q16ang), 0, 0, -1, 10); + pPlayer->pos.z+(30<<8), TILE_APLAYER, -64, 0, 0, fix16_to_int(pPlayer->q16ang), 0, 0, -1, 10); pPlayer->holoduke_on = i; T4(i) = T5(i) = 0; sprite[i].yvel = playerNum; @@ -4263,7 +4263,7 @@ int A_CheckHitSprite(int spriteNum, int16_t *hitSprite) if (A_CheckEnemySprite(&sprite[spriteNum])) zOffset = (42 << 8); - else if (PN(spriteNum) == APLAYER) + else if (PN(spriteNum) == TILE_APLAYER) zOffset = (39 << 8); SZ(spriteNum) -= zOffset; @@ -4378,7 +4378,7 @@ void P_CheckSectors(int playerNum) { if (RR && !RRRA) g_canSeePlayer = -1; - A_SpawnMultiple(pPlayer->i, MONEY, 2); + A_SpawnMultiple(pPlayer->i, TILE_MONEY, 2); } if (!RR && pPlayer->newowner >= 0) @@ -4423,7 +4423,7 @@ void P_CheckSectors(int playerNum) if (RRRA) { - if (foundWall >= 0 && wall[foundWall].overpicnum == MIRROR && playerNum == screenpeek) + if (foundWall >= 0 && wall[foundWall].overpicnum == TILE_MIRROR && playerNum == screenpeek) if (!g_netServer && numplayers == 1) { if (A_CheckSoundPlaying(pPlayer->i,27) == 0 && A_CheckSoundPlaying(pPlayer->i,28) == 0 && A_CheckSoundPlaying(pPlayer->i,29) == 0 @@ -4444,7 +4444,7 @@ void P_CheckSectors(int playerNum) return; } } - else if (foundWall >= 0 && (RR || wallDist < 1280) && wall[foundWall].overpicnum == MIRROR) + else if (foundWall >= 0 && (RR || wallDist < 1280) && wall[foundWall].overpicnum == TILE_MIRROR) if (wall[foundWall].lotag > 0 && !A_CheckSoundPlaying(pPlayer->i,wall[foundWall].lotag) && playerNum == screenpeek) { if (RR) @@ -4655,8 +4655,8 @@ void P_CheckSectors(int playerNum) { if (ud.noexits && (g_netServer || ud.multimode > 1)) { - // NUKEBUTTON frags the player - actor[pPlayer->i].picnum = NUKEBUTTON; + // TILE_NUKEBUTTON frags the player + actor[pPlayer->i].picnum = TILE_NUKEBUTTON; actor[pPlayer->i].extra = 250; } else @@ -4703,7 +4703,7 @@ void P_CheckSectors(int playerNum) // Try to find a camera sprite for the viewscreen. for (bssize_t SPRITES_OF(STAT_ACTOR, spriteNum)) { - if (PN(spriteNum) == CAMERA1 && SP(spriteNum) == 0 && sprite[nearSprite].hitag == SLT(spriteNum)) + if (PN(spriteNum) == TILE_CAMERA1 && SP(spriteNum) == 0 && sprite[nearSprite].hitag == SLT(spriteNum)) { sprite[spriteNum].yvel = 1; // Using this camera A_PlaySound(MONITOR_ACTIVE, pPlayer->i); @@ -4774,7 +4774,7 @@ void P_CheckSectors(int playerNum) { for (bssize_t SPRITES_OF_SECT(nearSector, spriteNum)) { - if (PN(spriteNum) == ACTIVATOR || PN(spriteNum) == MASTERSWITCH) + if (PN(spriteNum) == TILE_ACTIVATOR || PN(spriteNum) == TILE_MASTERSWITCH) return; } @@ -4801,7 +4801,7 @@ void P_CheckSectors(int playerNum) { for (bssize_t SPRITES_OF_SECT(sprite[pPlayer->i].sectnum, spriteNum)) { - if (PN(spriteNum) == ACTIVATOR || PN(spriteNum) == MASTERSWITCH) + if (PN(spriteNum) == TILE_ACTIVATOR || PN(spriteNum) == TILE_MASTERSWITCH) return; } @@ -5244,10 +5244,10 @@ void G_Thunder(void) bsize_t i = 0; if (!g_thunderFlash) { - if ((gotpic[RRTILE2577>>3]&(1<<(RRTILE2577&7)))) + if ((gotpic[TILE_RRTILE2577>>3]&(1<<(TILE_RRTILE2577&7)))) { - gotpic[RRTILE2577>>3] &= ~(1<<(RRTILE2577&7)); - if (tilePtr(RRTILE2577) != nullptr) // why does this on texture load state??? + gotpic[TILE_RRTILE2577>>3] &= ~(1<<(TILE_RRTILE2577&7)); + if (tilePtr(TILE_RRTILE2577) != nullptr) // why does this on texture load state??? { g_visibility = 256; if (krand2() > 65000) @@ -5277,10 +5277,10 @@ void G_Thunder(void) } if (!g_winderFlash) { - if ((gotpic[RRTILE2562>>3]&(1<<(RRTILE2562&7)))) + if ((gotpic[TILE_RRTILE2562>>3]&(1<<(TILE_RRTILE2562&7)))) { - gotpic[RRTILE2562>>3] &= ~(1<<(RRTILE2562&7)); - if (tilePtr(RRTILE2562) != nullptr) // why does this on texture load state??? + gotpic[TILE_RRTILE2562>>3] &= ~(1<<(TILE_RRTILE2562&7)); + if (tilePtr(TILE_RRTILE2562) != nullptr) // why does this on texture load state??? { if (krand2() > 65000) { diff --git a/source/games/duke/src/sector.h b/source/games/duke/src/sector.h index c6fff7d64..3e9a3de62 100644 --- a/source/games/duke/src/sector.h +++ b/source/games/duke/src/sector.h @@ -140,12 +140,12 @@ void G_Thunder(void); #define FORCEFIELD_CSTAT (64+16+4+1) -// Returns W_FORCEFIELD if wall has a forcefield overpicnum, its overpicnum else. +// Returns TILE_W_FORCEFIELD if wall has a forcefield overpicnum, its overpicnum else. static inline int G_GetForcefieldPicnum(int wallNum) { int tileNum = wall[wallNum].overpicnum; - if (tileNum == W_FORCEFIELD + 1 || tileNum == W_FORCEFIELD + 2) - tileNum = W_FORCEFIELD; + if (tileNum == TILE_W_FORCEFIELD + 1 || tileNum == TILE_W_FORCEFIELD + 2) + tileNum = TILE_W_FORCEFIELD; return tileNum; } diff --git a/source/games/duke/src/sounds.cpp b/source/games/duke/src/sounds.cpp index 5086849d8..6b37cfcce 100644 --- a/source/games/duke/src/sounds.cpp +++ b/source/games/duke/src/sounds.cpp @@ -189,7 +189,7 @@ static int S_CalcDistAndAng(int spriteNum, int soundNum, int sectNum, int userflags = snd ? snd[kFlags] : 0; int dist_adjust = snd ? snd[kVolAdjust] : 0; - if (PN(spriteNum) != APLAYER || P_Get(spriteNum) != screenpeek) + if (PN(spriteNum) != TILE_APLAYER || P_Get(spriteNum) != screenpeek) { orgsndist = sndist = FindDistance3D(cam->x - pos->x, cam->y - pos->y, (cam->z - pos->z)); @@ -201,7 +201,7 @@ static int S_CalcDistAndAng(int spriteNum, int soundNum, int sectNum, if (sndist < 0) sndist = 0; - if (sectNum > -1 && sndist && PN(spriteNum) != MUSICANDSFX + if (sectNum > -1 && sndist && PN(spriteNum) != TILE_MUSICANDSFX && !cansee(cam->x, cam->y, cam->z - (24 << 8), sectNum, SX(spriteNum), SY(spriteNum), SZ(spriteNum) - (24 << 8), SECT(spriteNum))) sndist += sndist>>(RR?2:5); @@ -377,7 +377,7 @@ int S_PlaySound3D(int sndnum, int spriteNum, const vec3_t* pos, int channel, ECh // Duke talk if (userflags & SF_TALK) { - if ((g_netServer || ud.multimode > 1) && PN(spriteNum) == APLAYER && P_Get(spriteNum) != screenpeek) // other player sound + if ((g_netServer || ud.multimode > 1) && PN(spriteNum) == TILE_APLAYER && P_Get(spriteNum) != screenpeek) // other player sound { if ((snd_speech & 4) != 4) return -1; @@ -425,7 +425,7 @@ int S_PlaySound3D(int sndnum, int spriteNum, const vec3_t* pos, int channel, ECh } else { - if (sndist > 32767 && PN(spriteNum) != MUSICANDSFX && (userflags & (SF_LOOP | SF_MSFX)) == 0) + if (sndist > 32767 && PN(spriteNum) != TILE_MUSICANDSFX && (userflags & (SF_LOOP | SF_MSFX)) == 0) return -1; if (pOther->cursectnum > -1 && sector[pOther->cursectnum].lotag == ST_2_UNDERWATER @@ -434,7 +434,7 @@ int S_PlaySound3D(int sndnum, int spriteNum, const vec3_t* pos, int channel, ECh } bool is_playing = soundEngine->GetSoundPlayingInfo(SOURCE_Any, nullptr, sndnum+1); - if (is_playing && PN(spriteNum) != MUSICANDSFX) + if (is_playing && PN(spriteNum) != TILE_MUSICANDSFX) S_StopEnvSound(sndnum, spriteNum); int const repeatp = (userflags & SF_LOOP); diff --git a/source/games/duke/src/sounds.h b/source/games/duke/src/sounds.h index a8e4976aa..ae8d7796b 100644 --- a/source/games/duke/src/sounds.h +++ b/source/games/duke/src/sounds.h @@ -75,7 +75,7 @@ void S_PlayRRMusic(int newTrack = -1); static inline bool S_IsAmbientSFX(int spriteNum) { - return (sprite[spriteNum].picnum == MUSICANDSFX && sprite[spriteNum].lotag < 999); + return (sprite[spriteNum].picnum == TILE_MUSICANDSFX && sprite[spriteNum].lotag < 999); } END_DUKE_NS diff --git a/source/games/duke/src/text.cpp b/source/games/duke/src/text.cpp index 9b8dbeba5..2ab71c5ed 100644 --- a/source/games/duke/src/text.cpp +++ b/source/games/duke/src/text.cpp @@ -51,22 +51,22 @@ int GameInterface::GetStringTile(int font, const char* t, int f) return font - (11 + offset); break; case '.': - return font + (BIGPERIOD - (BIGALPHANUM + offset)); + return font + (TILE_BIGPERIOD - (TILE_BIGALPHANUM + offset)); break; case ',': - return font + (BIGCOMMA - (BIGALPHANUM + offset)); + return font + (TILE_BIGCOMMA - (TILE_BIGALPHANUM + offset)); break; case '!': - return font + (BIGX_ - (BIGALPHANUM + offset)); + return font + (TILE_BIGX_ - (TILE_BIGALPHANUM + offset)); break; case '?': - return font + (BIGQ - (BIGALPHANUM + offset)); + return font + (TILE_BIGQ - (TILE_BIGALPHANUM + offset)); break; case ';': - return font + (BIGSEMI - (BIGALPHANUM + offset)); + return font + (TILE_BIGSEMI - (TILE_BIGALPHANUM + offset)); break; case ':': - return font + (BIGCOLIN - (BIGALPHANUM + offset)); + return font + (TILE_BIGCOLIN - (TILE_BIGALPHANUM + offset)); break; case '\\': case '/': @@ -78,7 +78,7 @@ int GameInterface::GetStringTile(int font, const char* t, int f) case '`': case '\"': // could be better hacked in case '\'': - return font + (BIGAPPOS - (BIGALPHANUM + offset)); + return font + (TILE_BIGAPPOS - (TILE_BIGALPHANUM + offset)); break; default: // unknown character fallthrough__;