Commit Graph

15 Commits

Author SHA1 Message Date
fab958c963 twn_loop.c: use event watcher for more immediate resize redraw 2024-10-07 22:35:48 +03:00
7d92eff691 twn_loop.c: better log for /twn.toml misaccess 2024-10-07 20:57:02 +03:00
93aa8ff2b4 remove the assumption that game is ran from cwd at root 2024-10-07 13:22:25 +03:00
bbf79ad442 new method of pack loading, assume data or data.btw in root to point to all other 2024-10-07 12:28:15 +03:00
900a0a7506 twn_loop.c: delete gl context on cleanup, some implementations triggered leak detector otherwise 2024-10-01 18:21:27 +03:00
91ea5356fc fix variout memory leaks 2024-10-01 13:34:58 +03:00
a0ea657eb9 twn_audio: settle down on float32 2-channel sampling only, format enums to style used elsewhere 2024-10-01 12:59:01 +03:00
57fe5e8946 implement game configuration file
this integrates https://github.com/cktan/tomlc99 into the repo as a dependency
2024-10-01 12:48:42 +03:00
078e68387b replace per-tick allocations in push_text with an arena/bump allocator 2024-09-27 15:02:24 -03:00
0e68ecbc88 twn_loop.c: add --debug and --release overrides, fix incorrect argv iteration 2024-09-26 20:48:42 -03:00
5d6a3a5aec remove/replace unused includes 2024-09-26 21:38:24 +03:00
0fe1023667 use SDL stdlib where possible 2024-09-25 19:42:34 -03:00
73bf92e706 typedef & PascalCase for ALL structs and enums 2024-09-23 14:43:16 -03:00
16c96010dc finally compiling and running, text still needs rework 2024-09-16 16:17:00 +03:00
551d60ef85 partially done work on total source tree rework, separation of engine context and game context, generalization of renderer for different backends as well as web platform target 2024-09-16 09:07:01 +03:00