| 1556 | } |
| 1557 | |
| 1558 | TMPQBetTable * 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 | |
| 1573 | static TMPQBetTable * TranslateBetTable( |
| 1574 | TMPQArchive * ha, |