X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Frfxswf.h;h=a5e89917ec6e0953ee253352d2d0954492a504f4;hb=ebf53a918174ecce8bf0ff64fa69e12677e52bae;hp=2e12d125ac04a32a6e6f63c45112d2a2f892ddf2;hpb=58e7d89f8115525c32a0e3f3f4e5501c6a17186d;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index 2e12d12..a5e8991 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -39,6 +39,9 @@ extern "C" { #include "./drawer.h" #define DEBUG_RFXSWF +#ifdef RFXSWF_DISABLESOUND +#define NO_MP3 +#endif #ifndef TRUE #define TRUE (1) @@ -450,6 +453,7 @@ void swf_DumpShape(SHAPE2*shape2); // swfdraw.c +void swf_Shape10DrawerInit(drawer_t*draw, TAG*tag); void swf_Shape01DrawerInit(drawer_t*draw, TAG*tag); void swf_Shape11DrawerInit(drawer_t*draw, TAG*tag); SHAPE* swf_ShapeDrawerToShape(drawer_t*draw); @@ -610,6 +614,10 @@ void swf_DumpFont(SWFFONT * font); // Button Conditions +/* missing: IDLE_OUTDOWN + OUTDOWN_OVERUP + OVERUP_OUTDOWN +*/ #define BC_OVERDOWN_IDLE 0x0100 #define BC_IDLE_OVERDOWN 0x0080 #define BC_OUTDOWN_IDLE 0x0040 @@ -702,18 +710,12 @@ int swf_SetLosslessBits(TAG * t,U16 width,U16 height,void * bitmap,U8 bitmap_fla int swf_SetLosslessBitsIndexed(TAG * t,U16 width,U16 height,U8 * bitmap,RGBA * palette,U16 ncolors); int swf_SetLosslessBitsGrayscale(TAG * t,U16 width,U16 height,U8 * bitmap); -#ifndef RFXSWF_DISABLESOUND - // swfsound.c void swf_SetSoundStreamHead(TAG*tag, int avgnumsamples); void swf_SetSoundStreamBlock(TAG*tag, S16*samples, int seek, char first); /* expects 2304 samples */ - void swf_SetSoundDefine(TAG*tag, S16*samples, int num); - void swf_SetSoundInfo(TAG*tag, SOUNDINFO*info); -#endif // RFXSWF_DISABLESOUND - // swftools.c U8 swf_isDefiningTag(TAG * t); @@ -733,6 +735,8 @@ 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 +TAG* swf_Concatenate (TAG*list1,TAG*list2); // warning: both list1 and list2 are invalid after this call. + // swfcgi.c void swf_uncgi(); // same behaviour as Steven Grimm's uncgi-library