Commit Graph

24 Commits

Author SHA1 Message Date
veclavtalica
cb88b4bcc5 delay subsystems, detach opengl load thread, post background color on init 2025-02-05 03:31:07 +03:00
veclavtalica
c6cbf941a2 introduce audio_model = "push" to twn.toml 2025-02-04 00:21:30 +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
bf3eb50b55 twn_audio.c: only apply volume scaling on mixing of different streams 2025-01-26 11:08:13 +03:00
veclavtalica
6a029b7e79 fix audio overrun 2025-01-26 09:39:31 +03:00
veclavtalica
40aef0a1f9 scale in mixing to prevent excessive gain 2025-01-15 21:31:19 +03:00
veclavtalica
db530ca3a0 make audio device init delayed until first use 2025-01-15 05:43:56 +03:00
veclavtalica
760515c551 minor optimization of strncmp for literal comparison 2025-01-15 04:36:00 +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
eefd53a630 twn_audio.c: .wav support and scratch channels 2025-01-13 19:56:20 +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
b390e9db23 audio_set() -> audio_set_parameter(), with string based convention 2024-10-22 13:52:24 +03:00
veclavtalica
eff2d9c5e1 direct header includes, remove redundant ones 2024-10-22 10:39:40 +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
667b599c19 remove /include/twn_config.h, move defauls to relevant headers 2024-10-11 20:21:02 +03:00
ae8cc5f50b twn_audio: rework interface 2024-10-07 15:21:44 +03:00
8c34d5afe2 twn_audio: capitalize warn 2024-10-01 12:59:40 +03:00
a0ea657eb9 twn_audio: settle down on float32 2-channel sampling only, format enums to style used elsewhere 2024-10-01 12:59:01 +03:00
0481962859 twn_audio.c: no push api for stb_vorbis.h 2024-09-27 18:04:16 +03:00
0fe1023667 use SDL stdlib where possible 2024-09-25 19:42:34 -03:00
73bf92e706 typedef & PascalCase for ALL structs and enums 2024-09-23 14:43:16 -03:00
16c96010dc finally compiling and running, text still needs rework 2024-09-16 16:17:00 +03:00
551d60ef85 partially done work on total source tree rework, separation of engine context and game context, generalization of renderer for different backends as well as web platform target 2024-09-16 09:07:01 +03:00