X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=src%2Fflash.h;h=1a185c51bf21ccb71fc64c4196c7ce71da6884af;hp=f93d78b4f103f96425fb68a62cbcbe0899f910bd;hb=7ddcc6604ef3a6004c8fefb59d2ecdedc440b2bc;hpb=47df0688e74d14cb1aaff3fca3ac51356d632dd2 diff --git a/src/flash.h b/src/flash.h index f93d78b..1a185c5 100644 --- a/src/flash.h +++ b/src/flash.h @@ -119,7 +119,7 @@ struct CLIPACTIONS readCLIPACTIONS(); void writeRECT(u8**pos, struct RECT*r); -void swf_init(uchar*newdata, int newlength); +void swf_init(struct reader_t*,uchar*newdata, int newlength); struct flash_header { int version; @@ -139,16 +139,16 @@ struct swffile struct swf_tag* tags; }; -struct flash_header swf_read_header(); -struct RGB readRGB(); -struct RGBA readRGBA(); -struct GRADIENT readGRADIENT(int shape); -struct RECT readRECT(); -struct CXFORM readCXFORM(char alpha); -struct MATRIX readMATRIX(); -unsigned char* readSTRING(); -int swf_read_tag(struct swf_tag* swftag); -int swf_count_tags(); +struct flash_header swf_read_header(struct reader_t*); +struct RGB readRGB(struct reader_t*); +struct RGBA readRGBA(struct reader_t*); +struct GRADIENT readGRADIENT(struct reader_t*,int shape); +struct RECT readRECT(struct reader_t*); +struct CXFORM readCXFORM(struct reader_t*,char alpha); +struct MATRIX readMATRIX(struct reader_t*); +unsigned char* readSTRING(struct reader_t*); +int swf_read_tag(struct reader_t*,struct swf_tag* swftag); +int swf_count_tags(struct reader_t*); struct PlaceObject