comparison Renderer/Engine/Application.h @ 728:4f77768d7a7f

add Engine/ViewerDevice , SgRootChange not work
author aaa
date Sat, 19 Dec 2009 20:32:02 +0900
parents d0b8860c17f8
children 50220f219341
comparison
equal deleted inserted replaced
727:aaaa0baeab89 728:4f77768d7a7f
2 #define INCLUDED_APPLICATION 2 #define INCLUDED_APPLICATION
3 3
4 #include "SceneGraph.h" 4 #include "SceneGraph.h"
5 #include "MainLoop.h" 5 #include "MainLoop.h"
6 #include "viewer.h" 6 #include "viewer.h"
7 #include "SgChange.h"
8 7
9 typedef void (*Move_func)(SceneGraph* node, int screen_w, int screen_h); 8 typedef void (*Move_func)(SceneGraph* node, int screen_w, int screen_h);
10 typedef void (*Coll_func)(SceneGraph* node, int screen_w, int screen_h, SceneGraphPtr tree); 9 typedef void (*Coll_func)(SceneGraph* node, int screen_w, int screen_h, SceneGraphPtr tree);
11 10
12 class Viewer; 11 class Viewer;
13 class SgChange;
14 12
15 class Application { 13 class Application {
16 public: 14 public:
17 Application(); 15 Application();
18 virtual ~Application(); 16 virtual ~Application();
19 17
20 virtual MainLoopPtr init(Viewer *viewer, int w, int h) = 0; 18 virtual MainLoopPtr init(Viewer *viewer, int w, int h) = 0;
21 virtual MainLoopPtr init_only_sg(SgChange *sgchange, int w, int h) = 0;
22 }; 19 };
23 20
24 #endif 21 #endif