X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fas3%2Fabc.h;h=4ba6da320661d3aa8ecf24860a93fd8248315fa2;hp=3b6a134e96f6c1f8b4bf083d5e29111c53f220c1;hb=32add149087f12dd242eff60e09737389ec587bb;hpb=9ed9a87914fc9a590967d46de404e0f6290b7bb2 diff --git a/lib/as3/abc.h b/lib/as3/abc.h index 3b6a134..4ba6da3 100644 --- a/lib/as3/abc.h +++ b/lib/as3/abc.h @@ -34,7 +34,11 @@ DECLARE(abc_interface); DECLARE(abc_class); DECLARE(abc_exception); DECLARE(abc_asset); +DECLARE(asset_dependency); +DECLARE(asset_tag); DECLARE_LIST(abc_asset); +DECLARE_LIST(asset_dependency); +DECLARE_LIST(asset_tag); DECLARE_LIST(abc_exception); DECLARE_LIST(TAG); @@ -202,9 +206,18 @@ typedef struct _abc_script { trait_list_t*traits; } abc_script_t; +struct _asset_dependency { + abc_asset_t*asset; + int patch_pos; +}; +struct _asset_tag { + TAG*tag; + asset_dependency_t*deps; + int num_deps; +}; struct _abc_asset { - TAG_list_t*tags; - abc_asset_list_t*dependencies; + asset_tag_list_t*tags; + U16 id; }; abc_method_t* abc_nullmethod(abc_file_t*file);