small refactor of model loading
[carveJwlIkooP6JGAAIwe30JlM.git] / world_routes.h
1 /*
2 * Copyright (C) 2021-2023 Mt.ZERO Software, Harry Godden - All Rights Reserved
3 */
4
5 #pragma once
6 #include "vg/vg_camera.h"
7 #include "vg/vg_msg.h"
8 #include "world.h"
9 #include "network_msg.h"
10
11 void world_routes_init(void);
12 void world_routes_fracture( world_instance *world, ent_gate *gate,
13 v3f imp_co, v3f imp_v );
14 void world_routes_activate_entry_gate( world_instance *world,
15 ent_gate *rg );
16 void render_world_routes( world_instance *world,
17 world_instance *host_world,
18 m4x3f mmdl, vg_camera *cam,
19 int viewing_from_gate, int viewing_from_hub );
20
21 void world_gen_routes_ent_init( world_instance *world );
22 void world_gen_routes_generate( u32 instance_id );
23 void world_routes_update_timer_texts( world_instance *world );
24 void world_routes_update( world_instance *world );
25 void world_routes_fixedupdate( world_instance *world );
26 void world_routes_clear( world_instance *world );
27 void world_routes_recv_scoreboard( world_instance *world,
28 vg_msg *body, u32 route_id,
29 enum request_status status );