(dchrstr): Replace int members d_mcst and d_emcst (mobility cost * 5)
by float d_mob0 and d_mob1 (straight costs). Impassable terrain now encoded as negative d_mob0 instead of zero d_mcst. Users changed. sect.config updated. (dchr_ca): Replace selectors mcst and emcst by mob0 and mob1. (show_sect_stats): Show real mobility costs.
This commit is contained in:
parent
d16fc6afdd
commit
df6f365a71
8 changed files with 52 additions and 53 deletions
|
@ -100,7 +100,7 @@ struct dchrstr {
|
|||
char d_mnem; /* map symbol */
|
||||
int d_prd; /* product type */
|
||||
int d_peffic; /* process efficiency, in percent */
|
||||
int d_mcst, d_emcst; /* movement cost at 0 and 100% eff */
|
||||
float d_mob0, d_mob1; /* movement cost at 0 and 100% eff */
|
||||
d_navigation d_nav; /* navigation capability */
|
||||
i_packing d_pkg; /* type of packaging in these sects */
|
||||
float d_ostr; /* offensive strength */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue