added swf_isPlaceTag()
authorkramm <kramm>
Sat, 25 Jun 2005 12:38:45 +0000 (12:38 +0000)
committerkramm <kramm>
Sat, 25 Jun 2005 12:38:45 +0000 (12:38 +0000)
lib/modules/swftools.c
lib/rfxswf.h

index 822fe38..5881827 100644 (file)
@@ -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 || 
index 9c330e9..31050dd 100644 (file)
@@ -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);