#include <side.h>
Collaboration diagram for a_doctrine:

Public Attributes | |
| short | id |
| char * | name |
| short | resupply_percent |
| short | rearm_percent |
| short | repair_percent |
| short | resupply_complete |
| short | rearm_complete |
| short | repair_complete |
| short | min_turns_food |
| short | min_distance_fuel |
| short * | construction_run |
| short | locked |
| a_doctrine * | next |
Doctrine is policy info that Units and Players use to help decide behavior.
|
|
number of each type to build usually |
|
|
a unique id |
|
|
true if values can't be changed |
|
|
minimal distance in cells for which we should have fuel-type supplies |
|
|
minimal number of turns for which we should have food-type supplies |
|
|
a distinguishing name for the doctrine |
|
|
pointer to next doctrine defined |
|
|
cease rearming if at or above this |
|
|
do resupply of ammo if below this |
|
|
cease repairs if hp at or above this |
|
|
do repairs if hp at or below this |
|
|
cease resupply if at or above this |
|
|
do resupply task if below this |
1.3.6