diff options
author | Valaris <Valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-01-29 16:00:45 +0000 |
---|---|---|
committer | Valaris <Valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-01-29 16:00:45 +0000 |
commit | a2675f07d7da22a7c6ae11f545bf8f671e785a82 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /src/map/script.h | |
parent | b8801ae9585201eaaf9fdf80d9c7117ee18f52e2 (diff) | |
download | hercules-a2675f07d7da22a7c6ae11f545bf8f671e785a82.tar.gz hercules-a2675f07d7da22a7c6ae11f545bf8f671e785a82.tar.bz2 hercules-a2675f07d7da22a7c6ae11f545bf8f671e785a82.tar.xz hercules-a2675f07d7da22a7c6ae11f545bf8f671e785a82.zip |
Clearing trunk.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5091 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.h')
-rw-r--r-- | src/map/script.h | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/src/map/script.h b/src/map/script.h deleted file mode 100644 index b30201a67..000000000 --- a/src/map/script.h +++ /dev/null @@ -1,59 +0,0 @@ -// $Id: script.h,v 1.2 2004/09/25 05:32:19 MouseJstr Exp $ -#ifndef _SCRIPT_H_ -#define _SCRIPT_H_ - -extern struct Script_Config { - int warn_func_no_comma; - int warn_cmd_no_comma; - int warn_func_mismatch_paramnum; - int warn_cmd_mismatch_paramnum; - int check_cmdcount; - int check_gotocount; - - int event_script_type; - char* die_event_name; - char* kill_event_name; - char* login_event_name; - char* logout_event_name; - int event_requires_trigger; -} script_config; - -struct script_data { - int type; - union { - int num; - char *str; - } u; -}; - -struct script_stack { - int sp,sp_max; - struct script_data *stack_data; -}; -struct script_state { - struct script_stack *stack; - int start,end; - int pos,state; - int rid,oid; - char *script,*new_script; - int defsp,new_pos,new_defsp; -}; - -char * parse_script(unsigned char *,int); -int run_script(char *,int,int,int); - -int set_var(struct map_session_data *sd, char *name, void *val); -int conv_num(struct script_state *st,struct script_data *data); -char* conv_str(struct script_state *st,struct script_data *data); - -struct dbt* script_get_label_db(); -struct dbt* script_get_userfunc_db(); - -int script_config_read(char *cfgName); -int do_init_script(); -int do_final_script(); - -extern char mapreg_txt[]; - -#endif - |