X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=ent_region.h;h=6a86a320b33ba136d63e0750550bf230974caaad;hb=refs%2Fheads%2Fmaster;hp=9a1fb3cb7cc95e0cebb54655ade0bf8344589d82;hpb=23ba25574349652d86979fc787ec4b0214001333;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/ent_region.h b/ent_region.h index 9a1fb3c..6a86a32 100644 --- a/ent_region.h +++ b/ent_region.h @@ -1,6 +1,14 @@ -#ifndef ENT_REGION_H -#define ENT_REGION_H - +#pragma once #include "world_entity.h" +#include "network_common.h" + +struct global_ent_region +{ + char location[ NETWORK_REGION_MAX ]; + u32 flags; +} +extern global_ent_region; -#endif /* ENT_REGION_H */ +u32 region_spark_colour( u32 flags ); +void ent_region_re_eval( world_instance *world ); +entity_call_result ent_region_call( world_instance *world, ent_call *call );