diff options
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 { |