Alibek Omarov
0b2cc066dd
engine: fix signed integers encoding with alternate format for GoldSrc protocol
2024-10-11 20:36:09 +03:00
Alibek Omarov
d128997d40
engine: common: add GoldSrc bitbuf operations, add support for GoldSrc signed integers
2024-10-08 03:28:02 +03:00
Alibek Omarov
5efa68757e
engine: remove unused svc_deltapacketbones
2024-10-08 03:27:09 +03:00
Alibek Omarov
cd86f80203
engine: common: make MSG_WriteOneBit inlined, as it's usually called with literal argument
2024-08-22 12:51:47 +03:00
Alibek Omarov
6bfa525080
engine: common: faster and simpler MSG_WriteString
2024-08-08 04:35:55 +03:00
Alibek Omarov
b2d184cfa5
engine: common: add unit tests for net_buffer functions
2024-08-07 02:28:13 +03:00
Alibek Omarov
486bca82e8
engine: add quake svc messages names
2024-06-15 11:04:30 +03:00
Alibek Omarov
db10035d9d
engine: add GoldSrc protocol definitions
2024-04-22 04:02:46 +03:00
Alibek Omarov
1677835b45
engine: common: simplify bit buffer operations
...
Yields a small performance boost
2024-04-08 07:24:53 +03:00
Alibek Omarov
c8945caefc
engine: net_buffer: remove unused MSG_SeekToByte
2024-01-28 20:01:29 +03:00
Alibek Omarov
75d476f9df
engine: fix -Wmissing-prototypes
2024-01-28 09:55:18 +03:00
Alibek Omarov
23f1c43282
engine: common: net_buffer: use uint32_t in place of dword
2023-06-06 00:28:23 +03:00
Alibek Omarov
a7c76ac0bf
engine: common: net_buffer: use stdint.h types in sizebuf_t reading/writing funcs
2023-06-06 00:26:54 +03:00
Alibek Omarov
9cdce1ce69
engine: network: remove unused MSG_Read/WriteBitFloat
2023-04-03 04:17:54 +03:00
Alibek Omarov
885cda971d
engine: common: net_buffer: fix strict aliasing by converting it to use float_bits_t union
2023-03-14 21:29:35 +03:00
Alibek Omarov
fb2ba6a6e2
engine: common: net_buffer: add MSG_WriteStringf wrapper
2023-03-13 05:12:46 +03:00
Alibek Omarov
aaeb18f433
engine: inline version of MSG_BigShort
2023-01-18 19:29:27 +03:00
Alibek Omarov
500ca54550
Revert "engine: get rid of MSG_BigShort, use htons instead, since network headers are always included"
...
This reverts commit a6475f530b
.
2023-01-18 19:21:51 +03:00
Alibek Omarov
a6475f530b
engine: get rid of MSG_BigShort, use htons instead, since network headers are always included
2023-01-14 10:58:04 +03:00
Alibek Omarov
aa6a1db0a9
engine: remove duplicate svc_strings definition
2022-12-01 00:34:33 +03:00
Alibek Omarov
a547526e86
engine: fix some signed char cases
2021-07-20 15:18:55 +03:00
Alibek Omarov
d54a648792
engine: common: avoid sign bit loss in MSG_WriteBitLong
2021-06-01 17:57:54 +03:00
Alibek Omarov
efaf7ac622
engine: fix UB on MSG_BigShort
2021-03-07 03:39:16 +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
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
2020-02-12 14:32:26 +05:00
Alibek Omarov
b797e0af1a
Merge 4483 update
2019-05-25 02:44:24 +03:00
Alibek Omarov
c215b89923
Apply 4483 update
2019-05-19 15:01:23 +03:00
mittorn
6a02a571c1
Legacy protocol compatibility (cl_legacymode)
2019-01-25 20:54:05 +07:00
mittorn
298393b653
Initial amd64 port
2018-12-05 23:57:05 +07:00
Alibek Omarov
1e7f9d00c3
Apply 4150 update
2018-06-19 16:22:30 +03:00
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
2018-04-13 19:23:45 +03:00