- variable cleanup.

This commit is contained in:
Christoph Oelckers 2022-08-03 15:54:39 +02:00
parent 291726cc55
commit b60181eed5
5 changed files with 0 additions and 32 deletions

View file

@ -102,7 +102,6 @@ struct usermaphack_t
EXTERN int leveltimer;
EXTERN int32_t xdim, ydim;
EXTERN int32_t yxaspect, viewingrange;
EXTERN int32_t Numsprites;
EXTERN int32_t display_mirror;

View file

@ -41,9 +41,6 @@
int32_t mdtims, omdtims;
float fcosglobalang, fsinglobalang;
float fydimen, fviewingrange;
uint8_t globalr = 255, globalg = 255, globalb = 255;
static int16_t radarang[1280];
@ -77,15 +74,6 @@ static void getclosestpointonwall_internal(vec2_t const p, int32_t const dawall,
}
static int32_t globaly1, globalx2;
int16_t pointhighlight=-1, linehighlight=-1, highlightcnt=0;
static int16_t numhits;
//
// Internal Engine Functions
//
@ -712,11 +700,3 @@ int tilehasmodelorvoxel(int const tilenume, int pal)
(mdinited && hw_models && tile2model[Ptile2tile(tilenume, pal)].modelid != -1) ||
(r_voxels && tiletovox[tilenume] != -1);
}
CCMD(updatesectordebug)
{
int sect = 319;
updatesector(1792, 24334, &sect);
int blah = sect;
}

View file

@ -783,7 +783,6 @@ void viewDrawScreen(bool sceneonly)
if (v4 && gNetPlayers > 1)
{
DoLensEffect();
viewingRange = viewingrange;
r otatesprite(IntToFixed(280), IntToFixed(35), 53248, 512, 4077, v10, v14, 512 + 6, gViewX0, gViewY0, gViewX1, gViewY1);
r otatesprite(IntToFixed(280), IntToFixed(35), 53248, 0, 1683, v10, 0, 512 + 35, gViewX0, gViewY0, gViewX1, gViewY1);
}

View file

@ -1374,8 +1374,6 @@ void drawscreen(PLAYER* pp, double smoothratio, bool sceneonly)
extern bool FAF_DebugView;
PLAYER* camerapp; // prediction player if prediction is on, else regular player
int const viewingRange = viewingrange;
DrawScreen = true;
PreDraw();

View file

@ -1072,12 +1072,6 @@ OptionValue "Precision"
1, "$OPTVAL_QUALITY"
}
OptionValue "VideoRenderers"
{
0, "Polymost"
1, "Raze3D"
}
OptionMenu "VideoOptions" protected
{
Title "$DSPLYMNU_TITLE"
@ -1088,8 +1082,6 @@ OptionMenu "VideoOptions" protected
Submenu "$GLMNU_POSTPROCESS", "PostProcessMenu"
Submenu "$GLTEXMNU_TITLE", "GLTextureGLOptions"
StaticText ""
Option "Renderer", vid_renderer, "VideoRenderers"
StaticText ""
Slider "$DSPLYMNU_GAMMA", "vid_gamma", 0.75, 3.0, 0.05, 2
Slider "$DSPLYMNU_BRIGHTNESS", "vid_brightness", -0.8,0.8, 0.05,2