equal
deleted
inserted
replaced
17 |
17 |
18 Q_PROPERTY(bool isValid READ isValid NOTIFY isValidChanged) |
18 Q_PROPERTY(bool isValid READ isValid NOTIFY isValidChanged) |
19 |
19 |
20 void sendConfig(const GameConfig& config); |
20 void sendConfig(const GameConfig& config); |
21 void advance(quint32 ticks); |
21 void advance(quint32 ticks); |
|
22 void moveCamera(const QPoint& delta); |
22 void renderFrame(); |
23 void renderFrame(); |
23 void setOpenGLContext(QOpenGLContext* context); |
24 void setOpenGLContext(QOpenGLContext* context); |
24 QImage generatePreview(); |
25 QImage generatePreview(); |
25 |
26 |
26 bool isValid() const; |
27 bool isValid() const; |
42 Engine::send_ipc_t* send_ipc; |
43 Engine::send_ipc_t* send_ipc; |
43 Engine::read_ipc_t* read_ipc; |
44 Engine::read_ipc_t* read_ipc; |
44 Engine::setup_current_gl_context_t* setup_current_gl_context; |
45 Engine::setup_current_gl_context_t* setup_current_gl_context; |
45 Engine::render_frame_t* render_frame; |
46 Engine::render_frame_t* render_frame; |
46 Engine::advance_simulation_t* advance_simulation; |
47 Engine::advance_simulation_t* advance_simulation; |
|
48 Engine::move_camera_t* move_camera; |
47 bool m_isValid; |
49 bool m_isValid; |
48 }; |
50 }; |
49 |
51 |
50 #endif // ENGINEINSTANCE_H |
52 #endif // ENGINEINSTANCE_H |