Skip to content

Commit

Permalink
HOPKINS: Removed duplicate souris_max method
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Oct 29, 2012
1 parent 39d2ead commit 3f0b6ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 1 addition & 6 deletions engines/hopkins/graphics.cpp
Expand Up @@ -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();
Expand Down Expand Up @@ -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;
}
Expand Down
1 change: 0 additions & 1 deletion engines/hopkins/graphics.h
Expand Up @@ -118,7 +118,6 @@ class GraphicsManager {
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);
Expand Down

0 comments on commit 3f0b6ef

Please sign in to comment.