view old/simple_render/test/LoadTexture/polygon.h @ 507:735f76483bb2

Reorganization..
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 12 Oct 2009 09:39:35 +0900
parents TaskManager/Test/simple_render/test/LoadTexture/polygon.h@312b535f121e
children
line wrap: on
line source

#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