MCPcopy Create free account
hub / github.com/ZDoom/Raze / ValidateTilenum

Function ValidateTilenum

source/core/defparser.cpp:115–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115bool ValidateTilenum(const char* cmd, int tile, FScriptPosition pos)
116{
117 if ((unsigned)tile >= MAXUSERTILES)
118 {
119 pos.Message(MSG_ERROR, "%s: Invalid tile number %d", cmd, tile);
120 return false;
121 }
122
123 return true;
124}
125
126//===========================================================================
127//

Callers 12

processTileImportFunction · 0.85
processSetAnimFunction · 0.85
parseTextureFunction · 0.85
parseUndefTextureFunction · 0.85
parseCopyTileFunction · 0.85
parseImportTileFunction · 0.85
parseDummyTileFunction · 0.85
parseUndefineTileFunction · 0.85
parseSetupTileFunction · 0.85
parseVoxelFunction · 0.85
parseUndefModelFunction · 0.85
parseUndefModelOfFunction · 0.85

Calls 1

MessageMethod · 0.80

Tested by

no test coverage detected