#include "serviceurls.h" namespace wi { #ifdef DEBUG const char *kszIndexUrl = "http://localhost/wi/index"; const char *kszPackInfoUrl = "http://localhost/wi/info"; const char *kszPackUrl = "http://localhost/wi/pack"; const char *kszAuthUrl = "http://localhost:8080/api/auth"; const char *kszRegisterUrl = "http://localhost:8080/accounts/createaccount"; const char *kszUpdateAccountUrl = "http://localhost:8080/accounts/updateaccount"; const char *kszLeaderboardUrl = "http://localhost:8080/stats/leaderboard"; const char *kszServerInfoUrl = "http://localhost:8080/api/serverinfo"; const char *kszSyncErrorUploadUrl = ""; const char *kszForumUrl = ""; #else // TODO: Hostile Takeover should have its own server hosting its Mission Packs. // In the meantime grab them from the Warfare Incorporated server. const char *kszIndexUrl = "http://content.warfareincorporated.com/wi/index"; const char *kszPackInfoUrl = "http://content.warfareincorporated.com/wi/info"; const char *kszPackUrl = "http://content.warfareincorporated.com/wi/pack"; // TODO: Hostile Takeover needs multiplayer accounts, leaderboard, and server status functionality. const char *kszAuthUrl = "https://.appspot.com/api/auth"; const char *kszRegisterUrl = "https://.appspot.com/accounts/createaccount"; const char *kszUpdateAccountUrl = "https://.appspot.com/accounts/updateaccount"; const char *kszLeaderboardUrl = "http://.appspot.com/stats/leaderboard"; const char *kszServerInfoUrl = "http://.appspot.com/api/serverinfo"; const char *kszSyncErrorUploadUrl = "http://.appspot.com/api/syncerror"; const char *kszForumUrl = ""; #endif } // namespace wi