diff options
| author | Eugene Sandulenko | 2019-07-31 13:10:14 +0200 | 
|---|---|---|
| committer | Eugene Sandulenko | 2019-09-03 17:17:30 +0200 | 
| commit | 02d855b066b0d46c9e9a8ddac45ebc2a50d6a6a0 (patch) | |
| tree | 4988b4ebd501fbe5c54e9c07cd18763e9e26e36b | |
| parent | 7b7420144fd220b1742f6397d61fdb2972629aea (diff) | |
| download | scummvm-rg350-02d855b066b0d46c9e9a8ddac45ebc2a50d6a6a0.tar.gz scummvm-rg350-02d855b066b0d46c9e9a8ddac45ebc2a50d6a6a0.tar.bz2 scummvm-rg350-02d855b066b0d46c9e9a8ddac45ebc2a50d6a6a0.zip | |
HDB: Replaced font name with a constant
| -rw-r--r-- | engines/hdb/gfx.cpp | 2 | ||||
| -rw-r--r-- | engines/hdb/gfx.h | 2 | 
2 files changed, 3 insertions, 1 deletions
| diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp index eda51b7ce7..cc8f983649 100644 --- a/engines/hdb/gfx.cpp +++ b/engines/hdb/gfx.cpp @@ -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 diff --git a/engines/hdb/gfx.h b/engines/hdb/gfx.h index 976b182850..923b5b7fc8 100644 --- a/engines/hdb/gfx.h +++ b/engines/hdb/gfx.h @@ -32,6 +32,8 @@ namespace Common {  namespace HDB { +#define HDB_FONT "normalprop" +  struct TileLookup {  	const char *filename;  	Tile *tData; | 
