/*
All kinds of constants.
- Cross-platform compatibility crap should go in porting.h.
+ Cross-platform compatibility stuff should go in porting.h.
- Some things here are legacy crap.
+ Some things here are legacy.
*/
/*
// I really don't want to make every algorithm to check if it's going near
// the limit or not, so this is lower.
// This is the maximum value the setting map_generation_limit can be
-#define MAX_MAP_GENERATION_LIMIT (31000)
+#define MAX_MAP_GENERATION_LIMIT (31007)
// Size of node in floating-point units
// The original idea behind this is to disallow plain casts between
// Size of player's main inventory
#define PLAYER_INVENTORY_SIZE (8 * 4)
-// Default maximum hit points of a player
+// Default maximum health points of a player
#define PLAYER_MAX_HP_DEFAULT 20
// Default maximal breath of a player
-#define PLAYER_MAX_BREATH_DEFAULT 11
+#define PLAYER_MAX_BREATH_DEFAULT 10
// Number of different files to try to save a player to if the first fails
// (because of a case-insensitive filesystem)
GUI related things
*/
-// TODO: implement dpi-based scaling for windows and remove this hack
-#if defined(_WIN32)
-#define TTF_DEFAULT_FONT_SIZE (18)
-#else
#define TTF_DEFAULT_FONT_SIZE (16)
-#endif
-#define DEFAULT_FONT_SIZE (10)