Commit Graph

53 Commits

Author SHA1 Message Date
veclavtalica
f25e27b102 changes to build system, emscipten progress (can render solid color, yippie!) 2025-02-21 19:06:19 +03:00
veclavtalica
dd4fc45be3 attempt to build web version out of emscripten legacy gl wrapper 2025-02-21 18:07:04 +03:00
veclavtalica
a020b92824 /apps/demos/crawl: facing textures 2025-02-21 02:00:00 +03:00
veclavtalica
b6347996f9 /apps/demos/crawl: new tile texture, solid walls 2025-02-21 01:36:46 +03:00
veclavtalica
66c525a0d4 /apps/demos/crawl: visuals and stuff 2025-02-21 01:13:53 +03:00
veclavtalica
80a4ae3d0e progress on /apps/demos/crawl 2025-02-20 22:20:02 +03:00
veclavtalica
bd3b090f6f add /apps/demos/crawl 2025-02-20 20:10:37 +03:00
veclavtalica
b67bc92857 remove optional by pointer texture_region parameters 2025-02-20 16:19:03 +03:00
veclavtalica
5228fa7e41 update platformer demo 2025-02-20 13:54:42 +03:00
veclavtalica
5a83381ae1 twn_draw: texture_region option for draw_billboard() 2025-02-15 22:42:14 +03:00
veclavtalica
f81c583319 push as is, half baked broken twn_models.c 2025-02-14 19:51:34 +03:00
veclavtalica
7040d6f218 wip model loading + workers 2025-02-07 10:19:36 +03:00
veclavtalica
d9df3f9b04 twn_draw.c: draw_camera_2d()! 2025-02-05 00:54:38 +03:00
veclavtalica
02b5ac4cc3 input system rework 2025-02-04 07:32:25 +03:00
veclavtalica
3f264ca0ad remove busted free 2025-01-31 02:52:33 +03:00
veclavtalica
bd89c4b938 fix mixing up of SDL and libc allocators, proper flushing of quad build buffers 2025-01-30 21:57:20 +03:00
veclavtalica
637343db5b /apps/twnlua: use minilua single source amalgam 2025-01-29 01:24:58 +03:00
veclavtalica
bbd654a569 /apps/demos/scenery: update to new api 2025-01-27 05:08:35 +03:00
veclavtalica
3f9906a918 remove fog start and fog end parameters 2025-01-20 19:30:17 +03:00
veclavtalica
80c77424e2 /apps/demos/scenery: more detailed terrain 2025-01-15 00:30:46 +03:00
veclavtalica
5059802d09 big rendering overhaul (cleaning and api abstraction) 2025-01-14 23:20:54 +03:00
veclavtalica
b7cb37c06a no TWNBUILDDIR 2025-01-14 04:47:53 +03:00
veclavtalica
4ed3764c1d twn_input.c: remove input_mouse_captured(), add ctx.mouse_capture 2025-01-14 00:28:21 +03:00
veclavtalica
3052bb693a /apps/demos/scenery: skip title scene 2025-01-13 17:36:18 +03:00
veclavtalica
8c401eda75 api changes and progress on filling in twn_api.json 2025-01-07 14:14:21 +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
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
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