Mercurial > hg > Game > Cerium
changeset 160:1f7c46e52ab9 draft
fix
author | gongo@localhost.localdomain |
---|---|
date | Mon, 08 Dec 2008 10:56:58 +0900 |
parents | c6dbac20f12e |
children | 18c42658e0e7 |
files | TaskManager/Test/test_render/Makefile.def TaskManager/Test/test_render/main.cpp TaskManager/Test/test_render/spe/Makefile TaskManager/Test/test_render/sys.cpp TaskManager/Test/test_render/texture.h example/HelloWorld/spe/Makefile include/TaskManager/base.h |
diffstat | 6 files changed, 11 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/TaskManager/Test/test_render/Makefile.def Thu Dec 04 16:26:33 2008 +0900 +++ b/TaskManager/Test/test_render/Makefile.def Mon Dec 08 10:56:58 2008 +0900 @@ -3,15 +3,15 @@ # include/library path # ex: macosx #CERIUM = /Users/gongo/Source/Concurrency/Game_project/Cerium -CERIUM = /Users/gongo/Source/hg/Cerium +#CERIUM = /Users/gongo/Source/hg/Cerium # ex: linux/ps3 -#CERIUM = /home/gongo/Cerium +CERIUM = /home/gongo/Cerium #CERIUM = ../../.. CC = g++ -CFLAGS = -O0 -g -Wall# -DDEBUG +CFLAGS = -O9 -g -Wall# -DDEBUG INCLUDE = -I$(CERIUM)/include/TaskManager -I. LIBS = -L$(CERIUM)/TaskManager \ No newline at end of file
--- a/TaskManager/Test/test_render/main.cpp Thu Dec 04 16:26:33 2008 +0900 +++ b/TaskManager/Test/test_render/main.cpp Mon Dec 08 10:56:58 2008 +0900 @@ -5,7 +5,7 @@ #include "Func.h" /* prototype */ -int init(int argc, char *argc[]); +int init(int argc, char *argv[]); extern void task_initialize();
--- a/TaskManager/Test/test_render/sys.cpp Thu Dec 04 16:26:33 2008 +0900 +++ b/TaskManager/Test/test_render/sys.cpp Mon Dec 08 10:56:58 2008 +0900 @@ -1,3 +1,4 @@ +#include <stdlib.h> #include <iostream> #include <math.h> #include "sys.h"
--- a/TaskManager/Test/test_render/texture.h Thu Dec 04 16:26:33 2008 +0900 +++ b/TaskManager/Test/test_render/texture.h Mon Dec 08 10:56:58 2008 +0900 @@ -19,11 +19,12 @@ Uint32 block[SSIZE+SS64+SS32]; } Sptx; -typedef struct -Texture{ +#if 0 +typedef struct Texture{ int px, py; Sptx s[100]; }; +#endif struct texture_list { int t_w, t_h;
--- a/example/HelloWorld/spe/Makefile Thu Dec 04 16:26:33 2008 +0900 +++ b/example/HelloWorld/spe/Makefile Mon Dec 08 10:56:58 2008 +0900 @@ -7,7 +7,7 @@ OBJS = $(SRCS:.cc=.o) CC = spu-g++ -CFLAGS = -g -Wall -fno-exceptions -fno-rtti#-DDEBUG +CFLAGS = -O9 -g -Wall -fno-exceptions -fno-rtti#-DDEBUG INCLUDE = -I${CERIUM}/include/TaskManager -I. -I.. LIBS = -L${CERIUM}/TaskManager -lspemanager -Wl,--gc-sections
--- a/include/TaskManager/base.h Thu Dec 04 16:26:33 2008 +0900 +++ b/include/TaskManager/base.h Mon Dec 08 10:56:58 2008 +0900 @@ -3,8 +3,8 @@ #include <stdio.h> -//#ifdef __SPU__ -#if 0 +#ifdef __SPU__ +//#if 0 # define BASE_NEW_DELETE(T) \ /* override new/detele */ \ static void* operator new(size_t size) { \