diff options
author | Bendegúz Nagy | 2016-08-15 12:48:51 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | e75c07d9a2a8d6e67d35d4699c2603abd81a4ca0 (patch) | |
tree | 998bb3cebc41dc076792c9d3c69da5365c4a9f8c | |
parent | 3fffb08a408b042d185fd615e2ea826e53b842fd (diff) | |
download | scummvm-rg350-e75c07d9a2a8d6e67d35d4699c2603abd81a4ca0.tar.gz scummvm-rg350-e75c07d9a2a8d6e67d35d4699c2603abd81a4ca0.tar.bz2 scummvm-rg350-e75c07d9a2a8d6e67d35d4699c2603abd81a4ca0.zip |
DM: Fix no food and water bar graphs
-rw-r--r-- | engines/dm/TODOs/todo.txt | 7 | ||||
-rw-r--r-- | engines/dm/inventory.cpp | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/engines/dm/TODOs/todo.txt b/engines/dm/TODOs/todo.txt index 1eafa4d80b..6a4429a5f3 100644 --- a/engines/dm/TODOs/todo.txt +++ b/engines/dm/TODOs/todo.txt @@ -1,6 +1,5 @@ Bugs: Display: - No food and water bar graphs Spellcasting tabs are displayed inproperly, switching between them is possible tho Cursor icons are drawn twice @@ -21,8 +20,10 @@ Todo: I forgot to add a bunch of warning for show/hide mouse pointer and other mouse functions Code stuff todo: - Complete stub methods + Complete stub methods(blitShrink, etc.) + Add scroller Add localization - Save file f433_processCommand140_saveGame fails silently + Save file f433_processCommand140_saveGame fails silently, add error checking + Clean up f113_drawField
\ No newline at end of file diff --git a/engines/dm/inventory.cpp b/engines/dm/inventory.cpp index 6f4e4e49ae..c1798e9193 100644 --- a/engines/dm/inventory.cpp +++ b/engines/dm/inventory.cpp @@ -157,7 +157,7 @@ void InventoryMan::f343_drawPanelHorizontalBar(int16 x, int16 y, int16 pixelWidt box._y1 = y; box._y2 = box._y1 + 6; _vm->_displayMan->_g578_useByteBoxCoordinates = false; - _vm->_displayMan->D24_fillScreenBox(box, color); + _vm->_displayMan->f135_fillBoxBitmap(_vm->_displayMan->_g296_bitmapViewport, box, color, k112_byteWidthViewport, k136_heightViewport); } void InventoryMan::f344_drawPanelFoodOrWaterBar(int16 amount, int16 y, Color color) { |