Fix some more scaled-fixed-point values, and have a 2-byte spare field
followed by a 2-byte event count. Fixes bug 609. svn path=/trunk/; revision=16720
This commit is contained in:
parent
e4106ae5f8
commit
93106a8e2e
|
@ -2944,24 +2944,24 @@ cigi2_add_special_effect_definition(tvbuff_t *tvb, proto_tree *tree, gint offset
|
|||
proto_tree_add_item(tree, hf_cigi2_special_effect_definition_blue, tvb, offset, 1, FALSE);
|
||||
offset++;
|
||||
|
||||
proto_tree_add_item(tree, hf_cigi2_special_effect_definition_x_scale, tvb, offset, 2, FALSE);
|
||||
proto_tree_add_float(tree, hf_cigi2_special_effect_definition_x_scale, tvb, offset, 2, tvb_get_fixed_point(tvb, offset, cigi_byte_order));
|
||||
offset += 2;
|
||||
|
||||
proto_tree_add_item(tree, hf_cigi2_special_effect_definition_y_scale, tvb, offset, 2, FALSE);
|
||||
proto_tree_add_float(tree, hf_cigi2_special_effect_definition_y_scale, tvb, offset, 2, tvb_get_fixed_point(tvb, offset, cigi_byte_order));
|
||||
offset += 2;
|
||||
|
||||
proto_tree_add_item(tree, hf_cigi2_special_effect_definition_z_scale, tvb, offset, 2, FALSE);
|
||||
proto_tree_add_float(tree, hf_cigi2_special_effect_definition_z_scale, tvb, offset, 2, tvb_get_fixed_point(tvb, offset, cigi_byte_order));
|
||||
offset += 2;
|
||||
|
||||
proto_tree_add_item(tree, hf_cigi2_special_effect_definition_time_scale, tvb, offset, 2, FALSE);
|
||||
proto_tree_add_float(tree, hf_cigi2_special_effect_definition_time_scale, tvb, offset, 2, tvb_get_fixed_point(tvb, offset, cigi_byte_order));
|
||||
offset += 2;
|
||||
|
||||
proto_tree_add_text(tree, tvb, offset, 2, "Spare");
|
||||
offset += 2;
|
||||
|
||||
proto_tree_add_item(tree, hf_cigi2_special_effect_definition_effect_count, tvb, offset, 2, FALSE);
|
||||
offset += 2;
|
||||
|
||||
proto_tree_add_item(tree, hf_cigi2_special_effect_definition_separation, tvb, offset, 2, FALSE);
|
||||
offset += 2;
|
||||
|
||||
proto_tree_add_item(tree, hf_cigi2_special_effect_definition_separation, tvb, offset, 4, FALSE);
|
||||
offset += 4;
|
||||
|
||||
|
|
Loading…
Reference in New Issue