68
|
1 #include "polygon.h"
|
53
|
2 #include "scene_graph_pack.h"
|
68
|
3 #include "polygon_pack.h"
|
|
4 #include "span_pack.h"
|
53
|
5 #include "TaskManager.h"
|
75
|
6 #include "spu_span.h"
|
53
|
7
|
|
8 extern TaskManager *manager;
|
|
9 extern int create_sgp(Polygon *sg, SceneGraphPack *sgp);
|
|
10 extern int update_sgp(SceneGraphPack *sgp, SceneGraphPack *_sgp);
|
|
11 extern int create_pp(SceneGraphPack *sgp, PolygonPack *pp);
|
68
|
12 extern int create_span(void *wbuf, void *rbuf);
|
75
|
13 //extern int spu_span(SPANPACKLIST *spl, SPUSPANLIST *ssl);
|
84
|
14 //extern int spu_span(SPLSSL *splssl, SPUSPANLIST *a);
|
53
|
15
|
|
16 void
|
|
17 task_initialize()
|
|
18 {
|
|
19 manager->set_symbol("CreateSGP", (void*)create_sgp);
|
|
20 manager->set_symbol("UpdateSGP", (void*)update_sgp);
|
|
21 manager->set_symbol("CreatePP", (void*)create_pp);
|
68
|
22 manager->set_symbol("CreateSP", (void*)create_span);
|
84
|
23 //manager->set_symbol("SpuSP", (void*)spu_span);
|
53
|
24 }
|