22 #ifndef TETRAEDGE_GAME_APPLICATION_H 23 #define TETRAEDGE_GAME_APPLICATION_H 25 #include "common/str.h" 26 #include "common/ptr.h" 28 #include "tetraedge/game/bonus_menu.h" 29 #include "tetraedge/game/credits.h" 30 #include "tetraedge/game/global_bonus_menu.h" 31 #include "tetraedge/game/main_menu.h" 32 #include "tetraedge/game/options_menu.h" 33 #include "tetraedge/game/loc_file.h" 34 #include "tetraedge/game/owner_error_menu.h" 35 #include "tetraedge/game/splash_screens.h" 36 #include "tetraedge/game/in_game_scene.h" 37 #include "tetraedge/game/upsell_screen.h" 39 #include "tetraedge/te/te_visual_fade.h" 40 #include "tetraedge/te/te_music.h" 41 #include "tetraedge/te/te_xml_gui.h" 42 #include "tetraedge/te/te_font3.h" 58 void startGame(
bool newGame,
int difficulty);
62 void showNoCellIcon(
bool show);
63 void showLoadingIcon(
bool show);
76 void lockCursor(
bool lock);
77 void lockCursorFromAction(
bool lock);
86 BonusMenu &bonusMenu() {
return _bonusMenu; }
88 MainMenu &mainMenu() {
return _mainMenu; }
90 TeMusic &music() {
return _music; }
91 Credits &credits() {
return _credits; }
96 const Common::String getVersionString()
const {
return _versionString; }
97 TeLayout &getMainWindow() {
return _mainWindow; }
98 void setTutoActivated(
bool val) { _tutoActivated = val; }
99 TeCamera *mainWindowCamera() {
return _mainWindowCamera.get(); }
101 int &difficulty() {
return _difficulty; }
102 bool &tutoActivated() {
return _tutoActivated; }
104 void setFinishedGame(
bool val) { _finishedGame = val; }
105 void setFinishedFremium(
bool val) { _finishedFremium = val; }
109 const Common::Path &defaultCursor() {
return _defaultCursor; }
110 TeLayout &frontLayout() {
return _frontLayout; };
111 TeLayout &frontOrientationLayout() {
return _frontOrientationLayout; }
112 TeLayout &backLayout() {
return _backLayout; }
113 LocFile &loc() {
return _loc; }
114 bool ratioStretched()
const {
return _ratioStretched; }
115 bool compassLook()
const {
return _compassLook; }
116 bool inverseLook()
const {
return _inverseLook; }
117 bool permanentHelp()
const {
return _permanentHelp; }
118 bool musicOn()
const {
return _musicOn; }
124 const char *inAppUnlockFullVersionID();
126 bool onBlackFadeAnimationFinished();
127 bool onMainWindowSizeChanged();
131 bool _finishedFremium;
184 bool _ratioStretched;
193 static bool _dontUpdateWhenApplicationPaused;
198 #endif // TETRAEDGE_GAME_APPLICATION_H Definition: te_camera.h:38
Definition: detection.h:27
Definition: te_curve_anim2.h:36
Definition: te_visual_fade.h:34
Definition: application.h:50
Definition: algorithm.h:29
Definition: te_layout.h:35
Definition: main_menu.h:31
Definition: upsell_screen.h:29
Definition: te_xml_gui.h:34
Definition: te_intrusive_ptr.h:31
Definition: te_music.h:35
Definition: splash_screens.h:30
Definition: te_sprite_layout.h:30
Definition: loc_file.h:32