Mana
Loading...
Searching...
No Matches
chardb.h
Go to the documentation of this file.
1/*
2 * Character creation settings
3 * Copyright (C) 2011-2013 The ManaPlus Developers
4 * Copyright (C) 2013 The Mana Developers
5 *
6 * This file is part of The ManaPlus Client.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 */
21
22#pragma once
23
24#include <vector>
25
29namespace CharDB
30{
31 void load();
32 void unload();
33
34 unsigned getMinHairColor();
35 unsigned getMaxHairColor();
36
37 unsigned getMinHairStyle();
38 unsigned getMaxHairStyle();
39
40 unsigned getMinStat();
41 unsigned getMaxStat();
42 unsigned getSumStat();
43
44 const std::vector<int> &getDefaultItems();
45}
Character creation settings.
Definition chardb.h:30
void unload()
Definition chardb.cpp:87
unsigned getSumStat()
Definition chardb.cpp:124
unsigned getMinStat()
Definition chardb.cpp:114
void load()
Definition chardb.cpp:47
unsigned getMinHairStyle()
Definition chardb.cpp:104
unsigned getMaxHairStyle()
Definition chardb.cpp:109
unsigned getMaxStat()
Definition chardb.cpp:119
unsigned getMaxHairColor()
Definition chardb.cpp:99
unsigned getMinHairColor()
Definition chardb.cpp:94
const std::vector< int > & getDefaultItems()
Definition chardb.cpp:129