diff options
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/map/itemdb.h | 46 |
2 files changed, 6 insertions, 42 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 0928916ad..4501e3937 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -3,6 +3,8 @@ Date Added AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. +2007/08/19 + * Again removed the IG_ list from itemdb.h (see r10100 and r10113) 2007/08/18 * Fixed a deallocation mistake and some buffer overflows in npc_chat.c after doing rtfm@pcre.txt (all caused by incorrect usage of pcre api) diff --git a/src/map/itemdb.h b/src/map/itemdb.h index bb33d1e38..925ebf529 100644 --- a/src/map/itemdb.h +++ b/src/map/itemdb.h @@ -27,48 +27,10 @@ enum item_types { IT_MAX }; -enum item_group_list { - IG_BLUEBOX=1, //1 - IG_VIOLETBOX, //2 - IG_CARDALBUM, //3 - IG_GIFTBOX, //4 - IG_SCROLLBOX, //5 - IG_FINDINGORE, //6 - IG_COOKIEBAG, //7 - IG_FIRSTAID, //8 - IG_HERB, //9 - IG_FRUIT, //10 - IG_MEAT, //11 - IG_CANDY, //12 - IG_JUICE, //13 - IG_FISH, //14 - IG_BOX, //15 - IG_GEMSTONE, //16 - IG_RESIST, //17 - IG_ORE, //18 - IG_FOOD, //19 - IG_RECOVERY, //20 - IG_MINERAL, //21 - IG_TAMING, //22 - IG_SCROLL, //23 - IG_QUIVER, //24 - IG_MASK, //25 - IG_ACCESORY, //26 - IG_JEWEL, //27 - IG_GIFTBOX_1, //28 - IG_GIFTBOX_2, //29 - IG_GIFTBOX_3, //30 - IG_GIFTBOX_4, //31 - IG_EGGBOY, //32 - IG_EGGGIRL, //33 - IG_GIFTBOXCHINA, //34 - IG_LOTTOBOX, //35 - IG_FOODBAG, //36 - IG_POTION, //37 - IG_REDBOX_2, //38 - IG_BLEUBOX, //39 - MAX_ITEMGROUP, -}; +//The only item group required by the code to be known. See const.txt for the full list. +#define IG_FINDINGORE 6 +//The max. item group count (increase this when needed). +#define MAX_ITEMGROUP 40 #define CARD0_FORGE 0x00FF #define CARD0_CREATE 0x00FE |