Mercurial > hg > old > magoroku_racing
diff ps2util.cc @ 115:31dd5c07f7c1
class OBJECT:SceanGraph
author | e085768 |
---|---|
date | Wed, 15 Jun 2011 23:31:59 +0900 |
parents | 8c96cadde050 |
children | ed702e49cc6c |
line wrap: on
line diff
--- a/ps2util.cc Thu Jun 09 18:07:46 2011 +0900 +++ b/ps2util.cc Wed Jun 15 23:31:59 2011 +0900 @@ -47,9 +47,11 @@ } + /* ps2 内の texture.c から */ + TEXTURE* read_png_file(const char *texname) { printf("trace\n"); @@ -59,8 +61,6 @@ return tex; } - - int ps2util_tex_Set(TEXTURE* tex) { return -1; @@ -77,6 +77,7 @@ //none } + // 与えられた行列を単位行列に変換する void ps2_vu0_unit_matrix(FMATRIX m) { @@ -237,7 +238,6 @@ } - //putSprite で置き換え? void ps2util_sprite_Set_basicAttribute(ps2utilSprite *p, unsigned short x, unsigned short y, @@ -299,6 +299,7 @@ } + /* ps2 依存関係内の、texture.c から拝借 この malloc によるメモリ取得をあちこちで行っているっぽい @@ -327,12 +328,12 @@ -// miya void ps2util_tex_Exclude( TEXTURE* t ) { //const char *test = "test"; } + void ps2util_sprite_Draw() { printf("ps2util_sprite_Draw()\n");