First working version of hot-reloading feature

This commit is contained in:
Riyyi
2026-09-06 23:35:21 +02:00
parent 6edcce16c6
commit 80bad9aad5
7 changed files with 314 additions and 43 deletions
+21
View File
@@ -0,0 +1,21 @@
package core
// -----------------------------------------
Settings :: struct {
width: u16,
height: u16,
title: string,
mode: WindowMode,
refresh: u16,
vsync: bool,
// TODO:
// windowed resizable y/n
// exit key (ex: escape)
}
WindowMode :: enum u8 {
Windowed = 0,
Borderless = 1,
Fullscreen = 2,
}