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:
b6b2622
)
new function isFolded().
author
kramm
<kramm>
Fri, 24 Jan 2003 23:59:53 +0000
(23:59 +0000)
committer
kramm
<kramm>
Fri, 24 Jan 2003 23:59:53 +0000
(23:59 +0000)
lib/rfxswf.c
patch
|
blob
|
history
lib/rfxswf.h
patch
|
blob
|
history
diff --git
a/lib/rfxswf.c
b/lib/rfxswf.c
index
93b17d9
..
2c6161e
100644
(file)
--- a/
lib/rfxswf.c
+++ b/
lib/rfxswf.c
@@
-919,6
+919,11
@@
void swf_FoldSprite(TAG * t)
// t->prev = sprtag;
}
+int swf_IsFolded(TAG * t)
+{
+ return (t->id == ST_DEFINESPRITE && t->len>4);
+}
+
void swf_FoldAll(SWF*swf)
{
TAG*tag = swf->firstTag;
diff --git
a/lib/rfxswf.h
b/lib/rfxswf.h
index
9fb2546
..
f2b36db
100644
(file)
--- a/
lib/rfxswf.h
+++ b/
lib/rfxswf.h
@@
-177,6
+177,7
@@
void swf_FoldAll(SWF*swf);
void swf_UnFoldAll(SWF*swf);
void swf_FoldSprite(TAG*tag);
void swf_UnFoldSprite(TAG*tag);
+int swf_IsFolded(TAG*tag);
// tag reordering: