fix long standing grind bug
[carveJwlIkooP6JGAAIwe30JlM.git] / workshop.h
index b7b8a2614db9019b53d4072d2adbf18684f14ed0..36a6aa5ad2f0b7e2ce18ab4006104242ea72e8fe 100644 (file)
@@ -1,26 +1,14 @@
 #ifndef WORKSHOP_H
 #define WORKSHOP_H
 
+#include "workshop_types.h"
+
 #define VG_GAME
 #include "vg/vg.h"
 #include "vg/vg_steam_remote_storage.h"
 #include "skaterift.h"
 #include "pointcloud.h"
 
-struct workshop_file_info{
-   u64 author;
-   char author_name[32];
-   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;
@@ -37,13 +25,6 @@ struct async_workshop_metadata_info{
    const char *path;
 };
 
-VG_STATIC void workshop_file_info_clear( struct workshop_file_info *info )
-{
-   info->author = 0ul;
-   info->author_name[0] = '\0';
-   info->title[0] = '\0';
-}
-
 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,