Mercurial > hg > old > magoroku_racing
view Magoroku.h @ 140:6674b7498075
course fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 23 Jul 2011 03:17:34 +0900 |
parents | d9e3137e70a0 |
children |
line wrap: on
line source
#ifndef INCLUDE_MAGOROKU_H #define INCLUDE_MAGOROKU_H #include "TaskManager.h" #include "SceneGraph.h" #include "Application.h" #include "MainLoop.h" #include "Func.h" class Magoroku : public Application { bool app_loop(Viewer *viewer); HTaskPtr application_task(HTaskPtr next, Viewer* viewer); MainLoopPtr init(Viewer *viewer, int w, int h); }; extern Viewer *droot; typedef void (*move)(SceneGraphPtr node, void *sgroot_, int w, int h); typedef void (*coll)(SceneGraphPtr node, void *sgroot_, int w, int h, SceneGraphPtr tree); #endif