summaryrefslogtreecommitdiff
path: root/src/ecommon/struct
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-11 00:42:56 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-11 02:09:45 +0300
commit82fca47fc7b00d8755c4333e0016bf555e46d0f8 (patch)
tree7afa440b66113e9fc24408f344e5340a90d83e8b /src/ecommon/struct
parent64e7b33c9163e387c94f1a11de4e15435c35005c (diff)
downloadevol-hercules-82fca47fc7b00d8755c4333e0016bf555e46d0f8.tar.gz
evol-hercules-82fca47fc7b00d8755c4333e0016bf555e46d0f8.tar.bz2
evol-hercules-82fca47fc7b00d8755c4333e0016bf555e46d0f8.tar.xz
evol-hercules-82fca47fc7b00d8755c4333e0016bf555e46d0f8.zip
Add script command for convert craft string into craft object.
New script command: initcraft var$ Return value: craft object id.
Diffstat (limited to 'src/ecommon/struct')
-rw-r--r--src/ecommon/struct/strutildata.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ecommon/struct/strutildata.h b/src/ecommon/struct/strutildata.h
new file mode 100644
index 0000000..fa9c11d
--- /dev/null
+++ b/src/ecommon/struct/strutildata.h
@@ -0,0 +1,16 @@
+// Copyright (c) Copyright (c) Hercules Dev Team, licensed under GNU GPL.
+// Copyright (c) 2014 - 2015 Evol developers
+
+#ifndef EVOL_MAP_STRUTILDATA
+#define EVOL_MAP_STRUTILDATA
+
+#include "common/db.h"
+
+struct strutil_data
+{
+ char *str;
+ VECTOR_DECL(char*) parts;
+ int len;
+};
+
+#endif // EVOL_MAP_STRUTILDATA