git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1dddda0
)
changed S16 to int, so that SET_TO_ZERO can be used.
author
kramm
<kramm>
Wed, 19 Nov 2003 11:17:00 +0000
(11:17 +0000)
committer
kramm
<kramm>
Wed, 19 Nov 2003 11:17:00 +0000
(11:17 +0000)
lib/modules/swfshape.c
patch
|
blob
|
history
lib/modules/swftext.c
patch
|
blob
|
history
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;
diff --git
a/lib/modules/swftext.c
b/lib/modules/swftext.c
index
996a71b
..
59a8dd9
100644
(file)
--- a/
lib/modules/swftext.c
+++ b/
lib/modules/swftext.c
@@
-665,7
+665,7
@@
void swf_FontFree(SWFFONT * f)
free(f);
}
free(f);
}
-int swf_TextSetInfoRecord(TAG * t,SWFFONT * font,U16 size,RGBA * color,S16 dx,S16 dy)
+int swf_TextSetInfoRecord(TAG * t,SWFFONT * font,U16 size,RGBA * color,int dx,int dy)
{ U8 flags;
if (!t) return -1;
{ U8 flags;
if (!t) return -1;