X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fconstants.h;h=c17f3b6af9b7385791f0fb892b06584492997eef;hb=3d17394410f33a19c1dd9314f6d66d6fbc30bae7;hp=ddf7218e278b11bd92095fb5a02b5cdd48ded1d8;hpb=f7d50a80782376d2e1c068e4d0a7ce9632f28bda;p=minetest.git diff --git a/src/constants.h b/src/constants.h index ddf7218e2..c17f3b6af 100644 --- a/src/constants.h +++ b/src/constants.h @@ -22,9 +22,9 @@ with this program; if not, write to the Free Software Foundation, Inc., /* 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. */ /* @@ -89,11 +89,11 @@ with this program; if not, write to the Free Software Foundation, Inc., // Size of player's main inventory #define PLAYER_INVENTORY_SIZE (8 * 4) -// Maximum hit points of a player +// Default maximum hit points of a player #define PLAYER_MAX_HP_DEFAULT 20 -// Maximal breath of a player -#define PLAYER_MAX_BREATH 11 +// Default maximal breath of a player +#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) @@ -110,10 +110,5 @@ with this program; if not, write to the Free Software Foundation, Inc., 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)