* Copyright (C) 2021-2023 Mt.ZERO Software, Harry Godden - All Rights Reserved
*/
-#ifndef ROUTES_H
-#define ROUTES_H
-
+#pragma once
+#include "vg/vg_camera.h"
+#include "vg/vg_msg.h"
#include "world.h"
+#include "network_msg.h"
-VG_STATIC void world_routes_init(void);
-VG_STATIC void world_routes_fracture( world_instance *world, ent_gate *gate,
- v3f imp_co, v3f imp_v );
-VG_STATIC void world_routes_activate_entry_gate( world_instance *world,
- ent_gate *rg );
-VG_STATIC void render_world_routes( world_instance *world, camera *cam,
- int layer_depth );
-
-VG_STATIC void world_gen_routes_ent_init( world_instance *world );
-VG_STATIC void world_gen_routes_generate( u32 instance_id );
-VG_STATIC void world_routes_update_timer_texts( world_instance *world );
-VG_STATIC void world_routes_update( world_instance *world );
-VG_STATIC void world_routes_fixedupdate( world_instance *world );
+void world_routes_init(void);
+void world_routes_fracture( world_instance *world, ent_gate *gate,
+ v3f imp_co, v3f imp_v );
+void world_routes_activate_entry_gate( world_instance *world,
+ ent_gate *rg );
+void render_world_routes( world_instance *world,
+ world_instance *host_world,
+ m4x3f mmdl, vg_camera *cam,
+ int viewing_from_gate, int viewing_from_hub );
-#endif /* ROUTES_H */
+void world_gen_routes_ent_init( world_instance *world );
+void world_gen_routes_generate( u32 instance_id );
+void world_routes_update_timer_texts( world_instance *world );
+void world_routes_update( world_instance *world );
+void world_routes_fixedupdate( world_instance *world );
+void world_routes_clear( world_instance *world );
+void world_routes_recv_scoreboard( world_instance *world,
+ vg_msg *body, u32 route_id,
+ enum request_status status );