added hard-coding test mode for high score server
authorHolger Schemel <info@artsoft.org>
Sun, 19 Sep 2021 11:38:51 +0000 (13:38 +0200)
committerHolger Schemel <info@artsoft.org>
Mon, 25 Oct 2021 06:25:02 +0000 (08:25 +0200)
src/libgame/system.h

index c07ab82298cb38cfe8da9947a6af06041c748da8..bc9d040eaeb897a081b37d77d43ed6a1fbc42dc6 100644 (file)
 #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"