aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/font.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2012-05-20 16:34:38 +1000
committerPaul Gilbert2012-05-20 16:34:38 +1000
commit7da213cd32b702ad8f4d0a10020eae10666a64ff (patch)
tree835c97f4e54a69873b60fa427f02c37c6a093024 /engines/tony/font.cpp
parentc38bbce20cf69748012863dcd08c575ba6b56c9d (diff)
downloadscummvm-rg350-7da213cd32b702ad8f4d0a10020eae10666a64ff.tar.gz
scummvm-rg350-7da213cd32b702ad8f4d0a10020eae10666a64ff.tar.bz2
scummvm-rg350-7da213cd32b702ad8f4d0a10020eae10666a64ff.zip
TONY: Removal of code that was commented out in the original source
Diffstat (limited to 'engines/tony/font.cpp')
-rw-r--r--engines/tony/font.cpp18
1 files changed, 1 insertions, 17 deletions
diff --git a/engines/tony/font.cpp b/engines/tony/font.cpp
index efca78301c..a15a79b16c 100644
--- a/engines/tony/font.cpp
+++ b/engines/tony/font.cpp
@@ -66,23 +66,7 @@ void DumpFontBMP(const char *filename, const byte *buf, int nChars, int charX, i
void RMFont::Load(const byte *buf, int nChars, int dimx, int dimy, uint32 palResID) {
m_letter = new RMGfxSourceBuffer8RLEByte[nChars];
-#if 0
- if (nChars == 112 && palResID == RES_F_PAL) {
- // Font parla
- DumpFontBMP("font_parla.bmp", buf, nChars, dimx, dimy, RMRes(palResID));
- } else if (nChars == 102 && palResID == RES_F_PAL) {
- // Font macc
- DumpFontBMP("font_macc.bmp", buf, nChars, dimx, dimy, RMRes(palResID));
- } else if (nChars == 85 && palResID == RES_F_PAL) {
- // Font obj
- DumpFontBMP("font_obj.bmp", buf, nChars, dimx, dimy, RMRes(palResID));
- } else if (nChars == 112 && palResID == RES_F_CPAL) {
- // Font credits
- DumpFontBMP("font_credits.bmp", buf, nChars, dimx, dimy, RMRes(palResID));
- }
-#endif
-
- // Initialisation the fonts
+ // Initialise the fonts
for (int i = 0; i < nChars; i++) {
// Initialise the buffer with the letters
m_letter[i].Init(buf + i * (dimx * dimy + 8) + 8, dimx, dimy);