X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=ent_region.h;h=4b278251907998b4db693819169b92a6a8ff261a;hb=5f6a4f9df6c8accc89f1920bfe9ace3cbac4c4b6;hp=85acb45852f4e4e5db92c4659da6ca66c0e15a81;hpb=a109f126d8adab622e38fbcc2d4281e75255246a;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/ent_region.h b/ent_region.h index 85acb45..4b27825 100644 --- a/ent_region.h +++ b/ent_region.h @@ -1,14 +1,13 @@ -#ifndef ENT_REGION_H -#define ENT_REGION_H - +#pragma once #include "world_entity.h" -struct { +struct global_ent_region +{ char location[ NETWORK_REGION_MAX ]; u32 flags; } -static global_ent_region; - -static u32 region_spark_colour( u32 flags ); +extern global_ent_region; -#endif /* ENT_REGION_H */ +u32 region_spark_colour( u32 flags ); +void ent_region_re_eval( world_instance *world ); +void ent_region_call( world_instance *world, ent_call *call );