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:
f567c3e
)
added comment.
author
kramm
<kramm>
Mon, 12 Jul 2004 09:41:31 +0000
(09:41 +0000)
committer
kramm
<kramm>
Mon, 12 Jul 2004 09:41:31 +0000
(09:41 +0000)
lib/modules/swfobject.c
patch
|
blob
|
history
lib/modules/swftools.c
patch
|
blob
|
history
diff --git
a/lib/modules/swfobject.c
b/lib/modules/swfobject.c
index
ba288d1
..
18ccce7
100644
(file)
--- a/
lib/modules/swfobject.c
+++ b/
lib/modules/swfobject.c
@@
-162,6
+162,8
@@
void swf_GetPlaceObject(TAG * tag,SWFPLACEOBJECT* obj)
if(flags&4) swf_GetMatrix(tag, &obj->matrix);
if(flags&8) swf_GetCXForm(tag, &obj->cxform,1);
if(flags&16) obj->ratio = swf_GetU16(tag);
if(flags&4) swf_GetMatrix(tag, &obj->matrix);
if(flags&8) swf_GetCXForm(tag, &obj->cxform,1);
if(flags&16) obj->ratio = swf_GetU16(tag);
+ /* if you modify the order of these operations, also
+ modify it in ../src/swfcombine.c */
if(flags&64)
obj->clipdepth = swf_GetU16(tag); //clip
if(flags&32) {
if(flags&64)
obj->clipdepth = swf_GetU16(tag); //clip
if(flags&32) {
diff --git
a/lib/modules/swftools.c
b/lib/modules/swftools.c
index
1f80dce
..
1425383
100644
(file)
--- a/
lib/modules/swftools.c
+++ b/
lib/modules/swftools.c
@@
-872,6
+872,9
@@
void swf_RelocateDepth(SWF*swf, char*bitmap)
while(tag)
{
while(tag)
{
+ /* TODO * clip depths
+ * sprites
+ */
int depth = swf_GetDepth(tag);
if(depth>=0) {
int newdepth = depth+nr;
int depth = swf_GetDepth(tag);
if(depth>=0) {
int newdepth = depth+nr;