mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-22 16:04:17 +00:00
Match static function variables (#530)
* Match static function variables * IsleApp::Tick static variables
This commit is contained in:
@@ -32,9 +32,3 @@ int g_targetDepth = 16;
|
||||
|
||||
// GLOBAL: ISLE 0x410064
|
||||
int g_reqEnableRMDevice = 0;
|
||||
|
||||
// GLOBAL: ISLE 0x4101bc
|
||||
int g_startupDelay = 200;
|
||||
|
||||
// GLOBAL: ISLE 0x4101c0
|
||||
MxLong g_lastFrameTime = 0;
|
||||
|
@@ -21,7 +21,5 @@ extern int g_targetWidth;
|
||||
extern int g_targetHeight;
|
||||
extern int g_targetDepth;
|
||||
extern int g_reqEnableRMDevice;
|
||||
extern int g_startupDelay;
|
||||
extern MxLong g_lastFrameTime;
|
||||
|
||||
#endif // DEFINE_H
|
||||
|
@@ -765,6 +765,12 @@ void IsleApp::LoadConfig()
|
||||
// FUNCTION: ISLE 0x402c20
|
||||
inline void IsleApp::Tick(BOOL sleepIfNotNextFrame)
|
||||
{
|
||||
// GLOBAL: ISLE 0x4101c0
|
||||
static MxLong g_lastFrameTime = 0;
|
||||
|
||||
// GLOBAL: ISLE 0x4101bc
|
||||
static int g_startupDelay = 200;
|
||||
|
||||
if (!this->m_windowActive) {
|
||||
Sleep(0);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user