projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c50277
)
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>
Mon, 25 Oct 2021 06:25:02 +0000
(08:25 +0200)
src/libgame/system.h
patch
|
blob
|
history
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 TESTING
+
#if defined(TESTING)
#undef API_SERVER_HOSTNAME
#define API_SERVER_HOSTNAME "api-test.artsoft.org"