From a6bee58f62f3d7d696c6b5493f248390d5c303ac Mon Sep 17 00:00:00 2001 From: Matthew Stewart Date: Sat, 19 May 2018 21:15:13 -0400 Subject: STARTREK: Default behaviour for look action --- engines/startrek/font.cpp | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'engines/startrek/font.cpp') diff --git a/engines/startrek/font.cpp b/engines/startrek/font.cpp index 8463841ece..7cba71196e 100644 --- a/engines/startrek/font.cpp +++ b/engines/startrek/font.cpp @@ -31,33 +31,12 @@ static const byte CHARACTER_COUNT = 0x80; static const byte CHARACTER_SIZE = 0x40; Font::Font(StarTrekEngine *vm) : _vm(vm) { - SharedPtr fontStream = _vm->loadFile("FONT.FNT"); + SharedPtr fontStream = _vm->loadFile("FONT.FNT"); _characters = new Character[CHARACTER_COUNT]; for (byte i = 0; i < CHARACTER_COUNT; i++) fontStream->read(_characters[i].data, CHARACTER_SIZE); - -#if 0 - // Code to dump the font - printf ("DUMPING FONT"); - for (byte i = 0; i < CHARACTER_COUNT; i++) { - printf ("\n\nCHARACTER %02x (%d):\n", i, i); - for (byte j = 0; j < CHARACTER_SIZE; j++) { - if (!(j % 8)) - printf ("\n"); - if (_characters[i].data[j] == 0x7d) - printf ("1 "); - else if (_characters[i].data[j] == 0x78) - printf ("0 "); - else if (_characters[i].data[j] == 0) - printf (" "); - else - printf ("? "); - } - } - printf("\n\n"); -#endif } Font::~Font() { -- cgit v1.2.3