(mchrstr, plchrstr, lchrstr, nchrstr): New member m_type, pl_type,

l_type, n_type.
(mchr_ca, plchr_ca, lchr_ca, nchr_ca): New selector type.  Update
builtin config files.
This commit is contained in:
Markus Armbruster 2006-02-19 09:47:26 +00:00
parent 99c533fef7
commit c596577d32
9 changed files with 119 additions and 115 deletions

View file

@ -124,6 +124,7 @@ struct lchrstr {
u_char l_fuelu; /* fuel used per 10 mob */
u_char l_nxlight; /* maximum number of xlight planes */
u_char l_nland; /* maximum number of units */
signed char l_type; /* index in lchr[] */
long l_flags; /* what special things can this unit do */
};

View file

@ -64,6 +64,7 @@ struct nchrstr {
int n_tech; /* tech needed to build */
int n_weight;
int n_flags; /* description of capability */
signed char n_type; /* index in nchr[] */
};
#define N_NEUT bit(0) /* Neutron bomb (low damage, high fallout) */

View file

@ -99,6 +99,7 @@ struct plchrstr {
int pl_fuel; /* fuel consumption */
int pl_stealth; /* how stealthy is it? */
int pl_flags; /* description of capability */
signed char pl_type; /* index in plchr[] */
};
#define P_B bit(0) /* bombing factor only for bombing */

View file

@ -149,6 +149,7 @@ struct mchrstr {
long m_flags; /* what special things can this ship do */
u_char m_nplanes; /* maximum number of planes this ship holds */
u_char m_nland; /* maximum number of units this ship holds */
signed char m_type; /* index in mchr[] */
};
#define M_FOOD bit(0) /* catch that fish! */