Alibek Omarov
996897e30e
public: use standard uint32_t in place of dword
2 years ago
Alibek Omarov
93ee5b9446
public: crclib: simplify CRC32_ProcessByte
2 years ago
Alibek Omarov
c0c8119040
public: crclib: rework CRC32 code (thanks to @Mr0maks for implementation)
2 years ago
Alibek Omarov
5c1e06ae74
public: crclib: optimize COM_HashKey, implement typical djb hashing as this function is used for hashtables with string lookup
2 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
eb652d53ac
public: fix compiling
4 years ago
mittorn
341e440c07
public,sprites: fix -Wcast-align, disable -Werror for it
4 years ago
Andrey Akhmichin
23ea7ecbcc
public: optimize MD5_Print function.
4 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
5 years ago
Alibek Omarov
cb62e65f9f
public: fix implicit fallthrough
5 years ago
Alibek Omarov
4beba75159
engine: fix various compiler warnings
5 years ago
Alibek Omarov
70d45f23de
public: crclib now is part of public library
6 years ago
Alibek Omarov
27e742df12
engine: crclib: fix unaligned access
6 years ago
Alibek Omarov
c215b89923
Apply 4483 update
6 years ago
Alibek Omarov
622de7a7f1
Apply 4312 update
6 years ago
Alibek Omarov
9d156b4285
crclib: md5: fix memset call
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.
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago