summaryrefslogtreecommitdiffstats
path: root/engine/include/flatland.hpp
diff options
context:
space:
mode:
authorancarola <raffaele.ancarola@epfl.ch>2019-01-25 22:05:15 +0100
committerancarola <raffaele.ancarola@epfl.ch>2019-01-25 22:05:15 +0100
commitfe75db9167f4327d2bb2353f94d84047666bb440 (patch)
treea1f67e5fff1d1f0458ae1ae4fb6e9d4ebf57b58c /engine/include/flatland.hpp
parentUpdate to make configure.py to build deps, instead of build.ninja (diff)
downloadflatland-fe75db9167f4327d2bb2353f94d84047666bb440.tar.gz
flatland-fe75db9167f4327d2bb2353f94d84047666bb440.zip
Core channel in flatland and signal test
Diffstat (limited to 'engine/include/flatland.hpp')
-rw-r--r--engine/include/flatland.hpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/engine/include/flatland.hpp b/engine/include/flatland.hpp
index 331093b..c0216d8 100644
--- a/engine/include/flatland.hpp
+++ b/engine/include/flatland.hpp
@@ -5,8 +5,6 @@ namespace flat {
class FlatWindow;
-typedef void (*gameloop)(float);
-
struct flat_status
{
@@ -37,7 +35,7 @@ struct flat_status
unsigned char loop:1;
};
-int init_flatland(FlatWindow*, gameloop, const flat_status&, float fps = 60);
+int init_flatland(FlatWindow*, const flat_status&, float fps = 60);
void quit_flatland();
namespace core {
@@ -49,12 +47,11 @@ namespace core {
/* Engine channels */
-core::channel& core_chan();
-core::channel& error_chan();
+core::channel& core_channel();
/* Main job access */
-core::job& game_job();
+core::job& main_job();
/* Window and status accessors */