Got this thing to compile and seem operable at runtime

There was quite a few errors with the hashtable (not suprised). I need to use it more to see if it fails to work properly.

For now it should be fine enough for prototyping
This commit is contained in:
2024-02-22 23:15:29 -05:00
parent 7332644515
commit 9b3bc6fd68
7 changed files with 208 additions and 67 deletions

View File

@ -115,6 +115,11 @@ State :: struct {
font_squidgy_slimes : FontID,
font_rec_mono_semicasual_reg : FontID,
default_font : FontID,
// There are two potential UI contextes for this prototype so far,
// the screen-space UI and the current workspace UI.
// This is used so that the ui api doesn't need to have the user pass the context every single time.
ui_context : UI_State,
}
get_state :: proc "contextless" () -> ^ State {