X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=workshop.h;h=f28dc7777831e6e9baf0115c661b7e59369ceead;hb=eb5b5f5fa7d0b8767df69510b6313cb601df66b4;hp=d4f1b6ddaee20d6275b8d95e0d57411ef05f2126;hpb=6929408e937dca64da707a2d61f8cdf6ab857e93;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/workshop.h b/workshop.h index d4f1b6d..f28dc77 100644 --- a/workshop.h +++ b/workshop.h @@ -33,16 +33,24 @@ struct async_workshop_metadata_info{ #define WORKSHOP_VIEW_PER_PAGE 15 struct workshop_form{ + enum workshop_op { + k_workshop_op_none, + k_workshop_op_downloading_submission, + k_workshop_op_publishing_update, + k_workshop_op_loading_model + } + op; + struct { 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; @@ -65,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{