projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added hard-coding test mode for high score server
[rocksndiamonds.git]
/
src
/
libgame
/
system.h
diff --git
a/src/libgame/system.h
b/src/libgame/system.h
index c07ab82298cb38cfe8da9947a6af06041c748da8..bc9d040eaeb897a081b37d77d43ed6a1fbc42dc6 100644
(file)
--- a/
src/libgame/system.h
+++ b/
src/libgame/system.h
@@
-113,6
+113,8
@@
#define API_SERVER_URI_GET "/api/scores/get"
#define API_SERVER_URI_RENAME "/api/players/rename"
#define API_SERVER_URI_GET "/api/scores/get"
#define API_SERVER_URI_RENAME "/api/players/rename"
+#define TESTING
+
#if defined(TESTING)
#undef API_SERVER_HOSTNAME
#define API_SERVER_HOSTNAME "api-test.artsoft.org"
#if defined(TESTING)
#undef API_SERVER_HOSTNAME
#define API_SERVER_HOSTNAME "api-test.artsoft.org"