MCPcopy Create free account
hub / github.com/diasurgical/devilution / CreateBetTable

Function CreateBetTable

3rdParty/StormLib/src/SBaseFileTable.cpp:1558–1571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1556}
1557
1558TMPQBetTable * CreateBetTable(DWORD dwEntryCount)
1559{
1560 TMPQBetTable * pBetTable;
1561
1562 // Allocate BET table
1563 pBetTable = STORM_ALLOC(TMPQBetTable, 1);
1564 if(pBetTable != NULL)
1565 {
1566 memset(pBetTable, 0, sizeof(TMPQBetTable));
1567 pBetTable->dwEntryCount = dwEntryCount;
1568 }
1569
1570 return pBetTable;
1571}
1572
1573static TMPQBetTable * TranslateBetTable(
1574 TMPQArchive * ha,

Callers 1

TranslateBetTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected