![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <tradecalculation.h>
Collaboration diagram for trade_city:Public Member Functions | |
| trade_city (struct city *pcity) | |
| Constructor for trade city used to trade calculation. More... | |
Public Attributes | |
| bool | done |
| int | over_max |
| int | poss_trade_num |
| int | trade_num |
| QList< struct city * > | curr_tr_cities |
| QList< struct city * > | new_tr_cities |
| QList< struct city * > | pos_cities |
| struct city * | city |
| struct tile * | tile |
Definition at line 19 of file tradecalculation.h.
| trade_city::trade_city | ( | struct city * | pcity | ) |
Constructor for trade city used to trade calculation.
Definition at line 29 of file tradecalculation.cpp.
| struct city* trade_city::city |
Definition at line 30 of file tradecalculation.h.
Referenced by trade_generator::add_city(), trade_generator::check_if_done(), trade_generator::discard_any(), and trade_generator::discard_trade().
| QList<struct city *> trade_city::curr_tr_cities |
Definition at line 27 of file tradecalculation.h.
| bool trade_city::done |
Definition at line 23 of file tradecalculation.h.
Referenced by trade_generator::check_if_done(), and trade_city().
| QList<struct city *> trade_city::new_tr_cities |
Definition at line 28 of file tradecalculation.h.
| int trade_city::over_max |
Definition at line 24 of file tradecalculation.h.
Referenced by trade_generator::discard_any(), trade_generator::discard_trade(), trade_generator::find_most_free(), and trade_city().
| QList<struct city *> trade_city::pos_cities |
Definition at line 29 of file tradecalculation.h.
Referenced by trade_generator::discard_any(), and trade_generator::discard_trade().
| int trade_city::poss_trade_num |
Definition at line 25 of file tradecalculation.h.
Referenced by trade_generator::discard_trade(), and trade_city().
| struct tile* trade_city::tile |
Definition at line 31 of file tradecalculation.h.
| int trade_city::trade_num |
Definition at line 26 of file tradecalculation.h.
Referenced by trade_generator::check_if_done(), and trade_city().