summaryrefslogtreecommitdiff
path: root/src/set_type.hpp
blob: 827c23acce6b9b58fa20d5ee6be0f64a51a72877 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once

#include "h-basic.h"

/**
 * Item set descriptor and runtime information.
 */
struct set_type
{
	const char *name;                       /* Name */
	char *desc;                             /* Desc */

	byte num;                               /* Number of artifacts used */
	byte num_use;                           /* Number actually wore */

	struct                                  /* the various items */
	{
		bool_ present;                   /* Is it actually wore ? */
		s16b a_idx;                     /* What artifact ? */
		s16b pval[6];                   /* Pval for each combination */
		u32b flags1[6];                 /* Flags */
		u32b flags2[6];                 /* Flags */
		u32b flags3[6];                 /* Flags */
		u32b flags4[6];                 /* Flags */
		u32b flags5[6];                 /* Flags */
		u32b esp[6];                    /* Flags */
	} arts[6];
};