OSDN Git Service

Merge pull request #3569 from sikabane-works/release/3.0.0.88-alpha
[hengbandforosx/hengbandosx.git] / src / player-info / spell-hex-data-type.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 #include "realm/realm-hex-numbers.h"
6 #include "util/flag-group.h"
7
8 enum class SpellHexRevengeType : byte;
9
10 using HexSpellFlagGroup = FlagGroup<spell_hex_type, HEX_MAX>;
11
12 struct spell_hex_data_type {
13     HexSpellFlagGroup casting_spells{};
14     HexSpellFlagGroup interrupting_spells{};
15     SpellHexRevengeType revenge_type{};
16     int32_t revenge_power{};
17     byte revenge_turn{};
18 };