diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-07-04 19:56:22 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-07-04 19:56:22 +0200 |
commit | af3057df7eb41973349b407539846f17d9094c21 (patch) | |
tree | 0940a188a0cfc43a99505f55513516866a57d145 /src/app/app.h | |
parent | f95df35dc58e01b99ffddfc4ad394feaa4460b09 (diff) | |
download | colobot-af3057df7eb41973349b407539846f17d9094c21.tar.gz colobot-af3057df7eb41973349b407539846f17d9094c21.tar.bz2 colobot-af3057df7eb41973349b407539846f17d9094c21.zip |
Merged changes from dev
Resolved conflicts & added fixes.
Diffstat (limited to 'src/app/app.h')
-rw-r--r-- | src/app/app.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/app/app.h b/src/app/app.h index 098f0ad..ed2bd9a 100644 --- a/src/app/app.h +++ b/src/app/app.h @@ -84,10 +84,13 @@ public: Error ParseArguments(int argc, char *argv[]); //! Initializes the application bool Create(); - //! Cleans up before exit - void Destroy(); //! Main event loop int Run(); + //! Returns the code to be returned at main() exit + int GetExitCode(); + + //! Cleans up before exit + void Destroy(); //! Enters the pause mode void Pause(bool pause); @@ -96,7 +99,7 @@ public: void StepSimulation(float rTime); //! Polls the state of joystick axes and buttons - void UpdateJoystick(); + void UpdateJoystick(); void SetShowStat(bool show); bool GetShowStat(); |