(I_NONE, I_CIVIL, I_MILIT, I_SHELL, I_GUN, I_PETROL, I_IRON, I_DUST,
I_BAR, I_FOOD, I_OIL, I_LCM, I_HCM, I_UW, I_RAD, I_MAX): Turn macros into enumeration constants. (i_type): New. Use where appropriate. No functional changes, except that I_NONE is now catched properly in a few places.
This commit is contained in:
parent
308430e751
commit
d30942632b
38 changed files with 143 additions and 134 deletions
|
@ -82,8 +82,8 @@ struct shpstr {
|
|||
short shp_glim;
|
||||
coord shp_destx[2]; /* location for ship destination */
|
||||
coord shp_desty[2];
|
||||
s_char shp_tstart[TMAX]; /* what goods to pick up at start point */
|
||||
s_char shp_tend[TMAX]; /* what goods to pick up at end point */
|
||||
i_type shp_tstart[TMAX]; /* what goods to pick up at start point */
|
||||
i_type shp_tend[TMAX]; /* what goods to pick up at end point */
|
||||
short shp_lstart[TMAX]; /* How much do we pick up at the start */
|
||||
short shp_lend[TMAX]; /* How much do we pick up at the end */
|
||||
u_char shp_autonav; /* autonavigation flags */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue