Commit Graph

17 Commits

Author SHA1 Message Date
veclavtalica
4f2b8ccd01 separate the rest of general drawing code 2025-01-03 21:59:00 +03:00
veclavtalica
472a0657f3 twn_draw.c: remove gl headers 2025-01-03 21:10:15 +03:00
veclavtalica
0f368e2700 move render_circle to twn_draw.c 2025-01-03 21:08:54 +03:00
veclavtalica
33471b4c46 generalization of deferred commands and any_gl rendering where appropriate 2025-01-03 21:01:26 +03:00
veclavtalica
dc2535358e make input coordinates respect the viewport 2024-12-24 10:24:50 +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
d11143ac86 twn_draw.h: new camera api 2024-10-28 12:34:48 +03:00
veclavtalica
b390e9db23 audio_set() -> audio_set_parameter(), with string based convention 2024-10-22 13:52:24 +03:00
139394c6de partial implementation of double buffered render 2024-10-15 15:29:45 +03:00
19bf88d44e finally properly implemented depth optimization for 2d 2024-10-14 15:31:56 +03:00
3535a185df don't use depth range hack in rect case 2024-10-14 12:16:23 +03:00
b295c5920c rendering: use sprite batching techniques for rect primitives, unite their render path 2024-10-14 11:46:07 +03:00
da98c0941b effort to have no warnings once again 2024-10-13 21:32:31 +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
fd642171a4 twn_draw.c: clear after swap 2024-10-08 00:55:40 +03:00
b0e6dd78b2 fix ratio 2024-10-07 20:29:03 +03:00
ade1af12ca twn_rendering -> twn_draw 2024-10-07 17:53:09 +03:00