浏览代码

Added stuff for ticking/drawing main app entity independently from other entities

undefined
Benjamin ‘Touky’ Huet Sam Hocevar <sam@hocevar.net> 10 年前
父节点
当前提交
e9b72ec53a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      src/entity.h

+ 2
- 0
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,


正在加载...
取消
保存