diff Renderer/Test/vacuum.h @ 563:b21a013051a2

all exmple on Mac OS X
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 22 Oct 2009 23:05:16 +0900
parents ec72b601b71f
children d0b8860c17f8
line wrap: on
line diff
--- a/Renderer/Test/vacuum.h	Thu Oct 22 22:22:31 2009 +0900
+++ b/Renderer/Test/vacuum.h	Thu Oct 22 23:05:16 2009 +0900
@@ -14,25 +14,25 @@
 };
 
 
-static void cube_move_left(SceneGraphPtr node, int screen_w, int screen_h);
-static void cube_move_right(SceneGraphPtr node, int screen_w, int screen_h);
-static void no_move_idle(SceneGraphPtr node, int screen_w, int screen_h);
-static void cube_collision_idle(SceneGraphPtr node, int screen_w, int screen_h,SceneGraphPtr tree);
-static void cube_collision(SceneGraphPtr node, int screen_w, int screen_h,SceneGraphPtr tree);
-static void cube_split(SceneGraphPtr root,SceneGraphPtr tree);
-static void vacuum_move(SceneGraphPtr node, int w, int h);
-static void vacuum_coll(SceneGraphPtr node, int w, int h,SceneGraphPtr tree);
-static void title_idle(SceneGraphPtr node, int screen_w, int screen_h);
-static void title_collision(SceneGraphPtr node, int screen_w, int screen_h,SceneGraphPtr tree);
-static void scene_change(int w,int h,SceneGraphPtr node);
-static void gameover_idle(SceneGraphPtr node, int screen_w, int screen_h);
-static void gameover_collision(SceneGraphPtr node, int screen_w, int screen_h,SceneGraphPtr tree);
-static void collision_red(SceneGraphIteratorPtr it,SceneGraphPtr node);
-static void collision_purple(SceneGraphIteratorPtr it,SceneGraphPtr node,int w,int h);
-static void gameover_scene(int w,int h, SceneGraphPtr node);
-static void add_cubecollision_object(int id,SceneGraphPtr root,int w,int h);
-static void lock_attack(SceneGraphPtr node,SceneGraphIteratorPtr it);
-static void lockon_collision(SceneGraphPtr node,int w,int h,SceneGraphPtr tree);
-static void cube_rotate(SceneGraphPtr node,int w,int h);
+extern void cube_move_left(SceneGraphPtr node, int screen_w, int screen_h);
+extern void cube_move_right(SceneGraphPtr node, int screen_w, int screen_h);
+extern void no_move_idle(SceneGraphPtr node, int screen_w, int screen_h);
+extern void cube_collision_idle(SceneGraphPtr node, int screen_w, int screen_h,SceneGraphPtr tree);
+extern void cube_collision(SceneGraphPtr node, int screen_w, int screen_h,SceneGraphPtr tree);
+extern void cube_split(SceneGraphPtr root,SceneGraphPtr tree);
+extern void vacuum_move(SceneGraphPtr node, int w, int h);
+extern void vacuum_coll(SceneGraphPtr node, int w, int h,SceneGraphPtr tree);
+extern void title_idle(SceneGraphPtr node, int screen_w, int screen_h);
+extern void title_collision(SceneGraphPtr node, int screen_w, int screen_h,SceneGraphPtr tree);
+extern void scene_change(int w,int h,SceneGraphPtr node);
+extern void gameover_idle(SceneGraphPtr node, int screen_w, int screen_h);
+extern void gameover_collision(SceneGraphPtr node, int screen_w, int screen_h,SceneGraphPtr tree);
+extern void collision_red(SceneGraphIteratorPtr it,SceneGraphPtr node);
+extern void collision_purple(SceneGraphIteratorPtr it,SceneGraphPtr node,int w,int h);
+extern void gameover_scene(int w,int h, SceneGraphPtr node);
+extern void add_cubecollision_object(int id,SceneGraphPtr root,int w,int h);
+extern void lock_attack(SceneGraphPtr node,SceneGraphIteratorPtr it);
+extern void lockon_collision(SceneGraphPtr node,int w,int h,SceneGraphPtr tree);
+extern void cube_rotate(SceneGraphPtr node,int w,int h);
 
 #endif