diff TaskManager/Test/test_render/boss1_action.cpp @ 397:a4f690f44842

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 6ceb40aec7fb
children
line wrap: on
line diff
--- a/TaskManager/Test/test_render/boss1_action.cpp	Fri Sep 18 18:28:56 2009 +0900
+++ b/TaskManager/Test/test_render/boss1_action.cpp	Sun Sep 20 18:55:26 2009 +0900
@@ -224,7 +224,7 @@
 }
   
 void
-boss1_init(int screen_w, int screen_h)
+boss1_init(TaskManager *manager, int screen_w, int screen_h)
 {
   SceneGraphPtr root;
   SceneGraphPtr player;
@@ -232,10 +232,10 @@
   SceneGraphPtr left_parts;
   SceneGraphPtr right_parts;
 
-  sgroot->createFromXMLfile("xml_file/boss1.xml");
-  sgroot->createFromXMLfile("xml_file/player1.xml");
-  sgroot->createFromXMLfile("xml_file/p_shot.xml");
-  sgroot->createFromXMLfile("xml_file/blast.xml");
+  sgroot->createFromXMLfile(manager, "xml_file/boss1.xml");
+  sgroot->createFromXMLfile(manager, "xml_file/player1.xml");
+  sgroot->createFromXMLfile(manager, "xml_file/p_shot.xml");
+  sgroot->createFromXMLfile(manager, "xml_file/blast.xml");
   
   //rootとなるSceneGraphを生成
   root = sgroot->createSceneGraph();