(mchrstr, lchrstr): Change from variable-style storage of load
capacities to straight arrays. Users now subscript the array instead of calling vl_find() or walking the variable data structure. (mchr, lchr): Initializers adapted. (vl_find): No longer used. Remove file.
This commit is contained in:
parent
a965b2d25e
commit
8a0854b6b8
22 changed files with 168 additions and 697 deletions
|
@ -128,9 +128,7 @@ struct fltheadstr {
|
|||
};
|
||||
|
||||
struct mchrstr {
|
||||
u_char m_nv; /* number of variables it can hold */
|
||||
u_char m_vtype[MAXCHRNV];
|
||||
u_short m_vamt[MAXCHRNV];
|
||||
u_short m_item[I_MAX+1]; /* load limit */
|
||||
int m_lcm; /* units of lcm to build */
|
||||
int m_hcm; /* units of hcm to build */
|
||||
int m_armor; /* how well armored it is */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue