X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fconstants.h;h=c17f3b6af9b7385791f0fb892b06584492997eef;hb=e1142ee57f2d7b59a86f6d0d72ae043844bc3121;hp=5ddb5465621739bb424f01632a67ccb452511e45;hpb=edbc533414b0ba991a82f8003d90924e1dc60d95;p=minetest.git diff --git a/src/constants.h b/src/constants.h index 5ddb54656..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. */ /* @@ -93,7 +93,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #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) @@ -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)