summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-05-17 01:19:35 +0200
committerHaru <haru@dotalux.com>2016-06-25 17:29:47 +0200
commit6ff6b99d6665a387d83018f39dbf88f150338711 (patch)
treed318b0089d6ed64d3841a4d1be9cb86dea594432 /src/map/script.h
parentd442d4c5beca900865c5f323486818ae9ef42d89 (diff)
downloadhercules-6ff6b99d6665a387d83018f39dbf88f150338711.tar.gz
hercules-6ff6b99d6665a387d83018f39dbf88f150338711.tar.bz2
hercules-6ff6b99d6665a387d83018f39dbf88f150338711.tar.xz
hercules-6ff6b99d6665a387d83018f39dbf88f150338711.zip
Moved translations template generator to a plugin
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 30737e950..133c205a7 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -502,8 +502,7 @@ struct script_syntax_data {
int index; // Number of the syntax used in the script
int last_func; // buildin index of the last parsed function
unsigned int nested_call; //Dont really know what to call this
- bool lang_macro_active;
- struct DBMap *strings; // string map parsed (used when exporting strings only)
+ bool lang_macro_active; // Used to generate translation strings
struct DBMap *translation_db; //non-null if this npc has any translated strings to be linked
};
@@ -619,9 +618,6 @@ struct script_interface {
/* */
unsigned int *generic_ui_array;
unsigned int generic_ui_array_size;
- /* Set during startup when attempting to export the lang, unset after server initialization is over */
- FILE *lang_export_fp;
- char *lang_export_file;/* for lang_export_fp */
/* set and unset on npc_parse_script */
const char *parser_current_npc_name;
/* */
@@ -636,8 +632,6 @@ struct script_interface {
uint8 max_lang_id;
/* */
struct script_string_buf parse_simpleexpr_strbuf;
- struct script_string_buf lang_export_line_buf;
- struct script_string_buf lang_export_escaped_buf;
/* */
int parse_cleanup_timer_id;
/* */