90
|
1 #include <libxml/parser.h>
|
|
2 #ifndef INCLUDED_POLYGON
|
|
3 #define INCLUDED_POLYGON
|
|
4
|
|
5 #ifndef INCLUDED_VIEWER
|
|
6 #include "viewer.h"
|
|
7 #endif
|
|
8
|
|
9 #include "TaskManager.h"
|
|
10
|
|
11 extern TaskManager *manager;
|
|
12
|
|
13 class Polygon {
|
|
14 public:
|
|
15 int size;
|
|
16 char *name;
|
|
17 char *parent_name;
|
|
18 float *data;
|
|
19 SDL_Surface *texture_image;
|
|
20 Viewer *viewer;
|
|
21 Polygon *next;
|
|
22 void set_data(char*);
|
|
23 void create_data(xmlNodePtr);
|
|
24 void add_next();
|
|
25 void get_data(xmlNodePtr);
|
|
26 };
|
|
27
|
|
28 #endif
|