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:
b904275
)
added swf_isPlaceTag()
author
kramm
<kramm>
Sat, 25 Jun 2005 12:38:45 +0000
(12:38 +0000)
committer
kramm
<kramm>
Sat, 25 Jun 2005 12:38:45 +0000
(12:38 +0000)
lib/modules/swftools.c
patch
|
blob
|
history
lib/rfxswf.h
patch
|
blob
|
history
diff --git
a/lib/modules/swftools.c
b/lib/modules/swftools.c
index
822fe38
..
5881827
100644
(file)
--- a/
lib/modules/swftools.c
+++ b/
lib/modules/swftools.c
@@
-904,6
+904,14
@@
U8 swf_isShapeTag(TAG*tag)
return 0;
}
+U8 swf_isPlaceTag(TAG*tag)
+{
+ if(tag->id == ST_PLACEOBJECT ||
+ tag->id == ST_PLACEOBJECT2)
+ return 1;
+ return 0;
+}
+
U8 swf_isImageTag(TAG*tag)
{
if(tag->id == ST_DEFINEBITSJPEG ||
diff --git
a/lib/rfxswf.h
b/lib/rfxswf.h
index
9c330e9
..
31050dd
100644
(file)
--- a/
lib/rfxswf.h
+++ b/
lib/rfxswf.h
@@
-754,6
+754,7
@@
U8 swf_isPseudoDefiningTag(TAG * t);
U8 swf_isAllowedSpriteTag(TAG * t);
U8 swf_isImageTag(TAG*tag);
U8 swf_isShapeTag(TAG*tag);
+U8 swf_isPlaceTag(TAG*tag);
U16 swf_GetDefineID(TAG * t);
SRECT swf_GetDefineBBox(TAG * t);