diff --git a/code/api.odin b/code/api.odin index 0344bf5..6a178b4 100644 --- a/code/api.odin +++ b/code/api.odin @@ -36,8 +36,8 @@ startup :: proc( persistent, transient, temp : ^ mem.Arena ) state := cast(^State) memory.persistent; using state // Anything allocated by default is considered transient. - context.allocator = mem.arena_allocator( transient ) - context.temp_allocator = mem.arena_allocator( temp ) + // context.allocator = mem.arena_allocator( transient ) + // context.temp_allocator = mem.arena_allocator( temp ) // Rough setup of window with rl stuff screen_width = 1280 @@ -125,7 +125,7 @@ render :: proc() draw_text( "Monitor : %v", rl.GetMonitorName(0) ) draw_text( "Screen Width : %v", rl.GetScreenWidth() ) draw_text( "Screen Height: %v", rl.GetScreenHeight() ) - // draw_text( "HOT RELOAD BITCHES" ) + draw_text( "HOT RELOAD BITCHES" ) draw_debug_text_y = 50 } diff --git a/code/host/host.odin b/code/host/host.odin index 6053a37..b82076f 100644 --- a/code/host/host.odin +++ b/code/host/host.odin @@ -207,7 +207,7 @@ main :: proc() // Wait for pdb to unlock (linker may still be writting) for ; sectr.is_file_locked( "sectr.pdb" ); { } - time.sleep( time.Second * 10 ) + time.sleep( time.Millisecond ) sectr_api = load_sectr_api( version_id ) if sectr_api.lib_version == 0 { diff --git a/scripts/build.ps1 b/scripts/build.ps1 index d4f1a77..8868dde 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -83,7 +83,7 @@ push-location $path_root write-host 'Skipping sectr_host build, process is active' return } - + $should_build = check-ModuleForChanges $module_host if ( -not( $should_build)) { write-host 'Skipping sectr_host build, module up to date'