Galactic Bloodshed
Functions
declare.cc File Reference
#include "gb/declare.h"
#include <cstdio>
#include "gb/GB_server.h"
#include "gb/buffers.h"
#include "gb/config.h"
#include "gb/files.h"
#include "gb/files_shl.h"
#include "gb/races.h"
#include "gb/shlmisc.h"
#include "gb/tele.h"
#include "gb/tweakables.h"
#include "gb/utils/rand.h"
#include "gb/vars.h"
Include dependency graph for declare.cc:

Go to the source code of this file.

Functions

static void show_votes (int, int)
 
void invite (const command_t &argv, GameObj &g)
 
void pledge (const command_t &argv, GameObj &g)
 
void declare (const command_t &argv, GameObj &g)
 
void vote (const command_t &argv, GameObj &g)
 

Function Documentation

◆ declare()

void declare ( const command_t argv,
GameObj g 
)

Definition at line 138 of file declare.cc.

References deductAPs(), enufAP(), post(), and putrace().

Here is the call graph for this function:

◆ invite()

void invite ( const command_t argv,
GameObj g 
)

Definition at line 26 of file declare.cc.

References post(), and Putblock().

Here is the call graph for this function:

◆ pledge()

void pledge ( const command_t argv,
GameObj g 
)

Definition at line 72 of file declare.cc.

References post(), and Putblock().

Here is the call graph for this function:

◆ show_votes()

static void show_votes ( int  Playernum,
int  Governor 
)
static

Definition at line 344 of file declare.cc.

Referenced by vote().

Here is the caller graph for this function:

◆ vote()

void vote ( const command_t argv,
GameObj g 
)

Definition at line 271 of file declare.cc.

References putrace(), and show_votes().

Here is the call graph for this function: