qmlfrontend/engine_instance.cpp
changeset 14290 92e5682810d4
parent 14271 1aac8a62be6f
child 14294 21be7838a127
--- a/qmlfrontend/engine_instance.cpp	Sat Nov 24 21:57:01 2018 +0100
+++ b/qmlfrontend/engine_instance.cpp	Sat Nov 24 23:51:45 2018 +0100
@@ -1,17 +1,23 @@
 #include "engine_instance.h"
 
-EngineInstance::EngineInstance(QObject *parent)
+EngineInstance::EngineInstance(QObject* parent)
     : QObject(parent), m_instance(Engine::start_engine()) {}
 
 EngineInstance::~EngineInstance() { Engine::cleanup(m_instance); }
 
-void EngineInstance::sendConfig(const GameConfig &config) {
+void EngineInstance::sendConfig(const GameConfig& config) {
   for (auto b : config.config()) {
-    Engine::send_ipc(m_instance, reinterpret_cast<uint8_t *>(b.data()),
+    Engine::send_ipc(m_instance, reinterpret_cast<uint8_t*>(b.data()),
                      static_cast<size_t>(b.size()));
   }
 }
 
+void EngineInstance::advance(quint32 ticks) {}
+
+void EngineInstance::renderFrame() {}
+
+void EngineInstance::setOpenGLContext(QOpenGLContext* context) {}
+
 Engine::PreviewInfo EngineInstance::generatePreview() {
   Engine::PreviewInfo pinfo;