Displaying 3 results from an estimated 3 matches for "movie_list".
Did you mean:
mode_list
2007 Jun 13
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_sprite.c
...libswfdec/swfdec_sprite_movie.c
@@ -33,26 +33,10 @@
#include "swfdec_script.h"
#include "swfdec_sprite.h"
#include "swfdec_swf_instance.h"
+#include "swfdec_utils.h"
/*** SWFDEC_SPRITE_MOVIE ***/
-static SwfdecMovie *
-swfdec_sprite_movie_find (GList *movie_list, int depth)
-{
- GList *walk;
-
- for (walk = movie_list; walk; walk = walk->next) {
- SwfdecMovie *movie = walk->data;
-
- if (movie->depth < depth)
- continue;
- if (movie->depth == depth)
- return movie;
- break;
- }
- return NULL;
-}
-
static gboolean...
2007 Mar 05
0
11 commits - configure.ac libswfdec/swfdec_js_movie.c libswfdec/swfdec_root_movie.c libswfdec/swfdec_root_movie.h libswfdec/swfdec_script.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_swf_decoder.c
...sprite));
+ if (info == NULL) {
+ info = g_new0 (SwfdecSpriteInfo, 1);
+ swfdec_root_movie_set_character_data (root, SWFDEC_CHARACTER (sprite),
+ info, swfdec_sprite_info_free);
+ }
+ return info;
+}
+
+/*** SWFDEC_SPRITE_MOVIE ***/
+
static SwfdecMovie *
swfdec_sprite_movie_find (GList *movie_list, int depth)
{
@@ -311,6 +343,15 @@ swfdec_sprite_movie_init_movie (SwfdecMo
SwfdecSpriteMovie *movie = SWFDEC_SPRITE_MOVIE (mov);
mov->n_frames = movie->sprite->n_frames;
+ if (movie->sprite->init_action) {
+ SwfdecSpriteInfo *info = swfdec_sprite_info_get (mov, movie-&g...
2007 Jun 05
0
Branch 'as' - 8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_number.c libswfdec/swfdec_as_scope.h
...g unnamed movies */
diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index 3e25eb9..c0d0647 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -74,7 +74,7 @@ swfdec_sprite_movie_perform_one_action (
gboolean skip_scripts, GList **movie_list)
{
SwfdecMovie *mov = SWFDEC_MOVIE (movie);
- SwfdecPlayer *player = SWFDEC_ROOT_MOVIE (mov->root)->player;
+ SwfdecPlayer *player = SWFDEC_PLAYER (SWFDEC_AS_OBJECT (mov)->context);
SwfdecMovie *child;
SwfdecContent *content;
@@ -176,7 +176,7 @@ swfdec_sprite_movie_goto (Swfd...