summaryrefslogtreecommitdiff
path: root/src/core/include/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/include/engine')
-rw-r--r--src/core/include/engine/core/state.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/include/engine/core/state.h b/src/core/include/engine/core/state.h
index f407acc..ee4741e 100644
--- a/src/core/include/engine/core/state.h
+++ b/src/core/include/engine/core/state.h
@@ -13,11 +13,11 @@ typedef enum StateType {
extern const char* StateTypeStr[];
-StateType (*State_updateFunc(StateType type))(void*);
+StateType (*State_updateFunc(StateType type))(f64, void*);
void State_init(StateType type, memory* mem, void* arg);
void* State_free(StateType type, memory* mem);
-StateType State_update(StateType type, memory* mem);
+StateType State_update(StateType type, f64 dt, memory* mem);
/* Reloads shared object file associated with state */
#ifdef DAW_BUILD_HOTRELOAD