mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-11 05:00:58 +00:00
Added stubs for NetClose on other platforms
These will need someone with much better experience to implement correctly to abort the net window
This commit is contained in:
parent
e898139690
commit
b6fd65988b
4 changed files with 17 additions and 0 deletions
|
@ -66,6 +66,7 @@ public:
|
||||||
void NetInit(const char* message, int playerCount);
|
void NetInit(const char* message, int playerCount);
|
||||||
void NetProgress(int count);
|
void NetProgress(int count);
|
||||||
void NetDone();
|
void NetDone();
|
||||||
|
void NetClose();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
NSWindow* m_window;
|
NSWindow* m_window;
|
||||||
|
|
|
@ -531,3 +531,8 @@ void FConsoleWindow::NetDone()
|
||||||
m_netAbortButton = nil;
|
m_netAbortButton = nil;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void FConsoleWindow::NetClose()
|
||||||
|
{
|
||||||
|
// TODO: Implement this
|
||||||
|
}
|
||||||
|
|
|
@ -110,6 +110,11 @@ void FBasicStartupScreen::NetDone()
|
||||||
FConsoleWindow::GetInstance().NetDone();
|
FConsoleWindow::GetInstance().NetDone();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void FBasicStartupScreen::NetClose()
|
||||||
|
{
|
||||||
|
FConsoleWindow::GetInstance().NetClose();
|
||||||
|
}
|
||||||
|
|
||||||
bool FBasicStartupScreen::NetLoop(bool (*timerCallback)(void*), void* const userData)
|
bool FBasicStartupScreen::NetLoop(bool (*timerCallback)(void*), void* const userData)
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
|
|
|
@ -57,6 +57,7 @@ class FTTYStartupScreen : public FStartupScreen
|
||||||
void NetInit(const char *message, int num_players);
|
void NetInit(const char *message, int num_players);
|
||||||
void NetProgress(int count);
|
void NetProgress(int count);
|
||||||
void NetDone();
|
void NetDone();
|
||||||
|
void NetClose();
|
||||||
bool NetLoop(bool (*timer_callback)(void *), void *userdata);
|
bool NetLoop(bool (*timer_callback)(void *), void *userdata);
|
||||||
protected:
|
protected:
|
||||||
bool DidNetInit;
|
bool DidNetInit;
|
||||||
|
@ -237,6 +238,11 @@ void FTTYStartupScreen::NetProgress(int count)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void FTTYStartupScreen::NetClose()
|
||||||
|
{
|
||||||
|
// TODO: Implement this
|
||||||
|
}
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//
|
//
|
||||||
// FTTYStartupScreen :: NetLoop
|
// FTTYStartupScreen :: NetLoop
|
||||||
|
|
Loading…
Reference in a new issue