Mercurial > hg > Game > Cerium
diff TaskManager/Test/test_render/polygon.h @ 138:f35504025f73 draft
オブジェクトを増やして複数の表示に成功。
TODO:オブジェクトの削除
author | gongo@charles.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Fri, 28 Nov 2008 12:16:24 +0900 |
parents | 91c74dbc32e4 |
children | 56db76a03294 |
line wrap: on
line diff
--- a/TaskManager/Test/test_render/polygon.h Fri Nov 28 10:07:48 2008 +0900 +++ b/TaskManager/Test/test_render/polygon.h Fri Nov 28 12:16:24 2008 +0900 @@ -1,5 +1,3 @@ -#include <libxml/parser.h> - #ifndef INCLUDED_POLYGON #define INCLUDED_POLYGON @@ -7,6 +5,8 @@ # include "viewer.h" #endif +#include <libxml/parser.h> + #ifndef INCLUDED_POLYGON_PACK # include "polygon_pack.h" #endif @@ -32,7 +32,6 @@ static SDL_Surface* texture_image; // pointer of this surface's texture Polygon(void); - Polygon(xmlNodePtr); void parameter_change(char *name, float x, float y, float z, float ax, float ay, float az); //void load_texture(char *image_name); @@ -42,6 +41,9 @@ //void draw(SpanPack *sp); Uint32 get_rgb(int tx, int ty); +public: + void position_init(void); + void tree_draw(); void pickup_coordinate(char *cont); void pickup_normal(char *cont);