From 3f0b6efe0e6085ab3de5c6658e4c6157bca75797 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 30 Oct 2012 09:10:42 +1100 Subject: HOPKINS: Removed duplicate souris_max method --- engines/hopkins/graphics.cpp | 7 +------ engines/hopkins/graphics.h | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'engines') 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); -- cgit v1.2.3