-
Notifications
You must be signed in to change notification settings - Fork 636
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core] Use enum instead of defines for Item IDs
- Loading branch information
Showing
2 changed files
with
53 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,34 @@ | ||
#ifndef _ITEMS_H | ||
#define _ITEMS_H | ||
|
||
// Add items as needed, with 14K items in the database this | ||
// file would be huge if we put all of them in here. | ||
// Only add items as utilized in core. There is no need to maintain a complete list | ||
// here. | ||
|
||
// Ninja tools | ||
#define ITEM_UCHITAKE (1161) | ||
#define ITEM_TSURARA (1164) | ||
#define ITEM_KAWAHORI_OGI (1167) | ||
#define ITEM_MAKIBISHI (1170) | ||
#define ITEM_HIRAISHIN (1173) | ||
#define ITEM_MIZU_DEPPO (1176) | ||
#define ITEM_RYUNO (2644) | ||
#define ITEM_MOKUJIN (2970) | ||
#define ITEM_SANJAKU_TENUGUI (2553) | ||
#define ITEM_KABENRO (2642) | ||
#define ITEM_SHINOBI_TABI (1194) | ||
#define ITEM_SHIHEI (1179) | ||
#define ITEM_SOSHI (2555) | ||
#define ITEM_KODOKU (1191) | ||
#define ITEM_KAGINAWA (1185) | ||
#define ITEM_JUSATSU (1182) | ||
#define ITEM_SAIRUI_RAN (1188) | ||
#define ITEM_JINKO (2643) | ||
#define ITEM_INOSHISHINOFUDA (2971) | ||
#define ITEM_SHIKANOFUDA (2972) | ||
#define ITEM_CHONOFUDA (2973) | ||
#define ITEM_RANKA (8803) | ||
#define ITEM_FURUSUMI (8804) | ||
enum ITEMID : uint16 | ||
{ | ||
UCHITAKE = 1161, | ||
TSURARA = 1164, | ||
KAWAHORI_OGI = 1167, | ||
MAKIBISHI = 1170, | ||
HIRAISHIN = 1173, | ||
MIZU_DEPPO = 1176, | ||
RYUNO = 2644, | ||
MOKUJIN = 2970, | ||
SANJAKU_TENUGUI = 2553, | ||
KABENRO = 2642, | ||
SHINOBI_TABI = 1194, | ||
SHIHEI = 1179, | ||
SOSHI = 2555, | ||
KODOKU = 1191, | ||
KAGINAWA = 1185, | ||
JUSATSU = 1182, | ||
SAIRUI_RAN = 1188, | ||
JINKO = 2643, | ||
INOSHISHINOFUDA = 2971, | ||
SHIKANOFUDA = 2972, | ||
CHONOFUDA = 2973, | ||
RANKA = 8803, | ||
FURUSUMI = 8804, | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters