From fe75db9167f4327d2bb2353f94d84047666bb440 Mon Sep 17 00:00:00 2001 From: ancarola Date: Fri, 25 Jan 2019 22:05:15 +0100 Subject: Core channel in flatland and signal test --- engine/include/flatland.hpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'engine/include/flatland.hpp') 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 */ -- cgit v1.2.1