Mercurial > hg > Members > tkaito > task_dandy
diff dandy.h @ 7:c015109a6041
schedule add. 10% done.
author | tkaito |
---|---|
date | Tue, 29 Jun 2010 04:25:32 +0900 |
parents | 661ec1e92042 |
children | 7c60ef3fca5b |
line wrap: on
line diff
--- a/dandy.h Sun Jun 27 22:58:57 2010 +0900 +++ b/dandy.h Tue Jun 29 04:25:32 2010 +0900 @@ -25,9 +25,12 @@ int score; //4 void *parent; void *root; + int flag; } *ObjPropertyPtr, ObjProperty; +extern ObjPropertyPtr charactor; + static const int ENEMY_NUM = 1; static const float player_speed = 10.0f; @@ -46,8 +49,9 @@ extern void title_coll(SceneGraphPtr node, void *sgroot_, int w, int h, SceneGraphPtr tree); extern void dandy_move(SceneGraphPtr node, void *sgroot_, int w, int h); extern void dandy_coll(SceneGraphPtr node, void *sgroot_, int w, int h,SceneGraphPtr tree); -extern void create_title(void *sgroot, int w, int h, ObjPropertyPtr charactor); -extern void create_stage(void *sgroot, int w, int h, ObjPropertyPtr charactor); +extern void create_back(void *sgroot, int w, int h); +extern void create_stage(void *sgroot, int w, int h); +extern void schedule(SceneGraphPtr node, void *sgroot_, int w, int h); typedef struct enemy_state { const char *charano; @@ -56,9 +60,10 @@ } state; + //const state enemystate[50]; -#define ENEMY_STATUS_TABLE {\ +#define ENEMY_STATUS_TABLE {\ ENEMY_STATUS("title001" , 0 , 0), \ ENEMY_STATUS("greencrab", 330, 98), \ ENEMY_STATUS("plane", 470, 37), \