aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction.h
diff options
context:
space:
mode:
authorNicola Mettifogo2008-07-24 09:24:32 +0000
committerNicola Mettifogo2008-07-24 09:24:32 +0000
commit4936e5f7df8e2257b1af4ee3ab2fdcd8cb88e91b (patch)
tree80b4cb2cc25b29421920f062c39de6752ae63646 /engines/parallaction/parallaction.h
parent69dac1d4f22f9a63a5a9030d4405ba071e5e8b89 (diff)
downloadscummvm-rg350-4936e5f7df8e2257b1af4ee3ab2fdcd8cb88e91b.tar.gz
scummvm-rg350-4936e5f7df8e2257b1af4ee3ab2fdcd8cb88e91b.tar.bz2
scummvm-rg350-4936e5f7df8e2257b1af4ee3ab2fdcd8cb88e91b.zip
* Moved end intro and end game sequences code to gui.
* Rewrote all gui code to be run inside the main loop * Added code to avoid crashes when a scene with no standard background is drawn svn-id: r33260
Diffstat (limited to 'engines/parallaction/parallaction.h')
-rw-r--r--engines/parallaction/parallaction.h33
1 files changed, 18 insertions, 15 deletions
diff --git a/engines/parallaction/parallaction.h b/engines/parallaction/parallaction.h
index d8ab93e257..47bbda0b4a 100644
--- a/engines/parallaction/parallaction.h
+++ b/engines/parallaction/parallaction.h
@@ -158,6 +158,7 @@ class Gfx;
class SoundMan;
class Input;
class DialogueManager;
+class MenuInputHelper;
struct Location {
@@ -416,11 +417,18 @@ public:
void exitDialogueMode();
void runDialogueFrame();
+ MenuInputHelper *_menuHelper;
+ void runGuiFrame();
+ void cleanupGui();
+
ZonePtr _commentZone;
void enterCommentMode(ZonePtr z);
void exitCommentMode();
void runCommentFrame();
+ void setInternLanguage(uint id);
+ uint getInternLanguage();
+
};
@@ -485,6 +493,13 @@ public:
bool saveGame();
void switchBackground(const char* background, const char* mask);
+ void showSlide(const char *name);
+ void setArrowCursor();
+
+ // TODO: this should be private!!!!!!!
+ bool _inTestResult;
+ void cleanupGame();
+ bool allPartsComplete();
private:
LocationParser_ns *_locationParser;
@@ -496,16 +511,13 @@ private:
Common::String genSaveFileName(uint slot, bool oldStyle = false);
Common::InSaveFile *getInSaveFile(uint slot);
Common::OutSaveFile *getOutSaveFile(uint slot);
- bool allPartsComplete();
void setPartComplete(const Character& character);
private:
void changeLocation(char *location);
void changeCharacter(const char *name);
void runPendingZones();
- void cleanupGame();
- void setArrowCursor();
void setInventoryCursor(int pos);
@@ -539,9 +551,6 @@ private:
ZonePtr _moveSarcExaZones[5];
AnimationPtr _rightHandAnim;
- bool _inTestResult;
-
-
// common callables
void _c_play_boogie(void*);
void _c_startIntro(void*);
@@ -586,15 +595,9 @@ protected:
void selectStartLocation();
- void guiStart();
- int guiSelectCharacter();
- void guiSplash();
- int guiNewGame();
- uint16 guiChooseLanguage();
- uint16 guiSelectGame();
- int guiGetSelectedBlock(const Common::Point &p);
-
- void showSlide(const char *name);
+ void startGui();
+ void startCreditSequence();
+ void startEndPartSequence();
};