From abcb22c518f39ac5095e58294eab150cb8cd9afe Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 31 Aug 2023 16:25:16 -0400 Subject: cleanup naming conventions and header defs --- src/game.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index a48cbfe..f870591 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -10,7 +10,7 @@ const uint64_t consoleLineLength = 128; char consoleBuffer[consoleBufferCount][consoleLineLength]; long consoleBufferIndex = 0; -void GameTick(double delta) { +void Game_Tick(double delta) { /* * ECS_Tick() gets called first because it updates the public * `EntitiesToBeRemoved` for all other ticks to use. @@ -55,9 +55,9 @@ void RecordImGuiEditor() { RecordImGuiConsole(&pkeSettings.isShowingEditor); } -void GameInit() { +void Game_Init() { for (long i = 0; i < consoleBufferCount; ++i) { memset(consoleBuffer[i], '\0', consoleLineLength); } - RegisterCallback("RenderImGui", RecordImGuiEditor); + Event_RegisterCallback("RenderImGui", RecordImGuiEditor); } -- cgit v1.2.3