1 /***************************************************************************
2  *   Copyright (C) 2012 by Andrey Afletdinov <fheroes2@gmail.com>          *
3  *                                                                         *
4  *   Part of the Free Heroes2 Engine:                                      *
5  *   http://sourceforge.net/projects/fheroes2                              *
6  *                                                                         *
7  *   This program is free software; you can redistribute it and/or modify  *
8  *   it under the terms of the GNU General Public License as published by  *
9  *   the Free Software Foundation; either version 2 of the License, or     *
10  *   (at your option) any later version.                                   *
11  *                                                                         *
12  *   This program is distributed in the hope that it will be useful,       *
13  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
14  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
15  *   GNU General Public License for more details.                          *
16  *                                                                         *
17  *   You should have received a copy of the GNU General Public License     *
18  *   along with this program; if not, write to the                         *
19  *   Free Software Foundation, Inc.,                                       *
20  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
21  ***************************************************************************/
22 
23 #ifndef H2SKILL_STATIC_H
24 #define H2SKILL_STATIC_H
25 
26 #include "gamedefs.h"
27 
28 namespace Skill
29 {
30     struct level_t
31     {
32         uint16_t basic;
33         uint16_t advanced;
34         uint16_t expert;
35     };
36 
37     struct primary_t
38     {
39         uint8_t attack;
40         uint8_t defense;
41         uint8_t power;
42         uint8_t knowledge;
43     };
44 
45     struct secondary_t
46     {
47         uint8_t archery;
48         uint8_t ballistics;
49         uint8_t diplomacy;
50         uint8_t eagleeye;
51         uint8_t estates;
52         uint8_t leadership;
53         uint8_t logistics;
54         uint8_t luck;
55         uint8_t mysticism;
56         uint8_t navigation;
57         uint8_t necromancy;
58         uint8_t pathfinding;
59         uint8_t scouting;
60         uint8_t wisdom;
61     };
62 
63     struct stats_t
64     {
65         const char * id;
66         primary_t captain_primary;
67         primary_t initial_primary;
68         uint8_t initial_book;
69         uint8_t initial_spell;
70         secondary_t initial_secondary;
71         uint8_t over_level;
72         primary_t mature_primary_under;
73         primary_t mature_primary_over;
74         secondary_t mature_secondary;
75     };
76 
77     struct values_t
78     {
79         const char * id;
80         level_t values;
81     };
82 }
83 
84 #endif
85