X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=skaterift.c;h=d8aae1bde47d3b99950d19b32a394b98ffb5fc77;hb=23733c7ba8fac9eb4ac1f4839c400f0248abee6e;hp=2bc0e4c7f1384cd7011aee2b4f3a2cedf1dd3349;hpb=bdd98e4458be4a143cd415e5077b373129b1b0d9;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/skaterift.c b/skaterift.c index 2bc0e4c..d8aae1b 100644 --- a/skaterift.c +++ b/skaterift.c @@ -55,6 +55,7 @@ #include "network.c" #include "player_remote.c" #include "vg/vg_audio_dsp.h" +#include "world_routes_ui.c" static int k_tools_mode = 0; @@ -194,10 +195,11 @@ static void vg_load(void){ replay_clear( &skaterift.replay ); player_load_animation_reference( "models/ch_none.mdl" ); - player_model_load( &localplayer.fallback_model, "models/ch_none.mdl" ); player__bind(); + player_board_load( &localplayer.fallback_board, "models/board_none.mdl" ); + /* --------------------- */ vg_bake_shaders(); @@ -286,6 +288,7 @@ static void vg_pre_update(void){ world_entity_focus_preupdate(); skaterift_replay_pre_update(); remote_sfx_pre_update(); + skateshop_world_preupdate( world_current_instance() ); world_update( world_current_instance(), localplayer.rb.co ); audio_ambient_sprites_update( world_current_instance(), localplayer.rb.co ); @@ -645,6 +648,7 @@ static void vg_gui(void){ player__im_gui(); world_instance *world = world_current_instance(); + world_routes_imgui( world ); skaterift_replay_imgui(); workshop_form_gui(); render_view_framebuffer_ui();