Explorar el Código

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

undefined
Benjamin ‘Touky’ Huet Sam Hocevar <sam@hocevar.net> hace 9 años
padre
commit
e9b72ec53a
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      src/entity.h

+ 2
- 0
src/entity.h Ver fichero

@@ -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,


Cargando…
Cancelar
Guardar