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

Function IsTeleTileNumberUsed

src/game/mapitems.cpp:78–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78bool IsTeleTileNumberUsed(int Index, bool Checkpoint)
79{
80 if(Checkpoint)
81 return IsTeleTileCheckpoint(Index);
82 return !IsTeleTileCheckpoint(Index) && Index != TILE_TELECHECKIN &&
83 Index != TILE_TELECHECKINEVIL;
84}
85
86bool IsTeleTileNumberUsedAny(int Index)
87{

Callers 4

BrushGrabMethod · 0.85
BrushDrawMethod · 0.85
FillSelectionMethod · 0.85
ContainsElementWithIdMethod · 0.85

Calls 1

IsTeleTileCheckpointFunction · 0.85

Tested by

no test coverage detected