Galactic Bloodshed
Functions
load.h File Reference
#include "gb/ships.h"
#include "gb/vars.h"
Include dependency graph for load.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void load (const command_t &, GameObj &)
 
void jettison (const command_t &, GameObj &)
 
void dump (const command_t &, GameObj &)
 
void transfer (const command_t &, GameObj &)
 
void mount (const command_t &, GameObj &)
 
void use_fuel (Ship *, double)
 
void use_destruct (Ship *, int)
 
void use_resource (Ship *, int)
 
void rcv_fuel (Ship *, double)
 
void rcv_resource (Ship *, int)
 
void rcv_destruct (Ship *, int)
 
void rcv_popn (Ship *, int, double)
 
void rcv_troops (Ship *, int, double)
 

Function Documentation

◆ dump()

void dump ( const command_t ,
GameObj  
)

Definition at line 622 of file load.cc.

References deductAPs(), enufAP(), getplanet(), getsdata(), getstar(), putplanet(), and putstar().

Here is the call graph for this function:

◆ jettison()

void jettison ( const command_t ,
GameObj  
)

Definition at line 470 of file load.cc.

References do_shiplist(), enufAP(), jettison_check(), putship(), use_destruct(), use_fuel(), and use_resource().

Here is the call graph for this function:

◆ load()

void load ( const command_t ,
GameObj  
)

Definition at line 37 of file load.cc.

References bufc, bufd, buff, bufm, bufr, do_shiplist(), do_transporter(), enufAP(), getplanet(), getsector(), landed_on(), overloaded(), putplanet(), putsector(), putship(), rcv_fuel(), rcv_resource(), and unload_onto_alien_sector().

Here is the call graph for this function:

◆ mount()

void mount ( const command_t ,
GameObj  
)

Definition at line 806 of file load.cc.

References do_shiplist(), and putship().

Here is the call graph for this function:

◆ rcv_destruct()

void rcv_destruct ( Ship ,
int   
)

Definition at line 901 of file load.cc.

Referenced by do_habitat(), do_merchant(), and do_transporter().

Here is the caller graph for this function:

◆ rcv_fuel()

void rcv_fuel ( Ship ,
double   
)

Definition at line 891 of file load.cc.

Referenced by do_merchant(), do_transporter(), doplanet(), and load().

Here is the caller graph for this function:

◆ rcv_popn()

void rcv_popn ( Ship ,
int  ,
double   
)

Definition at line 906 of file load.cc.

◆ rcv_resource()

void rcv_resource ( Ship ,
int   
)

Definition at line 896 of file load.cc.

Referenced by do_habitat(), do_merchant(), do_transporter(), and load().

Here is the caller graph for this function:

◆ rcv_troops()

void rcv_troops ( Ship ,
int  ,
double   
)

Definition at line 911 of file load.cc.

◆ transfer()

void transfer ( const command_t ,
GameObj  
)

Definition at line 710 of file load.cc.

References deductAPs(), enufAP(), getplanet(), and putplanet().

Here is the call graph for this function:

◆ use_destruct()

void use_destruct ( Ship ,
int   
)

Definition at line 881 of file load.cc.

Referenced by bombard(), defend(), do_merchant(), do_transporter(), fire(), jettison(), mech_attack_people(), people_attack_mech(), and walk().

Here is the caller graph for this function:

◆ use_fuel()

void use_fuel ( Ship ,
double   
)

Definition at line 876 of file load.cc.

Referenced by bombard(), defend(), do_ap(), do_habitat(), do_merchant(), do_transporter(), do_weapon_plant(), fire(), give_orders(), jettison(), land(), launch(), moveship(), plow(), terraform(), and walk().

Here is the caller graph for this function:

◆ use_resource()

void use_resource ( Ship ,
int   
)

Definition at line 886 of file load.cc.

Referenced by do_dome(), do_merchant(), do_repair(), do_transporter(), do_weapon_plant(), and jettison().

Here is the caller graph for this function: