Commit Graph

17 Commits

Author SHA1 Message Date
da98c0941b effort to have no warnings once again 2024-10-13 21:32:31 +03:00
ed93072371 twn_amalgam.c: a way for single unit compilation, controlled with -DTWN_USE_AMALGAM in cmake 2024-10-13 19:04:23 +03:00
f96d521af2 CMakeLists.txt: don't precompile stb_ds.h, precompile SDL.h 2024-10-13 18:14:36 +03:00
e70366f82f rework to context: now there's engine and user code copies, renaming of fields, most things that shouldn't be there are hidden 2024-10-12 20:24:47 +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
bd99540280 add WIP lua binding app 2024-10-05 18:17:22 -03:00
90361d1caf twn_util.c: fix redundant and erroneous NULL placement in expand_asterisk() 2024-09-27 17:55:33 +03:00
2b25ac8c21 twn_util.c: add twn_util_c.h include for definitions 2024-09-27 17:50:24 +03:00
f4b52b5450 make textures_dump_atlases work again and expose it as a utility function 2024-09-26 21:32:08 -03:00
64d1c20b4a twn_util.c: make alloc failure death message clearer 2024-09-26 19:37:46 -03:00
c0dcdf8c0a twn_skybox.c 2024-09-26 21:02:56 +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
ddf0ef6a0c twn_util.c: use more appropriate SDL functions for intersect_(f)rect 2024-09-20 22:57:55 -03:00
999cb78358 rename intersect_(f)rect to overlap_(f)rect and add simplified functions with the old names 2024-09-20 13:39:37 -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