summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-05-17 00:44:14 +0200
committerHaru <haru@dotalux.com>2016-06-25 17:29:44 +0200
commit70a1facc30c2670d57744b67ec2e7842b8e0a840 (patch)
treefddb8fc651ce23fa7066fc70fdc2e4a84a9c333f /src/map/script.h
parent95d5ff6fde56fbd407ac5fe07ceae22f67fea1da (diff)
downloadhercules-70a1facc30c2670d57744b67ec2e7842b8e0a840.tar.gz
hercules-70a1facc30c2670d57744b67ec2e7842b8e0a840.tar.bz2
hercules-70a1facc30c2670d57744b67ec2e7842b8e0a840.tar.xz
hercules-70a1facc30c2670d57744b67ec2e7842b8e0a840.zip
Split translation handling out of parse_simpleexpr_string()
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/script.h b/src/map/script.h
index a9a719099..30737e950 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -635,7 +635,7 @@ struct script_interface {
char **languages;
uint8 max_lang_id;
/* */
- struct script_string_buf parse_simpleexpr_str;
+ struct script_string_buf parse_simpleexpr_strbuf;
struct script_string_buf lang_export_line_buf;
struct script_string_buf lang_export_escaped_buf;
/* */
@@ -737,6 +737,7 @@ struct script_interface {
const char *(*parse_simpleexpr_number) (const char *p);
const char *(*parse_simpleexpr_string) (const char *p);
const char *(*parse_simpleexpr_name) (const char *p);
+ void (*add_translatable_string) (const struct script_string_buf *string, const char *start_point);
const char *(*parse_expr) (const char *p);
const char *(*parse_line) (const char *p);
void (*read_constdb) (void);