diff options
Diffstat (limited to 'engines/mohawk/graphics.cpp')
-rw-r--r-- | engines/mohawk/graphics.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/mohawk/graphics.cpp b/engines/mohawk/graphics.cpp index 30478bf74b..64968723bd 100644 --- a/engines/mohawk/graphics.cpp +++ b/engines/mohawk/graphics.cpp @@ -517,6 +517,10 @@ void MystGraphics::drawRect(Common::Rect rect, RectState state) { _mainScreen->frameRect(rect, _pixelFormat.RGBToColor(255, 0, 0)); } +void MystGraphics::drawLine(const Common::Point &p1, const Common::Point &p2, uint32 color) { + _mainScreen->drawLine(p1.x, p1.y, p2.x, p2.y, color); +} + RivenGraphics::RivenGraphics(MohawkEngine_Riven* vm) : GraphicsManager(), _vm(vm) { _bitmapDecoder = new MohawkBitmap(); |