summaryrefslogtreecommitdiff
path: root/src/object_type.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
committerBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
commit013e27d39ee8ee513208d2855c7e3f6252f0c0bf (patch)
tree78ff86f87247b6bbcc43b14e1c00d10cfaca683f /src/object_type.hpp
parentb15461dbcedf27f28a843f700ce0473d57364230 (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/object_type.hpp')
-rw-r--r--src/object_type.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/object_type.hpp b/src/object_type.hpp
index 48d18cf1..aec713b0 100644
--- a/src/object_type.hpp
+++ b/src/object_type.hpp
@@ -3,6 +3,8 @@
#include "h-basic.h"
#include "object_flag_set.hpp"
+#include <string>
+
/**
* Object information for a specific object.
*
@@ -75,7 +77,8 @@ struct object_type
byte marked = 0; /* Object is marked */
- u16b note = 0; /* Inscription index */
+ std::string inscription; /* Inscription index */
+
u16b art_name = 0; /* Artifact name (random artifacts) */
object_flag_set art_flags; /* Flags */