Galactic Bloodshed
Functions | Variables
max.cc File Reference
#include "gb/max.h"
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include "gb/files_shl.h"
#include "gb/races.h"
#include "gb/ships.h"
#include "gb/tweakables.h"
#include "gb/vars.h"
Include dependency graph for max.cc:

Go to the source code of this file.

Functions

int maxsupport (const Race *r, const Sector &s, const double c, const int toxic)
 
double compatibility (const Planet &planet, const Race *race)
 
double gravity (const Planet &p)
 
char * prin_ship_orbits (Ship *s)
 

Variables

static char Dispshiporbits_buf [PLACENAMESIZE+13]
 

Function Documentation

◆ compatibility()

double compatibility ( const Planet planet,
const Race race 
)

Definition at line 37 of file max.cc.

Referenced by anonymous_namespace{colonies.cc}::colonies_at_star(), DispPlanet(), do_analysis(), exploration(), and survey().

Here is the caller graph for this function:

◆ gravity()

double gravity ( const Planet p)

Definition at line 59 of file max.cc.

Referenced by do_merchant(), land(), launch(), and survey().

Here is the caller graph for this function:

◆ maxsupport()

int maxsupport ( const Race r,
const Sector s,
const double  c,
const int  toxic 
)

Definition at line 26 of file max.cc.

Referenced by do_analysis(), enroll_valid_race(), main(), produce(), and survey().

Here is the caller graph for this function:

◆ prin_ship_orbits()

char* prin_ship_orbits ( Ship s)

Definition at line 63 of file max.cc.

References Dispshiporbits_buf.

Referenced by bombard(), do_canister(), and do_greenhouse().

Here is the caller graph for this function:

Variable Documentation

◆ Dispshiporbits_buf

char Dispshiporbits_buf[PLACENAMESIZE+13]
static

Definition at line 24 of file max.cc.

Referenced by prin_ship_orbits().