Mercurial > hg > Game > Cerium
diff TaskManager/Test/test_render/polygon.h @ 141:56db76a03294 draft
TileList を作ろうとしたがに動かない。
今はTileList 無しver
author | gongo@charles.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Sat, 29 Nov 2008 01:18:32 +0900 |
parents | f35504025f73 |
children | 59f4129a9562 |
line wrap: on
line diff
--- a/TaskManager/Test/test_render/polygon.h Fri Nov 28 15:24:55 2008 +0900 +++ b/TaskManager/Test/test_render/polygon.h Sat Nov 29 01:18:32 2008 +0900 @@ -15,6 +15,10 @@ # include "SpanPack.h" #endif +#ifndef INCLUDED_TEXTURE +# include "texture.h" +#endif + class Polygon { public: long long size; @@ -28,8 +32,10 @@ float matrix[16]; float *anim; int frame; // anime frame num - //int *texture; // pointer of this surface's texture - static SDL_Surface* texture_image; // pointer of this surface's texture + int texture_id; //texture id number + struct texture_list texture_info; + + static SDL_Surface* texture_image; // pointer of this surface's texture Polygon(void);