view StateList.h @ 66:f27a6af6514c

SchedRegister, game_task.h etc...
author tkaito
date Thu, 17 Feb 2011 10:56:56 +0900
parents b31bed246abd
children
line wrap: on
line source

#ifndef INCLUDE_STATE_LIST
#define INCLUDE_STATE_LIST

#define LIST_NUM 50
#define DATA_LENGTH 10

typedef struct StateList {
  const char *name;
  State state;

} StateList, *StateListPtr;

extern StateList state_list[LIST_NUM];

int GetStateNum(int task_num);
void initStateList();

#endif