summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-23 08:35:22 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-23 08:35:22 +0000
commite4666b4fb5100b2be3f7758cbf0d724b046a7178 (patch)
treef1f6a3fb93ca3d68864e085ac8bba357ea12f018 /src/map/script.h
parentefac9030a63b8353237cb26cf6cc1ac272288f1e (diff)
downloadhercules-e4666b4fb5100b2be3f7758cbf0d724b046a7178.tar.gz
hercules-e4666b4fb5100b2be3f7758cbf0d724b046a7178.tar.bz2
hercules-e4666b4fb5100b2be3f7758cbf0d724b046a7178.tar.xz
hercules-e4666b4fb5100b2be3f7758cbf0d724b046a7178.zip
* Added 'setd' support for local NPC scope (') variables.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6704 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 109ab7690..87b03a5af 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -69,9 +69,10 @@ int run_script(struct script_code *rootscript,int pos,int rid,int oid);
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);
-void setd_sub(struct map_session_data *sd, char *varname, int elem, void *value);
+void setd_sub(struct script_state *st, struct map_session_data *sd, char *varname, int elem, void *value);
int run_script_timer(int tid, unsigned int tick, int id, int data);
int run_script_main(struct script_state *st);
+
struct linkdb_node* script_erase_sleepdb(struct linkdb_node *n);
void script_free_code(struct script_code* code);