31#define PASSENGER_KEY_NAME @"name"
33#define CARGO_KEY_ID @"id"
34#define CARGO_KEY_TYPE @"co_type"
35#define CARGO_KEY_AMOUNT @"co_amount"
36#define CARGO_KEY_DESCRIPTION @"cargo_description"
38#define CONTRACT_KEY_START @"start"
39#define CONTRACT_KEY_DESTINATION @"destination"
40#define CONTRACT_KEY_DESTINATION_NAME @"destination_name"
41#define CONTRACT_KEY_LONG_DESCRIPTION @"long_description"
42#define CONTRACT_KEY_DEPARTURE_TIME @"departure_time"
43#define CONTRACT_KEY_ARRIVAL_TIME @"arrival_time"
44#define CONTRACT_KEY_FEE @"fee"
45#define CONTRACT_KEY_PREMIUM @"premium"
46#define CONTRACT_KEY_RISK @"risk"
48#define MAX_CONTRACT_REP 70
50#define GUI_ROW_PASSENGERS_LABELS 1
51#define GUI_ROW_PASSENGERS_START 2
52#define GUI_ROW_CARGO_LABELS 8
53#define GUI_ROW_CARGO_START 9
54#define GUI_ROW_CONTRACT_INFO_START 15
56#define GUI_ROW_SHIPYARD_LABELS 1
57#define GUI_ROW_SHIPYARD_START 2
58#define GUI_ROW_SHIPYARD_INFO_START 15
59#define GUI_ROW_NO_SHIPS 10
61#define MAX_ROWS_SHIPS_FOR_SALE 12
63@interface PlayerEntity (Contracts)
71- (void) increasePassengerReputation:(
unsigned)amount;
72- (void) decreasePassengerReputation:(
unsigned)amount;
75- (void) increaseParcelReputation:(
unsigned)amount;
76- (void) decreaseParcelReputation:(
unsigned)amount;
79- (void) increaseContractReputation:(
unsigned)amount;
80- (void) decreaseContractReputation:(
unsigned)amount;
86- (void) addMessageToReport:(NSString*) report;
92- (BOOL) addPassenger:(NSString*)Name start:(
unsigned)start destination:(
unsigned)destination eta:(
double)eta fee:(
double)fee advance:(
double)advance risk:(
unsigned)risk;
93- (BOOL) removePassenger:(NSString*)Name;
94- (BOOL) addParcel:(NSString*)Name start:(
unsigned)start destination:(
unsigned)destination eta:(
double)eta fee:(
double)fee premium:(
double)premium risk:(
unsigned)risk;
95- (BOOL) removeParcel:(NSString*)Name;
96- (BOOL) awardContract:(
unsigned)qty commodity:(NSString*)commodity start:(
unsigned)start destination:(
unsigned)destination eta:(
double)eta fee:(
double)fee premium:(
double)premium;
97- (BOOL) removeContract:(NSString*)commodity destination:(
unsigned)destination;
103- (void) setManifestScreenRow:(
id)object inColor:(
OOColor*)color forRow:(
OOGUIRow)row ofRows:(
OOGUIRow)max_rows andOffset:(
OOGUIRow)offset inMultipage:(BOOL)multi;
110- (void) setGuiToShipyardScreen:(NSUInteger)skip;
112- (void) showShipyardModel:(NSString *)shipKey shipData:(NSDictionary *)shipDict personality:(uint16_t)personality;
119- (BOOL) replaceShipWithNamedShip:(NSString *)shipName;
120- (void) newShipCommonSetup:(NSString *)shipKey yardInfo:(NSDictionary *)ship_info baseInfo:(NSDictionary *)ship_base_dict;
NSString * OOCommodityType
uint64_t OOCreditsQuantity
void normaliseReputation()
NSInteger missingSubEntitiesAdjustment()
void showTradeInInformationFooter()
NSString * checkPassengerContracts()
NSDictionary * reputation()
NSString * processEscapePods()
NSArray * passengerList()
void setGuiToDockingReportScreen()
int passengerReputation()
void setGuiToManifestScreen()
void showShipyardInfoForSelection()
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque