Mercurial > hg > Members > koba > t_dandy
diff state_task.h @ 19:00c3272a801f
fix.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 26 Dec 2010 18:57:08 +0900 |
parents | 844006c7ce84 |
children | 427e1aac0bd7 |
line wrap: on
line diff
--- a/state_task.h Fri Dec 17 22:18:11 2010 +0900 +++ b/state_task.h Sun Dec 26 18:57:08 2010 +0900 @@ -1,1 +1,12 @@ -void SimpleStateTask(CHARACTER *p); +#ifndef INCLUDE_STATE_TASK +#define INCLUDE_STATE_TASK + +#define LIST_NUM 50 + +extern State state_list[LIST_NUM]; + +int GetStateNum(int task_num); +void SetTaskState(int task_num, CHARACTER *state); +void initStateList(); + +#endif