summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-20 07:17:18 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-20 07:17:18 +0000
commit38daeba66b5d2a9f6fc4eda795b6c9b8c77a7b54 (patch)
treec813881903b95d5fa1d0d0d64ca4055d278e24c2 /src/map/script.h
parent7b13f57cb69e6b38aa793f135a3c673cc6e72398 (diff)
downloadhercules-38daeba66b5d2a9f6fc4eda795b6c9b8c77a7b54.tar.gz
hercules-38daeba66b5d2a9f6fc4eda795b6c9b8c77a7b54.tar.bz2
hercules-38daeba66b5d2a9f6fc4eda795b6c9b8c77a7b54.tar.xz
hercules-38daeba66b5d2a9f6fc4eda795b6c9b8c77a7b54.zip
- Changed the script source from unsigned char* to const char*.
- Updated plugins Makefile. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9532 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 60fc3e990..274bc9022 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -31,7 +31,7 @@ extern struct Script_Config {
struct script_data {
int type;
- union {
+ union script_data_val {
int num;
char *str;
} u;
@@ -61,7 +61,7 @@ struct script_state {
} sleep;
};
-struct script_code* parse_script(unsigned char *,const char*,int);
+struct script_code* parse_script(const char* src,const char* file,int line);
void run_script_sub(struct script_code *rootscript,int pos,int rid,int oid, char* file, int lineno);
void run_script(struct script_code*,int,int,int);