npcs and tutorial stuff
[carveJwlIkooP6JGAAIwe30JlM.git] / workshop.h
index 7e08781ee9c93f5a78f20e09205d77a40d8af5af..be9e3a5207728c7a7490d8fda4a0e96aa00e2e9c 100644 (file)
@@ -1,9 +1,5 @@
-#ifndef WORKSHOP_H
-#define WORKSHOP_H
-
-#define VG_GAME
+#pragma once
 #include "addon_types.h"
-#include "vg/vg.h"
 #include "vg/vg_steam_remote_storage.h"
 #include "skaterift.h"
 #include "vg/vg_steam_auth.h"
@@ -128,14 +124,11 @@ struct workshop_form{
    published_files_list[WORKSHOP_VIEW_PER_PAGE];
    int published_files_list_length;
 }
-static workshop_form;
-
-
-
-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 */
+extern workshop_form;
+
+void workshop_init(void);
+int workshop_submit_command( int argc, const char *argv[] );
+void async_workshop_get_filepath( void *data, u32 len );
+void async_workshop_get_installed_files( void *data, u32 len );
+void workshop_load_metadata( const char *path,struct workshop_file_info *info );
+void workshop_form_gui(void);