comparison TaskManager/Test/test_render/Application.cc @ 528:541013f7015c

Application ander constructing
author game@henri.cr.ie.u-ryukyu.ac.jp
date Tue, 20 Oct 2009 23:25:22 +0900
parents 99a92f6a1c59
children
comparison
equal deleted inserted replaced
526:214cd21049e0 528:541013f7015c
32 sgptr->frame++; 32 sgptr->frame++;
33 33
34 } 34 }
35 35
36 SceneGraphPtr 36 SceneGraphPtr
37 Application::scenegraph_factory(void *p, int size) 37 Application::scenegraph_factory(void *p)
38 { 38 {
39 SceneGraphPtr sgptr = p->scenegraph; 39 SceneGraphPtr sgptr = p->scenegraph;
40 apply_property(p, sgptr); 40 apply_property(p, sgptr);
41 41
42 return NULL; 42 return NULL;
43 } 43 }
44 44
45 SceneGraphPtr 45 SceneGraphPtr
46 Application::scenegraph_connector(void *p, int size, SceneGraphPtr sg, 46 Application::scenegraph_connector(void *p, SceneGraphPtr sg)
47 SceneGraphPtr sg_available_list)
48 { 47 {
49 SceneGraphPtr last = sg_available_list; 48 SceneGraphPtr last = sg_available_list;
50 49
51 if (!last) { 50 if (!last) {
52 sg_available_list = sg; 51 sg_available_list = sg;
95 void 94 void
96 Application::apply_property(void *p, SceneGraphPtr sgptr) 95 Application::apply_property(void *p, SceneGraphPtr sgptr)
97 { 96 {
98 } 97 }
99 98
99 SceneGraphPtr
100 Application::scenegraph_factory(void *p)
101 {
102 return NULL;
103 }
104
100 void 105 void
101 Application::scenegraph_factory(void *p, int size) 106 Application::scenegraph_connector(void *p, SceneGraphPtr s)
102 { 107 {
103 } 108 }
104 109
105 void 110 void
106 Application::scenegraph_connector(void *p, int size, SceneGraphPtr s, SceneGraphPtr sg_available_list) 111 Application::property_loop()
107 { 112 {
108 } 113 }
109 114
110 void Application::init(TaskManager *manager, int w, int h) 115 void Application::init(TaskManager *manager, int w, int h)
111 { 116 {