ref: 6451a61845d208a6077cc489a737098586cd7826
parent: 343461e2417e1190acbcfd236ae39b70764a79c6
author: Marc-Alexandre Espiaut <marcalexandre@member.fsf.org>
date: Tue Jun 5 07:47:46 EDT 2018
Removing unused but set variables in rt_game.c
--- a/rott/rt_game.c
+++ b/rott/rt_game.c
@@ -394,7 +394,6 @@
pic_t *shape;
int shapenum;
- int ShowKillsYoffset = 0;//bna++
//figure out where the middle point of the status bar should be for top bar
topBarCenterOffsetX = (iGLOBAL_SCREENWIDTH - 320) >> 1;
@@ -422,10 +421,6 @@
{
shape = ( pic_t * ) W_CacheLumpName( "bottbar", PU_CACHE, Cvt_pic_t, 1 );
- if ( SHOW_KILLS() )
- {
- ShowKillsYoffset = KILLS_HEIGHT;
- }
if (iGLOBAL_SCREENWIDTH > 320 || iGLOBAL_SCREENHEIGHT > 200)
{
shape = ( pic_t * )W_CacheLumpName( "backtile", PU_CACHE, Cvt_pic_t, 1 );
@@ -1661,17 +1656,12 @@
int x;
int y;
int planes;
- byte mask;
byte pixel;
- mask = 1 << (xpos&3);
-
olddest = ylookup[ypos] + xpos;
for (planes = 0; planes < 4; planes++)
{
- VGAMAPMASK (mask);
-
dest = olddest;
dest += planes;
@@ -1730,20 +1720,15 @@
int x;
int y;
int planes;
- byte mask;
byte pixel;
byte * cmap;
cmap=playermaps[color]+(1<<12);
- mask = 1 << (xpos&3);
-
olddest = ylookup[ypos] + xpos;
for (planes = 0; planes < 4; planes++)
{
- VGAMAPMASK (mask);
-
dest = olddest;
dest += planes;
@@ -2386,11 +2371,8 @@
)
{
- int x;
-
if ( which < stat_gasmask )
{
- x = POWERUP1X;
poweruptime = GetBonusTimeForItem(which);
poweradjust = (poweruptime >> 4);
powerupheight = 0;
@@ -2399,7 +2381,6 @@
}
else
{
- x = POWERUP2X;
protectiontime = GetBonusTimeForItem(which);
poweradjust = (protectiontime >> 4);
protectionheight = 0;