Alibek Omarov
f2a9f805b8
engine: client: redefine some cvars as filterable
2021-11-23 05:23:38 +03:00
Alibek Omarov
36702aafe7
engine: rename FCVAR_LOCALONLY and CMD_LOCALONLY into FCVAR_PRIVILEGED and CMD_PRIVILEGED
2021-11-23 05:23:38 +03:00
Alibek Omarov
8a9231628e
engine: restrict potentially harmful or related to user settings engine cvars
2021-11-23 05:23:38 +03:00
Alibek Omarov
b9901bcb70
engine: client: forgot to register s_warn_late_precache cvar
2021-11-01 14:49:30 +06:00
Alibek Omarov
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
Alibek Omarov
a3a8acfe6c
engine: sound: add DSP coeffecients table from Half-Life Alpha, minor fixes to DSP code
2021-10-04 05:43:35 +03:00
Alibek Omarov
0efc5e82ec
engine: fix some const qualifier lose and pointer-to-int casts
2021-07-20 16:03:06 +03:00
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
2021-06-07 02:33:15 +03:00
Alibek Omarov
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
Alibek Omarov
3d9a4560d5
client: make sound cvars statically allocated, to avoid access to invalid pointers in the future
2021-03-09 23:59:29 +03:00
Alibek Omarov
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
Andrey Akhmichin
5aef09ce5d
engine: client: simplified strings operations.
2020-12-29 01:07:00 +03:00
mittorn
3a416636f1
engine: mark GAME_EXPORT's
2020-01-19 08:15:54 +07:00
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
2019-07-19 20:23:08 +03:00
Alibek Omarov
b2895770b8
platform: remove unneeded argument from SNDDMA_Init
2019-07-12 22:42:13 +03:00
Alibek Omarov
62fb743a20
engine: sound: clear leftovers from previous commit
2019-07-09 13:24:24 +03:00
Alibek Omarov
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
Alibek Omarov
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
2019-02-18 21:25:26 +03:00
Alibek Omarov
80fc7209ed
sound: move related function declarations to platform header. Remove unused.
2019-01-07 04:07:06 +03:00
Alibek Omarov
b9945d62a3
Apply 4312 update
2018-11-27 16:15:24 +03:00
Alibek Omarov
622de7a7f1
Apply 4312 update
2018-11-27 16:11:26 +03:00
Alibek Omarov
a03aa3ddb3
Merge 4281 update
2018-10-28 00:39:29 +03:00
Alibek Omarov
aae3510763
Apply 4281 update
2018-10-27 23:32:09 +03:00
mittorn
491188a0f3
Merge branch 'original'
2018-10-04 14:27:14 +07:00
mittorn
5c738b3402
Apply 4253 update
2018-10-04 13:08:48 +07:00
Alibek Omarov
2edbcb996d
Merge 4150 update. Fix some mistypings. Rename CL_IsQuakeCompatible to Host_IsQuakeCompatible, as it may be used in whole engine and even in dedicated builds. IN_RecalcCenter was not added, window center positions should be updated by backends.
2018-06-19 16:59:53 +03:00
Alibek Omarov
1e7f9d00c3
Apply 4150 update
2018-06-19 16:22:30 +03:00
Alibek Omarov
f26ac52102
Merge 4140 update
2018-06-11 14:04:50 +03:00
Alibek Omarov
814b7eda07
Apply 4140 update
2018-06-09 01:28:35 +03:00
Alibek Omarov
86dfaf9930
Fix too loud entities in multiplayer
2018-05-03 17:41:39 +03:00
Alibek Omarov
5744aa8d9e
Add SDL sound backend
2018-04-17 03:44:53 +03:00
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
2018-04-13 19:23:45 +03:00