/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2016, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2020, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure, Markus Armbruster
*
* Empire is free software: you can redistribute it and/or modify
unsigned char sct_off; /* Should this sector produce? */
/* end of part matching struct empobj */
unsigned char sct_loyal; /* updates until civilans "converted" */
- unsigned char sct_terr; /* territory 0 id # of sector */
- unsigned char sct_terr1; /* territory 1 id # of sector */
- unsigned char sct_terr2; /* territory 2 id # of sector */
- unsigned char sct_terr3; /* territory 3 id # of sector */
+ unsigned char sct_terr; /* territory 0 number */
+ unsigned char sct_terr1; /* territory 1 number */
+ unsigned char sct_terr2; /* territory 2 number */
+ unsigned char sct_terr3; /* territory 3 number */
unsigned char sct_dterr; /* deity's territory # */
coord sct_dist_x; /* Dist sector */
coord sct_dist_y;
short sct_dist[I_MAX+1]; /* distribution thresholds */
short sct_mines; /* number of mines */
short sct_pstage; /* plague stage */
- short sct_ptime; /* how many etus remain in this stage */
+ short sct_ptime; /* how many ETUs remain in this stage */
unsigned char sct_che; /* number of guerrillas */
natid sct_che_target; /* nation targeted by che */
unsigned short sct_fallout;
/* Each cost is per point of efficency */
struct sctintrins {
char *in_name;
- unsigned char in_lcms; /* construction materials */
- unsigned char in_hcms;
+ short in_mat[I_MAX+1]; /* materials to build 100% */
+ /* non-zero only for I_LCM and I_HCM */
short in_bmobil; /* mobility to build 100% */
int in_cost; /* cost to build 100% */
unsigned char in_enable; /* enabled iff non-zero */