projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ignore autogenerated headers
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_map.h
diff --git
a/world_map.h
b/world_map.h
index 4fbd6fc6af5d6ad36ab219644b2372a7e77a44a7..d4be3b55cb1c2f1ae6741e48156a8dd60b4b491a 100644
(file)
--- 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;
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);