Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

custom_shape_types.h

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   /* Numerical id */
00010   int id;
00011   int per_frame_count;
00012 
00013   /* Parameter tree associated with this custom shape */
00014   splaytree_t * param_tree;
00015 
00016 
00017   /* Engine variables */
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; /* x position for per point equations */
00028   double y; /* y position for per point equations */
00029   double rad;
00030   double ang;
00031 
00032   double r; /* red color value */
00033   double g; /* green color value */
00034   double b; /* blue color value */
00035   double a; /* alpha color value */
00036  
00037   double r2; /* red color value */
00038   double g2; /* green color value */
00039   double b2; /* blue color value */
00040   double a2; /* alpha color value */
00041 
00042   double border_r; /* red color value */
00043   double border_g; /* green color value */
00044   double border_b; /* blue color value */
00045   double border_a; /* alpha color value */
00046 
00047   /* stupid t variables */
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   /* Data structure to hold per frame  / per frame init equations */
00058   splaytree_t * init_cond_tree;
00059   splaytree_t * per_frame_eqn_tree;
00060   splaytree_t * per_frame_init_eqn_tree;
00061 
00062   /* Denotes the index of the last character for each string buffer */
00063   int per_frame_eqn_string_index;
00064   int per_frame_init_eqn_string_index;
00065 
00066   /* String buffers for per frame / per frame init equations */
00067   char per_frame_eqn_string_buffer[STRING_BUFFER_SIZE];
00068   char per_frame_init_eqn_string_buffer[STRING_BUFFER_SIZE];
00069   /* Per point equation array */
00070   
00071   
00072 } custom_shape_t;
00073 
00074 
00075 #endif

Generated on Tue Dec 20 10:14:56 2005 for vlc-0.8.4a by  doxygen 1.4.2