diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
commit | 013e27d39ee8ee513208d2855c7e3f6252f0c0bf (patch) | |
tree | 78ff86f87247b6bbcc43b14e1c00d10cfaca683f /src/cmd5.hpp | |
parent | b15461dbcedf27f28a843f700ce0473d57364230 (diff) |
Refactor object_type 'inscription' field to std::string
We don't really need quarks for this since we're not nearly as
memory-constrained these days.
Diffstat (limited to 'src/cmd5.hpp')
-rw-r--r-- | src/cmd5.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd5.hpp b/src/cmd5.hpp index 7a0cd27a..89bbab8c 100644 --- a/src/cmd5.hpp +++ b/src/cmd5.hpp @@ -4,6 +4,8 @@ #include "object_type_fwd.hpp" #include "monster_race_fwd.hpp" #include "monster_power_fwd.hpp" + +#include <string> #include <vector> extern bool_ is_magestaff(void); @@ -11,7 +13,7 @@ extern void do_cmd_browse_aux(object_type *o_ptr); extern void do_cmd_browse(void); extern void fetch(int dir, int wgt, bool_ require_los); extern void do_poly_self(void); -extern cptr symbiote_name(bool_ capitalize); +extern std::string symbiote_name(bool capitalize); extern int use_symbiotic_power(int r_idx, bool great); extern void use_monster_power(int r_idx, bool great); extern bool_ is_ok_spell(s32b spell_idx, s32b pval); |