Imported the check for updates code from StepMania AMX.

---
TODO: Move the code from NSMAN to a new class
TODO: HOOKS->GetURL for Linux
TODO: Do not run the check every time the game is launched, use:
PREFSMAN->m_iUpdateCheckIntervalSeconds - Seconds to wait before running the next check
PREFSMAN->m_iUpdateCheckLastCheckedSecond - Timestamp of the last check
This commit is contained in:
Aldo Fregoso
2012-05-21 02:29:59 -05:00
parent 0e2cc939d6
commit 09f369cd33
7 changed files with 217 additions and 1 deletions
+5
View File
@@ -176,6 +176,11 @@ public:
RString MD5Hex( const RString &sInput );
void GetListOfLANServers( vector<NetServerInfo>& AllServers );
// Aldo: Please move this method to a new class, I didn't want to create new files because I don't know how to properly update the files for each platform.
// I preferred to misplace code rather than cause unneeded headaches to non-windows users, although it would be nice to have in the wiki which files to
// update when adding new files.
static unsigned long GetCurrentSMBuild( LoadingWindow* ld );
private:
#if !defined(WITHOUT_NETWORKING)