#define MAX_PVAL_FLAGS_DESCRIPTION 7
#define MAX_SLAY_FLAGS_DESCRIPTION 18
#define MAX_BRAND_FLAGS_DESCRIPTION 10
-#define MAX_RESISTANCE_FLAGS_DESCRIPTION 16
+#define MAX_RESISTANCE_FLAGS_DESCRIPTION 18
#define MAX_IMMUNITY_FLAGS_DESCRIPTION 4
#define MAX_SUSTAINER_FLAGS_DESCRIPTION 6
#define MAX_MISC2_FLAGS_DESCRIPTION 4
-#define MAX_MISC3_FLAGS_DESCRIPTION 28
+#define MAX_MISC3_FLAGS_DESCRIPTION 32
/* A tval grouper */
typedef struct grouper {
* Pair together a constant flag with a textual description.
* Note that it sometimes more efficient to actually make an array
* of textual names, where entry 'N' is assumed to be paired with
- * the flag whose value is "1L << N", but that requires hard-coding.
+ * the flag whose value is "1UL << N", but that requires hard-coding.
*/
typedef struct flag_desc {
- const tr_type flag;
- concptr const desc;
+ tr_type flag;
+ concptr desc;
} flag_desc;
extern grouper group_item[MAX_GROUPER_ITEM];