Mercurial > hg > Game > Cerium
diff TaskManager/Test/simple_render/test/LoadTexture/polygon.h @ 90:312b535f121e
Initial revision
author | gongo |
---|---|
date | Wed, 27 Feb 2008 21:17:47 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TaskManager/Test/simple_render/test/LoadTexture/polygon.h Wed Feb 27 21:17:47 2008 +0900 @@ -0,0 +1,28 @@ +#include <libxml/parser.h> +#ifndef INCLUDED_POLYGON +#define INCLUDED_POLYGON + +#ifndef INCLUDED_VIEWER +#include "viewer.h" +#endif + +#include "TaskManager.h" + +extern TaskManager *manager; + +class Polygon { +public: + int size; + char *name; + char *parent_name; + float *data; + SDL_Surface *texture_image; + Viewer *viewer; + Polygon *next; + void set_data(char*); + void create_data(xmlNodePtr); + void add_next(); + void get_data(xmlNodePtr); +}; + +#endif