Alibek Omarov
f435a81c97
engine: soundlib: rewrite sfx resampler, fix possible crash if sfx is too long
...
- make same rate and same width resamples noop, as everything signed now
- minimize comparisons in loop body
2 years ago
Владислав Сухов
d3437c70bd
engine: soundlib: fix wrong sample rate unit
2 years ago
Alibek Omarov
5aa6bfee85
engine: first attempts on fuzzing the engine
3 years ago
Alibek Omarov
fe2c4af8c2
engine: soundlib: make Sound_GetApproxWavePlayLen behave like in GoldSrc
4 years ago
Alibek Omarov
3e7dd30fd7
engine: soundlib: use stdint definitions for WAV headers
4 years ago
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:]]\+$//' {} \+
```
4 years ago
Alibek Omarov
dc2ab714f6
mpg123: backport some UB fixes from upstream
4 years ago
Alibek Omarov
aa6674b032
engine: support compiling with gcc3
5 years ago
Alibek Omarov
0dd91ceda2
xash3d-fwgs: append missing new line at the end of file
5 years ago
Alibek Omarov
1decb1c7fb
xash3d-fwgs: append missing new line at the end of file
5 years ago
Alibek Omarov
edf3fcd398
engine: common: explicitly cast literals to floats, include tgmath when needed
5 years ago
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
5 years ago
Alibek Omarov
cedc1e0eb2
engine: soundlib: show mpg123 errors in console
5 years ago
Alibek Omarov
4beba75159
engine: fix various compiler warnings
5 years ago
Alibek Omarov
b16529cc65
Apply 4511 update
5 years ago
Alibek Omarov
fe14a360b4
engine: fix fs_offset_t/size_t conversion, const qualifiers
5 years ago
mittorn
298393b653
Initial amd64 port
6 years ago
Alibek Omarov
aae3510763
Apply 4281 update
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago
Alibek Omarov
1e7f9d00c3
Apply 4150 update
6 years ago
Alibek Omarov
814b7eda07
Apply 4140 update
6 years ago
Alibek Omarov
efe8ddf151
Fix missing const-qualifiers in engine code. Fix qboolean/int mixing in interface implementations(int is preferred). Replace long by int in COM_RandomLong.
6 years ago
mittorn
c1076f43f7
Update client engine interface
6 years ago
Alibek Omarov
a2e2dd5bdf
Add libmpg source
6 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
6 years ago