]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/constants.h
Write common mapgen params to map_meta.txt on world initialization
[dragonfireclient.git] / src / constants.h
index 526e44159f3b82f01a69a719aad357c4fd986b24..6969b4d81b49a0bb2c805735224b4a532e51a353 100644 (file)
@@ -43,7 +43,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 #define CONNECTION_TIMEOUT 30
 
-#define RESEND_TIMEOUT_MIN 0.333
+#define RESEND_TIMEOUT_MIN 0.1
 #define RESEND_TIMEOUT_MAX 3.0
 // resend_timeout = avg_rtt * this
 #define RESEND_TIMEOUT_FACTOR 4
@@ -95,13 +95,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #define PLAYER_FILE_ALTERNATE_TRIES 1000
 
 /*
- *    GUI related things
- */
-#define LEGACY_SCALING                                     (2./3.)
-#define DEFAULT_FONT_SIZE                  (13.0 / LEGACY_SCALING)
-#define DEFAULT_IMGSIZE                                     (48.0)
-#define DEFAULT_XSPACING                    ((15.0 + (1.0 / 3.0)))
-#define DEFAULT_YSPACING                                     (9.0)
+    GUI related things
+*/
+#define TTF_DEFAULT_FONT_SIZE   (14)
+#define DEFAULT_FONT_SIZE       (10)
 
 #endif