Commit Graph

344 Commits

Author SHA1 Message Date
veclavtalica
66b2f04d9d fix missing texture sizing, fix bordered repeated texture upload, make quads default to repeating for now 2025-03-10 22:10:53 +03:00
veclavtalica
8e15c9ec3c twn_util: dont add empty list 2025-03-10 07:05:45 +03:00
veclavtalica
7b8b9416ba twn_util: file_read() :images 2025-03-10 06:54:10 +03:00
veclavtalica
8ed8158ae6 twn_util: file_read() with :exists 2025-03-10 05:34:29 +03:00
veclavtalica
56530f9864 twn_util: final cleaning up, introducton of powerful file_read() 2025-03-10 05:19:58 +03:00
veclavtalica
adae6be7e5 /apps/tools/twndel: camera translation 2025-03-09 07:38:32 +03:00
veclavtalica
826622cd58 twn_draw: proper ortho unproject 2025-03-08 04:38:56 +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
1e6e323fe1 twn_draw: remove logging 2025-03-07 20:21:36 +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
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
a97515e948 twn_textures.c: fix atlas packing, allow out of order population 2025-03-03 00:57:19 +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
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
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
d66eda1894 add texture border to atlas residents, actually make use of mipmapping 2025-02-23 17:14:05 +03:00
veclavtalica
05f85062e8 fix command lists 2025-02-22 20:50:38 +03:00
veclavtalica
62866d33ae add notes explaining emscripten considerations 2025-02-22 16:19:22 +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
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
a231d650f2 twn_util.c: add file_read() 2025-02-20 19:51:52 +03:00
veclavtalica
b67bc92857 remove optional by pointer texture_region parameters 2025-02-20 16:19:03 +03:00
veclavtalica
21d8e2c5a5 actually set the interval 2025-02-20 14:06:18 +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
a1f4599efd twn_text.c: dont segfault on font not found 2025-02-17 12:32:01 +03:00
veclavtalica
2b26fad983 twn_textures.c: fix error in deinit 2025-02-17 10:50:50 +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
29d163216c --no-sanity-timer option and its use in twn gdb 2025-02-15 15:09:01 +03:00
veclavtalica
f81c583319 push as is, half baked broken twn_models.c 2025-02-14 19:51:34 +03:00
veclavtalica
af1b9caedc twn_audio.c: use SDL2/SDL.h directly in hopes that its used precompiled 2025-02-10 18:23:05 +03:00