* =============================================================================
*/
+#if 1
+
#define SR_NETWORKED
#define VG_DEVWINDOW
#include "common.h"
#include "player.h"
#include "entity.c"
+#include "workshop.c"
VG_STATIC struct player_avatar localplayer_avatar;
VG_STATIC struct player_model localplayer_models[3];
vg_loader_step( player_init, NULL );
vg_loader_step( player_ragdoll_init, NULL );
+ vg_loader_step( workshop_init, NULL );
vg_loader_step( skateshop_init, NULL );
/* ----------------- */
main_camera.fov = vg_lerpf( localplayer.cam.fov, menu_smooth_fov,
menu_opacity );
- main_camera.fov = vg_lerpf( main_camera.fov, 90.0f,
- global_skateshop.factive );
main_camera.nearz = 0.1f;
main_camera.farz = 2100.0f;
gui_draw();
}
-VG_STATIC void vg_ui(void)
+VG_STATIC void vg_gui(void)
{
if( skaterift_status == 0 ){
return;
#endif
world_instance *world = get_active_world();
menu_crap_ui();
+
+ workshop_form_gui();
render_view_framebuffer_ui();
}
+
+#else
+
+#include "skaterift_imgui_dev.c"
+
+#endif