Commit 9a17e0ec authored by Evan Ramos's avatar Evan Ramos
Browse files

SW: #if 0 already stubbed procedural lava texture functions

parent b1882c5f
...@@ -2506,8 +2506,10 @@ drawscreen(PLAYERp pp) ...@@ -2506,8 +2506,10 @@ drawscreen(PLAYERp pp)
{ {
gotpic[SLIME >> 3] &= ~(1 << (SLIME & 7)); gotpic[SLIME >> 3] &= ~(1 << (SLIME & 7));
#if 0
if (waloff[SLIME]) if (waloff[SLIME])
movelava((char *) waloff[SLIME]); movelava((char *) waloff[SLIME]);
#endif
} }
......
...@@ -1502,7 +1502,9 @@ InitLevel(void) ...@@ -1502,7 +1502,9 @@ InitLevel(void)
PlaceActorsOnTracks(); PlaceActorsOnTracks();
PostSetupSectorObject(); PostSetupSectorObject();
SetupMirrorTiles(); SetupMirrorTiles();
#if 0
initlava(); initlava();
#endif
SongLevelNum = Level; SongLevelNum = Level;
......
...@@ -3046,9 +3046,9 @@ AnimSetVelAdj(short anim_ndx, short vel_adj) ...@@ -3046,9 +3046,9 @@ AnimSetVelAdj(short anim_ndx, short vel_adj)
} }
#if 0
void initlava(void) void initlava(void)
{ {
#if 0
int x, y, z, r; int x, y, z, r;
int i; int i;
...@@ -3094,12 +3094,10 @@ void initlava(void) ...@@ -3094,12 +3094,10 @@ void initlava(void)
lavanumdrops = 0; lavanumdrops = 0;
lavanumframes = 0; lavanumframes = 0;
#endif
} }
void movelava(char *dapic) void movelava(char *dapic)
{ {
#if 0
// #define COLOR_OFFSET 192 // #define COLOR_OFFSET 192
#define COLOR_OFFSET LT_BROWN #define COLOR_OFFSET LT_BROWN
...@@ -3207,8 +3205,8 @@ void movelava(char *dapic) ...@@ -3207,8 +3205,8 @@ void movelava(char *dapic)
} }
lavanumframes++; lavanumframes++;
#endif
} }
#endif
void void
......
...@@ -74,7 +74,9 @@ void ShootableSwitch(short SpriteNum); ...@@ -74,7 +74,9 @@ void ShootableSwitch(short SpriteNum);
SWBOOL TestKillSectorObject(SECTOR_OBJECTp sop); SWBOOL TestKillSectorObject(SECTOR_OBJECTp sop);
void WeaponExplodeSectorInRange(short weapon); void WeaponExplodeSectorInRange(short weapon);
#if 0
void initlava(void); void initlava(void);
void movelava(char *dapic); void movelava(char *dapic);
#endif
#endif #endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment