mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
- removed some unused stuff from engine.
This commit is contained in:
parent
b8f9bdb7c1
commit
9092b5c392
3 changed files with 0 additions and 24 deletions
|
@ -352,14 +352,10 @@ void videoSetCorrectedAspect();
|
||||||
void videoSetViewableArea(int32_t x1, int32_t y1, int32_t x2, int32_t y2);
|
void videoSetViewableArea(int32_t x1, int32_t y1, int32_t x2, int32_t y2);
|
||||||
void renderSetAspect(int32_t daxrange, int32_t daaspect);
|
void renderSetAspect(int32_t daxrange, int32_t daaspect);
|
||||||
|
|
||||||
void plotpixel(int32_t x, int32_t y, char col);
|
|
||||||
FCanvasTexture *renderSetTarget(int16_t tilenume);
|
FCanvasTexture *renderSetTarget(int16_t tilenume);
|
||||||
void renderRestoreTarget();
|
void renderRestoreTarget();
|
||||||
|
|
||||||
void setVideoMode();
|
void setVideoMode();
|
||||||
void videoInit();
|
|
||||||
void videoClearViewableArea(int32_t dacol);
|
|
||||||
void videoClearScreen(int32_t dacol);
|
|
||||||
|
|
||||||
class F2DDrawer;
|
class F2DDrawer;
|
||||||
|
|
||||||
|
|
|
@ -1563,24 +1563,6 @@ void videoSetViewableArea(int32_t x1, int32_t y1, int32_t x2, int32_t y2)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// clearview
|
|
||||||
//
|
|
||||||
void videoClearViewableArea(int32_t dacol)
|
|
||||||
{
|
|
||||||
GLInterface.ClearScreen(dacol, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// clearallviews
|
|
||||||
//
|
|
||||||
void videoClearScreen(int32_t dacol)
|
|
||||||
{
|
|
||||||
GLInterface.ClearScreen(dacol | PalEntry(255,0,0,0));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//MUST USE RESTOREFORDRAWROOMS AFTER DRAWING
|
//MUST USE RESTOREFORDRAWROOMS AFTER DRAWING
|
||||||
|
|
||||||
static int32_t setviewcnt = 0; // interface layers use this now
|
static int32_t setviewcnt = 0; // interface layers use this now
|
||||||
|
@ -1736,7 +1718,6 @@ void alignflorslope(int16_t dasect, int32_t x, int32_t y, int32_t z)
|
||||||
|
|
||||||
int tilehasmodelorvoxel(int const tilenume, int pal)
|
int tilehasmodelorvoxel(int const tilenume, int pal)
|
||||||
{
|
{
|
||||||
UNREFERENCED_PARAMETER(pal);
|
|
||||||
return
|
return
|
||||||
(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);
|
||||||
|
|
|
@ -1050,7 +1050,6 @@ void setVideoMode()
|
||||||
ydim = screen->GetHeight();
|
ydim = screen->GetHeight();
|
||||||
V_UpdateModeSize(xdim, ydim);
|
V_UpdateModeSize(xdim, ydim);
|
||||||
videoSetViewableArea(0, 0, xdim - 1, ydim - 1);
|
videoSetViewableArea(0, 0, xdim - 1, ydim - 1);
|
||||||
videoClearScreen(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
|
|
Loading…
Reference in a new issue