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

Function IsValidTeleTile

src/game/mapitems.cpp:59–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59bool IsValidTeleTile(int Index)
60{
61 return (
62 Index == TILE_TELEINEVIL ||
63 Index == TILE_TELEINWEAPON ||
64 Index == TILE_TELEINHOOK ||
65 Index == TILE_TELEIN ||
66 Index == TILE_TELEOUT ||
67 Index == TILE_TELECHECK ||
68 Index == TILE_TELECHECKOUT ||
69 Index == TILE_TELECHECKIN ||
70 Index == TILE_TELECHECKINEVIL);
71}
72
73bool IsTeleTileCheckpoint(int Index)
74{

Callers 8

IsValidTileFunction · 0.85
BrushGrabMethod · 0.85
IsEmptyMethod · 0.85
BrushDrawMethod · 0.85
FillSelectionMethod · 0.85
GetPosMethod · 0.85
LoadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected