summaryrefslogtreecommitdiff
path: root/src/emap/script.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-01 22:22:07 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-01 22:22:07 +0300
commit1419fc70cba0f3263a15eeac8d58d27dd3af0c69 (patch)
tree3d14bf822e194d18bf9781bde7d5bfb80c30e05d /src/emap/script.c
parentcdeb65b6bcbce16c654891a7f75b86bc669e2bdf (diff)
downloadplugin-1419fc70cba0f3263a15eeac8d58d27dd3af0c69.tar.gz
plugin-1419fc70cba0f3263a15eeac8d58d27dd3af0c69.tar.bz2
plugin-1419fc70cba0f3263a15eeac8d58d27dd3af0c69.tar.xz
plugin-1419fc70cba0f3263a15eeac8d58d27dd3af0c69.zip
Rename some functions in same way like it named in server.
Diffstat (limited to 'src/emap/script.c')
-rw-r--r--src/emap/script.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emap/script.c b/src/emap/script.c
index d2069eb..2939c1e 100644
--- a/src/emap/script.c
+++ b/src/emap/script.c
@@ -54,7 +54,7 @@
if (!ext) \
return r
-void escript_set_reg_npc_num(struct script_state* st, struct reg_db *n, int64 *num, const char* name, int *val)
+void eset_reg_npcscope_num(struct script_state* st, struct reg_db *n, int64 *num, const char* name, int *val)
{
if (!strcmp(name, ".lang"))
{
@@ -140,7 +140,7 @@ void escript_set_reg_npc_num(struct script_state* st, struct reg_db *n, int64 *n
}
}
-int escript_get_val_npcscope_num(struct script_state* st, struct reg_db *n, struct script_data* data)
+int eget_val_npcscope_num(struct script_state* st, struct reg_db *n, struct script_data* data)
{
const char *name = reference_getname(data);
if (!strcmp(name, ".lang"))
@@ -213,7 +213,7 @@ int escript_get_val_npcscope_num(struct script_state* st, struct reg_db *n, stru
return 0;
}
-void escript_set_reg_npc_str(struct script_state* st, struct reg_db *n, int64 *num, const char* name, const char *str)
+void eset_reg_npcscope_str(struct script_state* st, struct reg_db *n, int64 *num, const char* name, const char *str)
{
if (!strcmp(name, ".map$"))
{
@@ -239,7 +239,7 @@ void escript_set_reg_npc_str(struct script_state* st, struct reg_db *n, int64 *n
}
}
-char *escript_get_val_npcscope_str(struct script_state* st, struct reg_db *n, struct script_data* data)
+char *eget_val_npcscope_str(struct script_state* st, struct reg_db *n, struct script_data* data)
{
const char *name = reference_getname(data);
if (!strcmp(name, ".map$"))