Commit Graph
100 Commits
Author SHA1 Message Date
veclavtalica 826622cd58 twn_draw: proper ortho unproject 2025-03-08 04:38:56 +03:00
veclavtalica 78b6a26de9 twndel: fix y axis point move 2025-03-08 04:10:14 +03:00
veclavtalica 5f7b8bac6d undo, axis editing 2025-03-08 02:20:31 +03:00
veclavtalica 6d6230c6a1 twn_audio: fix ogg vorbis sample reuse 2025-03-08 01:38:38 +03:00
veclavtalica c07e16490e model tool progress: initial selection 2025-03-08 00:50:47 +03:00
veclavtalica f5e55bb997 /apps/tools/twndel: point selection, sounds and other assets 2025-03-07 20:56:19 +03:00
veclavtalica 1e6e323fe1 twn_draw: remove logging 2025-03-07 20:21:36 +03:00
veclavtalica dbf9599fe5 twn_api.json: add draw_camera_unproject() 2025-03-07 19:40:56 +03:00
veclavtalica 923cd81571 twn_draw: draw_camera_unproject() 2025-03-07 19:31:46 +03:00
veclavtalica 733a1786ab twn_draw: multiply zoom by 0.1 to match projections 2025-03-07 11:16:31 +03:00
veclavtalica a03e1d885d twn_camera: fix aspect of ortho projection 2025-03-07 11:07:05 +03:00
veclavtalica 67feb5974a /apps/tools/twndel: start the thing 2025-03-07 07:10:44 +03:00
veclavtalica 5be4ed4645 twn_lines: bail on empty batch 2025-03-07 07:05:20 +03:00
veclavtalica 4a41f47a58 twn_textures: fix freeing of missed texture 2025-03-07 06:19:44 +03:00
veclavtalica 35bb26705a twn_text: use full ascii range 2025-03-07 05:16:46 +03:00
veclavtalica 13bc71a28d twn_text: embed default font 2025-03-07 03:35:35 +03:00
veclavtalica b97a155de4 /bin: make utilities quit on error 2025-03-07 02:56:12 +03:00
veclavtalica 5df80addeb /apps/demos/scenery: no drifting :( 2025-03-07 00:51:07 +03:00
veclavtalica 787977b747 /apps/demos/scenery: drift ! steer ! 2025-03-05 05:26:05 +03:00
veclavtalica f90b973d86 /apps/demos/scenery: more than almost 2025-03-04 09:45:49 +03:00
veclavtalica 32675c012c /apps/demos/scenery: ...almost...🚬 2025-03-04 03:30:01 +03:00
veclavtalica a97515e948 twn_textures.c: fix atlas packing, allow out of order population 2025-03-03 00:57:19 +03:00
veclavtalica ed8e826b94 /apps/demos/scenery: something... 2025-03-02 23:19:27 +03:00
veclavtalica 4e5ff9433c /apps/demos/scenery: box is almost coherent... 2025-03-02 03:37:02 +03:00
veclavtalica 55829a1bef /apps/demos/scenery: fix world origin relation 2025-03-02 01:04:09 +03:00
veclavtalica 119bd52c51 /apps/demos/scenery: some friction 2025-03-02 00:02:32 +03:00
veclavtalica 5abd1ced1c /apps/demos/scenery: vehicle... 2025-03-01 16:42:14 +03:00
veclavtalica 80db96672d stb_ds.h: fix implicit casts to int, resulting in bogus bitshift 2025-03-01 12:15:41 +03:00
veclavtalica 2f6f7852be twn_api.json: add draw_line_3d() 2025-03-01 03:59:55 +03:00
veclavtalica 307d5552f6 twn_lines.c: 3d case 2025-03-01 03:46:11 +03:00
veclavtalica 5911cbd980 take care of warnings 2025-03-01 01:06:32 +03:00
veclavtalica e47b761a2c twn_lines.c: introduction with proper impl 2025-02-28 23:50:12 +03:00
veclavtalica 844283c2fb /apps/examples/cirlce-raster: update 2025-02-28 17:35:58 +03:00
veclavtalica 09eac707c3 draw: use GLint in circle element buffer 2025-02-28 17:27:01 +03:00
veclavtalica 5e89710458 rename twn_engine_api.h to twn_api.h 2025-02-28 16:42:33 +03:00
veclavtalica 4bc1feb826 /apps/demos/scenery: fix ramp bug, increase gravity 2025-02-26 23:19:22 +03:00
veclavtalica 1c3973c6a2 /apps/demos/scenery: narrower cull, new assets used 2025-02-26 19:57:38 +03:00
veclavtalica da5bdb4fae /apps/demos/scenery: increase walking speed a bit 2025-02-26 17:22:02 +03:00
veclavtalica ed2afec5a7 /apps/demos/scenery: culling 2025-02-26 17:08:45 +03:00
veclavtalica 6812c7c13d add trees to scenery, disable mipmapping by default, increase index buffer size again 2025-02-26 16:17:44 +03:00
veclavtalica 8c0f43ec34 draw: draw_distance for 3d spaces, proper positioning of skybox according to it, scenery demo on circle rasters 2025-02-26 15:53:59 +03:00
veclavtalica 23fbd45564 increase quad element buffer size 2025-02-26 13:29:28 +03:00
veclavtalica a36459397e draw: increase far Z, separate path for space quads, fix billboard batching 2025-02-26 13:27:09 +03:00
veclavtalica 5f3920fdba /apps/demos/scenery: use quads 2025-02-26 11:28:59 +03:00
veclavtalica f57525cea6 /apps/demos/scenery: remove title scene 2025-02-26 11:26:38 +03:00
veclavtalica 6b2901be28 /apps/demos/crawl: cleanup, document 2025-02-25 22:20:35 +03:00
veclavtalica 9f0d15b9f6 /apps/twnlua: add ---@meta annotation 2025-02-23 22:07:32 +03:00
veclavtalica b46331e08d no c brain 2025-02-23 17:34:00 +03:00
veclavtalica d2938da8e2 /apps/demos/crawl: dont scale by 2 2025-02-23 17:28:45 +03:00
veclavtalica 9134e51817 /apps/demos/crawl: add LICENSES 2025-02-23 17:19:33 +03:00
veclavtalica d66eda1894 add texture border to atlas residents, actually make use of mipmapping 2025-02-23 17:14:05 +03:00
veclavtalica a88392b9e9 /docs/wiki: T1.4 Developing 2025-02-22 21:21:42 +03:00
veclavtalica 05f85062e8 fix command lists 2025-02-22 20:50:38 +03:00
veclavtalica d5aec5e6e1 /bin/twn: devcompl command to generate clangd completions in root 2025-02-22 20:29:28 +03:00
veclavtalica 62866d33ae add notes explaining emscripten considerations 2025-02-22 16:19:22 +03:00
veclavtalica ce7240d423 dont generate source maps for web as it crashes lua build 2025-02-22 01:39:04 +03:00
veclavtalica 7a38f7bcf3 /bin/twnbuild: fix cmake cache for web target 2025-02-22 01:32:55 +03:00
veclavtalica affaf7f557 cleanup templates 2025-02-22 01:14:20 +03:00
veclavtalica a223506a5f /bin/twn: support run command for --target=web 2025-02-22 00:39:24 +03:00
veclavtalica 98d7d76a42 twn.png 2025-02-21 23:34:12 +03:00
veclavtalica 814269ab0c textures working on web, separation of vertex and index buffers (actually matters) 2025-02-21 23:34:01 +03:00
veclavtalica d76ea06470 poll workers for non-threaded support, emscripten main loop, remove twn_model.c 2025-02-21 21:16:15 +03:00
veclavtalica dc6b298532 proper-er vector op flags 2025-02-21 19:37:22 +03:00
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 85e47dd677 api return restriction 2025-02-21 12:48:51 +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 70fab28158 /apps/twnlua: catch self-include stack busting 2025-02-21 00:18:22 +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 6eb0730c52 mark identity parameter in log_ functions optional 2025-02-20 19:52:14 +03:00
veclavtalica a231d650f2 twn_util.c: add file_read() 2025-02-20 19:51:52 +03:00
veclavtalica e15975bfaa update to lua template 2025-02-20 17:25:11 +03:00
veclavtalica b67bc92857 remove optional by pointer texture_region parameters 2025-02-20 16:19:03 +03:00
veclavtalica 991196f7c8 update to docs 2025-02-20 16:03:50 +03:00
veclavtalica 0b89c90ad7 move /docs/interop.md to about-townengine.html 2025-02-20 15:42:05 +03:00
veclavtalica 3d51c8c48f update about-townengine.html 2025-02-20 14:29:30 +03:00
veclavtalica 21d8e2c5a5 actually set the interval 2025-02-20 14:06:18 +03:00
veclavtalica f805bf3f92 add interval from timer_elapse_seconds() result, add timers to twn_api.json 2025-02-20 14:04:04 +03:00
veclavtalica 5228fa7e41 update platformer demo 2025-02-20 13:54:42 +03:00
veclavtalica f044a75ffe reorganization of twn_util.h, reletion of some seldom used procedures 2025-02-20 13:48:44 +03:00
veclavtalica 723ccf1126 combine twn_texture_modes.h into twn_textures_c.h 2025-02-20 13:05:17 +03:00
veclavtalica 6bd3afe9b2 move and combine option macro headers from public interface 2025-02-20 13:01:02 +03:00
veclavtalica d90bf4cbe2 twn_audio.c: fix freeing on unnamed channels 2025-02-19 21:17:13 +03:00
veclavtalica 48f34f4623 twn_audio.c: fix unnamed channel audio 2025-02-19 21:13:21 +03:00
veclavtalica 9c007f34df remove /docs/packaging.txt 2025-02-17 21:16:53 +03:00
veclavtalica 9beef7686e bug suggest 2025-02-16 01:40:17 +03:00
veclavtalica cee344c7c1 /docs/wiki/packaging.html 2025-02-16 01:31:42 +03:00
veclavtalica 835edd737c Merge pull request 'twn: add twn to project on twn init' (#2) from yagi/townengine:twn-init-symlink-twn into main
Reviewed-on: http://tochie.space:3001/veclavtalica/townengine/pulls/2
2025-02-16 00:15:54 +03:00
veclavtalica d4ce6ab9ec add license file to tomlc99 dist 2025-02-16 00:11:18 +03:00
veclavtalica 24b417c287 twn_loop.c: watch pack changes from pack dependencies 2025-02-15 23:37:57 +03:00
veclavtalica 5a83381ae1 twn_draw: texture_region option for draw_billboard() 2025-02-15 22:42:14 +03:00
veclavtalica 793bd850f6 /apps/twnlua: ctx.udata preservation in reload, no export in .so, ignore /data/scripts/twnapi.lua 2025-02-15 22:19:14 +03:00
veclavtalica 29d163216c --no-sanity-timer option and its use in twn gdb 2025-02-15 15:09:01 +03:00
veclavtalica ffc3badc50 /apps/twnlua: output lua_loadbuffer errors 2025-02-14 21:52:06 +03:00
veclavtalica bedfe0cdfb fix twnlua :deadinside: 2025-02-14 21:07:59 +03:00
veclavtalica 927f284fda Merge branch 'yagi-disable-luaserver-diag' 2025-02-14 20:45:29 +03:00
veclavtalica cc4f7f7417 /apps/twnlua/docgen.py: remove Control legacy 2025-02-14 20:38:09 +03:00