aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2012-10-30 09:10:42 +1100
committerPaul Gilbert2012-10-30 09:10:42 +1100
commit3f0b6efe0e6085ab3de5c6658e4c6157bca75797 (patch)
treeea1db6c9cfe6da594ef23f9a5411d9b5fef1f09a /engines
parent39d2ead935ad81052e0a68daafcaa04021caf305 (diff)
downloadscummvm-rg350-3f0b6efe0e6085ab3de5c6658e4c6157bca75797.tar.gz
scummvm-rg350-3f0b6efe0e6085ab3de5c6658e4c6157bca75797.tar.bz2
scummvm-rg350-3f0b6efe0e6085ab3de5c6658e4c6157bca75797.zip
HOPKINS: Removed duplicate souris_max method
Diffstat (limited to 'engines')
-rw-r--r--engines/hopkins/graphics.cpp7
-rw-r--r--engines/hopkins/graphics.h1
2 files changed, 1 insertions, 7 deletions
diff --git a/engines/hopkins/graphics.cpp b/engines/hopkins/graphics.cpp
index bf6a900804..01d61d51e9 100644
--- a/engines/hopkins/graphics.cpp
+++ b/engines/hopkins/graphics.cpp
@@ -198,7 +198,7 @@ void GraphicsManager::CHARGE_ECRAN(const Common::String &file) {
Cls_Pal();
if (!DOUBLE_ECRAN) {
- souris_max();
+ _vm->_eventsManager.souris_max();
SCANLINE(SCREEN_WIDTH);
max_x = SCREEN_WIDTH;
DD_Lock();
@@ -470,11 +470,6 @@ void GraphicsManager::Cls_Pal() {
}
}
-// TODO: Check if it's normal it's defined two times (also in events).
-void GraphicsManager::souris_max() {
- // Original has no implementation
-}
-
void GraphicsManager::SCANLINE(int pitch) {
nbrligne = nbrligne2 = pitch;
}
diff --git a/engines/hopkins/graphics.h b/engines/hopkins/graphics.h
index 510450795f..8b93efcbc6 100644
--- a/engines/hopkins/graphics.h
+++ b/engines/hopkins/graphics.h
@@ -118,7 +118,6 @@ public:
void Trans_bloc2(byte *surface, byte *col, int size);
void A_PCX640_480(byte *surface, const Common::String &file, byte *palette, bool typeFlag);
void Cls_Pal();
- void souris_max();
void SCANLINE(int pitch);
void m_scroll(const byte *surface, int xs, int ys, int width, int height, int destX, int destY);
void m_scroll2(const byte *surface, int xs, int ys, int width, int height, int destX, int destY);