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

Go to the source code of this file.

Functions

void arm (const command_t &, GameObj &)
 
void move_popn (const command_t &, GameObj &)
 
void walk (const command_t &, GameObj &)
 
int get_move (char, int, int, int *, int *, const Planet &)
 
void ground_attack (Race *, Race *, int *, int, population_t *, population_t *, unsigned int, unsigned int, double, double, double *, double *, int *, int *, int *)
 

Function Documentation

◆ arm()

void arm ( const command_t ,
GameObj  
)

Definition at line 39 of file move.cc.

References control(), getplanet(), getsector(), putplanet(), putrace(), and putsector().

Here is the call graph for this function:

◆ get_move()

int get_move ( char  ,
int  ,
int  ,
int *  ,
int *  ,
const Planet  
)

Definition at line 624 of file move.cc.

Referenced by moveship_onplanet().

Here is the caller graph for this function:

◆ ground_attack()

void ground_attack ( Race ,
Race ,
int *  ,
int  ,
population_t ,
population_t ,
unsigned  int,
unsigned  int,
double  ,
double  ,
double *  ,
double *  ,
int *  ,
int *  ,
int *   
)

◆ move_popn()

void move_popn ( const command_t ,
GameObj  
)

Definition at line 150 of file move.cc.

References adjacent(), control(), deductAPs(), enufAP(), getplanet(), getsector(), ground_attack(), mech_defend(), putplanet(), putrace(), and putsector().

Here is the call graph for this function:

◆ walk()

void walk ( const command_t ,
GameObj  
)

Definition at line 449 of file move.cc.

References deductAPs(), enufAP(), getplanet(), getsector(), mech_attack_people(), people_attack_mech(), post(), putplanet(), putrace(), putsector(), putship(), retal_strength(), testship(), use_destruct(), and use_fuel().

Here is the call graph for this function: