int t;
s->numfillstyles = shape->numlinestyles;
s->fillstyles = (FILLSTYLE*)rfx_calloc(sizeof(FILLSTYLE)*shape->numlinestyles);
int t;
s->numfillstyles = shape->numlinestyles;
s->fillstyles = (FILLSTYLE*)rfx_calloc(sizeof(FILLSTYLE)*shape->numlinestyles);
- enum {none_type, shape_type, image_type, text_type, font_type, sprite_type} type;
+ enum CHARACTER_TYPE type;
swf_ParseDefineShape(tag, shape);
idtable[id].type = shape_type;
idtable[id].obj.shape = shape;
swf_ParseDefineShape(tag, shape);
idtable[id].type = shape_type;
idtable[id].obj.shape = shape;
idtable[id].obj.font = font;
swf_FontExtract(swf,id,&swffont);
font->numchars = swffont->numchars;
idtable[id].obj.font = font;
swf_FontExtract(swf,id,&swffont);
font->numchars = swffont->numchars;
for(t=0;t<font->numchars;t++) {
if(!swffont->glyph[t].shape->fillstyle.n) {
/* the actual fill color will be overwritten while rendering */
for(t=0;t<font->numchars;t++) {
if(!swffont->glyph[t].shape->fillstyle.n) {
/* the actual fill color will be overwritten while rendering */