22#ifndef TETRAEDGE_GAME_SYBERIA_GAME_H
23#define TETRAEDGE_GAME_SYBERIA_GAME_H
25#include "common/types.h"
26#include "common/serializer.h"
27#include "common/str.h"
29#include "tetraedge/game/in_game_scene.h"
30#include "tetraedge/game/game.h"
31#include "tetraedge/game/cellphone.h"
32#include "tetraedge/game/game_sound.h"
33#include "tetraedge/game/objectif.h"
34#include "tetraedge/te/te_checkbox_layout.h"
35#include "tetraedge/te/te_vector2s32.h"
36#include "tetraedge/te/te_vector3f32.h"
66 bool onSoundFinished();
81 void addToScore(
int score);
86 void enter()
override;
88 void finishFreemium();
89 void finishGame()
override;
90 void initLoadedBackupData()
override;
91 void leave(
bool flag)
override;
98 void loadUnlockedArtwork()
override;
101 void resetPreviousMousePos();
103 bool unloadCharacters();
105 void update()
override;
107 bool _movePlayerCharacterDisabled;
108 bool _sceneCharacterVisibleFromLoad;
109 bool _isCharacterWalking;
110 bool _isCharacterIdle;
112 const Common::Path &sceneZonePath()
const {
return _sceneZonePath; }
113 Objectif &objectif() {
return _objectif; }
115 void setSaveRequested() { _saveRequested =
true; }
116 bool markersVisible()
const {
return _markersVisible; }
117 const TeVector3f32 &posPlayer()
const {
return _posPlayer; }
118 void setPosPlayer(
const TeVector3f32 &pos) { _posPlayer = pos; }
119 TeTimer &walkTimer() {
return _walkTimer; }
120 void setExitZone(
const Common::String &zone) { _exitZone = zone; }
124 void setRunModeEnabled(
bool val) { _runModeEnabled = val; }
125 bool runModeEnabled()
const {
return _runModeEnabled; }
129 void addNoScale2Children();
130 void addNoScaleChildren();
132 void attachButtonsLayoutGoto() {};
133 void createButtonsLayoutGoto() {};
134 void deleteButtonsLayoutGoto() {};
138 void deleteNoScale();
146 bool onCharacterAnimationPlayerFinished(
const Common::String &val);
148 bool onDisplacementFinished();
149 bool onDisplacementPlayerFinished();
150 bool onFinishedCheckBackup(
bool result);
152 bool onFinishedSavingBackup(
int something);
153 bool onMarkersVisible(TeCheckboxLayout::State state);
155 bool onVideoFinished()
override;
157 void removeNoScale2Children();
158 void removeNoScaleChildren();
166 TeVector2s32 _previousMousePos;
167 TeVector2s32 _lastCharMoveMousePos;
190 bool _markersVisible;
192 bool _randomSoundFinished;
194 RandomSound *_randomSound;
195 TeTimer _randomSoundTimer;
197 TeLayout *_noScaleLayout;
199 TeVector3f32 _posPlayer;
204 bool _runModeEnabled;
Definition: objectif.h:30
Definition: syberia_game.h:59
Definition: syberia_game.h:42
Definition: te_lua_thread.h:36
Definition: te_music.h:36
Definition: syberia_game.h:47
Definition: syberia_game.h:69