X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_map.h;h=d4be3b55cb1c2f1ae6741e48156a8dd60b4b491a;hb=5f6a4f9df6c8accc89f1920bfe9ace3cbac4c4b6;hp=4fbd6fc6af5d6ad36ab219644b2372a7e77a44a7;hpb=a109f126d8adab622e38fbcc2d4281e75255246a;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_map.h b/world_map.h index 4fbd6fc..d4be3b5 100644 --- a/world_map.h +++ b/world_map.h @@ -1,18 +1,18 @@ -#ifndef RESPAWN_H -#define RESPAWN_H +#pragma once +#include "vg/vg_platform.h" +#include "vg/vg_camera.h" +#include "world_entity.h" -#include "skaterift.h" - -struct { +struct world_map +{ v2f plane_pos; f32 boom_dist; u32 world_id; u32 home_select; ent_spawn *spawn; - camera cam; + vg_camera cam; } -static world_map; -static void world_map_enter(void); - -#endif /* RESPAWN_H */ +extern world_map; +void world_map_enter(void); +void world_map_pre_update(void);