Clean up after core.h updates.

This commit is contained in:
2026-03-15 00:05:54 -07:00
parent 58b3e04129
commit a5cff85e22
3 changed files with 68 additions and 63 deletions
+5 -5
View File
@@ -13,9 +13,9 @@ typedef struct debug_read_file_result {
void *Contents;
} debug_read_file_result;
internal debug_read_file_result DEBUGPlatformReadEntireFile(const char *Filename);
internal B32 DEBUGPlatformWriteEntireFile(const char *Filename, U32 MemorySize, void *Memory);
internal void DEBUGPlatformFreeFileMemory(void *Memory);
static debug_read_file_result DEBUGPlatformReadEntireFile(const char *Filename);
static B32 DEBUGPlatformWriteEntireFile(const char *Filename, U32 MemorySize, void *Memory);
static void DEBUGPlatformFreeFileMemory(void *Memory);
#endif
///////////////////////////////////////////////////////////////////////////////
@@ -81,7 +81,7 @@ typedef struct game_input {
inline game_controller_input *GetController(game_input *Input, S32 ControllerIndex)
{
Assert((U32)ControllerIndex < ArrayCount(Input->Controllers));
Assert((U32)ControllerIndex < ARRAY_SIZE(Input->Controllers));
game_controller_input *Result = &(Input->Controllers[ControllerIndex]);
return Result;
}
@@ -101,7 +101,7 @@ typedef struct game_memory {
// F32 SecondsElapsed;
// } game_clocks;
internal void GameUpdateAndRender(game_memory *Memory, game_input *Input, game_offscreen_buffer *Buffer, game_sound_output_buffer *SoundBuffer);
static void GameUpdateAndRender(game_memory *Memory, game_input *Input, game_offscreen_buffer *Buffer, game_sound_output_buffer *SoundBuffer);
//
//