🚚 Rename 'ItemDataStruct' to 'ItemData'

This commit is contained in:
Juliano Leal Goncalves 2021-08-30 01:30:26 -03:00 committed by Anders Jenbo
commit 528d703616
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@
namespace devilution {
/** Contains the data related to each item ID. */
ItemDataStruct AllItemsList[] = {
ItemData AllItemsList[] = {
// clang-format off
//_item_indexes iRnd, iClass, iLoc, iCurs, itype, iItemId, iName, iSName, iMinMLvl, iDurability, iMinDam, iMaxDam, iMinAC, iMaxAC, iMinStr, iMinMag, iMinDex, iFlags, iMiscId, iSpell, iUsable, iValue
/*IDI_GOLD */ { IDROP_REGULAR, ICLASS_GOLD, ILOC_UNEQUIPABLE, ICURS_GOLD, ITYPE_GOLD, UITYPE_NONE, N_("Gold"), nullptr, 1, 0, 0, 0, 0, 0, 0, 0, 0, ISPL_NONE, IMISC_NONE, SPL_NULL, true, 0 },

View file

@ -423,7 +423,7 @@ enum item_misc_id : int8_t {
IMISC_INVALID = -1,
};
struct ItemDataStruct {
struct ItemData {
enum item_drop_rate iRnd;
enum item_class iClass;
enum item_equip_type iLoc;
@ -592,7 +592,7 @@ struct UItemStruct {
ItemPower powers[6];
};
extern ItemDataStruct AllItemsList[];
extern ItemData AllItemsList[];
extern const PLStruct ItemPrefixes[];
extern const PLStruct ItemSuffixes[];
extern const UItemStruct UniqueItemList[];