Set kszForumUrl in serviceurls.cpp

This commit is contained in:
Nathan Fulton 2016-08-24 21:38:20 -04:00
parent 573c8aafd3
commit aeb247e975
3 changed files with 5 additions and 2 deletions

View File

@ -244,8 +244,8 @@ void Shell::Launch(bool fLoadReinitializeSave, MissionIdentifier *pmiid)
DoModalGameOptionsForm(m_ppal, false); DoModalGameOptionsForm(m_ppal, false);
continue; continue;
case kidcForums: case kidcForums:
HostOpenUrl("<TODO: replace with link to forums>"); HostOpenUrl(kszForumUrl);
continue; continue;
case kidcHelp: case kidcHelp:

View File

@ -12,6 +12,7 @@ const char *kszUpdateAccountUrl = "http://localhost:8080/accounts/updateaccount"
const char *kszLeaderboardUrl = "http://localhost:8080/stats/leaderboard"; const char *kszLeaderboardUrl = "http://localhost:8080/stats/leaderboard";
const char *kszServerInfoUrl = "http://localhost:8080/api/serverinfo"; const char *kszServerInfoUrl = "http://localhost:8080/api/serverinfo";
const char *kszSyncErrorUploadUrl = "<REPLACE ME: sync error upload test URL>"; const char *kszSyncErrorUploadUrl = "<REPLACE ME: sync error upload test URL>";
const char *kszForumUrl = "<TODO: replace with link to forums>";
#else #else
// TODO: Hostile Takeover should have its own server hosting its Mission Packs. // TODO: Hostile Takeover should have its own server hosting its Mission Packs.
// In the meantime grab them from the Warfare Incorporated server. // In the meantime grab them from the Warfare Incorporated server.
@ -26,6 +27,7 @@ const char *kszUpdateAccountUrl = "https://<GAE APPNAME>.appspot.com/accounts/up
const char *kszLeaderboardUrl = "http://<GAE APPNAME>.appspot.com/stats/leaderboard"; const char *kszLeaderboardUrl = "http://<GAE APPNAME>.appspot.com/stats/leaderboard";
const char *kszServerInfoUrl = "http://<GAE APPNAME>.appspot.com/api/serverinfo"; const char *kszServerInfoUrl = "http://<GAE APPNAME>.appspot.com/api/serverinfo";
const char *kszSyncErrorUploadUrl = "http://<GAE APPNAME>.appspot.com/api/syncerror"; const char *kszSyncErrorUploadUrl = "http://<GAE APPNAME>.appspot.com/api/syncerror";
const char *kszForumUrl = "<TODO: replace with link to forums>";
#endif #endif
} // namespace wi } // namespace wi

View File

@ -12,6 +12,7 @@ extern const char *kszUpdateAccountUrl;
extern const char *kszLeaderboardUrl; extern const char *kszLeaderboardUrl;
extern const char *kszServerInfoUrl; extern const char *kszServerInfoUrl;
extern const char *kszSyncErrorUploadUrl; extern const char *kszSyncErrorUploadUrl;
extern const char *kszForumUrl;
}; };