search for: has_character

Displaying 7 results from an estimated 7 matches for "has_character".

2007 Jun 18
0
Branch 'as' - 8 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_sprite_movie.h libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_swf_decoder.h
...guint operator) -{ - return CAIRO_OPERATOR_OVER; -} - -int -swfdec_spriteseg_place_object (SwfdecSwfDecoder *s, guint tag) -{ - SwfdecBits *bits = &s->b; - int has_clip_actions; - int has_clip_depth; - int has_name; - int has_ratio; - int has_color_transform; - int has_matrix; - int has_character; - int move; - int depth; - int cache; - int has_blend_mode = 0; - int has_filter = 0; - SwfdecContent *content; - - has_clip_actions = swfdec_bits_getbit (bits); - has_clip_depth = swfdec_bits_getbit (bits); - has_name = swfdec_bits_getbit (bits); - has_ratio = swfdec_bits_getbit (bits);...
2007 Apr 16
0
7 commits - libswfdec/swfdec_codec_gst.c libswfdec/swfdec_font.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_pattern.c libswfdec/swfdec_pattern.h libswfdec/swfdec_shape.c libswfdec/swfdec_shape.h libswfdec/swfdec_sprite.c
...the new flags, which is wrong diff --git a/libswfdec/swfdec_sprite.c b/libswfdec/swfdec_sprite.c index 86f7997..f3ad17d 100644 --- a/libswfdec/swfdec_sprite.c +++ b/libswfdec/swfdec_sprite.c @@ -346,7 +346,6 @@ swfdec_spriteseg_do_place_object (Swfdec has_matrix = swfdec_bits_getbit (bits); has_character = swfdec_bits_getbit (bits); move = swfdec_bits_getbit (bits); - depth = swfdec_bits_get_u16 (bits); SWFDEC_LOG (" has_clip_actions = %d", has_clip_actions); SWFDEC_LOG (" has_clip_depth = %d", has_clip_depth); @@ -356,18 +355,21 @@ swfdec_spriteseg_do_place_object...
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
..., SWFDEC_SPRITE_ACTION_ADD, content); return content; } @@ -349,8 +349,7 @@ swfdec_spriteseg_place_object_2 (SwfdecS depth -= 16384; /* new name always means new object */ - content = swfdec_contents_create (s->parse_sprite, - s->parse_sprite->parse_frame, depth, move, has_character || has_name); + content = swfdec_contents_create (s->parse_sprite, depth, move, has_character || has_name); if (has_character) { int id = swfdec_bits_get_u16 (bits); content->graphic = swfdec_swf_decoder_get_character (s, id); @@ -460,8 +459,7 @@ swfdec_spriteseg_remove_object (...
2007 Apr 13
0
5 commits - libswfdec/Makefile.am libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_font.c libswfdec/swfdec_loadertarget.c libswfdec/swfdec_movie.h libswfdec/swfdec_pattern.c libswfdec/swfdec_pattern.h libswfdec/swfdec_player.c
...rite_convert_operator (guint operator) +{ + return CAIRO_OPERATOR_OVER; +} + +static int +swfdec_spriteseg_do_place_object (SwfdecSwfDecoder *s, unsigned int version) { SwfdecBits *bits = &s->b; int has_clip_actions; @@ -326,6 +333,9 @@ swfdec_spriteseg_place_object_2 (SwfdecS int has_character; int move; int depth; + int cache; + int has_blend_mode = 0; + int has_filter = 0; SwfdecContent *content; has_clip_actions = swfdec_bits_getbit (bits); @@ -349,6 +359,15 @@ swfdec_spriteseg_place_object_2 (SwfdecS SWFDEC_LOG (" depth = %d (=> %d)", depth, depth -...
2007 Jun 15
0
Branch 'as' - 5 commits - libswfdec/swfdec_as_native_function.c libswfdec/swfdec_edittext.c libswfdec/swfdec_edittext.h libswfdec/swfdec_font.c libswfdec/swfdec_font.h libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_morphshape.h
...int -swfdec_spriteseg_do_place_object (SwfdecSwfDecoder *s, unsigned int version) +int +swfdec_spriteseg_place_object (SwfdecSwfDecoder *s, guint tag) { SwfdecBits *bits = &s->b; int has_clip_actions; @@ -264,7 +265,7 @@ swfdec_spriteseg_do_place_object (Swfdec SWFDEC_LOG (" has_character = %d", has_character); SWFDEC_LOG (" move = %d", move); - if (version > 2) { + if (tag == SWFDEC_TAG_PLACEOBJECT3) { swfdec_bits_getbits (bits, 5); cache = swfdec_bits_getbit (bits); has_blend_mode = swfdec_bits_getbit (bits); @@ -390,19 +391,7 @@ swfdec_spr...
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
...prite, move ? SWFDEC_SPRITE_ACTION_UPDATE : SWFDEC_SPRITE_ACTION_ADD, content); return content; } @@ -374,29 +282,27 @@ swfdec_spriteseg_do_place_object (Swfdec depth -= 16384; /* new name always means new object */ - content = swfdec_contents_create (s->parse_sprite, depth, move, has_character || has_name); + content = swfdec_contents_create (s->parse_sprite, depth, move); if (has_character) { int id = swfdec_bits_get_u16 (bits); content->graphic = swfdec_swf_decoder_get_character (s, id); if (!SWFDEC_IS_GRAPHIC (content->graphic)) { - g_hash_table_remove...
2007 Nov 07
0
14 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_script.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_text_field_movie.c
...e_movie_perform_place (SwfdecSpriteMovie *movie, SwfdecBits *bits, guint tag) { SwfdecPlayer *player = SWFDEC_PLAYER (SWFDEC_AS_OBJECT (movie)->context); @@ -77,7 +145,7 @@ swfdec_sprite_movie_perform_place (SwfdecSpriteMovie *movie, SwfdecBits *bits, g gboolean has_transform; gboolean has_character; gboolean move; - gboolean depth; + int depth; gboolean cache; gboolean has_blend_mode = 0; gboolean has_filter = 0; @@ -311,6 +379,8 @@ swfdec_sprite_movie_perform_one_action (SwfdecSpriteMovie *movie, guint tag, Swf swfdec_player_add_action_script (player, mov, script, 2);...