aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/staticres.h
diff options
context:
space:
mode:
authorPaul Gilbert2009-05-16 11:16:34 +0000
committerPaul Gilbert2009-05-16 11:16:34 +0000
commit1a427f8a9802db38ec7a5e4ea823fd05afcffc1e (patch)
tree34739d610b8b499a9a8f1575d43dd0e2d00c6f44 /engines/cruise/staticres.h
parentbce47e7eb68d62476fd2fcd6cc4ec1bf33618d51 (diff)
downloadscummvm-rg350-1a427f8a9802db38ec7a5e4ea823fd05afcffc1e.tar.gz
scummvm-rg350-1a427f8a9802db38ec7a5e4ea823fd05afcffc1e.tar.bz2
scummvm-rg350-1a427f8a9802db38ec7a5e4ea823fd05afcffc1e.zip
Added the font character lookup table for the German version of the game
svn-id: r40621
Diffstat (limited to 'engines/cruise/staticres.h')
-rw-r--r--engines/cruise/staticres.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/cruise/staticres.h b/engines/cruise/staticres.h
index e53215acee..ef9a1b47e9 100644
--- a/engines/cruise/staticres.h
+++ b/engines/cruise/staticres.h
@@ -27,6 +27,7 @@
#define CRUISE_STATICRES_H
#include "common/scummsys.h"
+#include "cruise/cruise.h"
namespace Cruise {
@@ -38,7 +39,11 @@ extern int actor_stat[][13];
extern int actor_invstat[][13];
-extern short int fontCharacterTable[256];
+extern short int english_fontCharacterTable[256];
+extern short int german_fontCharacterTable[256];
+
+#define fontCharacterTable (_vm->getLanguage() == Common::DE_DEU ? \
+ german_fontCharacterTable : english_fontCharacterTable)
// Mouse cursor data
extern const byte mouseCursorNormal[];