|
Galactic Bloodshed
|
#include "gb/GB_racegen.h"#include <unistd.h>#include <csignal>#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/globals.h"#include "gb/map.h"#include "gb/max.h"#include "gb/perm.h"#include "gb/racegen.h"#include "gb/races.h"#include "gb/shipdata.h"#include "gb/ships.h"#include "gb/sql/sql.h"#include "gb/tweakables.h"#include "gb/utils/rand.h"#include "gb/vars.h"Go to the source code of this file.
Functions | |
| bool | notify (const player_t, const governor_t, const std::string &) |
| void | warn (const player_t, const governor_t, const std::string &) |
| void | init_enroll () |
| int | enroll_valid_race () |
Variables | |
| static const PlanetType | planet_translate [N_HOME_PLANET_TYPES] |
| int enroll_valid_race | ( | ) |
Definition at line 48 of file GB_racegen.cc.
References getplanet(), getsdata(), getsmap(), getstar(), Getxysect(), maxsupport(), Numraces(), Numships(), PermuteSects(), planet_translate, putplanet(), putrace(), putsector(), putship(), and putstar().
Referenced by enroll(), and enroll_player_race().
| void init_enroll | ( | ) |
Definition at line 44 of file GB_racegen.cc.
| bool notify | ( | const player_t | , |
| const governor_t | , | ||
| const std::string & | |||
| ) |
Definition at line 37 of file GB_racegen.cc.
| void warn | ( | const player_t | , |
| const governor_t | , | ||
| const std::string & | |||
| ) |
Definition at line 42 of file GB_racegen.cc.
|
static |
Definition at line 31 of file GB_racegen.cc.
Referenced by enroll_valid_race().
1.8.13