ddnet/src/game/server/entities
def f3796e5455 Disable or fix some spammy new clang-tidy 13 warnings
src/engine/client/backend/opengles/opengles_sl_program.cpp:10:11: warning: suspicious #include of file with '.cpp' extension [bugprone-suspicious-include]
          ^

src/engine/graphics.h:330:67: warning: 2 adjacent parameters of 'CFreeformItem' of similar type ('float') are easily swapped by mistake [bugprone-easily-swappable-parameters]
                CFreeformItem(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3) :
                                                                                ^~~~~~~~~~~~~~~~~~

src/game/editor/layer_tiles.cpp:1802:14: warning: result of multiplication in type 'int' is used as a pointer offset after an implicit widening conversion to type 'ptrdiff_t' [bugprone-implicit-widening-of-multiplication-result]
                        mem_zero(&m_pSwitchTile[y * m_Width], o * sizeof(CSwitchTile));
                                  ^

src/game/server/entities/plasma.cpp💯152: warning: operator has equivalent nested operands [misc-redundant-expression]
        if(SnapPlayer && SnapPlayer->GetTeam() != TEAM_SPECTATORS && !SnapPlayer->IsPaused() && SnapChar && SnapChar && SnapChar->Team() != m_ResponsibleTeam && SnapPlayer->m_ShowOthers != 1)
                                                                                                ~~~~~~~~    ~~~~~~~~                                          ^

src/game/editor/editor.cpp:4295:38: warning: The right operand of '>' is a garbage value [clang-analyzer-core.UndefinedBinaryOperatorResult]
                        if(m_FilePreviewImageInfo.m_Width > Preview.w)
                                                          ^ ~~~~~~~~~
2022-01-22 13:35:52 +01:00
..
character.cpp Merge #4581 #4590 #4593 #4607 2022-01-17 23:36:14 +00:00
character.h Livefreeze implementation with CHARACTERFLAG_NO_MOVEMENTS flag. 2022-01-07 16:53:40 +01:00
door.cpp Don't send entityex to old clients or for stationary pickups 2021-11-06 12:13:42 +01:00
door.h Clean up CDoor 2021-08-23 14:28:38 +03:00
dragger.cpp Clip network first in CDragger 2021-11-19 00:42:00 +01:00
dragger.h Fix crash in CDragger (fixes #4307) 2021-11-06 20:07:12 +01:00
flag.cpp Run clang-format 2020-09-26 21:50:15 +02:00
flag.h Merge branch 'master' of git://github.com/teeworlds/teeworlds into DDRace 2012-04-12 02:09:31 +02:00
gun.cpp Don't send entityex to old clients or for stationary pickups 2021-11-06 12:13:42 +01:00
gun.h Run clang-format 2020-09-26 21:50:15 +02:00
laser.cpp Rename IsSwitch to GetSwitchType 2021-12-19 12:10:03 +01:00
laser.h Improve interfaces by exposing SwapClients in CEntities 2021-12-14 10:35:00 +01:00
light.cpp Don't send entityex to old clients or for stationary pickups 2021-11-06 12:13:42 +01:00
light.h Run clang-format 2020-09-26 21:50:15 +02:00
pickup.cpp Don't send entityex to old clients or for stationary pickups 2021-11-06 12:13:42 +01:00
pickup.h Run clang-format 2020-09-26 21:50:15 +02:00
plasma.cpp Disable or fix some spammy new clang-tidy 13 warnings 2022-01-22 13:35:52 +01:00
plasma.h Run clang-format 2020-09-26 21:50:15 +02:00
projectile.cpp Rename IsSwitch to GetSwitchType 2021-12-19 12:10:03 +01:00
projectile.h Improve interfaces by exposing SwapClients in CEntities 2021-12-14 10:35:00 +01:00