X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=workshop.h;h=e09faf124d3de0b1467c35fa35a6f02a37e1d92b;hb=74b2136d5b41b18e2eec698f1fd11b503aa1100a;hp=4bea096ca8cc13428b4cead75f3ca5dc2dbf5cf3;hpb=7fb317c87e6d6a0a2a0de714b278ff8763254657;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/workshop.h b/workshop.h index 4bea096..e09faf1 100644 --- a/workshop.h +++ b/workshop.h @@ -45,12 +45,12 @@ struct workshop_form{ char title[80]; char description[512]; char author[32]; - struct ui_dropdown_value submission_type_selection; + i32 submission_type_selection; enum addon_type type; PublishedFileId_t file_id; /* 0 if not published yet */ - struct ui_dropdown_value visibility; + i32 visibility; int submit_title, /* set if the respective controls are touched */ submit_description, submit_file_and_image; @@ -73,6 +73,7 @@ struct workshop_form{ char addon_folder[128]; struct player_board board_model; + struct player_model player_model; /* what does the user want to do with the image preview? */ enum workshop_form_file_intent{ @@ -132,10 +133,10 @@ static workshop_form; -VG_STATIC int workshop_submit_command( int argc, const char *argv[] ); -VG_STATIC void async_workshop_get_filepath( void *data, u32 len ); -VG_STATIC void async_workshop_get_installed_files( void *data, u32 len ); -VG_STATIC void workshop_load_metadata( const char *path, +static int workshop_submit_command( int argc, const char *argv[] ); +static void async_workshop_get_filepath( void *data, u32 len ); +static void async_workshop_get_installed_files( void *data, u32 len ); +static void workshop_load_metadata( const char *path, struct workshop_file_info *info ); #endif /* WORKSHOP_H */