DM: Add mouse input processing and display for movement arrows
This commit is contained in:
parent
bcfe176df5
commit
98c79f89bf
9 changed files with 158 additions and 14 deletions
18
engines/dm/menus.cpp
Normal file
18
engines/dm/menus.cpp
Normal file
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue