mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-26 10:08:51 -05:00
Removes unused function override
This commit is contained in:
parent
17c9ce7804
commit
6e37897449
@ -341,6 +341,18 @@ set(Source_Files__soh__Enhancements__randomizer__3drando__location_access
|
|||||||
)
|
)
|
||||||
source_group("Source Files\\soh\\Enhancements\\randomizer\\3drando\\location_access" FILES ${Source_Files__soh__Enhancements__randomizer__3drando__location_access})
|
source_group("Source Files\\soh\\Enhancements\\randomizer\\3drando\\location_access" FILES ${Source_Files__soh__Enhancements__randomizer__3drando__location_access})
|
||||||
|
|
||||||
|
set(Source_Files__soh__Enhancements__custom_message
|
||||||
|
"soh/Enhancements/custom-message/CustomMessageManager.cpp"
|
||||||
|
)
|
||||||
|
|
||||||
|
source_group("Source Files\\soh\\Enhancements\\custom-message" FILES ${Source_Files__soh__Enhancements__custom_message})
|
||||||
|
|
||||||
|
set(Source_Files__soh__Enhancements__item_tables
|
||||||
|
"soh/Enhancements/item-tables/ItemTableManager.cpp"
|
||||||
|
)
|
||||||
|
|
||||||
|
source_group("Source Files\\soh\\Enhancements\\item-tables" FILES ${Source_Files__soh__Enhancements__item_tables})
|
||||||
|
|
||||||
set(Source_Files__src__boot
|
set(Source_Files__src__boot
|
||||||
"src/boot/assert.c"
|
"src/boot/assert.c"
|
||||||
"src/boot/boot_main.c"
|
"src/boot/boot_main.c"
|
||||||
|
@ -12,15 +12,6 @@ bool ItemTableManager::AddItemTable(uint16_t tableID) {
|
|||||||
return itemTables.emplace(tableID, newItemTable).second;
|
return itemTables.emplace(tableID, newItemTable).second;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ItemTableManager::AddItemEntry(uint16_t tableID, uint16_t getItemID, uint16_t itemID, uint16_t objectID, int16_t drawID, uint16_t textID, uint16_t field, bool chestAnim) {
|
|
||||||
ItemTable* itemTable = RetrieveItemTable(tableID);
|
|
||||||
if (itemTable == nullptr) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
GetItemEntry getItemEntry = GET_ITEM(itemID, objectID, drawID, textID, field, chestAnim);
|
|
||||||
return itemTable->emplace(getItemID, getItemEntry).second;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool ItemTableManager::AddItemEntry(uint16_t tableID, uint16_t getItemID, GetItemEntry getItemEntry) {
|
bool ItemTableManager::AddItemEntry(uint16_t tableID, uint16_t getItemID, GetItemEntry getItemEntry) {
|
||||||
ItemTable* itemTable = RetrieveItemTable(tableID);
|
ItemTable* itemTable = RetrieveItemTable(tableID);
|
||||||
if (itemTable == nullptr) {
|
if (itemTable == nullptr) {
|
||||||
|
@ -21,7 +21,6 @@ class ItemTableManager {
|
|||||||
ItemTableManager();
|
ItemTableManager();
|
||||||
~ItemTableManager();
|
~ItemTableManager();
|
||||||
bool AddItemTable(uint16_t tableID);
|
bool AddItemTable(uint16_t tableID);
|
||||||
bool AddItemEntry(uint16_t tableID, uint16_t getItemID, uint16_t itemID, uint16_t objectID, int16_t drawID, uint16_t textID, uint16_t field, bool chestAnim);
|
|
||||||
bool AddItemEntry(uint16_t tableID, uint16_t getItemID, GetItemEntry getItemEntry);
|
bool AddItemEntry(uint16_t tableID, uint16_t getItemID, GetItemEntry getItemEntry);
|
||||||
GetItemEntry RetrieveItemEntry(uint16_t tableID, uint16_t itemID);
|
GetItemEntry RetrieveItemEntry(uint16_t tableID, uint16_t itemID);
|
||||||
bool ClearItemTable(uint16_t tableID);
|
bool ClearItemTable(uint16_t tableID);
|
||||||
|
Loading…
Reference in New Issue
Block a user