X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=ent_route.h;h=cbf61b29740239833652fdafe49df9bfa927d2f8;hb=refs%2Fheads%2Fmaster;hp=65c074f2ca545ab1a9726faf95b3f71421627a9e;hpb=7ccbfdd0b7717b5a906a4d4309324782d1fe73e8;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/ent_route.h b/ent_route.h index 65c074f..cbf61b2 100644 --- a/ent_route.h +++ b/ent_route.h @@ -1,14 +1,11 @@ -#ifndef ENT_ROUTE_H -#define ENT_ROUTE_H - +#pragma once #include "entity.h" -static struct { +struct global_ent_route +{ struct gui_helper *helper_weekly, *helper_alltime; } -global_ent_route; - -static void ent_route_call( world_instance *world, ent_call *call ); -static void ent_route_preupdate( ent_route *route, int active ); +extern global_ent_route; -#endif /* ENT_ROUTE_H */ +entity_call_result ent_route_call( world_instance *world, ent_call *call ); +void ent_route_preupdate( ent_focus_context *ctx );