aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dm.cpp
diff options
context:
space:
mode:
authorBendegúz Nagy2016-07-04 17:14:32 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit7fef7b83127f532781fec64eea3229d56c080902 (patch)
treede112cad8a1af14b2d5959e961b67c1cc0cbe99c /engines/dm/dm.cpp
parent94c878143e75e872ba8c82b31a5564c9b4e6437c (diff)
downloadscummvm-rg350-7fef7b83127f532781fec64eea3229d56c080902.tar.gz
scummvm-rg350-7fef7b83127f532781fec64eea3229d56c080902.tar.bz2
scummvm-rg350-7fef7b83127f532781fec64eea3229d56c080902.zip
DM: Add paritial drawing of doors
Diffstat (limited to 'engines/dm/dm.cpp')
-rw-r--r--engines/dm/dm.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp
index 7de740d3a9..7fa1eea7b9 100644
--- a/engines/dm/dm.cpp
+++ b/engines/dm/dm.cpp
@@ -84,6 +84,10 @@ uint16 toggleFlag(uint16& val, uint16 mask) {
return val ^= mask;
}
+uint16 M75_bitmapByteCount(uint16 pixelWidth, uint16 height) {
+ return pixelWidth / 2 * height;
+}
+
DMEngine::DMEngine(OSystem *syst) : Engine(syst), _console(nullptr) {
// Do not load data files
// Do not initialize graphics here