ddnet/src/game
Robert Müller 60c0da7c4d Use IsValid***Tile functions
Use the utility function to check if tele/speedup/switch/tune tile indices are valid.

Using `IsValidSwitchTile` fixes that the switch number and delay were not updated when selecting freeze, deep freeze, deep unfreeze, live freeze and live unfreeze tiles, as those tiles were missing in the existing condition.
2023-04-26 19:04:56 +02:00
..
client Use IsValid***Tile functions 2023-04-26 19:04:56 +02:00
editor Use IsValid***Tile functions 2023-04-26 19:04:56 +02:00
server Merge #6437 2023-04-21 10:37:40 +00:00
collision.cpp Use bool for IsCheckTeleport and IsCheckEvilTeleport 2023-04-26 19:04:54 +02:00
collision.h Use bool for IsCheckTeleport and IsCheckEvilTeleport 2023-04-26 19:04:54 +02:00
ddracechat.h Add /timecp command to get another players time checkpoints 2022-06-08 21:10:36 +02:00
ddracecommands.h Merge #6071 #6077 #6085 #6088 #6090 2022-12-05 16:12:05 +00:00
gamecore.cpp Replace usages of C math functions 2023-03-01 19:26:53 +01:00
gamecore.h Running and AFK anim. states 2022-09-16 12:30:05 +02:00
layers.cpp Parallax Zoom: use CMapItemGroupEx to store parallax value 2022-08-10 03:05:23 +01:00
layers.h Parallax Zoom: use CMapItemGroupEx to store parallax value 2022-08-10 03:05:23 +01:00
localization.cpp Select language on first start based on user locale 2023-03-21 21:17:40 +01:00
localization.h Select language on first start based on user locale 2023-03-21 21:17:40 +01:00
mapbugs.cpp Fix more unsafe define 2022-06-29 23:52:03 +02:00
mapbugs.h Remove code for CRC in most places, except where needed for net compat 2020-10-14 17:08:58 +02:00
mapbugs_list.h Revert "Add mapbug "stoppers-passthrough@ddnet.tw"" 2018-08-22 08:33:21 +02:00
mapitems.cpp Add IsSwitchTile(Flags|Number|Delay)Used functions 2023-04-26 19:04:56 +02:00
mapitems.h Add IsSwitchTile(Flags|Number|Delay)Used functions 2023-04-26 19:04:56 +02:00
mapitems_ex.cpp Parallax Zoom: use CMapItemGroupEx to store parallax value 2022-08-10 03:05:23 +01:00
mapitems_ex.h Parallax Zoom: use CMapItemGroupEx to store parallax value 2022-08-10 03:05:23 +01:00
mapitems_ex_types.h Parallax Zoom: use CMapItemGroupEx to store parallax value 2022-08-10 03:05:23 +01:00
prng.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
prng.h Replace all usages of C standard headers with C++ headers 2023-03-01 19:26:51 +01:00
teamscore.cpp Remove unnecessary include in protocol, move definitions to cpp file 2023-01-03 14:10:58 +01:00
teamscore.h Remove unnecessary include in protocol, move definitions to cpp file 2023-01-03 14:10:58 +01:00
tuning.h Add hammer_hit_fire_delay tune 2021-05-01 16:36:12 +02:00
variables.h Add CFGFLAG_SAVE flag to save prediction margin (fixes #6332) 2023-02-13 21:24:10 +01:00
version.h Version 16.9 2023-04-02 12:03:41 +02:00
voting.h Run clang-format 2020-09-26 21:50:15 +02:00