Mercurial > hg > Members > kono > Cerium
comparison Renderer/Engine/Application.h @ 507:735f76483bb2
Reorganization..
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 12 Oct 2009 09:39:35 +0900 |
parents | |
children | 97e1b0346597 |
comparison
equal
deleted
inserted
replaced
506:1d4a8a86f26b | 507:735f76483bb2 |
---|---|
1 #ifndef INCLUDED_APPLICATION | |
2 #define INCLUDED_APPLICATION | |
3 | |
4 #include "SceneGraph.h" | |
5 | |
6 typedef void (*move_func)(SceneGraph* node, int screen_w, int screen_h); | |
7 typedef void (*coll_func)(SceneGraph* node, int screen_w, int screen_h, SceneGraphPtr tree); | |
8 | |
9 class Application { | |
10 public: | |
11 Application(); | |
12 virtual ~Application(); | |
13 | |
14 void *propertyPtr; | |
15 int property_size; | |
16 int move_task_id_; | |
17 | |
18 int move_task_id(); | |
19 void set_move_func(move_func move); | |
20 void set_coll_func(coll_func coll); | |
21 SceneGraphPtr scenegraph_factory(void *p, int size); | |
22 SceneGraphPtr scenegraph_connector(void *p, int size, SceneGraphPtr s, SceneGraphPtr sg_available_list); | |
23 virtual void init(TaskManager *manager, int w, int h) ; | |
24 | |
25 }; | |
26 | |
27 #endif |