view Renderer/Test/vacuum.h @ 638:671fca057ad3

hmmmm
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 19 Nov 2009 18:18:20 +0900
parents b21a013051a2
children d0b8860c17f8
line wrap: on
line source

#ifndef VACUUM_H
#define VACUUM_H

#include <math.h>
#include <stdlib.h>
#include "SceneGraphRoot.h"
#include "Application.h"
#include "MainLoop.h"

class vacuum : public Application {

    MainLoopPtr init(Viewer *viewer, int screen_w, int screen_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