comparison Magoroku.h @ 115:31dd5c07f7c1

class OBJECT:SceanGraph
author e085768
date Wed, 15 Jun 2011 23:31:59 +0900
parents 0c4b7d74e292
children 5219bf3d5e71
comparison
equal deleted inserted replaced
113:8c96cadde050 115:31dd5c07f7c1
6 #include "Application.h" 6 #include "Application.h"
7 #include "MainLoop.h" 7 #include "MainLoop.h"
8 #include "Func.h" 8 #include "Func.h"
9 9
10 class Magoroku : public Application { 10 class Magoroku : public Application {
11 bool app_loop(Viewer *viewer); 11 bool app_loop(Viewer *viewer);
12 HTaskPtr application_task(HTaskPtr next, Viewer* viewer); 12 HTaskPtr application_task(HTaskPtr next, Viewer* viewer);
13 MainLoopPtr init(Viewer *viewer, int w, int h); 13 MainLoopPtr init(Viewer *viewer, int w, int h);
14 }; 14 };
15 15
16 extern Viewer *droot; 16 extern Viewer *droot;
17
17 18
18 typedef void (*move)(SceneGraphPtr node, void *sgroot_, int w, int h); 19 typedef void (*move)(SceneGraphPtr node, void *sgroot_, int w, int h);
19 typedef void (*coll)(SceneGraphPtr node, void *sgroot_, int w, int h, SceneGraphPtr tree); 20 typedef void (*coll)(SceneGraphPtr node, void *sgroot_, int w, int h, SceneGraphPtr tree);
20 21
21 #endif 22 #endif