Freeciv-3.2
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
trade_city Class Reference

#include <menu.h>

Public Member Functions

 trade_city (struct city *pcity)
 

Data Fields

bool done
 
int over_max
 
int poss_trade_num
 
unsigned trade_num
 
QList< struct city * > curr_tr_cities
 
QList< struct city * > new_tr_cities
 
QList< struct city * > pos_cities
 
struct citycity
 
struct tiletile
 

Detailed Description

Definition at line 138 of file menu.h.

Constructor & Destructor Documentation

◆ trade_city()

trade_city::trade_city ( struct city pcity)

Constructor for trade city used to trade calculation

Definition at line 68 of file menu.cpp.

Field Documentation

◆ city

struct city* trade_city::city

◆ curr_tr_cities

QList<struct city *> trade_city::curr_tr_cities

Definition at line 147 of file menu.h.

Referenced by trade_generator::calculate().

◆ done

bool trade_city::done

◆ new_tr_cities

QList<struct city *> trade_city::new_tr_cities

◆ over_max

int trade_city::over_max

◆ pos_cities

QList<struct city *> trade_city::pos_cities

◆ poss_trade_num

int trade_city::poss_trade_num

◆ tile

struct tile* trade_city::tile

Definition at line 151 of file menu.h.

◆ trade_num

unsigned trade_city::trade_num