case ST_DEFINESPRITE:
case ST_DEFINEMOVIE:
case ST_DEFINEVIDEOSTREAM:
+ case ST_GLYPHNAMES: //pseudodefine
case ST_VIDEOFRAME: //pseudodefine
case ST_NAMECHARACTER: //pseudodefine
id = swf_GetU16(t);
case ST_DEFINESHAPE2:
case ST_DEFINESHAPE3:
case ST_DEFINEEDITTEXT:
- case ST_DEFINEBUTTON:
- case ST_DEFINEBUTTON2:
case ST_DEFINETEXT:
case ST_DEFINETEXT2:
case ST_DEFINEVIDEOSTREAM:
ST_NAMECHARACTER,
ST_DOINITACTION,
ST_VIDEOFRAME,
+ ST_GLYPHNAMES,
-1
};
}
break;
}
+ case ST_GLYPHNAMES:
case ST_DEFINEFONTINFO:
case ST_DEFINEFONTINFO2:
case ST_VIDEOFRAME:
while(tag)
{
+ /* TODO * clip depths
+ * sprites
+ */
int depth = swf_GetDepth(tag);
if(depth>=0) {
int newdepth = depth+nr;
TAG*tag=0,*lasttag=0;
char bitmap[65536];
char depthmap[65536];
+ SWF swf1,swf2;
memset(bitmap, 0, sizeof(bitmap));
memset(depthmap, 0, sizeof(depthmap));
- SWF swf1,swf2;
memset(&swf1, 0, sizeof(swf1));
memset(&swf2, 0, sizeof(swf2));