search for: swfdecrootsprite

Displaying 10 results from an estimated 10 matches for "swfdecrootsprite".

2007 Mar 09
0
libswfdec/swfdec_root_sprite.c libswfdec/swfdec_root_sprite.h
...on, MA 02110-1301 USA + */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif +#include <string.h> + +#include "swfdec_root_sprite.h" +#include "swfdec_debug.h" +#include "swfdec_script.h" +#include "swfdec_swf_decoder.h" + +G_DEFINE_TYPE (SwfdecRootSprite, swfdec_root_sprite, SWFDEC_TYPE_SPRITE) + +void +swfdec_root_sprite_dispose (GObject *object) +{ + SwfdecSprite *sprite = SWFDEC_SPRITE (object); + SwfdecRootSprite *root = SWFDEC_ROOT_SPRITE (object); + guint i,j; + + if (root->root_actions) { + for (i = 0; i < sprite->n_frames; i...
2007 Jun 06
0
Branch 'as' - libswfdec/Makefile.am libswfdec/swfdec_root_movie.c libswfdec/swfdec_root_sprite.c libswfdec/swfdec_root_sprite.h libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_swf_decoder.h libswfdec/swfdec_tag.c
...swfdec_root_sprite.h" #include "swfdec_script.h" +#include "swfdec_sprite.h" #include "swfdec_swf_decoder.h" @@ -216,7 +216,7 @@ swfdec_root_movie_load (SwfdecRootMovie void swfdec_root_movie_perform_root_actions (SwfdecRootMovie *root, guint frame) { - SwfdecRootSprite *sprite; + SwfdecSwfDecoder *s; GArray *array; guint i; @@ -226,12 +226,12 @@ swfdec_root_movie_perform_root_actions ( if (frame < root->root_actions_performed) return; - sprite = SWFDEC_ROOT_SPRITE (SWFDEC_SPRITE_MOVIE (root)->sprite); + s = SWFDEC_SWF_DECODER (root-&...
2007 Mar 07
0
13 commits - libswfdec/Makefile.am libswfdec/swfdec_js_global.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_root_movie.c libswfdec/swfdec_root_movie.h libswfdec/swfdec_script.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c
...quot;swfdec_root_sprite.h" +#include "swfdec_script.h" #include "swfdec_swf_decoder.h" #include "js/jsapi.h" @@ -213,12 +215,34 @@ swfdec_root_movie_load (SwfdecRootMovie void swfdec_root_movie_perform_root_actions (SwfdecRootMovie *root, guint frame) { + SwfdecRootSprite *sprite; + GArray *array; + guint i; + g_return_if_fail (SWFDEC_IS_ROOT_MOVIE (root)); g_return_if_fail (frame <= root->root_actions_performed); if (frame < root->root_actions_performed) return; - g_print ("performing root actions for frame %u\n", root-&gt...
2007 Jun 03
1
some patches for swfdec
Here are some patches I made yesterday. They add three actions: duplicateClip, removeClip and With, one method Math.abs and bug fixes. All base off 'as' branch. Please have a look if you are going to apply them because I'm quite new in swfdec development. BTW, how can I implement createEmptyMovieClip? I have no idea how to create an SwfdecMovie properly. I also need to add the
2007 Apr 27
0
Changes to 'refs/tags/0.4.3'
...xist in the repos yet actually test something here fix swfdec_value_to_frame to handle weird cases add GotoFrame2 test seems I'm too stupid to really add files add debugging output make SwfdecSpriteAction type be a uint so we can use different enums add SwfdecRootSprite - a sprite that manages "root actions" exports are no longer handled in the SwfDecoder remove any mention of character data and SwfdecSpriteInfo use the right variable here omit object name for missing functions instead of always printing "global" s...
2007 Apr 27
0
Changes to 'refs/tags/0.4.4'
...xist in the repos yet actually test something here fix swfdec_value_to_frame to handle weird cases add GotoFrame2 test seems I'm too stupid to really add files add debugging output make SwfdecSpriteAction type be a uint so we can use different enums add SwfdecRootSprite - a sprite that manages "root actions" exports are no longer handled in the SwfDecoder remove any mention of character data and SwfdecSpriteInfo use the right variable here omit object name for missing functions instead of always printing "global" s...
2007 Aug 09
0
Branch 'vivi' - 12 commits - libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec/Makefile.am libswfdec/swfdec_as_array.h libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_debugger.c
...c/swfdec_types.h b/libswfdec/swfdec_types.h index 44edd85..907ac87 100644 --- a/libswfdec/swfdec_types.h +++ b/libswfdec/swfdec_types.h @@ -49,7 +49,6 @@ typedef struct _SwfdecShape SwfdecShape; typedef struct _SwfdecShapeVec SwfdecShapeVec; typedef struct _SwfdecRect SwfdecRect; typedef struct _SwfdecRootSprite SwfdecRootSprite; -typedef struct _SwfdecScript SwfdecScript; typedef struct _SwfdecScriptable SwfdecScriptable; typedef struct _SwfdecSound SwfdecSound; typedef struct _SwfdecSoundChunk SwfdecSoundChunk; diff --git a/player/swfdec_debug_scripts.c b/player/swfdec_debug_scripts.c index 3877da8..1...
2008 Jun 15
1
14 commits - configure.ac swfdec/.gitignore swfdec-gtk/swfdec_gtk_loader.c swfdec-gtk/swfdec_playback_alsa.c swfdec/Makefile.am swfdec/swfdec_asnative.h swfdec/swfdec_as_string.c swfdec/swfdec_audio.c swfdec/swfdec_audio_load.c swfdec/swfdec_audio_load.h
...fdec/swfdec_types.h b/swfdec/swfdec_types.h index 1beb94b..8b8848b 100644 --- a/swfdec/swfdec_types.h +++ b/swfdec/swfdec_types.h @@ -50,6 +50,7 @@ typedef struct _SwfdecShapeVec SwfdecShapeVec; typedef struct _SwfdecRect SwfdecRect; typedef struct _SwfdecResource SwfdecResource; typedef struct _SwfdecRootSprite SwfdecRootSprite; +typedef struct _SwfdecSandbox SwfdecSandbox; typedef struct _SwfdecScriptable SwfdecScriptable; typedef struct _SwfdecSound SwfdecSound; typedef struct _SwfdecSoundChunk SwfdecSoundChunk; commit ab164d28c797351b8c94fd4f09c070d97eb1fbb5 Author: Benjamin Otte <otte at gnome.o...
2007 Oct 18
0
18 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_flash_security.c
...swfdec_types.h +++ b/libswfdec/swfdec_types.h @@ -49,6 +49,7 @@ typedef struct _SwfdecMovie SwfdecMovie; typedef struct _SwfdecShape SwfdecShape; typedef struct _SwfdecShapeVec SwfdecShapeVec; typedef struct _SwfdecRect SwfdecRect; +typedef struct _SwfdecResource SwfdecResource; typedef struct _SwfdecRootSprite SwfdecRootSprite; typedef struct _SwfdecScriptable SwfdecScriptable; typedef struct _SwfdecSound SwfdecSound; @@ -57,7 +58,6 @@ typedef struct _SwfdecSprite SwfdecSprite; typedef struct _SwfdecSpriteFrame SwfdecSpriteFrame; typedef struct _SwfdecSpriteMovie SwfdecSpriteMovie; typedef struct _S...
2007 Aug 22
0
163 commits - autogen.sh configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec-gtk/swfdec_source.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c
...c/swfdec_types.h b/libswfdec/swfdec_types.h index 44edd85..907ac87 100644 --- a/libswfdec/swfdec_types.h +++ b/libswfdec/swfdec_types.h @@ -49,7 +49,6 @@ typedef struct _SwfdecShape SwfdecShape; typedef struct _SwfdecShapeVec SwfdecShapeVec; typedef struct _SwfdecRect SwfdecRect; typedef struct _SwfdecRootSprite SwfdecRootSprite; -typedef struct _SwfdecScript SwfdecScript; typedef struct _SwfdecScriptable SwfdecScriptable; typedef struct _SwfdecSound SwfdecSound; typedef struct _SwfdecSoundChunk SwfdecSoundChunk; diff --git a/player/swfdec_debug_scripts.c b/player/swfdec_debug_scripts.c index 3877da8..1...