comparison dandy.h @ 2:6e1afe1016dc

Task is not yet.
author tkaito
date Thu, 17 Jun 2010 05:11:29 +0900
parents 7dc2d920fc7c
children 7b4c2cfeba45
comparison
equal deleted inserted replaced
1:7dc2d920fc7c 2:6e1afe1016dc
19 int score; 19 int score;
20 void *parent; 20 void *parent;
21 void *root; 21 void *root;
22 22
23 } *ObjPropertyPtr, ObjProperty; 23 } *ObjPropertyPtr, ObjProperty;
24
25 static const int ENEMY_NUM = 1;
26 extern ObjProperty charactor[ENEMY_NUM];
27
28 static const float player_speed = 10.0f;
29 static const float player_radius = 42.0f;
30
31 static const float boss_radius_x = 65.4f;
32 static const float boss_radius_y = 130.8f;
33 static const float first_boss1_speed = 10.0;
34 static const float first_boss1_depth = 500.0;
35 static const float return_boss1_depth_speed = 10.0;
36
37 static const float shot_speed = 30.0f;
38 static const float shot_radius = 42.4f;
39
40 extern void title_move(SceneGraphPtr node, void *sgroot_, int w, int h);
41 extern void title_coll(SceneGraphPtr node, void *sgroot_, int w, int h, SceneGraphPtr tree);
42 extern void dandy_move(SceneGraphPtr node, void *sgroot_, int w, int h);
43 extern void dandy_coll(SceneGraphPtr node, void *sgroot_, int w, int h,SceneGraphPtr tree);
44 extern void create_title(void *sgroot, int w, int h);
45 extern void create_stage(void *sgroot, int w, int h);
46
47 typedef struct enemy_state {
48 const char *charano;
49 int score;
50 int vital;
51
52 } state;
53
54 #define ENEMY_STATUS_TABLE { \
55 ENEMY_STATUS("test00", 0, 0), \
56 ENEMY_STATUS("greencrab", 330, 98) \
57 }