|
Galactic Bloodshed
|
#include "gb/creator/makeuniv.h"#include <cstdio>#include <cstdlib>#include <cstring>#include "gb/GB_server.h"#include "gb/buffers.h"#include "gb/build.h"#include "gb/creator/makestar.h"#include "gb/creator/namegen.h"#include "gb/files.h"#include "gb/files_shl.h"#include "gb/globals.h"#include "gb/map.h"#include "gb/power.h"#include "gb/races.h"#include "gb/sql/sql.h"#include "gb/tweakables.h"#include "gb/utils/fileutils.h"#include "gb/utils/rand.h"#include "gb/vars.h"Go to the source code of this file.
Functions | |
| int | main (int argc, char *argv[]) |
| void | place_star (startype *star) |
Variables | |
| int | autoname_star = -1 |
| int | autoname_plan = -1 |
| int | minplanets = -1 |
| int | maxplanets = -1 |
| int | printplaninfo = 0 |
| int | printstarinfo = 0 |
| static int | nstars = -1 |
| static int | occupied [100][100] |
| static int | planetlesschance = 0 |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 42 of file makeuniv.cc.
References autoname_plan, autoname_star, initsqldata(), Makeplanet_init(), Makestar(), Makestar_init(), maxplanets, minplanets, nstars, planetlesschance, printplaninfo, printstarinfo, PrintStatistics(), putsdata(), and putstar().
| void place_star | ( | startype * | star | ) |
Definition at line 228 of file makeuniv.cc.
References occupied.
Referenced by Makestar().
| int autoname_plan = -1 |
Definition at line 32 of file makeuniv.cc.
Referenced by main(), and NextPlanetName().
| int autoname_star = -1 |
Definition at line 31 of file makeuniv.cc.
Referenced by main(), and NextStarName().
| int maxplanets = -1 |
Definition at line 34 of file makeuniv.cc.
Referenced by main(), and Makestar().
| int minplanets = -1 |
Definition at line 33 of file makeuniv.cc.
Referenced by main(), and Makestar().
|
static |
Definition at line 38 of file makeuniv.cc.
Referenced by main().
|
static |
Definition at line 39 of file makeuniv.cc.
Referenced by place_star().
|
static |
Definition at line 40 of file makeuniv.cc.
Referenced by main().
| int printplaninfo = 0 |
Definition at line 35 of file makeuniv.cc.
Referenced by main(), and Makestar().
| int printstarinfo = 0 |
Definition at line 36 of file makeuniv.cc.
Referenced by main(), and Makestar().
1.8.13