update overlay to have ps controls too
[carveJwlIkooP6JGAAIwe30JlM.git] / ent_region.h
index 85acb45852f4e4e5db92c4659da6ca66c0e15a81..6a86a320b33ba136d63e0750550bf230974caaad 100644 (file)
@@ -1,14 +1,14 @@
-#ifndef ENT_REGION_H
-#define ENT_REGION_H
-
+#pragma once
 #include "world_entity.h"
+#include "network_common.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 );
+entity_call_result ent_region_call( world_instance *world, ent_call *call );