(dchrstr, pchrstr, rptstr): New member d_uid, p_uid, r_uid.

(dchr, bigcity_dchr, pchr, rpt): Initialize it.
(dchr_ca, pchr_ca, rpt_ca): New selector uid for it.
This commit is contained in:
Markus Armbruster 2005-11-19 17:37:43 +00:00
parent 661b650c1a
commit fdec6a8aae
7 changed files with 221 additions and 216 deletions

View file

@ -54,6 +54,7 @@ struct nwsstr {
#define NUM_RPTS 2 /* number of story alternates */
struct rptstr {
signed char r_uid;
int r_good_will; /* how "nice" the action is */
int r_newspage; /* which page this item belongs on */
char *r_newstory[NUM_RPTS]; /* texts for fmt( */

View file

@ -43,6 +43,7 @@
enum { MAXPRCON = 3 };
struct pchrstr {
int p_uid;
i_type p_ctype[MAXPRCON]; /* constituent types */
u_short p_camt[MAXPRCON]; /* constituent amounts */
i_type p_type; /* product item type, or I_NONE if level */

View file

@ -90,6 +90,7 @@ struct sctstr {
};
struct dchrstr {
unsigned char d_uid;
int d_mnem; /* map symbol */
int d_prd; /* product type */
int d_mcst; /* movement cost */