diff --git a/Memory.xml b/Memory.xml
index 086f9e285..2c45336a5 100644
--- a/Memory.xml
+++ b/Memory.xml
@@ -1816,6 +1816,7 @@
+
@@ -2008,6 +2009,7 @@
+
diff --git a/library/include/dfhack/modules/Items.h b/library/include/dfhack/modules/Items.h
index d0f1c3e79..a69f657e1 100644
--- a/library/include/dfhack/modules/Items.h
+++ b/library/include/dfhack/modules/Items.h
@@ -125,6 +125,8 @@ public:
bool writeItem(const dfh_item & item);
/// who owns this item we already read?
int32_t getItemOwnerID(const dfh_item & item);
+ /// dump offsets used by accessors to a string
+ std::string dumpAccessors(const dfh_item & item);
private:
class Private;
Private* d;
diff --git a/library/include/dfhack/modules/Materials.h b/library/include/dfhack/modules/Materials.h
index 07e8c40f4..3407aeb06 100644
--- a/library/include/dfhack/modules/Materials.h
+++ b/library/include/dfhack/modules/Materials.h
@@ -174,8 +174,8 @@ namespace DFHack
void ReadAllMaterials(void);
- std::string getType(t_material & mat);
- std::string getDescription(t_material & mat);
+ std::string getType(const t_material & mat);
+ std::string getDescription(const t_material & mat);
private:
class Private;
Private* d;
diff --git a/library/modules/Items.cpp b/library/modules/Items.cpp
index d62aadec9..d235fa3ba 100644
--- a/library/modules/Items.cpp
+++ b/library/modules/Items.cpp
@@ -25,6 +25,7 @@ distribution.
#include "Internal.h"
#include
+#include
#include
#include
#include