{ SWF swf;
RGBA rgb;
- LPTAG t;
- LPSHAPE s;
+ TAG* t;
+ SHAPE* s;
SRECT r;
U16 id_circle;
// swf_WriteCGI(&swf);
- f = open("sprites.swf",O_RDWR|O_CREAT|O_TRUNC,0644);
+ f = open("sprites.swf",O_RDWR|O_CREAT|O_TRUNC|O_BINARY,0644);
if FAILED(swf_WriteSWF(f,&swf)) fprintf(stderr,"WriteSWF() failed.\n");
close(f);