NetPlay: Move NetSettings initialization to backend

It doesn't really belong in frontend code, and this change will make it
easier to eventually support NetPlay on other UI frameworks.
This commit is contained in:
Techjar committed 2021-05-19 06:34:24 -04:00
1 parent 8ecc89ffe1
commit 171aad50cc
3 files changed
+110 -102

No files matched your search

+1 -2
View File
@@ -50,8 +50,6 @@ public:
bool AbortMD5();
void SendChatMessage(const std::string& msg);
void SetNetSettings(const NetSettings& settings);
bool DoAllPlayersHaveIPLDump() const;
bool StartGame();
bool RequestStartGame();
@@ -117,6 +115,7 @@ private:
std::string title;
};
bool SetupNetSettings();
bool SyncSaveData();
bool SyncCodes();
void CheckSyncAndStartGame();