diff options
author | Bendegúz Nagy | 2016-07-03 01:15:10 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | c756d1755670ed26c0171b6207279e4c321293be (patch) | |
tree | aef4729c2b26c2259b8cdf882904e1ab9a4bdacb /engines/dm/gfx.cpp | |
parent | ec0b26ce795c9f5d7ecb12a642f444183b52348e (diff) | |
download | scummvm-rg350-c756d1755670ed26c0171b6207279e4c321293be.tar.gz scummvm-rg350-c756d1755670ed26c0171b6207279e4c321293be.tar.bz2 scummvm-rg350-c756d1755670ed26c0171b6207279e4c321293be.zip |
DM: Reorder DisplayMan::D24_clearScrenBox parameters
Diffstat (limited to 'engines/dm/gfx.cpp')
-rw-r--r-- | engines/dm/gfx.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/dm/gfx.cpp b/engines/dm/gfx.cpp index a91d6ee7a8..79669a11a4 100644 --- a/engines/dm/gfx.cpp +++ b/engines/dm/gfx.cpp @@ -725,7 +725,7 @@ void DisplayMan::setUpScreens(uint16 width, uint16 height) { delete[] _g74_tmpBitmap; delete[] _g348_bitmapScreen; _g348_bitmapScreen = new byte[_screenWidth * _screenHeight]; - clearScreen(k0_ColorBlack); + fillScreen(k0_ColorBlack); } void DisplayMan::f479_loadGraphics() { @@ -1027,7 +1027,7 @@ void DisplayMan::f132_blitToBitmap(byte *srcBitmap, byte *destBitmap, Box &box, } } -void DisplayMan::D24_clearScreenBox(Color color, Box &box) { +void DisplayMan::D24_fillScreenBox(Box &box, Color color) { uint16 width = box._x2 - box._x1; for (int16 y = box._y1; y < box._y2; ++y) memset(_g348_bitmapScreen + y * _screenWidth + box._x1, color, sizeof(byte) * width); @@ -1559,7 +1559,7 @@ void DisplayMan::f128_drawDungeon(direction dir, int16 posX, int16 posY) { f97_drawViewport((_vm->_dungeonMan->_g309_partyMapIndex != k255_mapIndexEntrance) ? 1 : 0); } -void DisplayMan::clearScreen(Color color) { +void DisplayMan::fillScreen(Color color) { memset(getCurrentVgaBuffer(), color, sizeof(byte) * _screenWidth * _screenHeight); } |