diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-06-07 17:49:09 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-06-07 17:49:09 +0200 |
commit | c8a270e51dc22f39ed048ab1cc609e6e456df58f (patch) | |
tree | 6d6a7d2338abdbecbb1351e2c9cbf9b08b42b6bc /src/owner_type.hpp | |
parent | dcb193fabc7af4776bdf0d31045f6801fa18000e (diff) |
Split types.h into separate header for each type
Diffstat (limited to 'src/owner_type.hpp')
-rw-r--r-- | src/owner_type.hpp | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/owner_type.hpp b/src/owner_type.hpp new file mode 100644 index 00000000..703d3159 --- /dev/null +++ b/src/owner_type.hpp @@ -0,0 +1,39 @@ +#pragma once + +#include "h-basic.h" + +/* + * Store owner descriptor. + */ +struct owner_type +{ + /** + * Name + */ + const char *name; + + /** + * Purse limit + */ + s16b max_cost; + + /** + * Inflation + */ + s16b inflation; + + /** + * Liked/hated races. + */ + u32b races[2][2]; + + /** + * Liked/hated classes + */ + u32b classes[2][2]; + + /** + * Costs for liked people + */ + s16b costs[3]; +}; |