aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/graphics.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2007-08-12 09:10:10 +0000
committerNicola Mettifogo2007-08-12 09:10:10 +0000
commitbe994c88dbd316d32d85b984708318cac2655c50 (patch)
tree1b135397473b43653a83620a882fe6d553284026 /engines/parallaction/graphics.cpp
parent8444ad7f4890e3192e0ac1dccf01c53297144b1f (diff)
downloadscummvm-rg350-be994c88dbd316d32d85b984708318cac2655c50.tar.gz
scummvm-rg350-be994c88dbd316d32d85b984708318cac2655c50.tar.bz2
scummvm-rg350-be994c88dbd316d32d85b984708318cac2655c50.zip
Moved intro hack routines to Parallaction_ns callables, where they belonged from the beginning.
svn-id: r28541
Diffstat (limited to 'engines/parallaction/graphics.cpp')
-rw-r--r--engines/parallaction/graphics.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp
index cad25b578d..72cce40b01 100644
--- a/engines/parallaction/graphics.cpp
+++ b/engines/parallaction/graphics.cpp
@@ -730,36 +730,6 @@ void Gfx::grabRect(byte *dst, const Common::Rect& r, Gfx::Buffers srcbuffer, uin
return;
}
-/*
- the following 3 routines are hacks for Nippon Safes coming from the original code,
- so they shouldn't be modified when adding support for other games
-*/
-
-void Gfx::zeroMaskValue(uint16 x, uint16 y, byte color) {
-
- uint16 _ax = x + y * _backgroundWidth;
- _depthMask->data[_ax >> 2] &= ~(3 << ((_ax & 3) << 1));
-
- return;
-}
-void Gfx::fillMaskRect(const Common::Rect& r, byte color) {
-
- uint16 _di = r.left/4 + r.top * _depthMask->internalWidth;
-
- for (uint16 _si = r.top; _si < r.bottom; _si++) {
- memset(_depthMask->data + _di, color, r.width()/4+1);
- _di += _depthMask->internalWidth;
- }
-
- return;
-
-}
-void Gfx::intGrottaHackMask() {
- memset(_depthMask->data + 3600, 0, 3600);
- _bgLayers[1] = 500;
- return;
-}
-
int16 Gfx::queryMask(int16 v) {