Font: Add RGSS2 default values

This commit is contained in:
Jonas Kulla 2014-08-16 23:21:31 +02:00
parent 4daff93e29
commit f0e045d057
1 changed files with 10 additions and 2 deletions

View File

@ -48,6 +48,14 @@ BUNDLED_FONT_DECL(liberation)
#define BNDL_F_D(f) BUNDLED_FONT_D(f)
#define BNDL_F_L(f) BUNDLED_FONT_L(f)
#ifdef RGSS3
# define DEF_SHADOW false
# define DEF_OUTLINE true
#else
# define DEF_SHADOW true
# define DEF_OUTLINE false
#endif
typedef std::pair<std::string, int> FontKey;
static SDL_RWops *openBundledFont()
@ -261,8 +269,8 @@ std::string FontPrivate::defaultName = "Arial";
int FontPrivate::defaultSize = 22;
bool FontPrivate::defaultBold = false;
bool FontPrivate::defaultItalic = false;
bool FontPrivate::defaultOutline = false;
bool FontPrivate::defaultShadow = true;
bool FontPrivate::defaultOutline = DEF_OUTLINE;
bool FontPrivate::defaultShadow = DEF_SHADOW;
Color *FontPrivate::defaultColor = &FontPrivate::defaultColorTmp;
Color *FontPrivate::defaultOutColor = &FontPrivate::defaultOutColorTmp;