Commit Graph

99 Commits

Author SHA1 Message Date
veclavtalica
192907a0db use slot size of 128 for twnlua allocator 2025-01-12 03:21:05 +03:00
veclavtalica
e8b02570a2 slot based allocator for lua, usage of lua_createtable 2025-01-12 02:44:41 +03:00
veclavtalica
41d0e24780 /apps/twnlua: ctx.udata preservation (not yet for reload case) 2025-01-11 16:22:41 +03:00
veclavtalica
777a06a002 /apps/twnlua: expose ctx 2025-01-11 16:01:41 +03:00
veclavtalica
f3848d2d52 progress on twnlua bindgen 2025-01-09 21:47:08 +03:00
veclavtalica
8c401eda75 api changes and progress on filling in twn_api.json 2025-01-07 14:14:21 +03:00
veclavtalica
5c89c55b3e /apps/twnlua: support out of tree usage 2025-01-07 13:22:31 +03:00
veclavtalica
5b05386bb0 changes to twn.toml specification of resolution, make it optional as well 2025-01-06 21:19:26 +03:00
veclavtalica
b0549612a9 /apps/demos/scenery: lock movement direction to a plane 2025-01-06 15:38:40 +03:00
veclavtalica
6463ac3dd7 /apps/demos/scenery: separate height_at(), position grass right 2025-01-06 15:34:12 +03:00
veclavtalica
a9d9936cb7 /apps/demos/scenery: reduce fov 2025-01-05 23:37:08 +03:00
veclavtalica
d7a119a592 fix aspect ratio as well as billboard scaling 2025-01-05 21:08:54 +03:00
veclavtalica
cb6c1df0be disallow ghostly billboards, reenable skybox in scenery demo 2025-01-05 19:59:23 +03:00
veclavtalica
3bfa86066e billboards! 2025-01-05 19:46:05 +03:00
veclavtalica
f4a3298906 disallow pointer to pointer in api 2025-01-03 11:45:10 +03:00
veclavtalica
8ec5a96333 /apps/demos/scenery: cleanup 2025-01-02 13:35:13 +03:00
veclavtalica
4277852fc5 /apps/demos/scenery: add walking 2025-01-02 13:29:28 +03:00
veclavtalica
190eb1f107 twnlua: use stb_ds.h for enum conversions 2024-12-24 10:03:19 +03:00
veclavtalica
e06c879869 twnlua: partial impl for return propagation, input now works 2024-12-23 22:02:17 +03:00
veclavtalica
e7ed72dfc0 twnlua: bindgen.py capable of converting share/twn_api.h spec to lua bindings 2024-12-23 20:59:00 +03:00
veclavtalica
4be27816c2 scenery: make render distance come from a define 2024-11-03 23:09:10 +03:00
veclavtalica
26c75ffd7c optimize case of sequential shared radius circle drawing by reusing the geometry by just offsetting it 2024-11-03 22:33:18 +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
9da26638c8 rework input to be in line with rendering semantics 2024-10-22 20:32:17 +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
19bf88d44e finally properly implemented depth optimization for 2d 2024-10-14 15:31:56 +03:00
f7f27119e1 use static, fixed arrays for circle geometry data instead of allocating for each one 2024-10-13 22:32:59 -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
cfc9ac9583 fix common-data pack reference for newly places demos 2024-10-11 19:31:30 +03:00
b566cf20b5 fix bunnymark boundies 2024-10-11 19:27:41 +03:00
4ac87b3021 move platformes and scenery to /apps/demos/ 2024-10-11 19:26:46 +03:00
db0adbdf6c /apps/demos/bunnymark: fix background 2024-10-08 10:18:41 +03:00
0ede612bec twn_input: singleton rework, twn_control.h and fixes 2024-10-08 10:12:47 +03:00
5c91423fbb clang-format on /apps/demos/bunnymark files 2024-10-08 01:21:31 +03:00
78034b69f5 proper scene switch in demos 2024-10-08 01:07:01 +03:00
fd6615744e /apps/platformer: not a platfromer, is it 2024-10-08 00:50:59 +03:00
4c49366c44 Added common-data as dependency for kenney's font used in demo 2024-10-07 20:16:21 +00:00
8759221ed2 Adding data manifest and the wabbit sprite 2024-10-07 20:15:53 +00:00
8aa0e38486 Bunny mark intial files added
Need to add data folder still.
2024-10-07 20:15:20 +00:00
5e10087b35 /apps/template: add data folder 2024-10-07 20:51:17 +03:00
3c6bcdc499 /apps/platformer: fix twn_vec.h include 2024-10-07 19:57:45 +03:00
bd395a6371 CMake: remove data_dir from build 2024-10-07 18:55:25 +03:00
5aabab468d fix includes 2024-10-07 18:37:44 +03:00
ade1af12ca twn_rendering -> twn_draw 2024-10-07 17:53:09 +03:00
8463ed4440 rename /apps/lua/ to /apps/twnlua/ 2024-10-07 15:52:32 +03:00
36fbc5b43f move lua script to lua data 2024-10-07 15:25:40 +03:00
ae8cc5f50b twn_audio: rework interface 2024-10-07 15:21:44 +03:00
771d8b9c2f add data folders to all apps 2024-10-07 14:15:57 +03:00