X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Frfxswf.h;h=2e12d125ac04a32a6e6f63c45112d2a2f892ddf2;hb=456416774b1edfe5d480ffa7a0414e793296c6ca;hp=0291e11877291d97a41e83507a8fd78a7c2165c8;hpb=21ddd4444db6cddf2a02975c95f7dbb1eff3f6c6;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index 0291e11..2e12d12 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -723,7 +723,7 @@ U16 swf_GetDefineID(TAG * t); SRECT swf_GetDefineBBox(TAG * t); void swf_SetDefineID(TAG * t, U16 newid); U16 swf_GetPlaceID(TAG * t); //PLACEOBJECT, PLACEOBJECT2 (sometimes), REMOVEOBJECT -U16 swf_GetDepth(TAG * t); //PLACEOBJECT,PLACEOBJECT2,REMOVEOBJECT,REMOVEOBJECT2 +int swf_GetDepth(TAG * t); //PLACEOBJECT,PLACEOBJECT2,REMOVEOBJECT,REMOVEOBJECT2,SETTABINDEX char* swf_GetName(TAG * t); //PLACEOBJECT2, FRAMELABEL MATRIX * swf_MatrixJoin(MATRIX * d,MATRIX * s1,MATRIX * s2); MATRIX * swf_MatrixMapTriangle(MATRIX * m,int dx,int dy, @@ -731,6 +731,7 @@ MATRIX * swf_MatrixMapTriangle(MATRIX * m,int dx,int dy, int swf_GetNumUsedIDs(TAG * t); void swf_GetUsedIDs(TAG * t, int * positions); void swf_Relocate(SWF*swf, char*bitmap); // bitmap is 65536 bytes, bitmap[a]==0 means id a is free +void swf_RelocateDepth(SWF*swf, char*bitmap); // bitmap is 65536 bytes, bitmap[d]==0 means depth d is free // swfcgi.c @@ -763,6 +764,9 @@ void swf_ActionEnumerateURLs(ActionTAG*atag, char*(*callback)(char*)); void swf_ActionEnumerateTargets(ActionTAG*atag, char*(*callback)(char*)); void swf_ActionEnumerateStrings(ActionTAG*atag, char*(*callback)(char*)); +// using action/actioncompiler.h: +ActionTAG* swf_ActionCompile(const char* source, int version); + ActionTAG* action_End(ActionTAG*atag); ActionTAG* action_NextFrame(ActionTAG*atag); ActionTAG* action_PreviousFrame(ActionTAG*atag);