🚚 Rename 'ItemDataStruct' to 'ItemData'
This commit is contained in:
parent
bb2dfdfb73
commit
528d703616
2 changed files with 3 additions and 3 deletions
|
|
@ -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 },
|
||||
|
|
|
|||
|
|
@ -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[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue