Mercurial > hg > Members > kono > Cerium
comparison Renderer/Engine/SceneGraphRoot.h @ 1003:295b3c79fb44
game_task keep up with task_array.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Oct 2010 17:29:50 +0900 |
parents | c79651141045 |
children | 431936c0cc96 |
comparison
equal
deleted
inserted
replaced
1002:c79651141045 | 1003:295b3c79fb44 |
---|---|
3 | 3 |
4 #include "SceneGraph.h" | 4 #include "SceneGraph.h" |
5 #include "SceneGraphArray.h" | 5 #include "SceneGraphArray.h" |
6 #include "Camera.h" | 6 #include "Camera.h" |
7 #include "SceneGraphIterator.h" | 7 #include "SceneGraphIterator.h" |
8 #include "GTaskArray.h" | |
8 #include <sys/types.h> | 9 #include <sys/types.h> |
9 | 10 |
10 typedef struct { | 11 typedef struct { |
11 caddr_t file_mmap; | 12 caddr_t file_mmap; |
12 off_t size; | 13 off_t size; |
104 void OnLightSwitch(int id); | 105 void OnLightSwitch(int id); |
105 void OffLightSwitch(int id); | 106 void OffLightSwitch(int id); |
106 void OnLightSysSwitch(); | 107 void OnLightSysSwitch(); |
107 void OffLightSysSwitch(); | 108 void OffLightSysSwitch(); |
108 | 109 |
109 /* GameTask 生成用 */ | 110 /* GameTaskArray 生成用 */ |
110 HTaskPtr game_task_array; | 111 GTaskArrayPtr gtask_array; |
111 TaskPtr game_task; | |
112 void task_array_init(int id, int task_num, int param, int inData_num, int outData_num); | 112 void task_array_init(int id, int task_num, int param, int inData_num, int outData_num); |
113 void create_task_array(); | |
113 void task_array_finish(); | 114 void task_array_finish(); |
114 void set_game_task(int id, void *property, int size, PostFunction post_func); | 115 void set_game_task(int id, void *property, int size, PostFunction post_func); |
115 void set_game_task(int id, void *property, void* pad, int size, PostFunction post_func); | 116 void set_game_task(int id, void *property, void* pad, int size, PostFunction post_func); |
116 void set_move_task(SceneGraphPtr node, int move, void *property, int size, PostFunction post_func); | 117 void set_move_task(SceneGraphPtr node, int move, void *property, int size, PostFunction post_func); |
117 void set_pad_task(SceneGraphPtr node, int move, void *property, int size, PostFunction post_func); | 118 void set_pad_task(SceneGraphPtr node, int move, void *property, int size, PostFunction post_func); |