summaryrefslogtreecommitdiff
path: root/src/player_race.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/player_race.hpp')
-rw-r--r--src/player_race.hpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/player_race.hpp b/src/player_race.hpp
index 36c9109e..560ba34f 100644
--- a/src/player_race.hpp
+++ b/src/player_race.hpp
@@ -8,12 +8,13 @@
#include "player_level_flag.hpp"
#include "player_race_ability_type.hpp"
#include "player_race_flag_set.hpp"
-#include "skills_defs.hpp"
+#include "player_shared.hpp"
#include "skill_modifiers.hpp"
#include <array>
#include <vector>
+
/**
* Player racial descriptior.
*/
@@ -22,19 +23,14 @@ struct player_race
const char *title = nullptr; /* Type of race */
char *desc = nullptr;
- s16b r_adj[6] { }; /* Racial stat bonuses */
-
char luck = '\0'; /* Luck */
- byte r_mhp = 0; /* Race hit-dice modifier */
- u16b r_exp = 0; /* Race experience factor */
+ player_shared ps;
byte infra = 0; /* Infra-vision range */
u32b choice[2] { }; /* Legal class choices */
- s16b powers[4] { }; /* Powers of the race */
-
byte body_parts[BODY_MAX] { }; /* To help to decide what to use when body changing */
s16b chart = 0; /* Chart history */