git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added swf_ExpandRect3() method.
[swftools.git]
/
lib
/
modules
/
swftools.c
diff --git
a/lib/modules/swftools.c
b/lib/modules/swftools.c
index
349641d
..
1425383
100644
(file)
--- a/
lib/modules/swftools.c
+++ b/
lib/modules/swftools.c
@@
-116,6
+116,7
@@
U16 swf_GetDefineID(TAG * t)
case ST_DEFINESPRITE:
case ST_DEFINEMOVIE:
case ST_DEFINEVIDEOSTREAM:
case ST_DEFINESPRITE:
case ST_DEFINEMOVIE:
case ST_DEFINEVIDEOSTREAM:
+ case ST_GLYPHNAMES: //pseudodefine
case ST_VIDEOFRAME: //pseudodefine
case ST_NAMECHARACTER: //pseudodefine
id = swf_GetU16(t);
case ST_VIDEOFRAME: //pseudodefine
case ST_NAMECHARACTER: //pseudodefine
id = swf_GetU16(t);
@@
-871,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;