mirror of
https://github.com/edubart/otclient.git
synced 2025-10-22 23:35:54 +02:00
add clock, change exceptions, add network exceptions, fix some crashes
This commit is contained in:
@@ -36,11 +36,6 @@ public:
|
||||
/// Poll platform input/window events
|
||||
void poll();
|
||||
|
||||
void updateTicks();
|
||||
|
||||
/// Get current time in milliseconds since last application init
|
||||
int getTicks() { return m_lastTicks; }
|
||||
|
||||
/// Sleep in current thread
|
||||
void sleep(ulong ms);
|
||||
|
||||
@@ -84,9 +79,6 @@ public:
|
||||
std::string getAppUserDir();
|
||||
|
||||
void displayFatalError(const std::string& message);
|
||||
|
||||
private:
|
||||
int m_lastTicks;
|
||||
};
|
||||
|
||||
extern Platform g_platform;
|
||||
|
||||
Reference in New Issue
Block a user