use JSON rare table for BB

This commit is contained in:
Martin Michelsen
2023-07-01 22:35:21 -07:00
parent 9916fb946d
commit a81793f695
12 changed files with 8443 additions and 166 deletions
+3 -3
View File
@@ -96,10 +96,12 @@ struct ItemData { // 0x14 bytes
} __attribute__((packed));
ItemData();
explicit ItemData(const std::string& orig_description, bool skip_special = false);
explicit ItemData(const std::string& orig_description);
ItemData(const ItemData& other);
ItemData& operator=(const ItemData& other);
void parse(const std::string& desc, bool skip_specials);
bool operator==(const ItemData& other) const;
bool operator!=(const ItemData& other) const;
@@ -147,5 +149,3 @@ struct ItemData { // 0x14 bytes
static bool compare_for_sort(const ItemData& a, const ItemData& b);
} __attribute__((packed));
ItemData item_for_string(const std::string& desc);