diff options
Diffstat (limited to 'engines/dm/menus.cpp')
-rw-r--r-- | engines/dm/menus.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/engines/dm/menus.cpp b/engines/dm/menus.cpp new file mode 100644 index 0000000000..1b4c68dafe --- /dev/null +++ b/engines/dm/menus.cpp @@ -0,0 +1,18 @@ +#include "menus.h" +#include "gfx.h" + + +namespace DM { + +MenuMan::MenuMan(DMEngine *vm): _vm(vm) {} + +void MenuMan::drawMovementArrows() { + DisplayMan &disp = *_vm->_displayMan; + byte *arrowsBitmap = disp.getBitmap(kMovementArrowsIndice); + Box &dest = gBoxMovementArrows; + uint16 w = disp.width(kMovementArrowsIndice); + + disp.blitToScreen(arrowsBitmap, w, 0, 0, dest.X1, dest.X2, dest.Y1, dest.Y2, kColorNoTransparency); +} + +}
\ No newline at end of file |