comparison Renderer/Engine/viewer.h @ 1033:431936c0cc96

add application main method and task.
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Fri, 26 Nov 2010 04:32:59 +0900
parents 295b3c79fb44
children ff0e6d00c060
comparison
equal deleted inserted replaced
1010:44b2c4cb539d 1033:431936c0cc96
106 106
107 void task_array_init(int id, int task_num, int param, int inData_num, int outData_num) 107 void task_array_init(int id, int task_num, int param, int inData_num, int outData_num)
108 { 108 {
109 sgroot->task_array_init(id, task_num, param, inData_num, outData_num); 109 sgroot->task_array_init(id, task_num, param, inData_num, outData_num);
110 } 110 }
111 void set_game_task(int id, void *property, int size, PostFunction post_func) 111 void set_move_task(SceneGraphPtr node, int move, void *titlep, int size)
112 { 112 {
113 sgroot->set_game_task(id, property, size, post_func); 113 sgroot->set_move_task(node, move, titlep, size);
114 } 114 }
115 void set_game_task(int id, void *property, void *pad, int size, PostFunction post_func) 115 void set_pad_task(SceneGraphPtr node, int move, void *property, int size)
116 { 116 {
117 sgroot->set_game_task(id, property, pad, size, post_func); 117 sgroot->set_pad_task(node, move, property, size);
118 }
119 void set_move_task(SceneGraphPtr node, int move, void *titlep, int size, PostFunction post_func)
120 {
121 sgroot->set_move_task(node, move, titlep, size, post_func);
122 }
123 void set_pad_task(SceneGraphPtr node, int move, void *property, int size, PostFunction post_func)
124 {
125 sgroot->set_pad_task(node, move, property, size, post_func);
126 } 118 }
127 119
128 void createFromXMLmemory(SceneGraph * node, char *data, int len) 120 void createFromXMLmemory(SceneGraph * node, char *data, int len)
129 { 121 {
130 sgroot->createFromXMLmemory(manager, node, data, len); 122 sgroot->createFromXMLmemory(manager, node, data, len);