From 073ad3584fbf781ce10bef61ad4ff38850282f47 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Tue, 21 Jun 2016 13:37:02 +0200 Subject: Rework TR{1,2,3,4,5}_* flags to flag_set<> --- src/player_class.hpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/player_class.hpp') diff --git a/src/player_class.hpp b/src/player_class.hpp index c5fc8916..98414158 100644 --- a/src/player_class.hpp +++ b/src/player_class.hpp @@ -2,6 +2,7 @@ #include "body.hpp" #include "h-basic.h" +#include "object_flag_set.hpp" #include "player_defs.hpp" #include "player_spec.hpp" @@ -78,12 +79,7 @@ struct player_class char body_parts[BODY_MAX] { }; /* To help to decide what to use when body changing */ - u32b oflags1[PY_MAX_LEVEL + 1] { }; - u32b oflags2[PY_MAX_LEVEL + 1] { }; - u32b oflags3[PY_MAX_LEVEL + 1] { }; - u32b oflags4[PY_MAX_LEVEL + 1] { }; - u32b oflags5[PY_MAX_LEVEL + 1] { }; - u32b oesp[PY_MAX_LEVEL + 1] { }; + std::array oflags; s16b opval[PY_MAX_LEVEL + 1] { }; char skill_basem[MAX_SKILLS] { }; -- cgit v1.2.3