mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-13 04:24:39 +00:00
- variable cleanup.
This commit is contained in:
parent
291726cc55
commit
b60181eed5
5 changed files with 0 additions and 32 deletions
|
@ -102,7 +102,6 @@ struct usermaphack_t
|
||||||
EXTERN int leveltimer;
|
EXTERN int leveltimer;
|
||||||
|
|
||||||
EXTERN int32_t xdim, ydim;
|
EXTERN int32_t xdim, ydim;
|
||||||
EXTERN int32_t yxaspect, viewingrange;
|
|
||||||
|
|
||||||
EXTERN int32_t Numsprites;
|
EXTERN int32_t Numsprites;
|
||||||
EXTERN int32_t display_mirror;
|
EXTERN int32_t display_mirror;
|
||||||
|
|
|
@ -41,9 +41,6 @@
|
||||||
|
|
||||||
int32_t mdtims, omdtims;
|
int32_t mdtims, omdtims;
|
||||||
|
|
||||||
float fcosglobalang, fsinglobalang;
|
|
||||||
float fydimen, fviewingrange;
|
|
||||||
|
|
||||||
uint8_t globalr = 255, globalg = 255, globalb = 255;
|
uint8_t globalr = 255, globalg = 255, globalb = 255;
|
||||||
|
|
||||||
static int16_t radarang[1280];
|
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
|
// Internal Engine Functions
|
||||||
//
|
//
|
||||||
|
@ -712,11 +700,3 @@ int tilehasmodelorvoxel(int const tilenume, int pal)
|
||||||
(mdinited && hw_models && tile2model[Ptile2tile(tilenume, pal)].modelid != -1) ||
|
(mdinited && hw_models && tile2model[Ptile2tile(tilenume, pal)].modelid != -1) ||
|
||||||
(r_voxels && tiletovox[tilenume] != -1);
|
(r_voxels && tiletovox[tilenume] != -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
CCMD(updatesectordebug)
|
|
||||||
{
|
|
||||||
int sect = 319;
|
|
||||||
updatesector(1792, 24334, §);
|
|
||||||
int blah = sect;
|
|
||||||
}
|
|
|
@ -783,7 +783,6 @@ void viewDrawScreen(bool sceneonly)
|
||||||
if (v4 && gNetPlayers > 1)
|
if (v4 && gNetPlayers > 1)
|
||||||
{
|
{
|
||||||
DoLensEffect();
|
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, 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);
|
r otatesprite(IntToFixed(280), IntToFixed(35), 53248, 0, 1683, v10, 0, 512 + 35, gViewX0, gViewY0, gViewX1, gViewY1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1374,8 +1374,6 @@ void drawscreen(PLAYER* pp, double smoothratio, bool sceneonly)
|
||||||
extern bool FAF_DebugView;
|
extern bool FAF_DebugView;
|
||||||
PLAYER* camerapp; // prediction player if prediction is on, else regular player
|
PLAYER* camerapp; // prediction player if prediction is on, else regular player
|
||||||
|
|
||||||
int const viewingRange = viewingrange;
|
|
||||||
|
|
||||||
DrawScreen = true;
|
DrawScreen = true;
|
||||||
PreDraw();
|
PreDraw();
|
||||||
|
|
||||||
|
|
|
@ -1072,12 +1072,6 @@ OptionValue "Precision"
|
||||||
1, "$OPTVAL_QUALITY"
|
1, "$OPTVAL_QUALITY"
|
||||||
}
|
}
|
||||||
|
|
||||||
OptionValue "VideoRenderers"
|
|
||||||
{
|
|
||||||
0, "Polymost"
|
|
||||||
1, "Raze3D"
|
|
||||||
}
|
|
||||||
|
|
||||||
OptionMenu "VideoOptions" protected
|
OptionMenu "VideoOptions" protected
|
||||||
{
|
{
|
||||||
Title "$DSPLYMNU_TITLE"
|
Title "$DSPLYMNU_TITLE"
|
||||||
|
@ -1088,8 +1082,6 @@ OptionMenu "VideoOptions" protected
|
||||||
Submenu "$GLMNU_POSTPROCESS", "PostProcessMenu"
|
Submenu "$GLMNU_POSTPROCESS", "PostProcessMenu"
|
||||||
Submenu "$GLTEXMNU_TITLE", "GLTextureGLOptions"
|
Submenu "$GLTEXMNU_TITLE", "GLTextureGLOptions"
|
||||||
StaticText ""
|
StaticText ""
|
||||||
Option "Renderer", vid_renderer, "VideoRenderers"
|
|
||||||
StaticText ""
|
|
||||||
|
|
||||||
Slider "$DSPLYMNU_GAMMA", "vid_gamma", 0.75, 3.0, 0.05, 2
|
Slider "$DSPLYMNU_GAMMA", "vid_gamma", 0.75, 3.0, 0.05, 2
|
||||||
Slider "$DSPLYMNU_BRIGHTNESS", "vid_brightness", -0.8,0.8, 0.05,2
|
Slider "$DSPLYMNU_BRIGHTNESS", "vid_brightness", -0.8,0.8, 0.05,2
|
||||||
|
|
Loading…
Reference in a new issue