projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91b5e80
)
added hard-coding test mode for high score server
author
Holger Schemel
<info@artsoft.org>
Sun, 19 Sep 2021 11:38:51 +0000
(13:38 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sun, 17 Oct 2021 12:04:17 +0000
(14:04 +0200)
src/libgame/system.h
patch
|
blob
|
history
diff --git
a/src/libgame/system.h
b/src/libgame/system.h
index 6d94d4f1eb41e07da816aae54792e65382f1277d..c4b5bc39a961702771100a6d4e80241526d0765f 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 TESTING
+
#if defined(TESTING)
#undef API_SERVER_HOSTNAME
#define API_SERVER_HOSTNAME "api-test.artsoft.org"