mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-12 23:54:37 +00:00
- Build (and games): Remove totalclocklock
.
This commit is contained in:
parent
576b13248e
commit
76b05dbcd6
5 changed files with 1 additions and 7 deletions
|
@ -364,9 +364,7 @@ EXTERN struct validmode_t validmode[MAXVALIDMODES];
|
||||||
EXTERN int32_t Numsprites;
|
EXTERN int32_t Numsprites;
|
||||||
EXTERN int16_t numsectors, numwalls;
|
EXTERN int16_t numsectors, numwalls;
|
||||||
EXTERN int32_t display_mirror;
|
EXTERN int32_t display_mirror;
|
||||||
// totalclocklock: the totalclock value that is backed up once on each
|
EXTERN ClockTicks totalclock;
|
||||||
// drawrooms() and is used for animateoffs().
|
|
||||||
EXTERN ClockTicks totalclock, totalclocklock;
|
|
||||||
static inline int32_t BGetTime(void) { return (int32_t) totalclock; }
|
static inline int32_t BGetTime(void) { return (int32_t) totalclock; }
|
||||||
|
|
||||||
EXTERN int32_t randomseed;
|
EXTERN int32_t randomseed;
|
||||||
|
|
|
@ -1286,7 +1286,6 @@ int32_t renderDrawRoomsQ16(int32_t daposx, int32_t daposy, int32_t daposz,
|
||||||
globalhoriz = fix16_to_int(qglobalhoriz);
|
globalhoriz = fix16_to_int(qglobalhoriz);
|
||||||
|
|
||||||
globalcursectnum = dacursectnum;
|
globalcursectnum = dacursectnum;
|
||||||
totalclocklock = I_GetBuildTime();
|
|
||||||
|
|
||||||
if ((xyaspect != oxyaspect) || (xdimen != oxdimen) || (viewingrange != oviewingrange))
|
if ((xyaspect != oxyaspect) || (xdimen != oxdimen) || (viewingrange != oviewingrange))
|
||||||
dosetaspect();
|
dosetaspect();
|
||||||
|
|
|
@ -30,7 +30,6 @@ BEGIN_PS_NS
|
||||||
void resettiming()
|
void resettiming()
|
||||||
{
|
{
|
||||||
totalclock = 0;
|
totalclock = 0;
|
||||||
// TODO totalclocklock = 0L;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void doTileLoad(int i)
|
void doTileLoad(int i)
|
||||||
|
|
|
@ -481,7 +481,6 @@ void GameInterface::SerializeGameState(FSerializer& arc)
|
||||||
|
|
||||||
// Todo: move to backend
|
// Todo: move to backend
|
||||||
("gameclock", gameclock)
|
("gameclock", gameclock)
|
||||||
("totalclocklock", totalclocklock)
|
|
||||||
|
|
||||||
("lockclock", lockclock)
|
("lockclock", lockclock)
|
||||||
|
|
||||||
|
|
|
@ -316,7 +316,6 @@ void DrawMenuLevelScreen(void)
|
||||||
{
|
{
|
||||||
const int TITLE_PIC = 2324;
|
const int TITLE_PIC = 2324;
|
||||||
twod->ClearScreen();
|
twod->ClearScreen();
|
||||||
totalclocklock = gameclock;
|
|
||||||
DrawTexture(twod, tileGetTexture(TITLE_PIC), 0, 0, DTA_FullscreenEx, FSMode_ScaleToFit43, DTA_LegacyRenderStyle, STYLE_Normal,
|
DrawTexture(twod, tileGetTexture(TITLE_PIC), 0, 0, DTA_FullscreenEx, FSMode_ScaleToFit43, DTA_LegacyRenderStyle, STYLE_Normal,
|
||||||
DTA_Color, shadeToLight(20), TAG_DONE);
|
DTA_Color, shadeToLight(20), TAG_DONE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue