annotate old/simple_render/test/LoadTexture/polygon.h @ 1048:40cde8c1a6cd default tip

add ScaleXY (not for allExecute...)
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 08 Dec 2010 06:22:15 +0900
parents 735f76483bb2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
90
312b535f121e Initial revision
gongo
parents:
diff changeset
1 #include <libxml/parser.h>
312b535f121e Initial revision
gongo
parents:
diff changeset
2 #ifndef INCLUDED_POLYGON
312b535f121e Initial revision
gongo
parents:
diff changeset
3 #define INCLUDED_POLYGON
312b535f121e Initial revision
gongo
parents:
diff changeset
4
312b535f121e Initial revision
gongo
parents:
diff changeset
5 #ifndef INCLUDED_VIEWER
312b535f121e Initial revision
gongo
parents:
diff changeset
6 #include "viewer.h"
312b535f121e Initial revision
gongo
parents:
diff changeset
7 #endif
312b535f121e Initial revision
gongo
parents:
diff changeset
8
312b535f121e Initial revision
gongo
parents:
diff changeset
9 #include "TaskManager.h"
312b535f121e Initial revision
gongo
parents:
diff changeset
10
312b535f121e Initial revision
gongo
parents:
diff changeset
11 extern TaskManager *manager;
312b535f121e Initial revision
gongo
parents:
diff changeset
12
312b535f121e Initial revision
gongo
parents:
diff changeset
13 class Polygon {
312b535f121e Initial revision
gongo
parents:
diff changeset
14 public:
312b535f121e Initial revision
gongo
parents:
diff changeset
15 int size;
312b535f121e Initial revision
gongo
parents:
diff changeset
16 char *name;
312b535f121e Initial revision
gongo
parents:
diff changeset
17 char *parent_name;
312b535f121e Initial revision
gongo
parents:
diff changeset
18 float *data;
312b535f121e Initial revision
gongo
parents:
diff changeset
19 SDL_Surface *texture_image;
312b535f121e Initial revision
gongo
parents:
diff changeset
20 Viewer *viewer;
312b535f121e Initial revision
gongo
parents:
diff changeset
21 Polygon *next;
312b535f121e Initial revision
gongo
parents:
diff changeset
22 void set_data(char*);
312b535f121e Initial revision
gongo
parents:
diff changeset
23 void create_data(xmlNodePtr);
312b535f121e Initial revision
gongo
parents:
diff changeset
24 void add_next();
312b535f121e Initial revision
gongo
parents:
diff changeset
25 void get_data(xmlNodePtr);
312b535f121e Initial revision
gongo
parents:
diff changeset
26 };
312b535f121e Initial revision
gongo
parents:
diff changeset
27
312b535f121e Initial revision
gongo
parents:
diff changeset
28 #endif