Commit Graph

9 Commits

Author SHA1 Message Date
5c1e06ae74 public: crclib: optimize COM_HashKey, implement typical djb hashing as this function is used for hashtables with string lookup 2023-03-13 02:37:19 +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
eb652d53ac public: fix compiling 2020-11-22 19:08:51 +03:00
341e440c07 public,sprites: fix -Wcast-align, disable -Werror for it 2020-11-18 12:15:54 +03:00
23ea7ecbcc public: optimize MD5_Print function. 2020-09-14 14:28:47 +03:00
3a416636f1 engine: mark GAME_EXPORT's 2020-01-19 08:15:54 +07:00
cb62e65f9f public: fix implicit fallthrough 2019-10-05 02:49:04 +03:00
4beba75159 engine: fix various compiler warnings 2019-07-13 23:25:03 +03:00
70d45f23de public: crclib now is part of public library 2019-06-06 04:33:57 +03:00