diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-01 07:05:16 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-01 07:05:16 +0000 |
commit | a50c6281bbad73cd4155cbf55af4c899c9e2d1ea (patch) | |
tree | 8161ab2ccedc1fcbdac2f719c3f530bf73b9ed1d /src/map/script.h | |
parent | 21dbc498aa93746cc8aaf38b7362a58c71addb84 (diff) | |
download | hercules-a50c6281bbad73cd4155cbf55af4c899c9e2d1ea.tar.gz hercules-a50c6281bbad73cd4155cbf55af4c899c9e2d1ea.tar.bz2 hercules-a50c6281bbad73cd4155cbf55af4c899c9e2d1ea.tar.xz hercules-a50c6281bbad73cd4155cbf55af4c899c9e2d1ea.zip |
Removed unused guardian hp columns from the guild castles table in main.sql (should have been done in r11915).
Corrected incorrect use of the datetime column in the `login` table (bugreport:1962). Refreshed txt account savefile.
Cleaned up some random minor source code glitches.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13030 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.h')
-rw-r--r-- | src/map/script.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/map/script.h b/src/map/script.h index 981c5b985..d4225d8f8 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -90,10 +90,17 @@ struct script_stack { struct linkdb_node **var_function; // 関数依存変数 }; + +// +// Script state +// +enum e_script_state { RUN,STOP,END,RERUNLINE,GOTO,RETFUNC }; + struct script_state { struct script_stack* stack; int start,end; - int pos,state; + int pos; + enum e_script_state state; int rid,oid; struct script_code *script, *scriptroot; struct sleep_data { |