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

Function AddFailedXLateItem

Descent3/LoadLevel.cpp:1350–1358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1348int Num_failed_xlate_items;
1349
1350void AddFailedXLateItem(int type, int id, char *name) {
1351 ASSERT(Num_failed_xlate_items < MAX_FAILED_XLATE_ITEMS);
1352
1353 Failed_xlate_items[Num_failed_xlate_items].type = type;
1354 Failed_xlate_items[Num_failed_xlate_items].id = id;
1355 strcpy(Failed_xlate_items[Num_failed_xlate_items].name, name);
1356
1357 Num_failed_xlate_items++;
1358}
1359
1360char *GetFailedXLateItemName(int type, int id) {
1361 for (int i = 0; i < Num_failed_xlate_items; i++) {

Callers 1

BuildXlateTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected