git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
arguments fixes.
[swftools.git]
/
src
/
flash.h
diff --git
a/src/flash.h
b/src/flash.h
index
96e48cd
..
e518b73
100644
(file)
--- a/
src/flash.h
+++ b/
src/flash.h
@@
-12,6
+12,7
@@
#include "types.h"
#include "../lib/rfxswf.h"
#include "types.h"
#include "../lib/rfxswf.h"
+#include "../lib/log.h"
#define TAGID_END 0
#define TAGID_SHOWFRAME 1
#define TAGID_END 0
#define TAGID_SHOWFRAME 1
@@
-65,7
+66,7
@@
struct CLIPACTIONS;
struct swf_tag
{
struct swf_tag
{
- u8 id;
+ u16 id;
u32 length;
u8*data;
u32 fulllength; // includes id
u32 length;
u8*data;
u32 fulllength; // includes id
@@
-121,6
+122,8
@@
struct CLIPACTIONS readCLIPACTIONS();
void writeRECT(u8**pos, struct RECT*r);
void swf_init(struct reader_t*,uchar*newdata, int newlength);
void writeRECT(u8**pos, struct RECT*r);
void swf_init(struct reader_t*,uchar*newdata, int newlength);
+void MATRIX_init(struct MATRIX*m);
+
struct flash_header
{
int version;
struct flash_header
{
int version;
@@
-186,6
+189,7
@@
void placeobject_init (struct PlaceObject*obj, struct swf_tag*tag);
void placeobject_write (struct PlaceObject*obj, struct writer_t*w);
void placeobject2_init (struct PlaceObject2*obj, struct swf_tag*tag);
void placeobject_write (struct PlaceObject*obj, struct writer_t*w);
void placeobject2_init (struct PlaceObject2*obj, struct swf_tag*tag);
+void placeobject2_write (struct PlaceObject2*obj, struct writer_t*w);
void read_swf(struct swffile*swf, uchar*data, int length);
void read_swf(struct swffile*swf, uchar*data, int length);
@@
-195,4
+199,6
@@
char is_sprite_tag (int id);
char is_defining_tag (int id);
struct swf_tag* duptag(struct swf_tag*tag);
char is_defining_tag (int id);
struct swf_tag* duptag(struct swf_tag*tag);
+void swf_write_header(struct writer_t*w, struct flash_header*head);
+
#endif //__flash_h__
#endif //__flash_h__