Galactic Bloodshed
Functions
order.cc File Reference
#include "gb/order.h"
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include "gb/GB_server.h"
#include "gb/buffers.h"
#include "gb/build.h"
#include "gb/files_shl.h"
#include "gb/fire.h"
#include "gb/getplace.h"
#include "gb/load.h"
#include "gb/moveship.h"
#include "gb/ships.h"
#include "gb/shlmisc.h"
#include "gb/shootblast.h"
#include "gb/tweakables.h"
#include "gb/vars.h"
Include dependency graph for order.cc:

Go to the source code of this file.

Functions

static std::string prin_aimed_at (const Ship &)
 
static void mk_expl_aimed_at (int, int, Ship *)
 
static void DispOrdersHeader (int, int)
 
static void DispOrders (int, int, Ship *)
 
static void give_orders (GameObj &, const command_t &, int, Ship *)
 
void order (const command_t &argv, GameObj &g)
 
std::string prin_ship_dest (const Ship &ship)
 
void route (const command_t &argv, GameObj &g)
 

Function Documentation

◆ DispOrders()

static void DispOrders ( int  Playernum,
int  Governor,
Ship ship 
)
static

Definition at line 690 of file order.cc.

References Dispshiploc_brief().

Referenced by order().

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

◆ DispOrdersHeader()

static void DispOrdersHeader ( int  Playernum,
int  Governor 
)
static

Definition at line 685 of file order.cc.

Referenced by order().

Here is the caller graph for this function:

◆ give_orders()

static void give_orders ( GameObj g,
const command_t argv,
int  ,
Ship ship 
)
static

Definition at line 67 of file order.cc.

References getplanet(), mk_expl_aimed_at(), putplanet(), putship(), and use_fuel().

Here is the call graph for this function:

◆ mk_expl_aimed_at()

static void mk_expl_aimed_at ( int  Playernum,
int  Governor,
Ship s 
)
static

Definition at line 626 of file order.cc.

References getplanet(), getstar(), putplanet(), putstar(), and tele_range().

Referenced by give_orders().

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

◆ order()

void order ( const command_t argv,
GameObj g 
)

Definition at line 34 of file order.cc.

References DispOrders(), DispOrdersHeader(), and do_shiplist().

Here is the call graph for this function:

◆ prin_aimed_at()

static std::string prin_aimed_at ( const Ship ship)
static

Definition at line 603 of file order.cc.

◆ prin_ship_dest()

std::string prin_ship_dest ( const Ship ship)

Definition at line 613 of file order.cc.

◆ route()

void route ( const command_t argv,
GameObj g 
)

Definition at line 857 of file order.cc.

References getplanet(), and putplanet().

Here is the call graph for this function: