MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / GetPosName

Method GetPosName

Descent3/Inventory.cpp:1239–1243  ·  view source on GitHub ↗

returns the name of the item at the current position

Source from the content-addressed store, hash-verified

1237
1238// returns the name of the item at the current position
1239char *Inventory::GetPosName(void) {
1240 if (!pos)
1241 return NULL;
1242 return pos->name;
1243}
1244
1245// returns the icon name of the item at the current position
1246char *Inventory::GetPosIconName(void) {

Callers 4

DoKeyboardMiscFunction · 0.80
DoControllerMiscFunction · 0.80
dInven_GetPosNameFunction · 0.80
CounterMeasuresSwitchFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected