diff Renderer/Test/game_over.cc @ 563:338ad9c856fc draft

all exmple on Mac OS X
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 22 Oct 2009 23:05:16 +0900
parents 4c5264373c51
children 7a311860a76e
line wrap: on
line diff
--- a/Renderer/Test/game_over.cc	Thu Oct 22 22:22:31 2009 +0900
+++ b/Renderer/Test/game_over.cc	Thu Oct 22 23:05:16 2009 +0900
@@ -1,6 +1,5 @@
 #include "SceneGraphRoot.h"
 #include "vacuum.h"
-#include "SGList.h"
 
 
 void
@@ -9,7 +8,7 @@
 
   SceneGraphPtr over;
 
-  over = sgroot->createSceneGraph(GAMEOVER);
+  over = sgroot->createSceneGraph("GAMEOVER");
   over->xyz[0] = w/2;
   over->xyz[1] = h/2;
   over->set_move_collision(gameover_idle,gameover_collision);
@@ -31,7 +30,7 @@
 
     SceneGraphPtr title;
 
-    title = sgroot->createSceneGraph(TITLE);
+    title = sgroot->createSceneGraph("TITLE");
     title->xyz[0] = screen_w/2;
     title->xyz[1] = screen_h/2;
     title->set_move_collision(no_move_idle, title_collision);