Mercurial > hg > Members > kono > Cerium
diff Renderer/Test/boss1_action.cc @ 558:b05bae017029
boss1_action
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 22 Oct 2009 18:38:07 +0900 |
parents | ec72b601b71f |
children | a5fda4e51498 |
line wrap: on
line diff
--- a/Renderer/Test/boss1_action.cc Thu Oct 22 17:34:12 2009 +0900 +++ b/Renderer/Test/boss1_action.cc Thu Oct 22 18:38:07 2009 +0900 @@ -1,6 +1,7 @@ #include "SceneGraphRoot.h" #include "MainLoop.h" #include "boss1_action.h" +#include "xml_file/boss1.xml.h" /* static void @@ -205,7 +206,7 @@ extern Application * application() { - return new ball_bound(); + return new boss1_action(); } const char *usr_help_str = "Usage: ./test_nogl [OPTION]\n"; @@ -233,13 +234,13 @@ } MainLoopPtr -bass1_action::boss1_init(Viewer *sgroot, int screen_w, int screen_h) +boss1_action::init(Viewer *sgroot, int screen_w, int screen_h) { - 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"); + 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"); //rootとなるSceneGraphを生成 SceneGraphPtr root = sgroot->createSceneGraph();