Commit Graph

28 Commits

Author SHA1 Message Date
veclavtalica
16bd49b42e twn_util.c: show profiles in milliseconds when appropriate, don't include time taken for profile internals 2025-01-26 01:42:12 +03:00
veclavtalica
cb5f207761 twn_util.c: fix profile worst case, update formatting 2025-01-24 23:06:34 +03:00
veclavtalica
b20e7202fe twn_util.c: add handling of NULL in log_<type> 2025-01-23 22:15:09 +03:00
veclavtalica
045d2764fa twn_util.c: add logging over base types 2025-01-23 22:13:01 +03:00
veclavtalica
4659cf2aef profile atlas recreation 2025-01-15 06:04:02 +03:00
veclavtalica
8c165974c7 twn_util.c: make profiler collect worst case, dispaly the stats with awareness of sample count 2025-01-15 04:55:18 +03:00
veclavtalica
2f94e17852 twn_util_c.h: profile_list_stats() for average summary, without spam in console 2024-11-04 16:22:13 +03:00
veclavtalica
26a2bf293f twn_util_c.h: internal profiling api 2024-11-04 16:04:02 +03:00
veclavtalica
9121da0675 yet another api rework, removal of integer types in public api, optionals at the end, some cleaning 2024-10-29 12:25:24 +03:00
veclavtalica
eff9fe6918 twn_util.h: make return structs comply to type naming 2024-10-28 12:39:42 +03:00
veclavtalica
a22bcfd97e rework timers, update overlap/intersect and other procedures, some other things i dont remember 2024-10-22 14:45:30 +03:00
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