HDB: Replaced font name with a constant

This commit is contained in:
Eugene Sandulenko 2019-07-31 13:10:14 +02:00
parent 7b7420144f
commit 02d855b066
2 changed files with 3 additions and 1 deletions

View File

@ -96,7 +96,7 @@ bool Gfx::init() {
_fadeBuffer2.create(g_hdb->_screenWidth, g_hdb->_screenHeight, g_hdb->_format);
// Load Game Font
if (!loadFont("normalprop"))
if (!loadFont(HDB_FONT))
return false;
// Read total number of tiles in game

View File

@ -32,6 +32,8 @@ namespace Common {
namespace HDB {
#define HDB_FONT "normalprop"
struct TileLookup {
const char *filename;
Tile *tData;