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

Go to the source code of this file.

Functions

void upgrade (const command_t &, GameObj &)
 
void make_mod (const command_t &, GameObj &)
 
void build (const command_t &, GameObj &)
 
int Shipcost (ShipType, Race *)
 
void sell (const command_t &, GameObj &)
 
void bid (const command_t &argv, GameObj &)
 
int shipping_cost (int, int, double *, int)
 

Variables

const char * Commod [4]
 

Function Documentation

◆ bid()

void bid ( const command_t argv,
GameObj  
)

Definition at line 1586 of file build.cc.

References getcommod(), getplanet(), Numcommods(), putcommod(), and shipping_cost().

Here is the call graph for this function:

◆ build()

void build ( const command_t ,
GameObj  
)

Definition at line 673 of file build.cc.

References autoload_at_planet(), can_build_at_planet(), create_ship_by_planet(), getplanet(), getsector(), initialize_new_ship(), putplanet(), putsdata(), putsector(), putship(), putstar(), and Shipcost().

Here is the call graph for this function:

◆ make_mod()

void make_mod ( const command_t ,
GameObj  
)

Definition at line 317 of file build.cc.

◆ sell()

void sell ( const command_t ,
GameObj  
)

Definition at line 1455 of file build.cc.

References deductAPs(), enufAP(), getdeadcommod(), getplanet(), Numcommods(), post(), putcommod(), and putplanet().

Here is the call graph for this function:

◆ Shipcost()

int Shipcost ( ShipType  ,
Race  
)

Definition at line 1447 of file build.cc.

References Getship().

Referenced by build().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ shipping_cost()

int shipping_cost ( int  ,
int  ,
double *  ,
int   
)

Definition at line 1767 of file build.cc.

Referenced by bid(), and do_turn().

Here is the caller graph for this function:

◆ upgrade()

void upgrade ( const command_t ,
GameObj  
)

Definition at line 89 of file build.cc.

Variable Documentation

◆ Commod

const char* Commod[4]

Definition at line 38 of file globals.h.