blob: 4af317363dffd510fb464be24f9a6c608855d445 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#ifndef NEWGAME_DEF_H
#define NEWGAME_DEF_H
#include "itemprop-enum.h"
// Either a character definition, with real species, job, and
// weapon, book, wand as appropriate.
// Or a character choice, with possibly random/viable entries.
struct newgame_def
{
string name;
game_type type;
string filename;
// map name for sprint (or others in the future)
// XXX: "random" means a random eligible map
string map;
string arena_teams;
species_type species;
job_type job;
weapon_type weapon;
// Only relevant for character choice, where the entire
// character was randomly picked in one step.
// If this is true, the species field encodes whether
// the choice was for a viable character or not.
bool fully_random;
newgame_def();
void clear_character();
};
#endif
|