25 #include <controls/controller.h>
26 #include <PGE_File_Formats/wld_filedata.h>
27 #include <common_features/pge_texture.h>
28 #include <common_features/episode_state.h>
29 #include <common_features/rect.h>
30 #include <common_features/point.h>
31 #include <common_features/event_queue.h>
32 #include <data_configs/config_manager.h>
33 #include <gui/pge_menubox.h>
35 #include "world/wld_tilebox.h"
36 #include "world/wld_player_portrait.h"
37 #include "world/wld_pathopener.h"
39 #include <script/lua_world_engine.h>
71 void tickAnimations(
float ticks);
74 void setExiting(
int delay,
int reason);
76 bool loadFile(QString filePath);
78 QString getLastError();
95 bool worldIsContinues;
104 QList<PlayerState > players;
107 QList<PGE_Texture > textures_bank;
120 float move_steps_count;
121 void doMoveStep(
double &posVal);
126 float mapwalker_img_h;
128 int mapwalker_offset_x;
129 int mapwalker_offset_y;
130 void mapwalker_refreshDirection();
133 void playMusic(
long musicID, QString customMusicFile,
bool fade=
false,
int fadeLen=300);
134 void stopMusic(
bool fade=
false,
int fadeLen=300);
138 QString currentMusicFile;
156 void updateAvailablePaths();
158 void fetchSideNodes(
bool &side, QVector<WorldNode *> &nodes,
float cx,
float cy);
159 void initElementsVisibility();
160 void saveElementsVisibility();
162 bool pathOpeningInProcess;
165 QVector<WorldScene_misc_img > imgs;
166 QVector<WorldScene_Portrait > portraits;
169 QList<WldTileItem > wld_tiles;
170 QList<WldSceneryItem > wld_sceneries;
171 QList<WldPathItem > wld_paths;
172 QList<WldLevelItem > wld_levels;
173 QList<WldMusicBoxItem > wld_musicboxes;
176 QList<WorldNode > wldItems;
177 QVector<WorldNode * > _itemsToRender;
181 enum PauseMenuItems_Menu1
188 enum PauseMenuItems_Menu2
196 bool _pauseMenu_opened;
197 void initPauseMenu1();
198 void initPauseMenu2();
199 void processPauseMenu();
202 int debug_render_delay;
203 int debug_phys_delay;
204 int debug_event_delay;
205 int debug_total_delay;
210 #endif // SCENE_WORLD_H
Control key map structure. Contains a "is pressed" states of all available control keys...
Definition: control_keys.h:25
Definition: setup_wld_scene.h:18
Definition: lua_world_engine.h:8
Definition: pge_texture.h:32
Definition: wld_filedata.h:95
Definition: pge_msgbox.h:38
Definition: obj_player.h:103
The Controller class provides proxy interface between controllable objects array and physical control...
Definition: controller.h:32
This class should have basic functions for interacting with lua To run the lua engine you have to con...
Definition: lua_engine.h:27
Definition: simple_animator.h:28
void onKeyboardPressedSDL(SDL_Keycode sdl_key, Uint16 modifier)
Triggering when pressed any key on keyboard.
Definition: scene_world.cpp:1165
Definition: scene_world.h:50
Definition: wld_tilebox.h:132
Definition: pge_textinputbox.h:38
Definition: episode_state.h:47
Definition: wld_pathopener.h:28
bool loadConfigs()
Definition: scene_world.cpp:416
Definition: scene_world.h:41