summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-15 11:14:45 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-15 11:14:45 +0000
commit0d67a194537e8e69426c8f55ced61b0a8701e90a (patch)
treea0dffc2e7af02443e1189e6b4e724414625eb43b /src/map/script.h
parentf16b914ef2bf3f75e1ee42f2277927660acd0116 (diff)
downloadhercules-0d67a194537e8e69426c8f55ced61b0a8701e90a.tar.gz
hercules-0d67a194537e8e69426c8f55ced61b0a8701e90a.tar.bz2
hercules-0d67a194537e8e69426c8f55ced61b0a8701e90a.tar.xz
hercules-0d67a194537e8e69426c8f55ced61b0a8701e90a.zip
Split off mapreg code from script.c
* new mapserver files, mapreg.h, mapreg_txt.c, mapreg_sql.c * removed MAPREGSQL from project files / makefiles * mapreg storage engine is now fully dependent on the server type * added config settings mapreg_txt and mapreg_db to inter config * added get_str() function to complement add_str() * fixed txt mapreg code allowing too long variable names git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13081 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/script.h b/src/map/script.h
index d4225d8f8..166d8caa6 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -4,6 +4,8 @@
#ifndef _SCRIPT_H_
#define _SCRIPT_H_
+struct map_session_data;
+
extern int potion_flag; //For use on Alchemist improved potions/Potion Pitcher. [Skotlex]
extern int potion_hp, potion_per_hp, potion_sp, potion_per_sp;
extern int potion_target;
@@ -150,7 +152,8 @@ struct DBMap* script_get_userfunc_db(void);
int script_config_read(char *cfgName);
int do_init_script(void);
int do_final_script(void);
-int add_str(const char *p);
+int add_str(const char* p);
+const char* get_str(int id);
int script_reload(void);
extern char mapreg_txt[];