ddnet/src/engine
bors[bot] c592e71353
Merge #4917
4917: Use std::size instead of sizeof(a) / sizeof(a[0]) r=Jupeyy a=def-

<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [x] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: Dennis Felsing <dennis@felsin9.de>
2022-03-30 17:08:27 +00:00
..
client Merge #4917 2022-03-30 17:08:27 +00:00
docs Fix a woopsie in snapshot docs 2021-05-29 11:07:33 +02:00
external Upgrade zlib to 1.2.12 2022-03-30 14:31:35 +02:00
server Use std::size instead of sizeof(a) / sizeof(a[0]) 2022-03-30 18:55:04 +02:00
shared Use std::size instead of sizeof(a) / sizeof(a[0]) 2022-03-30 18:55:04 +02:00
antibot.h Forgot to add target here 2021-07-22 00:22:12 +02:00
client.h Add tutorial joining code and tutorial map 2022-03-19 23:35:27 +01:00
config.h Implement "reset" command 2021-12-27 01:13:11 +01:00
console.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
demo.h add functions for packing/unpacking int/unsigned using char arrays 2021-11-09 22:19:32 +01:00
discord.h Put the Discord stuff into its own file 2021-01-31 10:17:21 +01:00
editor.h Adopt upstream refactoring: Mark several functions as 'const' 2021-02-23 18:26:16 +03:00
engine.h Allow more precise Destroy call to Job pool 2022-03-12 13:52:13 +01:00
friends.h Run clang-format 2020-09-26 21:50:15 +02:00
ghost.h Update ghost format to v6: Replace CRC with SHA256 2020-10-14 17:08:58 +02:00
graphics.h Add Vulkan backend 2022-03-21 12:39:51 +01:00
input.h change type of MouseDoubleClick from int to bool 2022-01-16 12:43:32 +01:00
kernel.h Run clang-format 2020-09-26 21:50:15 +02:00
keys.h Use scancodes instead of keycodes for input (fixes #796, please test) 2017-07-21 19:53:49 +02:00
map.h Run clang-format 2020-09-26 21:50:15 +02:00
masterserver.h Adopt upstream refactoring: Mark several functions as 'const' 2021-02-23 18:26:16 +03:00
message.h Run clang-format 2020-09-26 21:50:15 +02:00
server.h fix 4781 and refactor of the client id for server demos 2022-03-07 19:03:43 +01:00
serverbrowser.h Add tutorial joining code and tutorial map 2022-03-19 23:35:27 +01:00
sound.h Multithreaded video rendering 2022-03-20 18:03:33 +01:00
sqlite.h Add sqlite3 to the client 2021-05-14 01:00:41 +02:00
steam.h Allow joining and inviting others via Steam friend list while ingame 2020-09-06 17:08:38 +02:00
storage.h Add IStorage::FormatTmpPath static method 2021-12-20 16:12:15 +01:00
textrender.h Cleanup backend a bit for vulkan 2022-03-20 18:03:25 +01:00
updater.h Overhauled job system 2017-11-23 15:47:38 +01:00
uuid.h Make sure headers compile standalone 2020-09-26 21:50:27 +02:00
warning.h Add block list for drivers 2020-11-05 21:07:14 +01:00