X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=ent_route.c;h=1f0bbeddf401c3ed6763dbf0608e4ecc4d35194e;hb=1d8d9366022c064ef56d80d463c90a79721c6243;hp=a11464093b6646c84838a9e5d110596a2d53f92e;hpb=7e1fe6c7931ba4492aa10ac5eebc316b74fb5dac;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/ent_route.c b/ent_route.c index a114640..1f0bbed 100644 --- a/ent_route.c +++ b/ent_route.c @@ -35,9 +35,18 @@ static void ent_route_preupdate( ent_route *route, int active ){ gui_helper_action( button_display_string( k_srbind_mleft ), "weekly" ); gui_helper_action( button_display_string( k_srbind_mright ), "all time" ); - gui_helper_action( button_display_string( k_srbind_mback ), "exit" ); + if( button_down( k_srbind_mleft ) ){ + world_sfd.view_weekly = 1; + world_sfd_compile_active_scores(); + } + + if( button_down( k_srbind_mright ) ){ + world_sfd.view_weekly = 0; + world_sfd_compile_active_scores(); + } + if( button_down( k_srbind_mback ) ){ world_entity_unfocus(); return;