diff --git a/code/env.odin b/code/env.odin index 4134eae..0004acd 100644 --- a/code/env.odin +++ b/code/env.odin @@ -19,7 +19,7 @@ Memory_Trans_Temp_Szie :: (Memory_Chunk_Size - Memory_Persistent_Size ) / 2 Memory_Base_Address_Persistent :: Terabyte * 1 Memory_Base_Address_Frame :: Memory_Base_Address_Persistent + Memory_Reserve_Persistent -// TODO(Ed) : This is based off of using 32 gigs of my (Ed) as a maximum. +// TODO(Ed) : This is based off of using 32 gigs of my ram(Ed) as a maximum. // Later on this has to be adjusted to be ratios based on user's system memory. Memory_Reserve_Persistent :: 8 * Gigabyte Memory_Reserve_Frame :: 4 * Gigabyte @@ -126,9 +126,9 @@ AppConfig :: struct { State :: struct { font_provider_data : FontProviderData, - input_data : [2] InputState, - input_prev : ^ InputState, - input : ^ InputState, + input_data : [2]InputState, + input_prev : ^InputState, + input : ^InputState, debug : DebugData, diff --git a/code/grime_hashmap_zpl.odin b/code/grime_hashmap_zpl.odin index 9ee7510..a78606a 100644 --- a/code/grime_hashmap_zpl.odin +++ b/code/grime_hashmap_zpl.odin @@ -245,7 +245,7 @@ zpl_hmap_find :: proc( using self : ^ HMapZPL( $ Type), key : u64 ) -> HMapZPL_F result.hash_index = cast(i64)( key % hashes.num ) result.entry_index = hashes.data[ result.hash_index ] - for ; result.entry_index >= 0; { + for ; result.entry_index >= 0; { entry := & entries.data[ result.entry_index ] if entry.key == key { break diff --git a/code/ui.odin b/code/ui.odin index 3d6739e..3861da9 100644 --- a/code/ui.odin +++ b/code/ui.odin @@ -269,7 +269,7 @@ UI_State :: struct { // TODO(Ed) : Look into using a build arena like Ryan does for these possibly (and thus have a linked-list stack) theme_stack : StackFixed( UI_StyleTheme, UI_Style_Stack_Size ), - parent_stack : StackFixed( ^ UI_Box, UI_Parent_Stack_Size ), + parent_stack : StackFixed( ^UI_Box, UI_Parent_Stack_Size ), // flag_stack : Stack( UI_BoxFlags, UI_BoxFlags_Stack_Size ), hot : UI_Key,