veclavtalica
|
53c43a8f34
|
various SDL hints to try out !
|
2025-02-04 01:04:34 +03:00 |
|
veclavtalica
|
00636d65a9
|
fix resizing events, clean up the code
|
2025-02-04 00:24:31 +03:00 |
|
veclavtalica
|
c6cbf941a2
|
introduce audio_model = "push" to twn.toml
|
2025-02-04 00:21:30 +03:00 |
|
veclavtalica
|
2120f6876c
|
camera reset and default state
|
2025-02-02 01:41:02 +03:00 |
|
veclavtalica
|
dfd888a80a
|
don't bypass x11 compositor
|
2025-02-02 00:50:26 +03:00 |
|
veclavtalica
|
74d7190c62
|
ilimination of system code, removal of x-watcher and replacement of it by dmon, fixes in audio code, dynamic asset reload
|
2025-01-30 04:30:20 +03:00 |
|
veclavtalica
|
4b2a22bf3c
|
twn_filewatch.c: file and directory change api, initial support for texture reload
|
2025-01-29 07:21:09 +03:00 |
|
veclavtalica
|
7c33107585
|
game.background_color option in twn.toml
|
2025-01-27 05:05:43 +03:00 |
|
veclavtalica
|
166ae43981
|
make face culling optional
|
2025-01-27 04:15:46 +03:00 |
|
veclavtalica
|
a54657e7be
|
twn_loop.c: limit minimum amount of delay
|
2025-01-26 18:34:34 +03:00 |
|
veclavtalica
|
cf8227d7d3
|
twn_loop.c: place SDL_Delay() to not waste CPU time
|
2025-01-26 12:06:00 +03:00 |
|
veclavtalica
|
6a029b7e79
|
fix audio overrun
|
2025-01-26 09:39:31 +03:00 |
|
veclavtalica
|
fad46137a0
|
set ctx.frame_duration
|
2025-01-26 09:09:21 +03:00 |
|
veclavtalica
|
9ddc5c4a66
|
twn_timer.c: time limiter for game ticks
|
2025-01-26 02:37:21 +03:00 |
|
veclavtalica
|
16bd49b42e
|
twn_util.c: show profiles in milliseconds when appropriate, don't include time taken for profile internals
|
2025-01-26 01:42:12 +03:00 |
|
veclavtalica
|
3f9906a918
|
remove fog start and fog end parameters
|
2025-01-20 19:30:17 +03:00 |
|
veclavtalica
|
2de536210b
|
fix --release switch
|
2025-01-15 07:58:42 +03:00 |
|
veclavtalica
|
449d4d3c32
|
move opengl library loading to a thread that starts as soon as possible and is awaited as late as we can allow
|
2025-01-15 07:54:45 +03:00 |
|
veclavtalica
|
8233f31269
|
oopsie
|
2025-01-15 06:50:19 +03:00 |
|
veclavtalica
|
45b8b21ec3
|
add todo
|
2025-01-15 06:08:55 +03:00 |
|
veclavtalica
|
db530ca3a0
|
make audio device init delayed until first use
|
2025-01-15 05:43:56 +03:00 |
|
veclavtalica
|
f0dfd5627a
|
more startup profiling, removal of irrelevant calls and zeroing in textures_cache_init()
|
2025-01-15 05:39:18 +03:00 |
|
veclavtalica
|
0da1e413aa
|
only init the necessary with SDL, speeding up the startup
|
2025-01-15 05:00:45 +03:00 |
|
veclavtalica
|
1ba33bdc26
|
collect profile of startup and pack resolution
|
2025-01-15 04:47:36 +03:00 |
|
veclavtalica
|
760515c551
|
minor optimization of strncmp for literal comparison
|
2025-01-15 04:36:00 +03:00 |
|
veclavtalica
|
d5b42fa242
|
add a todo
|
2025-01-15 01:01:16 +03:00 |
|
veclavtalica
|
851ab80292
|
remove ctx.update_multiplicity
|
2025-01-15 00:52:42 +03:00 |
|
veclavtalica
|
688d71953a
|
make inputs up-to-date for game tick
|
2025-01-15 00:43:46 +03:00 |
|
veclavtalica
|
63abf3d374
|
disable vsync, make us rule over frames fully
|
2025-01-15 00:31:17 +03:00 |
|
veclavtalica
|
5059802d09
|
big rendering overhaul (cleaning and api abstraction)
|
2025-01-14 23:20:54 +03:00 |
|
veclavtalica
|
86bf16b680
|
make mouse movement and capture depend on window focus
|
2025-01-14 02:07:54 +03:00 |
|
veclavtalica
|
6298394957
|
twn_audio.c: a lot of fixes, optional TWN_FEATURE_PUSH_AUDIO for converging game ticks and audio, proper .wav handling with resample
|
2025-01-13 23:52:55 +03:00 |
|
veclavtalica
|
46e077ba63
|
make ctx.frame_number overflow to 0
|
2025-01-11 17:33:05 +03:00 |
|
veclavtalica
|
313108092b
|
don't use clamped float random_seed internally
|
2025-01-10 02:52:04 +03:00 |
|
veclavtalica
|
951d9c76c8
|
use floats for ctx.frame_number and ctx.random_seed
|
2025-01-10 02:20: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
|
dc2535358e
|
make input coordinates respect the viewport
|
2024-12-24 10:24:50 +03:00 |
|
veclavtalica
|
2f94e17852
|
twn_util_c.h: profile_list_stats() for average summary, without spam in console
|
2024-11-04 16:22:13 +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
|
9da26638c8
|
rework input to be in line with rendering semantics
|
2024-10-22 20:32:17 +03:00 |
|
|
139394c6de
|
partial implementation of double buffered render
|
2024-10-15 15:29:45 +03:00 |
|
|
da98c0941b
|
effort to have no warnings once again
|
2024-10-13 21:32:31 +03:00 |
|
|
1a7322dccf
|
twn_util.h: separate internal things away, remove indirect includes in places
|
2024-10-12 21:16:25 +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 |
|
|
667b599c19
|
remove /include/twn_config.h, move defauls to relevant headers
|
2024-10-11 20:21:02 +03:00 |
|
|
9b5c043d85
|
fix warnings
|
2024-10-08 10:30:11 +03:00 |
|
|
68df2eecfc
|
fix an oopsie
|
2024-10-08 10:13:07 +03:00 |
|
|
0ede612bec
|
twn_input: singleton rework, twn_control.h and fixes
|
2024-10-08 10:12:47 +03:00 |
|
|
fab958c963
|
twn_loop.c: use event watcher for more immediate resize redraw
|
2024-10-07 22:35:48 +03:00 |
|
|
7d92eff691
|
twn_loop.c: better log for /twn.toml misaccess
|
2024-10-07 20:57:02 +03:00 |
|