blob: a0fa2d1b4c3797bed6764d980b1515065646b866 (
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
34
35
36
37
38
39
40
41
42
|
#pragma once
#include <array>
#include <string>
#include "h-basic.hpp"
/*
* Store owner descriptor.
*/
struct owner_type
{
/**
* Name
*/
std::string name;
/**
* Purse limit
*/
s16b max_cost = 0;
/**
* Inflation
*/
s16b inflation = 0;
/**
* Liked/hated races.
*/
std::array<std::array<u32b, 2>, 2> races { };
/**
* Liked/hated classes
*/
std::array<std::array<u32b, 2>, 2> classes { };
/**
* Costs for liked people
*/
std::array<s16b, 3> costs { };
};
|