diff options
author | Matthew Hoops | 2011-09-20 21:57:34 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-09-20 21:57:34 -0400 |
commit | 6c47e909da0fb6d47c5e9105d4c44fdd0db1c7dc (patch) | |
tree | 77f6657f27a5f19e198e414201f74b5bc249d3f0 /engines/pegasus/pegasus.h | |
parent | 335a043bd06ab269c8c263fb86a2bc48f5ba9f7b (diff) | |
download | scummvm-rg350-6c47e909da0fb6d47c5e9105d4c44fdd0db1c7dc.tar.gz scummvm-rg350-6c47e909da0fb6d47c5e9105d4c44fdd0db1c7dc.tar.bz2 scummvm-rg350-6c47e909da0fb6d47c5e9105d4c44fdd0db1c7dc.zip |
PEGASUS: Remove remaining 'old' code
Diffstat (limited to 'engines/pegasus/pegasus.h')
-rw-r--r-- | engines/pegasus/pegasus.h | 54 |
1 files changed, 3 insertions, 51 deletions
diff --git a/engines/pegasus/pegasus.h b/engines/pegasus/pegasus.h index 3e20ddc7de..3a99ddb823 100644 --- a/engines/pegasus/pegasus.h +++ b/engines/pegasus/pegasus.h @@ -53,20 +53,6 @@ class Idler; class Cursor; class TimeBase; -static const int kViewScreenOffset = 64; - -struct OverviewHotspot { - Common::Rect rect; - uint32 time; -}; - -enum GameMode { - kIntroMode, - kMainMenuMode, - kMainGameMode, - kQuitMode -}; - class PegasusEngine : public ::Engine, public InputHandler, public NotificationManager { friend class InputHandler; @@ -105,46 +91,11 @@ protected: virtual void receiveNotification(Notification *notification, const tNotificationFlags flags); private: - // Intro - void runIntro(); - void runMainMenu(); - void drawMenu(int buttonSelected); - void drawMenuButtonHighlighted(int buttonSelected); - void drawMenuButtonSelected(int buttonSelected); - //void runInterfaceOverview(); - void setGameMode(int buttonSelected); - - // Interface - void drawInterface(); - //void drawCompass(); - //void runPauseMenu(); - void showLoadDialog(); - - // Interface Overview - void runInterfaceOverview(); - void drawInterfaceOverview(const OverviewHotspot &hotspot, Video::QuickTimeDecoder *video); - - // Credits - void runCredits(); - void drawCredits(int button, bool highlight, int frame, Video::QuickTimeDecoder *video); - void runDemoCredits(); - - // Main Game Functions - void mainGameLoop(); - void changeLocation(tNeighborhoodID neighborhood); - - // Misc Functions - static Common::String getTimeZoneFolder(tNeighborhoodID neighborhood); - static Common::String getTimeZoneDesc(tNeighborhoodID neighborhood); - - // Game Variables - bool _adventureMode; - GameMode _gameMode; - // Console PegasusConsole *_console; - // Intro Directory Code + // Intro + void runIntro(); bool detectOpeningClosingDirectory(); Common::String _introDirectory; @@ -172,6 +123,7 @@ private: // Misc. Hotspot _returnHotspot; + void showLoadDialog(); }; } // End of namespace Pegasus |