Mercurial > hg > Game > Cerium
diff TaskManager/Test/test_render/chain.cpp @ 397:ce86b0186a4a draft
delete manager (in kernel/ppe/TaskManager.h)
don't move.
author | game@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Sun, 20 Sep 2009 18:55:26 +0900 |
parents | 0b623693e6ec |
children |
line wrap: on
line diff
--- a/TaskManager/Test/test_render/chain.cpp Fri Sep 18 18:28:56 2009 +0900 +++ b/TaskManager/Test/test_render/chain.cpp Sun Sep 20 18:55:26 2009 +0900 @@ -72,7 +72,7 @@ } void -chain_move(SceneGraphPtr sg, int w, int h) +chain_move(TaskManager *manager, SceneGraphPtr sg, int w, int h) { int id = sg->id; //CHAIN_VARS* p = (CHAIN_VARS*)sg->propertyptr; @@ -114,7 +114,7 @@ } void -chain_init(int w, int h) +chain_init(TaskManager *manager, int w, int h) { SceneGraphPtr root_chain, chain; CHAIN_VARS rcv; @@ -122,7 +122,7 @@ HTaskPtr chain_init; - sgroot->createFromXMLfile("xml_file/chain.xml"); + sgroot->createFromXMLfile(manager, "xml_file/chain.xml"); /* SPE に送る property の配列の領域確保 */ properties[0] = (CHAIN_VARS*)manager->allocate(sizeof(CHAIN_VARS)*CHAIN_LEN);