git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed S16 to int, so that SET_TO_ZERO can be used.
[swftools.git]
/
lib
/
modules
/
swfshape.c
diff --git
a/lib/modules/swfshape.c
b/lib/modules/swfshape.c
index
ded2f65
..
459db83
100644
(file)
--- a/
lib/modules/swfshape.c
+++ b/
lib/modules/swfshape.c
@@
-395,7
+395,7
@@
int swf_ShapeSetMove(TAG * t,SHAPE * s,S32 x,S32 y)
return 0;
}
return 0;
}
-int swf_ShapeSetStyle(TAG * t,SHAPE * s,U16 line,U16 fill0,U16 fill1)
+int swf_ShapeSetStyle(TAG * t,SHAPE * s,int line,int fill0,int fill1)
{ if ((!t)||(!s)) return -1;
swf_SetBits(t,0,1);
{ if ((!t)||(!s)) return -1;
swf_SetBits(t,0,1);
@@
-414,11
+414,9
@@
int swf_ShapeSetStyle(TAG * t,SHAPE * s,U16 line,U16 fill0,U16 fill1)
these defines are a workaround (they also reduce the maximal number of
fill styles to 32768)
*/
these defines are a workaround (they also reduce the maximal number of
fill styles to 32768)
*/
-#define FILL_RESET 0x8000
-#define LINE_RESET 0x8000
#define UNDEFINED_COORD 0x7fffffff
#define UNDEFINED_COORD 0x7fffffff
-int swf_ShapeSetAll(TAG * t,SHAPE * s,S32 x,S32 y,U16 line,U16 fill0,U16 fill1)
+int swf_ShapeSetAll(TAG * t,SHAPE * s,S32 x,S32 y,int line,int fill0,int fill1)
{ U8 b;
U8 hasmove = 0;
if ((!t)||(!s)) return -1;
{ U8 b;
U8 hasmove = 0;
if ((!t)||(!s)) return -1;