23 #ifndef ZVISION_ZVISION_H 24 #define ZVISION_ZVISION_H 26 #include "zvision/core/clock.h" 27 #include "zvision/file/search_manager.h" 28 #include "zvision/detection.h" 30 #include "common/random.h" 31 #include "common/events.h" 33 #include "engines/engine.h" 35 #include "graphics/pixelformat.h" 37 #include "gui/debugger.h" 75 HIRES_WINDOW_WIDTH = 800,
76 HIRES_WINDOW_HEIGHT = 600,
79 ZNM_WORKING_WINDOW_WIDTH = 512,
80 ZNM_WORKING_WINDOW_HEIGHT = 320,
83 ZGI_WORKING_WINDOW_WIDTH = 640,
84 ZGI_WORKING_WINDOW_HEIGHT = 344,
86 ROTATION_SCREEN_EDGE_OFFSET = 60,
87 MAX_ROTATION_SPEED = 400,
99 kZVisionActionRestore,
101 kZVisionActionPreferences,
102 kZVisionActionShowFPS,
103 kZVisionActionSkipCutscene,
108 extern const char *mainKeymapId;
109 extern const char *gameKeymapId;
110 extern const char *cutscenesKeymapId;
130 const int _desiredFrameTime;
157 int _frameRenderDelay;
158 int _renderedFrameCount;
160 int16 _mouseVelocity;
161 int16 _keyboardVelocity;
163 bool _videoIsPlaying;
165 uint8 _cheatBuffer[KEYBUF_SIZE];
169 void pauseEngineIntern(
bool pause)
override;
171 ZVisionGameId getGameId()
const;
173 uint32 getFeatures()
const;
176 return _scriptManager;
179 return _renderManager;
182 return _cursorManager;
188 return _stringManager;
191 return _searchManager;
194 return _textRenderer;
209 int16 getKeyboardVelocity()
const {
210 return _keyboardVelocity;
212 int16 getMouseVelocity()
const {
213 return _mouseVelocity;
216 uint8 getZvisionKey(Common::KeyCode scummKeyCode);
227 void initHiresScreen();
241 void setRenderDelay(uint);
243 static void fpsTimerCallback(
void *refCon);
249 void syncSoundSettings()
override;
270 void processEvents();
274 void registerDefaultSettings();
276 void cheatCodes(uint8 key);
277 void pushKeyToCheatBuf(uint8 key);
278 bool checkCode(
const char *code);
279 uint8 getBufferedKey(uint8 pos);
Definition: detection.h:35
EngineFeature
Definition: engine.h:253
Common::Rect _workingWindow
Definition: zvision.h:123
Definition: script_manager.h:144
Definition: search_manager.h:34
Definition: string_manager.h:35
Definition: subtitles.h:31
Definition: video_decoder.h:53
Definition: algorithm.h:29
Definition: cursor_manager.h:58
Definition: save_manager.h:49
Definition: render_manager.h:48
Definition: avi_frames.h:36
Language
Definition: language.h:45