Skip to content

Commit

Permalink
HOPKINS: Fix gcc compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Oct 28, 2012
1 parent 58ac9c8 commit e999d97
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion engines/hopkins/dialogs.cpp
Expand Up @@ -527,7 +527,7 @@ void DialogsManager::TestForDialogOpening() {

if (_vm->_eventsManager.GAME_KEY != KEY_NONE) {
if (!INVENTFLAG) {
GAME_KEY key = _vm->_eventsManager.GAME_KEY;
DIALOG_KEY key = _vm->_eventsManager.GAME_KEY;
_vm->_eventsManager.GAME_KEY = KEY_NONE;
INVENTFLAG = 1;

Expand Down
4 changes: 2 additions & 2 deletions engines/hopkins/events.h
Expand Up @@ -34,7 +34,7 @@ namespace Hopkins {

class HopkinsEngine;

enum GAME_KEY { KEY_NONE = 0, KEY_INVENTORY = 1, KEY_OPTIONS = 2, KEY_SAVE = 3, KEY_LOAD = 4 };
enum DIALOG_KEY { KEY_NONE = 0, KEY_INVENTORY = 1, KEY_OPTIONS = 2, KEY_SAVE = 3, KEY_LOAD = 4 };

class EventsManager {
private:
Expand Down Expand Up @@ -62,7 +62,7 @@ class EventsManager {
uint32 _priorFrameTime;
bool ESC_KEY;
bool NOESC;
GAME_KEY GAME_KEY;
DIALOG_KEY GAME_KEY;
int btsouris;
public:
EventsManager();
Expand Down
2 changes: 1 addition & 1 deletion engines/hopkins/hopkins.h
Expand Up @@ -119,7 +119,7 @@ class HopkinsEngine : public Engine {

uint32 getFeatures() const;
Common::Language getLanguage() const;
Common::Platform HopkinsEngine::getPlatform() const;
Common::Platform getPlatform() const;
uint16 getVersion() const;
bool getIsDemo() const;
bool shouldQuit() const;
Expand Down

0 comments on commit e999d97

Please sign in to comment.