ddnet/src/engine/server
Alexander Akulich c4e1754808 CServer: Refactor the handling of the current map versions
- Replace hardcoded constants (namely '2') with enum value.
- Use the map type constants instead of bool-to-int casts.

This is a step toward support of more map types: e.g. we can have smaller
map versions with some mapres omitted for newer DDNet client versions.
2022-03-08 14:24:37 +03:00
..
databases Fix MinGW warnings (fixes #4731) 2022-02-18 12:54:19 +01:00
antibot.cpp Remove some useless conditions around free 2022-03-01 23:19:49 +01:00
antibot.h Add target clientid to antibot OnHammerHit 2021-07-21 22:28:59 +02:00
authmanager.cpp Adopt upstream refactoring: Mark several functions as 'const' 2021-02-23 18:26:16 +03:00
authmanager.h Adopt upstream refactoring: Mark several functions as 'const' 2021-02-23 18:26:16 +03:00
name_ban.cpp Make name more descriptive 2019-03-11 14:48:45 +01:00
name_ban.h Run clang-format 2020-09-26 21:50:15 +02:00
register.cpp uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
register.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
server.cpp CServer: Refactor the handling of the current map versions 2022-03-08 14:24:37 +03:00
server.h CServer: Refactor the handling of the current map versions 2022-03-08 14:24:37 +03:00
sql_string_helpers.cpp Don't make score test depend on specific timestamp 2021-12-25 01:33:08 +01:00
sql_string_helpers.h Fix some variable name's style 2020-11-08 17:15:48 +01:00
upnp.cpp Run clang-format 2020-09-26 21:50:15 +02:00
upnp.h Run clang-format 2020-09-26 21:50:15 +02:00