Commit Graph

18 Commits

Author SHA1 Message Date
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
veclavtalica 1a7322dccf twn_util.h: separate internal things away, remove indirect includes in places 2024-10-12 21:16:25 +03:00
veclavtalica 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
veclavtalica 5aabab468d fix includes 2024-10-07 18:37:44 +03:00
veclavtalica 33523c7980 remove usage of twn_vec.h in public headers 2024-10-07 18:05:53 +03:00
veclavtalica 60a9307ce3 twn_util: separate internal c-only features from public header 2024-10-07 10:44:18 +03:00
veclavtalica 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
wanp bd99540280 add WIP lua binding app 2024-10-05 18:17:22 -03:00
wanp f4b52b5450 make textures_dump_atlases work again and expose it as a utility function 2024-09-26 21:32:08 -03:00
wanp 0fe1023667 use SDL stdlib where possible 2024-09-25 19:42:34 -03:00
wanp 73bf92e706 typedef & PascalCase for ALL structs and enums 2024-09-23 14:43:16 -03:00
veclavtalica 66678a27cf twn_textures.c: add debug hints about unportable texture dimensions 2024-09-23 09:35:46 +03:00
wanp e33a97294c twn_util.h: clarify behavior of null result pointer 2024-09-20 13:48:29 -03:00
wanp 074b290b3f that's not what they're called 2024-09-20 13:41:55 -03:00
wanp 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
veclavtalica 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