blob: 1f95abb7906574a70ec08b82f39c33e5b6c39f39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#pragma once
#include "h-basic.hpp"
#include "power_activation.hpp"
#include <string>
/**
* Power descriptor.
*/
struct power_type
{
std::string name; /* Name */
std::string desc_text; /* Text describing power */
std::string gain_text; /* Text displayed on gaining the power */
std::string lose_text; /* Text displayed on losing the power */
power_activation activation;
power_type(
const char *name_,
const char *desc_text_,
const char *gain_text_,
const char *lose_text_,
power_activation const &activation_)
: name(name_)
, desc_text(desc_text_)
, gain_text(gain_text_)
, lose_text(lose_text_)
, activation(activation_)
{
}
};
|