transfer_s Struct Reference

Transfer informations (they are being stored in ccs.transfers[MAX_TRANSFERS]. More...

#include <cp_transfer.h>

Collaboration diagram for transfer_s:
Collaboration graph
[legend]

Data Fields

qboolean active
base_tdestBase
base_tsrcBase
date_t event
int itemAmount [MAX_OBJDEFS]
int alienAmount [MAX_TEAMDEFS][TRANS_ALIEN_MAX]
struct employee_semployeeArray [MAX_EMPL][MAX_EMPLOYEES]
int aircraftArray [MAX_AIRCRAFT]
qboolean hasItems
qboolean hasEmployees
qboolean hasAliens
qboolean hasAircraft

Detailed Description

Transfer informations (they are being stored in ccs.transfers[MAX_TRANSFERS].

Definition at line 53 of file cp_transfer.h.


Field Documentation

True if this transfer is under processing.

Definition at line 54 of file cp_transfer.h.

Referenced by E_DeleteEmployee(), TR_LoadXML(), TR_NotifyAircraftRemoved(), TR_TransferAlienAfterMissionStart(), TR_TransferCheck(), TR_TransferEnd(), and TR_TransferStart().

int transfer_s::aircraftArray[MAX_AIRCRAFT]

Aircraft being transferred. aircraftIdx

Definition at line 62 of file cp_transfer.h.

Referenced by TR_EmptyTransferCargo(), TR_LoadXML(), TR_NotifyAircraftRemoved(), TR_SaveXML(), and TR_TransferStart().

int transfer_s::alienAmount[MAX_TEAMDEFS][TRANS_ALIEN_MAX]

Alien cargo, [0] alive, [1] dead.

Definition at line 60 of file cp_transfer.h.

Referenced by TR_EmptyTransferCargo(), TR_LoadXML(), TR_SaveXML(), TR_TransferAlienAfterMissionStart(), and TR_TransferStart().

Pointer to destination base. May not be NULL if active is true.

Definition at line 55 of file cp_transfer.h.

Referenced by TR_LoadXML(), TR_SaveXML(), TR_TransferAlienAfterMissionStart(), TR_TransferCheck(), TR_TransferEnd(), and TR_TransferStart().

struct employee_s* transfer_s::employeeArray[MAX_EMPL][MAX_EMPLOYEES]

List of personal transferring.

Definition at line 61 of file cp_transfer.h.

Referenced by E_DeleteEmployee(), TR_EmptyTransferCargo(), TR_LoadXML(), TR_SaveXML(), and TR_TransferStart().

When the transfer finish process should start.

Definition at line 57 of file cp_transfer.h.

Referenced by TR_LoadXML(), TR_SaveXML(), TR_TransferAlienAfterMissionStart(), TR_TransferCheck(), and TR_TransferStart().

Transfer of aircraft.

Definition at line 67 of file cp_transfer.h.

Referenced by TR_EmptyTransferCargo(), TR_LoadXML(), TR_NotifyAircraftRemoved(), TR_SaveXML(), and TR_TransferStart().

Transfer of aliens.

Definition at line 66 of file cp_transfer.h.

Referenced by TR_EmptyTransferCargo(), TR_LoadXML(), TR_SaveXML(), TR_TransferAlienAfterMissionStart(), and TR_TransferStart().

Transfer of employees.

Definition at line 65 of file cp_transfer.h.

Referenced by TR_EmptyTransferCargo(), TR_LoadXML(), TR_SaveXML(), and TR_TransferStart().

Transfer of items.

Definition at line 64 of file cp_transfer.h.

Referenced by TR_EmptyTransferCargo(), TR_LoadXML(), TR_SaveXML(), TR_TransferAlienAfterMissionStart(), and TR_TransferStart().

int transfer_s::itemAmount[MAX_OBJDEFS]

Amount of given item.

Definition at line 59 of file cp_transfer.h.

Referenced by TR_EmptyTransferCargo(), TR_LoadXML(), TR_SaveXML(), TR_TransferAlienAfterMissionStart(), and TR_TransferStart().

Pointer to source base. May be NULL if transfer comes from a mission (alien body recovery).

Definition at line 56 of file cp_transfer.h.

Referenced by TR_EmptyTransferCargo(), TR_LoadXML(), TR_SaveXML(), TR_TransferAlienAfterMissionStart(), and TR_TransferStart().


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2