X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Frfxswf.h;h=fc9afd55df97cd11bcdd9cd8b2ecf6a50e846e65;hb=d04859e6a1de5448347c350401137d2a2f3e86ea;hp=e8464380bca7af3f5a20022d66387359b8459943;hpb=69bc83b008896f8bf152ec30680a92e747772859;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index e846438..fc9afd5 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -85,6 +85,18 @@ typedef struct _TAG // NEVER access a Tag-Struct directly ! U8 bitcount; // [write] } TAG, * LPTAG; +typedef struct _ActionTAG +{ U8 op; + U16 len; + U8 * data; + + struct _ActionTAG * next; + struct _ActionTAG * prev; + + TAG* parent; // may be null +} ActionTAG; + + typedef struct _SWF { U8 FileVersion; U32 FileSize; // valid after load and save @@ -455,4 +467,9 @@ MATRIX * MatrixMapTriangle(MATRIX * m,int dx,int dy, void uncgi(); // same behaviour as Steven Grimm's uncgi-library +// swfaction.c + +ActionTAG* GetActions(TAG*tag); +void DumpActions(ActionTAG*atag, char*prefix); + #endif