Galactic Bloodshed
Functions
powercmd.cc File Reference
#include "gb/powercmd.h"
#include <cstdio>
#include <cstring>
#include "gb/GB_server.h"
#include "gb/buffers.h"
#include "gb/power.h"
#include "gb/prof.h"
#include "gb/races.h"
#include "gb/shlmisc.h"
#include "gb/vars.h"
#include "gb/victory.h"
Include dependency graph for powercmd.cc:

Go to the source code of this file.

Functions

static void prepare_output_line (Race *, Race *, int, int)
 
void block (const command_t &argv, GameObj &g)
 
void power (const command_t &argv, GameObj &g)
 
static void prepare_output_line (racetype *Race, racetype *r, int i, int rank)
 

Function Documentation

◆ block()

void block ( const command_t argv,
GameObj g 
)

Definition at line 23 of file powercmd.cc.

References Estimate_i().

Here is the call graph for this function:

◆ power()

void power ( const command_t argv,
GameObj g 
)

Definition at line 176 of file powercmd.cc.

References create_victory_list(), and prepare_output_line().

Here is the call graph for this function:

◆ prepare_output_line() [1/2]

static void prepare_output_line ( Race ,
Race ,
int  ,
int   
)
static

◆ prepare_output_line() [2/2]

static void prepare_output_line ( racetype Race,
racetype r,
int  i,
int  rank 
)
static

Definition at line 230 of file powercmd.cc.

References Estimate_i().

Referenced by power().

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