aboutsummaryrefslogtreecommitdiff
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
parentcdfdedc284f5915c8f97743b1a0b28720db24992 (diff)
checkpoint
-rwxr-xr-xbuild/handmade.sobin264032 -> 265808 bytes
-rwxr-xr-xbuild/linux_handmadebin89456 -> 93680 bytes
-rw-r--r--code/handmade.cpp6
3 files changed, 3 insertions, 3 deletions
diff --git a/build/handmade.so b/build/handmade.so
index 2748801..2100d13 100755
--- a/build/handmade.so
+++ b/build/handmade.so
Binary files differ
diff --git a/build/linux_handmade b/build/linux_handmade
index 495db72..1a02c68 100755
--- a/build/linux_handmade
+++ b/build/linux_handmade
Binary files differ
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)