Mercurial > hg > Game > Cerium
view 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 |
line wrap: on
line source
#include "polygon.h" #include "scene_graph_pack.h" #include "polygon_pack.h" #include "span_pack.h" #include "TaskManager.h" extern TaskManager *manager; extern int create_sgp(Polygon *sg, SceneGraphPack *sgp); extern int update_sgp(SceneGraphPack *sgp, SceneGraphPack *_sgp); extern int create_pp(SceneGraphPack *sgp, PolygonPack *pp); extern int create_span(void *wbuf, void *rbuf); void task_initialize() { manager->set_symbol("CreateSGP", (void*)create_sgp); manager->set_symbol("UpdateSGP", (void*)update_sgp); manager->set_symbol("CreatePP", (void*)create_pp); manager->set_symbol("CreateSP", (void*)create_span); }