Alibek Omarov
8d6ac3fad4
engine: common: net_encode: cosmetic changes, static-ize functions, move private macros
2 years ago
Alibek Omarov
d4610e30fd
engine: common: net_encode: fix strict aliasing by converting it to use float_bits_t union
2 years ago
Velaron
0e286f31c5
engine: client: fix DT_TIMEWINDOW_* signedness
3 years ago
Alibek Omarov
ea5937bce0
engine: net_encode: remove naive clientdata/weapondata copy, only copy fields explicitly listed in deltalst
3 years ago
Alibek Omarov
6e4ab74694
engine: net_encode: split delta "no changes" copy into separate function
3 years ago
Alibek Omarov
f9d0fba05f
wscript: remove duplicated branches diagnostic for good
3 years ago
Alibek Omarov
01b2266b7e
engine: net_encode: minor code style fix
3 years ago
Alibek Omarov
29a8bfb1dc
engine: common: fix ParseFile calls
3 years ago
SNMetamorph
09d647182d
engine: net_encode: equality comparisions replaced with Q_equal macros
3 years ago
SNMetamorph
8b76ab93fb
engine: net_encode: made delta more GoldSrc consistant
3 years ago
Alibek Omarov
6063149b93
engine: match DT_TIMEWINDOW_* behaviour to GoldSrc: it's always signed and it's more of an integer than float value
3 years ago
Alibek Omarov
a28d15e519
engine: match DT_TIMEWINDOW_* behaviour to GoldSrc: it's always signed and it's more of an integer than float value
3 years ago
Alibek Omarov
ddd48c420b
engine: decrease instanced baseline index by minus one to avoid zero offset which interpreted as no baseline at all
4 years ago
Alibek Omarov
23974d24c3
engine: try to avoid broken -Werror=duplicated-branches for old GCCs 2
4 years ago
Alibek Omarov
868947cbb4
engine: try to avoid broken -Werror=duplicated-branches for old GCCs
4 years ago
Alibek Omarov
331a2046c8
engine: net: fix delta incorrect casts when field is signed
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
Andrey Akhmichin
abd9778ef3
engine: common: simplified strings operations.
4 years ago
Andrey Akhmichin
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
5 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
5 years ago
Alibek Omarov
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
5 years ago
Alibek Omarov
b175d8a0cb
engine: net_encode: due to bug in GCC <9, disable duplicated-branches here
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
4beba75159
engine: fix various compiler warnings
5 years ago
Alibek Omarov
b16529cc65
Apply 4511 update
5 years ago
Alibek Omarov
c215b89923
Apply 4483 update
6 years ago
Alibek Omarov
6ba406be7d
legacymode: some codestyle fixes
6 years ago
mittorn
5e65df3c2a
legacymode: fix numFields for movevars_t
6 years ago
mittorn
b534422aed
Clean delta when getting delta from server
6 years ago
mittorn
1866c00789
legacymode: fix dedicated server build
6 years ago
mittorn
6a02a571c1
Legacy protocol compatibility (cl_legacymode)
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago
Alibek Omarov
1e7f9d00c3
Apply 4150 update
7 years ago
Alibek Omarov
814b7eda07
Apply 4140 update
7 years ago
Alibek Omarov
5d13112e25
Dedicated build
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago