search for: swfdec_root_movie_perform_root_act

Displaying 5 results from an estimated 5 matches for "swfdec_root_movie_perform_root_act".

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
...dispose (object); } @@ -168,8 +169,9 @@ swfdec_root_movie_class_init (SwfdecRoot } static void -swfdec_root_movie_init (SwfdecRootMovie *decoder) +swfdec_root_movie_init (SwfdecRootMovie *root) { + root->exports = g_hash_table_new (g_str_hash, g_str_equal); } void @@ -240,9 +242,22 @@ swfdec_root_movie_perform_root_actions ( swfdec_script_execute (action->data, SWFDEC_SCRIPTABLE (root)); break; case SWFDEC_ROOT_ACTION_EXPORT: + { + SwfdecRootExportData *data = action->data; + g_hash_table_insert (root->exports, data->name, data->character); + } break; default: g_assert_not...
2007 Mar 07
0
2 commits - libswfdec/swfdec_js_movie.c libswfdec/swfdec_root_movie.h
...med movies */ guint root_actions_performed; /* root actions been performed in all frames < this*/ + GHashTable * exports; /* string->SwfdecCharacter mapping of exported characters */ }; struct _SwfdecRootMovieClass @@ -61,5 +62,8 @@ void swfdec_root_movie_load (SwfdecRo void swfdec_root_movie_perform_root_actions (SwfdecRootMovie * root, guint frame); +gpointer swfdec_root_movie_get_export (SwfdecRootMovie * root, + const char * name); + G_END_DECLS #endif
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
...adertarget.h" #include "swfdec_player_internal.h" -#include "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_SP...
2007 Mar 09
0
17 commits - libswfdec/js libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_root_movie.c
...amp;ret)) + return NULL; + + g_print ("found %s\n", (char *) ret); + return ret; +} diff --git a/libswfdec/swfdec_root_movie.h b/libswfdec/swfdec_root_movie.h index f5a57d6..67c785e 100644 --- a/libswfdec/swfdec_root_movie.h +++ b/libswfdec/swfdec_root_movie.h @@ -64,6 +64,8 @@ void swfdec_root_movie_perform_root_act gpointer swfdec_root_movie_get_export (SwfdecRootMovie * root, const char * name); +const char * swfdec_root_movie_get_export_name (SwfdecRootMovie * root, + SwfdecCharacter * character); G_END_DECLS #endif diff-tree 5825479e8e4255252521b4ac6421180c38623d54 (from f7e50...
2007 Apr 04
0
Branch 'as' - 17 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
...== 0) { - /* if we're the only child */ - /* FIXME: check case sensitivity wrt embedding movies of different version */ - JS_SetContextCaseSensitive (movie->player->jscx, - SWFDEC_SWF_DECODER (movie->decoder)->version > 6); - } return TRUE; } @@ -243,7 +235,7 @@ swfdec_root_movie_perform_root_actions ( SwfdecSpriteAction *action = &g_array_index (array, SwfdecSpriteAction, i); switch (action->type) { case SWFDEC_ROOT_ACTION_INIT_SCRIPT: - swfdec_script_execute (action->data, SWFDEC_SCRIPTABLE (root)); + swfdec_as_object_run (SWFDEC_AS_OBJECT (root), action->dat...