- Changed the script source from unsigned char* to const char*.

- Updated plugins Makefile.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9532 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
FlavioJS
2006-12-20 07:17:18 +00:00
parent 4a2db02dec
commit 40b389bc42
8 changed files with 455 additions and 462 deletions

View File

@@ -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);