00001 #ifndef CUSTOM_SHAPE_TYPES_H
00002 #define CUSTOM_SHAPE_TYPES_H
00003 #include "common.h"
00004 #include "splaytree_types.h"
00005 #include "expr_types.h"
00006
00007 typedef struct CUSTOM_SHAPE_T {
00008
00009
00010 int id;
00011 int per_frame_count;
00012
00013
00014 splaytree_t * param_tree;
00015
00016
00017
00018 int sides;
00019 int thickOutline;
00020 int enabled;
00021 int additive;
00022 int textured;
00023
00024 double tex_zoom;
00025 double tex_ang;
00026
00027 double x;
00028 double y;
00029 double rad;
00030 double ang;
00031
00032 double r;
00033 double g;
00034 double b;
00035 double a;
00036
00037 double r2;
00038 double g2;
00039 double b2;
00040 double a2;
00041
00042 double border_r;
00043 double border_g;
00044 double border_b;
00045 double border_a;
00046
00047
00048 double t1;
00049 double t2;
00050 double t3;
00051 double t4;
00052 double t5;
00053 double t6;
00054 double t7;
00055 double t8;
00056
00057
00058 splaytree_t * init_cond_tree;
00059 splaytree_t * per_frame_eqn_tree;
00060 splaytree_t * per_frame_init_eqn_tree;
00061
00062
00063 int per_frame_eqn_string_index;
00064 int per_frame_init_eqn_string_index;
00065
00066
00067 char per_frame_eqn_string_buffer[STRING_BUFFER_SIZE];
00068 char per_frame_init_eqn_string_buffer[STRING_BUFFER_SIZE];
00069
00070
00071
00072 } custom_shape_t;
00073
00074
00075 #endif