X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=workshop.h;h=b7b8a2614db9019b53d4072d2adbf18684f14ed0;hb=5d5d5f394cbe2212769bc58a70fa622b4ed46205;hp=6418339d4851dd7811b5a89977f62a1a4f558c83;hpb=a8ba9cc44e1ae9aeca62fb579a3105c625e59133;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/workshop.h b/workshop.h index 6418339..b7b8a26 100644 --- a/workshop.h +++ b/workshop.h @@ -5,6 +5,7 @@ #include "vg/vg.h" #include "vg/vg_steam_remote_storage.h" #include "skaterift.h" +#include "pointcloud.h" struct workshop_file_info{ u64 author; @@ -12,6 +13,14 @@ struct workshop_file_info{ char title[64]; }; +struct world_file_info{ + char title[64]; /* extracted from ent_worldinfo */ + char location[64]; + + u32 pointcloud_count; + pointcloud_vert pointcloud[]; +}; + struct async_workshop_filepath_info{ PublishedFileId_t id; char *buf; @@ -40,4 +49,10 @@ VG_STATIC void async_workshop_get_installed_files( void *data, u32 len ); VG_STATIC void workshop_load_metadata( const char *path, struct workshop_file_info *info ); +/* generic reciever */ +VG_STATIC void workshop_async_any_complete( void *data, u32 size ) +{ + skaterift_end_op(); +} + #endif /* WORKSHOP_H */