Mercurial > hg > Members > tkaito > dandy
view dandy.h @ 7:b0248931e40f
fix
author | tkaito |
---|---|
date | Mon, 14 Jun 2010 07:30:39 +0900 |
parents | 581fa1888e2e |
children | b87dcc11a6d0 |
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_object(void *sgroot_, int w, int h);