blob: abbe864721552042b44a24de507a3c1a696b5477 (
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
|
/**
* @file
* @brief Functions used when starting a new game.
**/
#ifndef NEWGAME_H
#define NEWGAME_H
class MenuFreeform;
struct menu_letter;
struct newgame_def;
undead_state_type get_undead_state(const species_type sp);
void choose_tutorial_character(newgame_def* ng_choice);
bool choose_game(newgame_def *ng, newgame_def* choice,
const newgame_def& defaults);
#define JOB_GROUP_SIZE 9
/*
* A structure for grouping backgrounds by category.
*/
struct job_group
{
const char* name; ///< Name of the group.
coord_def position; ///< Relative coordinates of the title.
int width; ///< Column width.
job_type jobs[JOB_GROUP_SIZE]; ///< List of jobs in the group.
/// A method to attach the group to a freeform.
void attach(const newgame_def* ng, const newgame_def& defaults,
MenuFreeform* menu, menu_letter &letter);
};
#endif
|