X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=skaterift.c;h=21a7981793ba6ccd6149de3a5aaaccb483ecdf0d;hb=a1741ec4aed057cbafff2d6bc9e5cf8a15ae322b;hp=91e7e012ababc663c4498cf7d1b8cab5b1eeee00;hpb=a3c10b9dec1ed7136721695033ebeef30717f249;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/skaterift.c b/skaterift.c index 91e7e01..21a7981 100644 --- a/skaterift.c +++ b/skaterift.c @@ -157,7 +157,7 @@ VG_STATIC void render_main_game(void) float fov_target = 108.0f; if( player.phys.on_board ) - fov_target = 125.0f; + fov_target = 118.0f; if( cl_menu ) fov_target = menu_fov_target; @@ -260,39 +260,6 @@ VG_STATIC void vg_render(void) VG_STATIC void vg_ui(void) { #if 0 - if( cl_menu ) - { - ui_rect menu = - { - vg.window_x / 2 - 150, - vg.window_y / 2 - 50, - 300, - 130 - }; - - ui_fill_rect( &ui_global_ctx, menu, 0xa0000000 ); - - ui_text( &ui_global_ctx, (ui_rect){ menu[0]+menu[2]/2,menu[1]+6, 0, 0 }, - steam_username_at_startup, - 1, k_text_align_center ); - menu[1] += 24; - menu[3] -= 30; - - ui_rect_pad( menu, 8 ); - ui_fill_rect( &ui_global_ctx, menu, 0x90ffffff ); - ui_rect_pad( menu, 2 ); - ui_fill_rect( &ui_global_ctx, menu, 0xa0000000 ); - - menu[1] += 32; - ui_text( &ui_global_ctx, (ui_rect){ menu[0]+menu[2]/2,menu[1], 0, 0 }, - "Exit", 2, k_text_align_center ); - - if( vg_get_button_down( "jump" ) ) - { - glfwSetWindowShouldClose( vg.window, 1 ); - } - } - if( lightedit ) { ui_global_ctx.cursor[0] = 10;