From e9b72ec53a188783c2ae9df3fb90d38fdf5cd2f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20=E2=80=98Touky=E2=80=99=20Huet?= Date: Sat, 18 Apr 2015 22:09:52 +0000 Subject: [PATCH] Added stuff for ticking/drawing main app entity independently from other entities --- src/entity.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/entity.h b/src/entity.h index 527935da..1c497b15 100644 --- a/src/entity.h +++ b/src/entity.h @@ -68,6 +68,7 @@ protected: GAMEGROUP_INPUT, //Input should be polled before everything else GAMEGROUP_IMGUI, //Debug update needs to be called before the rest for init purposes + GAMEGROUP_APP, //Main application update GAMEGROUP_ENTITY, //Default entity update //------------------//Split entity update: GAMEGROUP_PLAYER, //Player updates before AI to ensure player actions is prevalent @@ -101,6 +102,7 @@ protected: DRAWGROUP_OTHER_1, //Same ------------------ DRAWGROUP_OTHER_2, //Same ------------------ DRAWGROUP_OTHER_3, //Same ------------------ + GAMEGROUP_APP, //Main application Draw DRAWGROUP_HUD, DRAWGROUP_IMGUI, DRAWGROUP_CAPTURE,