Mercurial > hg > Members > kono > Cerium
view TaskManager/Test/test_render/Application.h @ 444:bd81b461d2fc
test_render is not working...
author | game@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Fri, 25 Sep 2009 05:54:33 +0900 |
parents | cf2704424cc0 |
children | 579d71efbd70 |
line wrap: on
line source
class Application; typedef Application *ApplicationPtr; #ifndef INCLUDED_APPLICATION #define INCLUDED_APPLICATION #include "SceneGraph.h" typedef void (*move_func)(SceneGraph* node, int screen_w, int screen_h); typedef void (*coll_func)(SceneGraph* node, int screen_w, int screen_h, SceneGraphPtr tree); class Application { public: Application(); virtual ~Application(); void *propertyPtr; int property_size; void set_move_func(move_func move); void set_coll_func(coll_func coll); void set_move_taskid(int id); // SceneGraphPtr scenegraph_factory(PropertyPtr p); // SceneGraphPtr scenegraph_connector(PropertyPtr p,SceneGraphPtr s); SceneGraphPtr scenegraph_factory(void *p, int size); SceneGraphPtr scenegraph_connector(void *p, int size, SceneGraphPtr s, SceneGraphPtr sg_available_list); virtual void init(TaskManager *manager, int w, int h); int move_taskid; move_func move; coll_func coll; }; #endif