Mercurial > hg > Members > tkaito > dandy
view dandy.h @ 8:b87dcc11a6d0
fix
author | tkaito |
---|---|
date | Mon, 14 Jun 2010 07:48:42 +0900 |
parents | b0248931e40f |
children | 93d9db48775f |
line wrap: on
line source
#include <math.h> #include <stdlib.h> #include "SceneGraph.h" #include "Application.h" #include "MainLoop.h" class dandy : public Application { MainLoopPtr init(Viewer *viewer, int screen_w, int screen_h); }; static const float player_speed = 10.0f; static const float player_radius = 42.0f; static const float boss_radius_x = 65.4f; static const float boss_radius_y = 130.8f; static const float first_boss1_speed = 10.0; static const float first_boss1_depth = 500.0; static const float return_boss1_depth_speed = 10.0; static const float shot_speed = 30.0f; static const float shot_radius = 42.4f; extern void title_collision(SceneGraphPtr node, void *sgroot_, int w, int h, SceneGraphPtr tree); extern void gameover_scene(void *sgroot_, int w, int h); extern void create_stage(void *sgroot_, int w, int h);