(ITEM_MAX): New, value 9999.

(give, deliver_it): Use it instead of 9990.
(load_comm_ship, load_comm_land, rese): Use it instead of 9999.
(thre): Use it instead of 10000.
(check_market, explore, move, pln_dropoff): Use it instead of 32767.
(unload_it): Use it instead of 99999 (which couldn't possibly work,
but what do you expect from the autonav code).
This commit is contained in:
Markus Armbruster 2004-03-05 06:34:34 +00:00
parent 5ec624514a
commit 95ef2b139d
11 changed files with 27 additions and 31 deletions

View file

@ -184,10 +184,12 @@ extern struct dchrstr bigcity_dchr;
/* Sector flags */
#define MOVE_IN_PROGRESS bit(0) /* move in progress */
/* maximum number of che, must fit into struct sctstr member sct_che */
#define CHE_MAX 255
/* maximum amount of an item, must fit into sct_item[], sct_del[], sct_dist */
#define ITEM_MAX 9999
/* maximum number of mines, must fit into struct sctstr member sct_mines */
#define MINES_MAX 65535
/* maximum number of che, must fit into struct sctstr member sct_che */
#define CHE_MAX 255
/* maximum fallout, must fit into struct sctstr member sct_fallout */
#define FALLOUT_MAX 9999