X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;ds=sidebyside;f=addon.h;h=6daf8c86112b52966a5b196d416d1de5d60f5743;hb=eb28dee29482c7ffe8bc0203d302e3ee6dbfd943;hp=691046da23299929ae749c1cd5123006f14f5cb9;hpb=844527ec68c063d78d4993bd8e4053f9ddc47b78;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/addon.h b/addon.h index 691046d..6daf8c8 100644 --- a/addon.h +++ b/addon.h @@ -73,19 +73,19 @@ static addon_system; static void addon_system_init( void ); static u32 addon_count( enum addon_type type ); -static addon_reg *get_addon_from_index(enum addon_type type, u32 index); +static addon_reg *get_addon_from_index( enum addon_type type, u32 index ); static u32 get_index_from_addon( enum addon_type type, addon_reg *a ); static int addon_get_content_folder( addon_reg *reg, vg_str *folder ); /* scanning routines */ static u32 addon_match( addon_alias *alias ); static void addon_alias_uid( addon_alias *alias, char buf[76] ); -VG_STATIC void addon_mount_content_folder( enum addon_type type, +static void addon_mount_content_folder( enum addon_type type, const char *base_folder, const char *content_ext ); -VG_STATIC void addon_mount_workshop_items(void); -VG_STATIC void async_addon_reg_update( void *data, u32 size ); -VG_STATIC addon_reg *addon_mount_local_addon( const char *folder, +static void addon_mount_workshop_items(void); +static void async_addon_reg_update( void *data, u32 size ); +static addon_reg *addon_mount_local_addon( const char *folder, enum addon_type type, const char *content_ext ); static u16 addon_cache_fetch( enum addon_type type, u32 reg_index );