diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
commit | b329b2fd77e32112a08fc41e1be58b32648225cf (patch) | |
tree | 6478e5cd4f782c85f40935c232b4337712acadb0 /src/owner_type.hpp | |
parent | fd6449ac75f553e32d2efa84c3cdfba88bb32d6e (diff) |
Move ow_info and ba_info into GameEditData
Diffstat (limited to 'src/owner_type.hpp')
-rw-r--r-- | src/owner_type.hpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/owner_type.hpp b/src/owner_type.hpp index 703d3159..4c47dc48 100644 --- a/src/owner_type.hpp +++ b/src/owner_type.hpp @@ -1,5 +1,7 @@ #pragma once +#include <string> + #include "h-basic.h" /* @@ -10,30 +12,30 @@ struct owner_type /** * Name */ - const char *name; + std::string name; /** * Purse limit */ - s16b max_cost; + s16b max_cost = 0; /** * Inflation */ - s16b inflation; + s16b inflation = 0; /** * Liked/hated races. */ - u32b races[2][2]; + u32b races[2][2] { }; /** * Liked/hated classes */ - u32b classes[2][2]; + u32b classes[2][2] { }; /** * Costs for liked people */ - s16b costs[3]; + s16b costs[3] { }; }; |