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

Go to the source code of this file.

Functions

static auto constexpr victory_sort (const void *A, const void *B)
 
void victory (const command_t &argv, GameObj &g)
 
void create_victory_list (struct vic vic[MAXPLAYERS])
 

Function Documentation

◆ create_victory_list()

void create_victory_list ( struct vic vic  [MAXPLAYERS])

Definition at line 60 of file victory.cc.

Referenced by power(), and victory().

Here is the caller graph for this function:

◆ victory()

void victory ( const command_t argv,
GameObj g 
)

Definition at line 29 of file victory.cc.

References create_victory_list().

Here is the call graph for this function:

◆ victory_sort()

static auto constexpr victory_sort ( const void *  A,
const void *  B 
)
static

Definition at line 16 of file victory.cc.