Commit Graph

14 Commits

Author SHA1 Message Date
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
5aabab468d fix includes 2024-10-07 18:37:44 +03:00
33523c7980 remove usage of twn_vec.h in public headers 2024-10-07 18:05:53 +03:00
60a9307ce3 twn_util: separate internal c-only features from public header 2024-10-07 10:44:18 +03:00
ca6c6a711c remove unused SDL2/SDL.h and physfs.h from twn_util.h, explicit usage of SDL in apps, move to Scancode enum in apps 2024-10-07 00:00:36 +03:00
bd99540280 add WIP lua binding app 2024-10-05 18:17:22 -03:00
f4b52b5450 make textures_dump_atlases work again and expose it as a utility function 2024-09-26 21:32:08 -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
66678a27cf twn_textures.c: add debug hints about unportable texture dimensions 2024-09-23 09:35:46 +03:00
e33a97294c twn_util.h: clarify behavior of null result pointer 2024-09-20 13:48:29 -03:00
074b290b3f that's not what they're called 2024-09-20 13:41: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
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