MCPcopy Create free account
hub / github.com/ddnet/ddnet / IsSwitchTileNumberUsed

Function IsSwitchTileNumberUsed

src/game/mapitems.cpp:123–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123bool IsSwitchTileNumberUsed(int Index)
124{
125 return Index != TILE_JUMP &&
126 Index != TILE_HIT_ENABLE &&
127 Index != TILE_HIT_DISABLE &&
128 Index != TILE_ALLOW_TELE_GUN &&
129 Index != TILE_ALLOW_BLUE_TELE_GUN;
130}
131
132bool IsSwitchTileDelayUsed(int Index)
133{

Callers 4

BrushDrawMethod · 0.85
FillSelectionMethod · 0.85
ContainsElementWithIdMethod · 0.85
RenderSwitchOverlayMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected