Freeciv-3.2
Loading...
Searching...
No Matches
Data Fields
req_context Struct Reference

#include <requirements.h>

Data Fields

const struct playerplayer
 
const struct citycity
 
const struct tiletile
 
const struct unitunit
 
const struct unit_typeunittype
 
const struct impr_typebuilding
 
const struct extra_typeextra
 
const struct output_typeoutput
 
const struct specialistspecialist
 
const struct actionaction
 
enum unit_activity activity
 

Detailed Description

Definition at line 100 of file requirements.h.

Field Documentation

◆ action

const struct action* req_context::action

Definition at line 112 of file requirements.h.

◆ activity

enum unit_activity req_context::activity

Definition at line 113 of file requirements.h.

Referenced by can_unit_do_connect().

◆ building

const struct impr_type* req_context::building

Definition at line 108 of file requirements.h.

Referenced by dai_wants_defender_against().

◆ city

const struct city* req_context::city

Definition at line 102 of file requirements.h.

Referenced by action_prob(), actres_possible(), and is_action_possible().

◆ extra

const struct extra_type* req_context::extra

Definition at line 109 of file requirements.h.

Referenced by unit_can_displace_hut(), and unit_can_enter_hut().

◆ output

const struct output_type* req_context::output

Definition at line 110 of file requirements.h.

◆ player

const struct player* req_context::player

◆ specialist

const struct specialist* req_context::specialist

Definition at line 111 of file requirements.h.

◆ tile

const struct tile* req_context::tile

◆ unit

const struct unit* req_context::unit

◆ unittype

const struct unit_type* req_context::unittype

Definition at line 107 of file requirements.h.

Referenced by actres_possible(), and adv_units_ruleset_init().