search for: swfdec_content_update_lifetime

Displaying 2 results from an estimated 2 matches for "swfdec_content_update_lifetime".

2007 Mar 07
0
11 commits - libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_scriptable.c libswfdec/swfdec_scriptable.h libswfdec/swfdec_script.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h
...RITE_ACTION_REMOVE: - if (GPOINTER_TO_INT (action->data) == depth) - return NULL; - break; - default: - g_assert_not_reached (); - } - } - } - return NULL; + return g_hash_table_lookup (sprite->live_content, GINT_TO_POINTER (depth)); } static void @@ -184,6 +156,30 @@ swfdec_content_update_lifetime (SwfdecSp content->sequence->end = sprite->parse_frame; } +static void +swfdec_content_update_live (SwfdecSprite *sprite, + SwfdecSpriteActionType type, gpointer data) +{ + SwfdecContent *content; + switch (type) { + case SWFDEC_SPRITE_ACTION_SCRIPT: + return; + case...
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
...he current frame, too - so call this before adding actions - * that might modify the frame you're looking for */ -static SwfdecContent * -swfdec_content_find (SwfdecSprite *sprite, int depth) -{ - return g_hash_table_lookup (sprite->live_content, GINT_TO_POINTER (depth)); -} - -static void -swfdec_content_update_lifetime (SwfdecSprite *sprite, - SwfdecSpriteActionType type, gpointer data) -{ - SwfdecContent *content; - int depth; - switch (type) { - case SWFDEC_SPRITE_ACTION_SCRIPT: - case SWFDEC_SPRITE_ACTION_UPDATE: - return; - case SWFDEC_SPRITE_ACTION_ADD: - depth = ((SwfdecContent *) d...