(nchr): Move the array size to nuke.h. Add rows for configurable units.
(lchr,plchr,mchr): Add array size to land.h/plane.h/ship.h. Add rows for configurable units. (ichr,pchr,dchr,intrchr): Add array size to item.h/product.h/sect.h.
This commit is contained in:
parent
b3ab6abf4a
commit
7c93f70ee4
8 changed files with 13 additions and 10 deletions
|
@ -163,7 +163,7 @@ struct dchrstr {
|
|||
/* things relating to sectors */
|
||||
extern int sctoff(coord x, coord y);
|
||||
|
||||
extern struct dchrstr dchr[];
|
||||
extern struct dchrstr dchr[SCT_MAXDEF + 2];
|
||||
extern struct dchrstr bigcity_dchr;
|
||||
|
||||
/* Minimal efficiency of sectors that can be knocked down (bridges) */
|
||||
|
@ -204,6 +204,6 @@ struct sctintrins {
|
|||
u_char in_mcost;
|
||||
};
|
||||
|
||||
extern struct sctintrins intrchr[];
|
||||
extern struct sctintrins intrchr[INT_DEF + 2];
|
||||
|
||||
#endif /* _SECT_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue