mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +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 int16_t numsectors, numwalls;
|
||||
EXTERN int32_t display_mirror;
|
||||
// totalclocklock: the totalclock value that is backed up once on each
|
||||
// drawrooms() and is used for animateoffs().
|
||||
EXTERN ClockTicks totalclock, totalclocklock;
|
||||
EXTERN ClockTicks totalclock;
|
||||
static inline int32_t BGetTime(void) { return (int32_t) totalclock; }
|
||||
|
||||
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);
|
||||
|
||||
globalcursectnum = dacursectnum;
|
||||
totalclocklock = I_GetBuildTime();
|
||||
|
||||
if ((xyaspect != oxyaspect) || (xdimen != oxdimen) || (viewingrange != oviewingrange))
|
||||
dosetaspect();
|
||||
|
|
|
@ -30,7 +30,6 @@ BEGIN_PS_NS
|
|||
void resettiming()
|
||||
{
|
||||
totalclock = 0;
|
||||
// TODO totalclocklock = 0L;
|
||||
}
|
||||
|
||||
void doTileLoad(int i)
|
||||
|
|
|
@ -481,7 +481,6 @@ void GameInterface::SerializeGameState(FSerializer& arc)
|
|||
|
||||
// Todo: move to backend
|
||||
("gameclock", gameclock)
|
||||
("totalclocklock", totalclocklock)
|
||||
|
||||
("lockclock", lockclock)
|
||||
|
||||
|
|
|
@ -316,7 +316,6 @@ void DrawMenuLevelScreen(void)
|
|||
{
|
||||
const int TITLE_PIC = 2324;
|
||||
twod->ClearScreen();
|
||||
totalclocklock = gameclock;
|
||||
DrawTexture(twod, tileGetTexture(TITLE_PIC), 0, 0, DTA_FullscreenEx, FSMode_ScaleToFit43, DTA_LegacyRenderStyle, STYLE_Normal,
|
||||
DTA_Color, shadeToLight(20), TAG_DONE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue