[refactor] Split ItemManager.cpp into Vendor.cpp & Trading.cpp

- added sources to Makefile
- Added Trading::init() to main.cpp
This commit is contained in:
2021-03-12 20:09:36 -06:00
parent ce197d7db3
commit e92a5a2f8b
10 changed files with 553 additions and 543 deletions

11
src/Vendor.hpp Normal file
View File

@@ -0,0 +1,11 @@
#pragma once
#include "ItemManager.hpp"
struct VendorListing {
int sort, type, iID;
};
namespace Vendor {
extern std::map<int32_t, std::vector<VendorListing>> VendorTables;
}