MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / GetDeclNameFromType

Method GetDeclNameFromType

neo/framework/DeclManager.cpp:1096–1103  ·  view source on GitHub ↗

=================== idDeclManagerLocal::GetDeclNameFromType =================== */

Source from the content-addressed store, hash-verified

1094===================
1095*/
1096const char * idDeclManagerLocal::GetDeclNameFromType( declType_t type ) const {
1097 int typeIndex = (int)type;
1098
1099 if ( typeIndex < 0 || typeIndex >= declTypes.Num() || declTypes[typeIndex] == NULL ) {
1100 common->FatalError( "idDeclManager::GetDeclNameFromType: bad type: %i", typeIndex );
1101 }
1102 return declTypes[typeIndex]->typeName;
1103}
1104
1105/*
1106===================

Callers 10

ClientRemapDeclMethod · 0.80
InitBaseDeclTreeMethod · 0.80
OnTreeSelChangedMethod · 0.80
OnBnClickedNewMethod · 0.80
InitTypeListMethod · 0.80
LoadDeclMethod · 0.80
LoadAndParseMethod · 0.80
ClientRemapDeclMethod · 0.80

Calls 2

NumMethod · 0.45
FatalErrorMethod · 0.45

Tested by

no test coverage detected