Freeciv-3.3
|
#include "specvec.h"
Go to the source code of this file.
Data Structures | |
struct | action_enabler_contradiction |
struct | obligatory_req |
struct | ae_contra_or |
#define obligatory_req_vector_iterate | ( | obreq_vec, | |
pobreq | |||
) | TYPED_VECTOR_ITERATE(struct obligatory_req, obreq_vec, pobreq) |
Definition at line 46 of file oblig_reqs.h.
#define obligatory_req_vector_iterate_end VECTOR_ITERATE_END |
Definition at line 48 of file oblig_reqs.h.
#define SPECVEC_TAG obligatory_req |
Definition at line 43 of file oblig_reqs.h.
#define SPECVEC_TYPE struct obligatory_req |
Definition at line 44 of file oblig_reqs.h.
Hard code the obligatory hard requirements that don't depend on the rest of the ruleset. They are sorted by requirement to make it easy to read, modify and explain them.
Definition at line 250 of file oblig_reqs.c.
Referenced by actions_init().
Hard code the obligatory hard requirements that needs access to the ruleset before they can be generated.
Definition at line 770 of file oblig_reqs.c.
Referenced by actions_rs_pre_san_gen().
Free resources reserved for hard reqs system.
Definition at line 827 of file oblig_reqs.c.
Referenced by actions_free().
struct obligatory_req_vector * oblig_hard_reqs_get | ( | enum action_result | res | ) |
Get obligatory requirements for action result.
res | Action result to get requirements for |
Definition at line 852 of file oblig_reqs.c.
Referenced by action_enabler_suggest_repair_oblig().
struct obligatory_req_vector * oblig_hard_reqs_get_sub | ( | enum action_sub_result | res | ) |
Get obligatory requirements for action with sub result.
res | Action sub result to get requirements for |
Definition at line 863 of file oblig_reqs.c.
Referenced by action_enabler_suggest_repair_oblig().
Initialize hard reqs system.
Definition at line 807 of file oblig_reqs.c.
Referenced by actions_init().