projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cf0e16
)
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>
Wed, 13 Oct 2021 09:53:45 +0000
(11:53 +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"