qmlfrontend/engine_instance.h
changeset 14734 cc6ab1e3f7d5
parent 14394 4409344db447
child 14863 ef9630519491
--- a/qmlfrontend/engine_instance.h	Fri Mar 22 21:06:12 2019 +0100
+++ b/qmlfrontend/engine_instance.h	Fri Mar 22 21:29:10 2019 +0100
@@ -19,6 +19,7 @@
 
   void sendConfig(const GameConfig& config);
   void advance(quint32 ticks);
+  void moveCamera(const QPoint& delta);
   void renderFrame();
   void setOpenGLContext(QOpenGLContext* context);
   QImage generatePreview();
@@ -44,6 +45,7 @@
   Engine::setup_current_gl_context_t* setup_current_gl_context;
   Engine::render_frame_t* render_frame;
   Engine::advance_simulation_t* advance_simulation;
+  Engine::move_camera_t* move_camera;
   bool m_isValid;
 };