diff options
author | Bendegúz Nagy | 2016-08-22 17:29:56 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 1a0fe29af818c5771eb3846826dd87697f6f57c5 (patch) | |
tree | da2588506ec7d3c6285b0431378a4570517c2b5c /engines/dm | |
parent | 2ee50eda35d65a79bc66003edbc28d3bc7600e1f (diff) | |
download | scummvm-rg350-1a0fe29af818c5771eb3846826dd87697f6f57c5.tar.gz scummvm-rg350-1a0fe29af818c5771eb3846826dd87697f6f57c5.tar.bz2 scummvm-rg350-1a0fe29af818c5771eb3846826dd87697f6f57c5.zip |
DM: Fix drawing title
Diffstat (limited to 'engines/dm')
-rw-r--r-- | engines/dm/dm.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp index 236fb76c31..bfb6147f9f 100644 --- a/engines/dm/dm.cpp +++ b/engines/dm/dm.cpp @@ -875,7 +875,8 @@ void DMEngine::f437_STARTEND_drawTittle() { _displayMan->f436_STARTEND_FadeToPalette(L1392_aui_Palette); _displayMan->fillScreen(k0_ColorBlack); - _displayMan->f132_blitToBitmap(L1384_puc_Bitmap_Title, _displayMan->_g348_bitmapScreen, G0005_s_Graphic562_Box_Title_Presents, 0, 137, k160_byteWidthScreen, k160_byteWidthScreen, kM1_ColorNoTransparency, k200_heightScreen, k200_heightScreen); + // uncomment this to draw 'Presents' + //_displayMan->f132_blitToBitmap(L1384_puc_Bitmap_Title, _displayMan->_g348_bitmapScreen, G0005_s_Graphic562_Box_Title_Presents, 0, 137, k160_byteWidthScreen, k160_byteWidthScreen, kM1_ColorNoTransparency, k200_heightScreen, k200_heightScreen); L1392_aui_Palette[15] = D09_RGB_WHITE; _displayMan->f436_STARTEND_FadeToPalette(L1392_aui_Palette); _displayMan->f132_blitToBitmap(L1384_puc_Bitmap_Title, L1389_puc_Bitmap_Master_StrikesBack = L1383_l_Bitmap_TitleSteps, G0004_s_Graphic562_Box_Title_StrikesBack_Source, 0, 80, k160_byteWidthScreen, k160_byteWidthScreen, kM1_ColorNoTransparency, 200, 57); @@ -890,7 +891,7 @@ void DMEngine::f437_STARTEND_drawTittle() { _displayMan->f129_blitToBitmapShrinkWithPalChange(L1384_puc_Bitmap_Title, L1383_l_Bitmap_TitleSteps, 320, 80, L1382_i_DestinationPixelWidth, L1381_ui_DestinationHeight, _displayMan->_palChangesNoChanges); L1391_aai_Coordinates[L1380_i_Counter][1] = (L1391_aai_Coordinates[L1380_i_Counter][0] = (320 - L1382_i_DestinationPixelWidth) / 2) + L1382_i_DestinationPixelWidth - 1; L1391_aai_Coordinates[L1380_i_Counter][3] = (L1391_aai_Coordinates[L1380_i_Counter][2] = ((int)(160 - L1381_ui_DestinationHeight)) / 2) + L1381_ui_DestinationHeight - 1; - L1383_l_Bitmap_TitleSteps += (L1391_aai_Coordinates[L1380_i_Counter][4] = ((L1382_i_DestinationPixelWidth + 15) / 16) * 8) * L1381_ui_DestinationHeight; + L1383_l_Bitmap_TitleSteps += (L1391_aai_Coordinates[L1380_i_Counter][4] = ((L1382_i_DestinationPixelWidth + 15) / 16) * 8) * L1381_ui_DestinationHeight * 2; L1381_ui_DestinationHeight += 4; L1382_i_DestinationPixelWidth += 16; } |