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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
/*
* File: newgame.h
* Summary: Functions used when starting a new game.
* Written by: Linley Henzell
*/
#ifndef NEWGAME_H
#define NEWGAME_H
#include "enum.h"
#include "itemprop-enum.h"
enum death_knight_type
{
DK_NO_SELECTION,
DK_NECROMANCY,
DK_YREDELEMNUL,
DK_RANDOM
};
enum startup_book_type
{
SBT_NO_SELECTION = 0,
SBT_FIRE,
SBT_COLD,
SBT_SUMM,
SBT_RANDOM
};
enum startup_wand_type
{
SWT_NO_SELECTION = 0,
SWT_ENSLAVEMENT,
SWT_CONFUSION,
SWT_MAGIC_DARTS,
SWT_FROST,
SWT_FLAME,
SWT_STRIKING, // actually a rod
SWT_RANDOM
};
class player;
struct newgame_def
{
std::string name;
species_type species;
job_type job;
// TODO: fill in
void init(const player &p);
void save(player &p);
};
undead_state_type get_undead_state(const species_type sp);
bool new_game();
int give_first_conjuration_book();
bool choose_race(void);
bool choose_class(void);
void give_basic_mutations(species_type speci);
#endif
|