Mercurial > hg > Members > tkaito > dandy
comparison viewer.cc @ 1:5a888b557a41
image and xml add (title, effect, gameover)
author | tkaito |
---|---|
date | Fri, 04 Jun 2010 06:25:42 +0900 |
parents | bb4b306c1248 |
children | dca6d5d2ef46 |
comparison
equal
deleted
inserted
replaced
0:bb4b306c1248 | 1:5a888b557a41 |
---|---|
6 | 6 |
7 | 7 |
8 // prototype | 8 // prototype |
9 static void object_move_rotation(SceneGraphPtr node, void *sgroot_, int screen_w, int screen_h); | 9 static void object_move_rotation(SceneGraphPtr node, void *sgroot_, int screen_w, int screen_h); |
10 static void object_collision(SceneGraphPtr node, void *sgroot_, int screen_w, int screen_h, SceneGraphPtr tree); | 10 static void object_collision(SceneGraphPtr node, void *sgroot_, int screen_w, int screen_h, SceneGraphPtr tree); |
11 static void object_collision_idle(SceneGraphPtr, void *sgroot_, int w, int h, SceneGraphPtr tree); | 11 //static void object_collision_idle(SceneGraphPtr, void *sgroot_, int w, int h, SceneGraphPtr tree); |
12 static void object_move_translation(SceneGraphPtr node, void *sgroot_, int screen_w, int screen_h); | 12 static void object_move_translation(SceneGraphPtr node, void *sgroot_, int screen_w, int screen_h); |
13 | 13 |
14 | 14 |
15 char *light_sysswitch = "off"; | 15 char *light_sysswitch = "off"; |
16 int light_num = 4; | 16 int light_num = 4; |
70 } | 70 } |
71 | 71 |
72 | 72 |
73 } | 73 } |
74 | 74 |
75 | 75 /* |
76 static void | 76 static void |
77 object_collision_idle(SceneGraphPtr, void *sgroot_, int w, int h, SceneGraphPtr tree) | 77 object_collision_idle(SceneGraphPtr, void *sgroot_, int w, int h, SceneGraphPtr tree) |
78 { | 78 { |
79 } | 79 } |
80 | 80 */ |
81 static void | 81 static void |
82 object_collision(SceneGraphPtr node, void *sgroot_, int screen_w, | 82 object_collision(SceneGraphPtr node, void *sgroot_, int screen_w, |
83 int screen_h, SceneGraphPtr tree) | 83 int screen_h, SceneGraphPtr tree) |
84 { | 84 { |
85 // if (node->xyz[1] > screen_h - object_radius) { | 85 // if (node->xyz[1] > screen_h - object_radius) { |