Mercurial > hg > Game > Cerium
changeset 578:3d998f5d49a6 draft
ps3 move
author | game@localhost.localdomain |
---|---|
date | Fri, 23 Oct 2009 18:36:43 +0900 |
parents | 5ecdc6b12fe8 |
children | d2183b72251f |
files | Renderer/Test/Makefile Renderer/Test/Makefile.cell Renderer/Test/back_action.cc Renderer/Test/gaplant_action.cc |
diffstat | 4 files changed, 8 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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)
--- 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 <iostream> #include "SceneGraphRoot.h" #include "ball_action.h" -#include "xml_file/gap_plane_test.xml.h" using namespace std; void
--- 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 <iostream> #include <cmath> #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];