X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=ent_route.h;h=ecc3278b72714522d31a58864a5e543537ad9e10;hb=5f6a4f9df6c8accc89f1920bfe9ace3cbac4c4b6;hp=65c074f2ca545ab1a9726faf95b3f71421627a9e;hpb=a109f126d8adab622e38fbcc2d4281e75255246a;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/ent_route.h b/ent_route.h index 65c074f..ecc3278 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 */ +void ent_route_call( world_instance *world, ent_call *call ); +void ent_route_preupdate( ent_route *route, int active );