X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Frfxswf.h;h=016f8e3a95448af56f6bc4b6a2d865bc4dc56647;hb=fb7a76729269e68ae9e8ea9160aed93909445723;hp=be529a36c317ff9772356fdbb54d30abc83f9573;hpb=544178e180ab2b3bdca090fc69e0b5751a674fae;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index be529a3..016f8e3 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -22,6 +22,13 @@ #define DEBUG_RFXSWF +#ifndef TRUE +#define TRUE (1) +#endif +#ifndef FALSE +#define FALSE (0) +#endif + // SWF Types typedef unsigned long U32; @@ -132,8 +139,8 @@ TAG * swf_PrevTag(TAG * t); int swf_GetFrameNo(TAG * t); // should be renamed to TagGetFrame U16 swf_GetTagID(TAG * t); // ... TagGetID -U32 swf_GetDataSize(TAG * t); // ... TagGetDataSize -U8* swf_GetDataSizePtr(TAG * t); +U32 swf_GetTagLen(TAG * t); // ... TagGetTagLen +U8* swf_GetTagLenPtr(TAG * t); U32 swf_GetBits(TAG * t,int nbits); S32 swf_GetSBits(TAG * t,int nbits); @@ -498,6 +505,7 @@ int swf_SetLosslessBitsGrayscale(TAG * t,U16 width,U16 height,U8 * bitmap); // swftools.c U8 swf_isDefiningTag(TAG * t); +U8 swf_isPseudoDefiningTag(TAG * t); U8 swf_isAllowedSpriteTag(TAG * t); U16 swf_GetDefineID(TAG * t); U16 swf_GetPlaceID(TAG * t); //PLACEOBJECT, PLACEOBJECT2 (sometimes), REMOVEOBJECT