+ font3d_simple_draw( &world_global.font, 0,
+ info->author_name, &main_camera, mmdl );
+}
+
+VG_STATIC void skateshop_render_charshop(void)
+{
+}
+
+/*
+ * World: render event
+ */
+VG_STATIC void skateshop_render(void)
+{
+ if( !global_skateshop.active ) return;
+
+ ent_skateshop *shop = global_skateshop.ptr_ent;
+
+ if( shop->type == k_skateshop_type_boardshop ){
+ skateshop_render_boardshop();
+ }
+ else if( shop->type == k_skateshop_type_charshop ){
+ skateshop_render_charshop();
+ }
+ else{
+ vg_fatal_error( "Unknown store (%u)\n", shop->type );
+ }
+}
+
+/*
+ * Entity logic: entrance event
+ */
+VG_STATIC void ent_skateshop_call( world_instance *world, ent_call *call )
+{
+ u32 index = mdl_entity_id_id( call->id );
+ ent_skateshop *shop = mdl_arritm( &world->ent_skateshop, index );
+ vg_info( "skateshop_call\n" );
+
+ if( menu.active ) return;
+
+ if( call->function == k_ent_function_trigger ){
+ if( localplayer.subsystem != k_player_subsystem_walk ){
+ return;
+ }
+
+ vg_info( "Entering skateshop\n" );
+
+ localplayer.immobile = 1;
+ menu.disable_open = 1;
+ global_skateshop.active = 1;
+
+ v3_zero( localplayer.rb.v );
+ v3_zero( localplayer.rb.w );
+ localplayer._walk.move_speed = 0.0f;
+ global_skateshop.ptr_ent = shop;
+
+ if( shop->type == k_skateshop_type_boardshop ){
+ skateshop_update_viewpage();
+ workshop_op_item_scan();
+ }
+ }
+}
+
+/*
+ * Entity logic: exit event
+ */
+VG_STATIC void global_skateshop_exit(void)
+{
+ vg_info( "exit skateshop\n" );
+ localplayer.immobile = 0;
+ global_skateshop.active = 0;
+ menu.disable_open = 0;
+ srinput.ignore_input_frames = 2;