WIP decoupled rendering

This commit is contained in:
Nate Anderson
2025-01-07 16:34:47 -07:00
parent ba53a7dd66
commit a43b46449f
8 changed files with 162 additions and 84 deletions
+1
View File
@@ -21,6 +21,7 @@ pub const Timer = struct {
self.pause_ticks_ms = 0;
}
// Resets the timer to 0 and starts it
pub fn reset(self: *Timer) void {
self.status = .started;
self.start_ticks_ms = sdl.SDL_GetTicks();