8452bec877
engine: client: reduce reads of cls.legacymode
2024-10-14 04:13:10 +03:00
2eb8f88a20
engine: move attenuation none sound spatialize fix to bugcomp mode, as Xash native games use this
2024-09-05 13:50:15 +03:00
96d11df06c
Revert "engine: client: sounds with zero attenuation must get spatialized anyway"
...
This reverts commit 0870536405
.
2024-09-05 13:27:54 +03:00
0870536405
engine: client: sounds with zero attenuation must get spatialized anyway
2024-09-05 01:28:55 +03:00
e9ee4beb9f
engine: client: fix rawchan_t definition so it has true standard flexible array member
2024-08-10 13:46:00 +03:00
1458014a29
engine: remove unused CL_IsInMenu, don't check for Host_IsDedicated in SCR_BeginLoadingPlaque, it's useless
2024-07-10 10:24:22 +03:00
d56e53a347
Replace hardcoded functions names by __func__ macro
...
* while we're here, fix some possible bugs
* and fix -Wformat=2
s/__FUNCTION__/__func__/g
awawawa
2024-06-19 06:53:42 +03:00
b0d12f8bf9
engine: client: fix build
...
Forgot to stage these changes two commits ago =/
2024-06-18 00:01:54 +03:00
0a051832a8
engine: client: do not mute sounds in menu with multiplayer, the bug already been solved different way
2024-06-13 01:07:49 +03:00
13274655d4
engine: client: sound: slight refactoring, removed unused s_listener.velocity
2024-05-06 01:30:06 +03:00
da578f47f1
engine: client: fix sounds being paused in menu and then blasted all at the same time in multiplayer
2024-05-06 00:41:38 +03:00
433e7de686
engine: clean up unused soundlib flags, set SOUND_LOOPED flag on looped sounds
2024-05-05 06:16:57 +03:00
7584bbe47e
engine: client: fix sound mute when losing focus
2024-03-03 19:00:50 +03:00
75d476f9df
engine: fix -Wmissing-prototypes
2024-01-28 09:55:18 +03:00
045caacfee
engine: client: drop skipping random 0.1 second of an ambient sound
2024-01-12 03:27:05 +03:00
27d9fc0afe
engine: client: sound: remove unused functions
2023-04-03 03:55:57 +03:00
53987f47e2
engine: client: use alternative ease-in ease-out function in sound fade
2023-03-30 04:40:54 +03:00
9690fe9334
engine: client: replace some obvious va uses by temp buffer and Q_snprintf
2023-03-13 06:03:44 +03:00
8293bc91d4
engine: client: sound: fix PickDynamicChannel to correctly find channel with minimum time left
2023-02-18 03:37:20 +03:00
SNMetamorph
9f9141823a
engine: added audio backend print to s_info command
2022-08-20 15:36:02 +03:00
SNMetamorph
169ee14724
engine: client: disabled voice on legacy protocol servers
2022-08-18 04:46:11 +03:00
2b9e050f57
engine: voice support
2022-08-18 04:46:11 +03:00
b8dc7494eb
engine: client: move timescale pitch apply to channel mixing
2022-08-16 00:03:44 +03:00
52d1383f14
engine: client: fix various useless checks, unused variables & defines, double assignments and mistypings
2022-05-25 03:50:06 +03:00
85f99c723a
engine: add sys_timescale implementation
2022-03-03 05:38:36 +03:00
f2a9f805b8
engine: client: redefine some cvars as filterable
2021-11-23 05:23:38 +03:00
36702aafe7
engine: rename FCVAR_LOCALONLY and CMD_LOCALONLY into FCVAR_PRIVILEGED and CMD_PRIVILEGED
2021-11-23 05:23:38 +03:00
8a9231628e
engine: restrict potentially harmful or related to user settings engine cvars
2021-11-23 05:23:38 +03:00
b9901bcb70
engine: client: forgot to register s_warn_late_precache cvar
2021-11-01 14:49:30 +06:00
6571c78ed4
engine: client: hide late precache warning under s_warn_late_precache cvar
...
This warn is valid mostly for multiplayer games.
In singleplayer games, this is a false-positive as sentences are hot loaded
2021-10-31 21:06:54 +06:00
a3a8acfe6c
engine: sound: add DSP coeffecients table from Half-Life Alpha, minor fixes to DSP code
2021-10-04 05:43:35 +03:00
0efc5e82ec
engine: fix some const qualifier lose and pointer-to-int casts
2021-07-20 16:03:06 +03:00
9313f7e80e
engine: replace pool pointer by pool handle
2021-06-07 02:33:15 +03:00
a93d9ac71c
engine: platform: simplify sound code
...
Remove SNDDMA_GetSoundtime, because it was mostly copypasted from one
platform code to another.
SNDDMA_GetDMAPos gets removed too, as we have dma.samplepos for that.
2021-03-10 00:16:13 +03:00
3d9a4560d5
client: make sound cvars statically allocated, to avoid access to invalid pointers in the future
2021-03-09 23:59:29 +03:00
4db2aaffc4
client: port fix of spk/speak commands from old engine
2021-03-09 23:34:12 +03:00
Gleb Mazovetskiy
5e0a0765ce
Trim all trailing whitespace
...
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.
Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.
`git blame` becomes less useful on these lines but it already isn't very useful.
Commands:
```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
5aef09ce5d
engine: client: simplified strings operations.
2020-12-29 01:07:00 +03:00
3a416636f1
engine: mark GAME_EXPORT's
2020-01-19 08:15:54 +07:00
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
2019-07-19 20:23:08 +03:00
b2895770b8
platform: remove unneeded argument from SNDDMA_Init
2019-07-12 22:42:13 +03:00
62fb743a20
engine: sound: clear leftovers from previous commit
2019-07-09 13:24:24 +03:00
40211efa9a
engine: sound: remove s_cull and s_phs, because they never worked. It's better to write our own occluder in future or use any opensource library
2019-07-09 13:17:10 +03:00
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
2019-02-18 21:25:26 +03:00
80fc7209ed
sound: move related function declarations to platform header. Remove unused.
2019-01-07 04:07:06 +03:00
b9945d62a3
Apply 4312 update
2018-11-27 16:15:24 +03:00
622de7a7f1
Apply 4312 update
2018-11-27 16:11:26 +03:00
a03aa3ddb3
Merge 4281 update
2018-10-28 00:39:29 +03:00
aae3510763
Apply 4281 update
2018-10-27 23:32:09 +03:00
491188a0f3
Merge branch 'original'
2018-10-04 14:27:14 +07:00