diff old/simple_render/test/LoadTexture/polygon.h @ 539:3bc98f6d31ff draft

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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/old/simple_render/test/LoadTexture/polygon.h	Mon Oct 12 09:39:35 2009 +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