summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-06-26 21:03:31 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-06-26 21:03:31 +0000
commitcd9523853d03d6b341219801af8a1d44635ac825 (patch)
tree0df08aa035846d9e84a1b988f79d184ac55e4ac7 /src/map/script.h
parent0507af994a40360293a1da770e8e66c58cf7b632 (diff)
downloadhercules-cd9523853d03d6b341219801af8a1d44635ac825.tar.gz
hercules-cd9523853d03d6b341219801af8a1d44635ac825.tar.bz2
hercules-cd9523853d03d6b341219801af8a1d44635ac825.tar.xz
hercules-cd9523853d03d6b341219801af8a1d44635ac825.zip
* Changed the string hash of the script engine to SDBM.
* Reporting information about script data when an error occurs. * More work on ticket #41 (array functions). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10813 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 4152999d6..b207bd36e 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -44,8 +44,10 @@ struct script_code {
};
struct script_stack {
- int sp,sp_max,defsp;
- struct script_data *stack_data;
+ int sp;// number of entries in the stack
+ int sp_max;// capacity of the stack
+ int defsp;
+ struct script_data *stack_data;// stack
struct linkdb_node **var_function; // 関数依存変数
};