This website requires JavaScript.
8a5d639f95
remove indirection in vertex builder
main
veclavtalica
2025-01-17 22:48:35 +0300
40aef0a1f9
scale in mixing to prevent excessive gain
veclavtalica
2025-01-15 21:31:19 +0300
2de536210b
fix --release switch
veclavtalica
2025-01-15 07:58:42 +0300
449d4d3c32
move opengl library loading to a thread that starts as soon as possible and is awaited as late as we can allow
veclavtalica
2025-01-15 07:54:45 +0300
8233f31269
oopsie
veclavtalica
2025-01-15 06:50:19 +0300
45b8b21ec3
add todo
veclavtalica
2025-01-15 06:08:55 +0300
4659cf2aef
profile atlas recreation
veclavtalica
2025-01-15 06:04:02 +0300
db530ca3a0
make audio device init delayed until first use
veclavtalica
2025-01-15 05:43:56 +0300
f0dfd5627a
more startup profiling, removal of irrelevant calls and zeroing in textures_cache_init()
veclavtalica
2025-01-15 05:39:18 +0300
0da1e413aa
only init the necessary with SDL, speeding up the startup
veclavtalica
2025-01-15 05:00:45 +0300
8c165974c7
twn_util.c: make profiler collect worst case, dispaly the stats with awareness of sample count
veclavtalica
2025-01-15 04:55:18 +0300
1ba33bdc26
collect profile of startup and pack resolution
veclavtalica
2025-01-15 04:47:36 +0300
760515c551
minor optimization of strncmp for literal comparison
veclavtalica
2025-01-15 04:36:00 +0300
9d0a2cab81
expose audio to twnlua
veclavtalica
2025-01-15 04:15:08 +0300
d5b42fa242
add a todo
veclavtalica
2025-01-15 01:01:16 +0300
851ab80292
remove ctx.update_multiplicity
veclavtalica
2025-01-15 00:52:42 +0300
688d71953a
make inputs up-to-date for game tick
veclavtalica
2025-01-15 00:43:46 +0300
63abf3d374
disable vsync, make us rule over frames fully
veclavtalica
2025-01-15 00:31:17 +0300
80c77424e2
/apps/demos/scenery: more detailed terrain
veclavtalica
2025-01-15 00:30:46 +0300
82d4f21a4b
twn_textures.c: minor optimization
veclavtalica
2025-01-15 00:11:47 +0300
3990f78a74
twn_textures.c: make missing texture single and reused
veclavtalica
2025-01-15 00:10:30 +0300
f0ad9b9a8a
twn_textures.c: fix repeated bind to work over varying channel count
veclavtalica
2025-01-14 23:47:59 +0300
ea0af5159f
only enable fog for 3d
veclavtalica
2025-01-14 23:28:48 +0300
5059802d09
big rendering overhaul (cleaning and api abstraction)
veclavtalica
2025-01-14 23:20:54 +0300
b7cb37c06a
no TWNBUILDDIR
veclavtalica
2025-01-14 04:47:53 +0300
664f123a85
twn_input.c: zero ctx.mouse_movement on focus lost
veclavtalica
2025-01-14 02:56:55 +0300
2351d4114c
twn_draw.c: add draw_quad()
veclavtalica
2025-01-14 02:53:18 +0300
86bf16b680
make mouse movement and capture depend on window focus
veclavtalica
2025-01-14 02:07:54 +0300
dbe6217e24
/apps/twnlua: add .gitignore
veclavtalica
2025-01-14 01:37:16 +0300
b037d7a0b9
/apps/twnlua: ctx uploading
veclavtalica
2025-01-14 01:35:54 +0300
e984e95fa8
/apps/twnlua: make dependent on twn_api.json for rebuilding
veclavtalica
2025-01-14 00:30:48 +0300
4ed3764c1d
twn_input.c: remove input_mouse_captured(), add ctx.mouse_capture
veclavtalica
2025-01-14 00:28:21 +0300
6d19d2d819
/apps/twnlua: make no warnings
veclavtalica
2025-01-14 00:06:55 +0300
5bce3e5238
twn_textures.c: remove unused amask
veclavtalica
2025-01-13 23:56:22 +0300
6298394957
twn_audio.c: a lot of fixes, optional TWN_FEATURE_PUSH_AUDIO for converging game ticks and audio, proper .wav handling with resample
veclavtalica
2025-01-13 23:52:55 +0300
eefd53a630
twn_audio.c: .wav support and scratch channels
veclavtalica
2025-01-13 19:56:20 +0300
87ae1a7312
missing textures: fix double free
veclavtalica
2025-01-13 18:09:06 +0300
3052bb693a
/apps/demos/scenery: skip title scene
veclavtalica
2025-01-13 17:36:18 +0300
5f6c8dd8e6
missing texture when loading fails
veclavtalica
2025-01-13 17:35:50 +0300
c694dfff82
use flatshading for space and skip setting irrelevant vertex color
veclavtalica
2025-01-13 09:18:51 +0300
b6ca9bedb4
/apps/twnlua: don't use module tables
veclavtalica
2025-01-13 08:57:21 +0300
8d67e44009
/apps/twnlua: use lua_numberx for slightly more optimized defaults
veclavtalica
2025-01-12 03:50:46 +0300
192907a0db
use slot size of 128 for twnlua allocator
veclavtalica
2025-01-12 03:20:27 +0300
e8b02570a2
slot based allocator for lua, usage of lua_createtable
veclavtalica
2025-01-12 02:44:41 +0300
46e077ba63
make ctx.frame_number overflow to 0
veclavtalica
2025-01-11 17:33:05 +0300
41d0e24780
/apps/twnlua: ctx.udata preservation (not yet for reload case)
veclavtalica
2025-01-11 16:22:41 +0300
777a06a002
/apps/twnlua: expose ctx
veclavtalica
2025-01-11 16:01:41 +0300
313108092b
don't use clamped float random_seed internally
veclavtalica
2025-01-10 02:52:04 +0300
83e2dc5468
make vec4 and matrix types internal
veclavtalica
2025-01-10 02:40:52 +0300
951d9c76c8
use floats for ctx.frame_number and ctx.random_seed
veclavtalica
2025-01-10 02:20:21 +0300
f3848d2d52
progress on twnlua bindgen
veclavtalica
2025-01-09 21:47:08 +0300
8c401eda75
api changes and progress on filling in twn_api.json
veclavtalica
2025-01-07 14:14:21 +0300
5c89c55b3e
/apps/twnlua: support out of tree usage
veclavtalica
2025-01-07 13:22:31 +0300
5b05386bb0
changes to twn.toml specification of resolution, make it optional as well
veclavtalica
2025-01-06 21:19:26 +0300
b0549612a9
/apps/demos/scenery: lock movement direction to a plane
veclavtalica
2025-01-06 15:38:40 +0300
6463ac3dd7
/apps/demos/scenery: separate height_at(), position grass right
veclavtalica
2025-01-06 15:34:12 +0300
e914cad0dd
infer texture mode for triangles
veclavtalica
2025-01-05 23:43:30 +0300
a9d9936cb7
/apps/demos/scenery: reduce fov
veclavtalica
2025-01-05 23:37:08 +0300
4dd028aeae
support arbitrary count of billboards per batch (in regards to preallocated short index buffer)
veclavtalica
2025-01-05 23:36:48 +0300
d7a119a592
fix aspect ratio as well as billboard scaling
veclavtalica
2025-01-05 21:08:54 +0300
cb6c1df0be
disallow ghostly billboards, reenable skybox in scenery demo
veclavtalica
2025-01-05 19:59:23 +0300
3bfa86066e
billboards!
veclavtalica
2025-01-05 19:46:05 +0300
7c0bf39f12
CMakeLists.txt: fix no amalgam build
veclavtalica
2025-01-03 22:04:16 +0300
4f2b8ccd01
separate the rest of general drawing code
veclavtalica
2025-01-03 21:59:00 +0300
472a0657f3
twn_draw.c: remove gl headers
veclavtalica
2025-01-03 21:10:15 +0300
0f368e2700
move render_circle to twn_draw.c
veclavtalica
2025-01-03 21:08:54 +0300
33471b4c46
generalization of deferred commands and any_gl rendering where appropriate
veclavtalica
2025-01-03 21:01:26 +0300
edcb7fc39c
make deferred draw primitives agnostic to backend
veclavtalica
2025-01-03 19:59:19 +0300
f9a8448782
make SpritePrimitive take less space (52 -> 48 bytes)
veclavtalica
2025-01-03 19:48:00 +0300
6d5732cc2b
tweaks to tooling
veclavtalica
2025-01-03 11:55:39 +0300
62d738cbbe
/docs/interop.md: update
veclavtalica
2025-01-03 11:49:00 +0300
f4a3298906
disallow pointer to pointer in api
veclavtalica
2025-01-03 11:45:10 +0300
8ec5a96333
/apps/demos/scenery: cleanup
veclavtalica
2025-01-02 13:35:13 +0300
4277852fc5
/apps/demos/scenery: add walking
veclavtalica
2025-01-02 13:26:16 +0300
dc2535358e
make input coordinates respect the viewport
veclavtalica
2024-12-24 10:24:50 +0300
190eb1f107
twnlua: use stb_ds.h for enum conversions
veclavtalica
2024-12-24 10:03:19 +0300
e06c879869
twnlua: partial impl for return propagation, input now works
veclavtalica
2024-12-23 22:02:17 +0300
e7ed72dfc0
twnlua: bindgen.py capable of converting share/twn_api.h spec to lua bindings
veclavtalica
2024-12-23 20:59:00 +0300
c4c097f050
Revert "amalgam of batch and bash scripts for twn basetool"
veclavtalica
2024-11-06 17:17:52 +0300
1d34c91106
add .editorconfig
veclavtalica
2024-11-05 16:51:48 +0300
0d81236331
set eol=lf in .gitattributes
veclavtalica
2024-11-05 16:47:30 +0300
f9bb6412b7
make build directory now prefixed with dot, as it what clangd expects, remove .clangd file
veclavtalica
2024-11-05 01:56:50 +0300
b18f6f1d87
CMakeLists.txt: also allow GNU linker to use thinlto cache
veclavtalica
2024-11-04 16:26:56 +0300
2f94e17852
twn_util_c.h: profile_list_stats() for average summary, without spam in console
veclavtalica
2024-11-04 16:22:13 +0300
26a2bf293f
twn_util_c.h: internal profiling api
veclavtalica
2024-11-04 16:04:02 +0300
4b0d584b7e
mark scripts executable again
veclavtalica
2024-11-04 13:36:17 +0300
19215d5795
thinlto with either GNUgold or LDD supported
veclavtalica
2024-11-04 08:32:10 +0300
1c97053675
stb_ds.h: fix STBDS_FREE used outside of implementation
veclavtalica
2024-11-04 08:09:15 +0300
ee7fc42fbc
inclide math.h so that it works under windows
veclavtalica
2024-11-04 07:13:29 +0300
cd9c65212d
amalgam of batch and bash scripts for twn basetool
veclavtalica
2024-11-04 07:13:10 +0300
ccaef34d61
update interop.md
veclavtalica
2024-11-03 23:30:29 +0300
833f7dbc53
update interop.md
veclavtalica
2024-11-03 23:27:10 +0300
a7feb7b61b
update interop.md
veclavtalica
2024-11-03 23:25:06 +0300
4be27816c2
scenery: make render distance come from a define
veclavtalica
2024-11-03 23:09:10 +0300
d794ca862f
remove junky UncoloredSpaceTriangle union, hide vertex generation from generic triangle implementation
veclavtalica
2024-11-03 23:08:53 +0300
26c75ffd7c
optimize case of sequential shared radius circle drawing by reusing the geometry by just offsetting it
veclavtalica
2024-11-03 22:33:18 +0300
e4da4a8b7f
add a TODO
veclavtalica
2024-11-03 21:54:55 +0300
963d549eed
CMakeLists.txt: only put -s for gcc
veclavtalica
2024-10-29 12:32:21 +0300
9121da0675
yet another api rework, removal of integer types in public api, optionals at the end, some cleaning
veclavtalica
2024-10-29 12:25:24 +0300
6464d14b3e
twn_input.h: remove unbinding
veclavtalica
2024-10-28 13:04:07 +0300