annotate TaskManager/Test/simple_pack/task/task_init.cpp @ 69:c9b973f0673e

*** empty log message ***
author chiaki
date Sun, 17 Feb 2008 23:07:52 +0900
parents 35a6cf176c38
children db2b7c565b89
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
68
35a6cf176c38 *** empty log message ***
chiaki
parents: 53
diff changeset
1 #include "polygon.h"
53
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
2 #include "scene_graph_pack.h"
68
35a6cf176c38 *** empty log message ***
chiaki
parents: 53
diff changeset
3 #include "polygon_pack.h"
35a6cf176c38 *** empty log message ***
chiaki
parents: 53
diff changeset
4 #include "span_pack.h"
53
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
5 #include "TaskManager.h"
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
6
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
7 extern TaskManager *manager;
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
8 extern int create_sgp(Polygon *sg, SceneGraphPack *sgp);
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
9 extern int update_sgp(SceneGraphPack *sgp, SceneGraphPack *_sgp);
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
10 extern int create_pp(SceneGraphPack *sgp, PolygonPack *pp);
68
35a6cf176c38 *** empty log message ***
chiaki
parents: 53
diff changeset
11 extern int create_span(void *wbuf, void *rbuf);
53
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
12
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
13 void
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
14 task_initialize()
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
15 {
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
16 manager->set_symbol("CreateSGP", (void*)create_sgp);
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
17 manager->set_symbol("UpdateSGP", (void*)update_sgp);
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
18 manager->set_symbol("CreatePP", (void*)create_pp);
68
35a6cf176c38 *** empty log message ***
chiaki
parents: 53
diff changeset
19 manager->set_symbol("CreateSP", (void*)create_span);
53
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
20 }