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

Go to the source code of this file.

Functions

static placetype getplace2 (int Playernum, int Governor, const char *string, placetype *where, int ignoreexpl, int God)
 
placetype getplace (GameObj &g, const std::string &string, const int ignoreexpl)
 
char * Dispshiploc_brief (Ship *ship)
 
char * Dispshiploc (Ship *ship)
 
std::string Dispplace (const placetype &where)
 
bool testship (const player_t playernum, const governor_t governor, const Ship &s)
 

Variables

static char Disps [PLACENAMESIZE]
 

Function Documentation

◆ Dispplace()

std::string Dispplace ( const placetype where)

Definition at line 229 of file getplace.cc.

◆ Dispshiploc()

char* Dispshiploc ( Ship ship)

Definition at line 211 of file getplace.cc.

References Disps.

◆ Dispshiploc_brief()

char* Dispshiploc_brief ( Ship ship)

Definition at line 188 of file getplace.cc.

References Disps.

Referenced by DispOrders(), and ship_report().

Here is the caller graph for this function:

◆ getplace()

placetype getplace ( GameObj g,
const std::string &  string,
const int  ignoreexpl 
)

Definition at line 33 of file getplace.cc.

◆ getplace2()

static placetype getplace2 ( int  Playernum,
int  Governor,
const char *  string,
placetype where,
int  ignoreexpl,
int  God 
)
static

Definition at line 92 of file getplace.cc.

References getplanet().

Here is the call graph for this function:

◆ testship()

bool testship ( const player_t  playernum,
const governor_t  governor,
const Ship s 
)

Definition at line 248 of file getplace.cc.

References DontOwnErr().

Referenced by walk().

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

Variable Documentation

◆ Disps

char Disps[PLACENAMESIZE]
static

Definition at line 28 of file getplace.cc.

Referenced by Dispshiploc(), and Dispshiploc_brief().