This website requires JavaScript.
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
eff9fe6918
twn_util.h: make return structs comply to type naming
veclavtalica
2024-10-28 12:39:42 +0300
d11143ac86
twn_draw.h: new camera api
veclavtalica
2024-10-28 12:34:48 +0300
1d35a3859b
/docs/interop.md: valid relative hyperlinks
veclavtalica
2024-10-22 20:42:07 +0300
9da26638c8
rework input to be in line with rendering semantics
veclavtalica
2024-10-22 20:32:17 +0300
a22bcfd97e
rework timers, update overlap/intersect and other procedures, some other things i dont remember
veclavtalica
2024-10-22 14:45:30 +0300
a527036436
/docs/interop.md
veclavtalica
2024-10-22 13:53:10 +0300
b390e9db23
audio_set() -> audio_set_parameter(), with string based convention
veclavtalica
2024-10-22 13:52:24 +0300
5a08c01208
fix warnings
veclavtalica
2024-10-22 11:06:02 +0300
eff2d9c5e1
direct header includes, remove redundant ones
veclavtalica
2024-10-22 10:39:40 +0300
8aecc2bd06
fix rects render
veclavtalica
2024-10-22 10:05:53 +0300
1296d41ad7
deferred fog, fix of first frame on double buffered option
veclavtalica
2024-10-22 09:47:47 +0300
48f63fc9df
deferred skybox, fixes to use of ARB_depth_clamp extension usage, have TextureKey explicitly in QuadBatch
veclavtalica
2024-10-22 09:30:14 +0300
c49789f1f4
make deferred space triangles work
veclavtalica
2024-10-19 20:02:39 +0300
a7b09b9f39
fix circle rendering over new impl
veclavtalica
2024-10-19 19:16:18 +0300
399b199266
move --gc-sections to shared libraries only
veclavtalica
2024-10-18 20:40:54 +0300
73b6ab047d
make /bin/build.sh use clang if it can find it by default
veclavtalica
2024-10-18 20:33:46 +0300
024f17de91
make cmake output less verbose
veclavtalica
2024-10-18 20:33:25 +0300
92de2c00c0
make use of thinlto for release builds
veclavtalica
2024-10-18 20:33:03 +0300
b683594013
proper size of build_vertex_buffer for circle indices
veclavtalica
2024-10-18 18:45:17 +0300
7e409fc14a
work towards DeferredCommandDraw being universal, support for DeferredCommandDepthRange, rework of cirlce mesh (has a bug still), get_quad_element_buffer() now more general, as it should be with gl_any
double
veclavtalica
2024-10-17 21:01:35 +0300
aa3cab87d2
skip switching texture modes when they're the same as the last used
veclavtalica
2024-10-16 22:52:10 +0300
1dc0dea762
no need for packed types no more
veclavtalica
2024-10-16 03:31:02 +0300
7f56ed8421
remove alignas for twn_types.h, it looks to be just as performant and even more in cases i looked at
veclavtalica
2024-10-16 02:32:04 +0300
119b706638
minor optimizations over sprite path
veclavtalica
2024-10-15 19:32:42 +0300
f2bbc1863e
cache sprite srcrects
veclavtalica
2024-10-15 18:43:02 +0300
768daf1f54
move pipelines and texture modes to deferred commands
veclavtalica
2024-10-15 18:35:08 +0300
139394c6de
partial implementation of double buffered render
veclavtalica
2024-10-15 15:29:45 +0300
446402c2e0
don't write unused color to vertices, utilize flat shading for only 2 important edges
veclavtalica
2024-10-14 21:23:44 +0300
f7a718003e
send vertex data packed
veclavtalica
2024-10-14 20:19:18 +0300
f087bf1f7f
fix depth clearing, ghostly modes not using depth layers, ortho with 0..1
veclavtalica
2024-10-14 16:00:27 +0300
19bf88d44e
finally properly implemented depth optimization for 2d
veclavtalica
2024-10-14 15:31:56 +0300