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/store_action_type.hpp | |
parent | fd6449ac75f553e32d2efa84c3cdfba88bb32d6e (diff) |
Move ow_info and ba_info into GameEditData
Diffstat (limited to 'src/store_action_type.hpp')
-rw-r--r-- | src/store_action_type.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/store_action_type.hpp b/src/store_action_type.hpp index 048e13a0..ee479375 100644 --- a/src/store_action_type.hpp +++ b/src/store_action_type.hpp @@ -7,11 +7,11 @@ */ struct store_action_type { - const char *name; /* Name */ + std::string name; /* Name */ - s16b costs[3]; /* Costs for liked people */ - char letter; /* Action letter */ - char letter_aux; /* Action letter */ - s16b action; /* Action code */ - s16b action_restr; /* Action restriction */ + std::array<s16b, 3> costs { }; /* Costs for liked people */ + char letter = '\0'; /* Action letter */ + char letter_aux = '\0'; /* Action letter */ + s16b action = 0; /* Action code */ + s16b action_restr = 0; /* Action restriction */ }; |