ddnet/src/engine
bors[bot] dfe3bb44cb
Merge #3139
3139: Use NUM_DUMMYS for dummy array length r=def- a=ChillerDragon

Should make code more readable by explaining that the array is used for dummy. Also makes modders life easier if there is a need to scale up dummy count.

I left out two places that do not include client.h

3be8a592e5/src/game/client/prediction/gameworld.h (L92)

3be8a592e5/src/game/gamecore.h (L212)

Moving the enum to protocol.h for example is probably not nice.

Co-authored-by: ChillerDrgon <ChillerDragon@gmail.com>
2020-10-19 16:37:22 +00:00
..
client Merge #3139 2020-10-19 16:37:22 +00:00
docs Fix typo 2018-07-10 17:29:02 +08:00
external Fix external directory in .clang-tidy 2020-10-14 15:45:47 +02:00
server Revert #3066 2020-10-17 17:32:52 +02:00
shared Revert "Make GL 1.5 default" 2020-10-17 23:34:16 +02:00
antibot.h Run clang-format 2020-09-26 21:50:15 +02:00
client.h Use NUM_DUMMIES for dummy array length 2020-10-18 23:15:25 +02:00
config.h Use warnings popups for some io failures 2020-10-02 16:06:16 +02:00
console.h Run clang-format 2020-09-26 21:50:15 +02:00
demo.h Run clang-format 2020-09-26 21:50:15 +02:00
editor.h Run clang-format 2020-09-26 21:50:15 +02:00
engine.h Use two threads for the server thread pool 2018-10-07 12:47:32 +02: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 Use pointer directly for tile layer building 2020-10-13 19:52:14 +02:00
input.h clang-format 2020-09-22 17:02:03 +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 Run clang-format 2020-09-26 21:50:15 +02:00
message.h Run clang-format 2020-09-26 21:50:15 +02:00
server.h Run clang-format 2020-09-26 21:50:15 +02:00
serverbrowser.h Run clang-format 2020-09-26 21:50:15 +02:00
sound.h Modulize skins, particles, emoticons and game 2020-10-09 09:07:19 +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 Run clang-format 2020-09-26 21:50:15 +02:00
textrender.h Fix and change text cursor 2020-10-17 15:26:33 +02: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 Use warnings popups for some io failures 2020-10-02 16:06:16 +02:00