aboutsummaryrefslogtreecommitdiff
path: root/code/handmade.cpp
diff options
context:
space:
mode:
authorRaymaekers Luca <luca@spacehb.net>2025-09-22 11:33:14 +0200
committerRaymaekers Luca <luca@spacehb.net>2025-09-22 11:33:14 +0200
commit329c89ff132e6a59b4b10f43691441264e79e4c2 (patch)
tree691962cced46e3f3fbace48e98b3f1b536e2dba8 /code/handmade.cpp
parentcdfdedc284f5915c8f97743b1a0b28720db24992 (diff)
checkpoint
Diffstat (limited to 'code/handmade.cpp')
-rw-r--r--code/handmade.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/code/handmade.cpp b/code/handmade.cpp
index 932215d..f24d241 100644
--- a/code/handmade.cpp
+++ b/code/handmade.cpp
@@ -397,7 +397,7 @@ DEBUGLoadBMP(thread_context *Thread, debug_platform_read_entire_file *DEBUGPlatf
char *FileName)
{
loaded_bitmap Result = {};
- debug_read_file_result File = DEBUGPlatformReadEntireFile(Thread, FileName);
+ debug_platform_read_file_result File = DEBUGPlatformReadEntireFile(Thread, FileName);
if(File.ContentsSize)
{
@@ -619,7 +619,7 @@ AppendCharToInputText(game_state *GameState, rune Codepoint)
internal void
InitFont(thread_context *Thread, game_font *Font, game_memory *Memory, char *FilePath)
{
- debug_read_file_result File = Memory->DEBUGPlatformReadEntireFile(Thread, FilePath);
+ debug_platform_read_file_result File = Memory->DEBUGPlatformReadEntireFile(Thread, FilePath);
if(File.Contents)
{
@@ -937,7 +937,7 @@ extern "C" GAME_UPDATE_AND_RENDER(GameUpdateAndRender)
//-Matche the pattern
rune *Word = GameState->WordleWord;
- debug_read_file_result WordsFile = Memory->DEBUGPlatformReadEntireFile(Thread, "../data/words.txt");
+ debug_platform_read_file_result WordsFile = Memory->DEBUGPlatformReadEntireFile(Thread, "../data/words.txt");
int WordsCount = WordsFile.ContentsSize / WORDLE_LENGTH;
if(WordsFile.Contents)