summaryrefslogtreecommitdiff
path: root/src/emap/lang.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/lang.h')
-rw-r--r--src/emap/lang.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/emap/lang.h b/src/emap/lang.h
new file mode 100644
index 0000000..4afc6b9
--- /dev/null
+++ b/src/emap/lang.h
@@ -0,0 +1,15 @@
+// Copyright (c) Copyright (c) Hercules Dev Team, licensed under GNU GPL.
+// Copyright (c) 2014 Evol developers
+
+#ifndef EVOL_MAP_LANG
+#define EVOL_MAP_LANG
+
+extern struct DBMap *translate_db;
+
+void do_init_langs (void);
+void do_final_langs(void);
+const char* lang_trans(const char *str, int lng, int flg);
+const char* lang_pctrans(const char *str, TBL_PC *sd);
+int lang_getId(const char *str);
+
+#endif // EVOL_MAP_LANG