From 730e5dde39333cb2f63c72a7d7152bee5c4dbb05 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sat, 8 Feb 2014 15:09:25 -0800 Subject: Implement AString --- src/map/magic-interpreter.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/map/magic-interpreter.hpp') diff --git a/src/map/magic-interpreter.hpp b/src/map/magic-interpreter.hpp index 19f8574..7e42499 100644 --- a/src/map/magic-interpreter.hpp +++ b/src/map/magic-interpreter.hpp @@ -6,7 +6,7 @@ # include # include "../strings/fwd.hpp" -# include "../strings/fstring.hpp" +# include "../strings/rstring.hpp" # include "magic.hpp" # include "map.hpp" @@ -244,8 +244,8 @@ struct letdef_t struct spell_t { - FString name; - FString invocation; + RString name; + RString invocation; SPELL_FLAG flags; int arg; SPELLARG spellarg_ty; @@ -261,8 +261,8 @@ struct spell_t struct teleport_anchor_t { - FString name; - FString invocation; + RString name; + RString invocation; dumb_ptr location; }; @@ -274,15 +274,15 @@ struct magic_conf_t { struct mcvar { - FString name; + RString name; val_t val; }; // This should probably be done by a dedicated "intern pool" class std::vector varv; - std::map> spells_by_name, spells_by_invocation; + std::map> spells_by_name, spells_by_invocation; - std::map> anchors_by_name, anchors_by_invocation; + std::map> anchors_by_name, anchors_by_invocation; }; /* Execution environment */ @@ -434,7 +434,7 @@ struct args_rec_t struct proc_t { - FString name; + RString name; std::vector argv; dumb_ptr body; -- cgit v1.2.3-60-g2f50