allow creating items by name instead of by data
This commit is contained in:
@@ -74,3 +74,8 @@ const char* name_for_difficulty(uint8_t difficulty);
|
||||
char abbreviation_for_difficulty(uint8_t difficulty);
|
||||
|
||||
char char_for_language_code(uint8_t language);
|
||||
|
||||
extern const std::vector<const char*> name_for_mag_color;
|
||||
extern const std::unordered_map<std::string, uint8_t> mag_color_for_name;
|
||||
|
||||
uint8_t drop_area_for_name(const std::string& name);
|
||||
|
||||
Reference in New Issue
Block a user