X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Frfxswf.h;h=cce154cf4491677d27ed8bb985e692d0776794c9;hb=c8aba9393055c72384c0712be74b12ce01c8d186;hp=8a87c0fdb2f06ccc4d4051dc8bc4b374fd154a14;hpb=fb6171381f99ab5cccd467a4fdca1488aadd6916;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index 8a87c0f..cce154c 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -131,7 +131,7 @@ typedef struct _TAG // NEVER access a Tag-Struct directly ! typedef struct _SOUNDINFO { U8 stop; - U8 multiple; //continue playing if already started + U8 nomultiple; //continue playing if already started U32 inpoint; U32 outpoint; @@ -188,6 +188,7 @@ void swf_OptimizeTagOrder(SWF*swf); // basic routines: TAG * swf_InsertTag(TAG * after,U16 id); // updates frames, if necessary +TAG * swf_InsertTagBefore(SWF*swf, TAG * before,U16 id); // like InsertTag, but insert tag before argument int swf_DeleteTag(TAG * t); void swf_ClearTag(TAG * t); //frees tag data @@ -409,6 +410,8 @@ int swf_ShapeSetCurve(TAG * t,SHAPE * s,S32 x,S32 y,S32 ax,S32 ay); int swf_ShapeSetCircle(TAG * t,SHAPE * s,S32 x,S32 y,S32 rx,S32 ry); int swf_ShapeSetEnd(TAG * t); +void swf_ShapeSetBitmapRect(TAG * t, U16 gfxid, int width, int height); + SHAPELINE* swf_ParseShapeData(U8*data, int bits, int fillbits, int linebits); SHAPE2* swf_ShapeToShape2(SHAPE*shape); SHAPE* swf_Shape2ToShape(SHAPE2*shape);