mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 09:20:59 +00:00
- Removed unused lastTic
global.
This commit is contained in:
parent
e5f3f5f149
commit
e85162df97
6 changed files with 2 additions and 18 deletions
|
@ -128,7 +128,6 @@ GameInterface* gi;
|
||||||
int myconnectindex, numplayers;
|
int myconnectindex, numplayers;
|
||||||
int connecthead, connectpoint2[MAXPLAYERS];
|
int connecthead, connectpoint2[MAXPLAYERS];
|
||||||
auto vsnprintfptr = vsnprintf; // This is an inline in Visual Studio but we need an address for it to satisfy the MinGW compiled libraries.
|
auto vsnprintfptr = vsnprintf; // This is an inline in Visual Studio but we need an address for it to satisfy the MinGW compiled libraries.
|
||||||
int lastTic;
|
|
||||||
|
|
||||||
extern bool pauseext;
|
extern bool pauseext;
|
||||||
|
|
||||||
|
|
|
@ -237,9 +237,6 @@ enum
|
||||||
|
|
||||||
extern int paused;
|
extern int paused;
|
||||||
extern int chatmodeon;
|
extern int chatmodeon;
|
||||||
|
|
||||||
extern int lastTic;
|
|
||||||
|
|
||||||
extern int PlayClock;
|
extern int PlayClock;
|
||||||
|
|
||||||
enum gameaction_t : int
|
enum gameaction_t : int
|
||||||
|
|
|
@ -40,7 +40,6 @@ inline Collision movespritevel(DExhumedActor* spritenum, const DVector3& pos, do
|
||||||
}
|
}
|
||||||
|
|
||||||
void precache();
|
void precache();
|
||||||
void resettiming();
|
|
||||||
|
|
||||||
// cd
|
// cd
|
||||||
|
|
||||||
|
|
|
@ -15,25 +15,16 @@ along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "ns.h"
|
#include "ns.h"
|
||||||
#include "engine.h"
|
#include "engine.h"
|
||||||
#include "precache.h"
|
#include "precache.h"
|
||||||
|
|
||||||
//#include <io.h>
|
|
||||||
//#include <fcntl.h>
|
|
||||||
#include "gamecvars.h"
|
#include "gamecvars.h"
|
||||||
#include "gamecontrol.h"
|
#include "gamecontrol.h"
|
||||||
|
|
||||||
// static int globhiz, globloz, globhihit, globlohit;
|
|
||||||
|
|
||||||
BEGIN_PS_NS
|
BEGIN_PS_NS
|
||||||
|
|
||||||
|
|
||||||
void resettiming()
|
|
||||||
{
|
|
||||||
lastTic = -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
|
@ -53,4 +44,5 @@ void precache()
|
||||||
}
|
}
|
||||||
precacheMarkedTiles();
|
precacheMarkedTiles();
|
||||||
}
|
}
|
||||||
|
|
||||||
END_PS_NS
|
END_PS_NS
|
||||||
|
|
|
@ -101,7 +101,6 @@ int EndLevel = 0;
|
||||||
void ResetEngine()
|
void ResetEngine()
|
||||||
{
|
{
|
||||||
EraseScreen(-1);
|
EraseScreen(-1);
|
||||||
resettiming();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GameInterface::loadPalette()
|
void GameInterface::loadPalette()
|
||||||
|
@ -647,7 +646,6 @@ void GameInterface::app_init()
|
||||||
seq_LoadSequences();
|
seq_LoadSequences();
|
||||||
InitStatus();
|
InitStatus();
|
||||||
|
|
||||||
resettiming();
|
|
||||||
GrabPalette();
|
GrabPalette();
|
||||||
|
|
||||||
enginecompatibility_mode = ENGINECOMPATIBILITY_19961112;
|
enginecompatibility_mode = ENGINECOMPATIBILITY_19961112;
|
||||||
|
|
|
@ -233,7 +233,6 @@ void GameInterface::LevelCompleted(MapRecord *to_map, int skill)
|
||||||
|
|
||||||
void GameInterface::Startup()
|
void GameInterface::Startup()
|
||||||
{
|
{
|
||||||
resettiming();
|
|
||||||
EndLevel = 0;
|
EndLevel = 0;
|
||||||
PlayLogos(ga_mainmenu, ga_mainmenu, false);
|
PlayLogos(ga_mainmenu, ga_mainmenu, false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue