# HG changeset patch # User game@localhost.localdomain # Date 1256290603 -32400 # Node ID a068627a0bc67d0ea334293e07d0ac9a63608684 # Parent e3f3cfa8794f82bd9778a07e882ce9d0f1dfcfea ps3 move diff -r e3f3cfa8794f -r a068627a0bc6 Renderer/Test/Makefile --- a/Renderer/Test/Makefile Fri Oct 23 17:18:41 2009 +0900 +++ b/Renderer/Test/Makefile Fri Oct 23 18:36:43 2009 +0900 @@ -1,6 +1,6 @@ -all: - make -f Makefile.macosx +all: cell + #make -f Makefile.macosx cell: make -f Makefile.cell diff -r e3f3cfa8794f -r a068627a0bc6 Renderer/Test/Makefile.cell --- a/Renderer/Test/Makefile.cell Fri Oct 23 17:18:41 2009 +0900 +++ b/Renderer/Test/Makefile.cell Fri Oct 23 18:36:43 2009 +0900 @@ -67,6 +67,10 @@ vacuum : $(VACUUM_OBJ) $(CC) -o $@ $? $(LIBS) +DYNAMIC_OBJ = dynamic_create.o +dynamic : $(DYNAMIC_OBJ) + $(CC) -o $@ $? $(LIBS) + debug: $(TARGET) sudo ppu-gdb ./$(TARGET) diff -r e3f3cfa8794f -r a068627a0bc6 Renderer/Test/back_action.cc --- a/Renderer/Test/back_action.cc Fri Oct 23 17:18:41 2009 +0900 +++ b/Renderer/Test/back_action.cc Fri Oct 23 18:36:43 2009 +0900 @@ -1,7 +1,6 @@ #include #include "SceneGraphRoot.h" #include "ball_action.h" -#include "xml_file/gap_plane_test.xml.h" using namespace std; void diff -r e3f3cfa8794f -r a068627a0bc6 Renderer/Test/gaplant_action.cc --- a/Renderer/Test/gaplant_action.cc Fri Oct 23 17:18:41 2009 +0900 +++ b/Renderer/Test/gaplant_action.cc Fri Oct 23 18:36:43 2009 +0900 @@ -1,7 +1,6 @@ #include #include #include "SceneGraphRoot.h" -#include "xml_file/gap_plane_test.xml.h" #include "gaplant.h" using namespace std; @@ -81,8 +80,8 @@ SceneGraphIteratorPtr it = sgroot->getIterator(tree); //static int damage = 0; - for (; it->hasNext(Ball);) { - it->next(Ball); + for (; it->hasNext(sgroot->getSgid("Ball"));) { + it->next(sgroot->getSgid("Ball")); SceneGraphPtr ball = it->get(); double dis_x = node->xyz[0] - ball->xyz[0];