projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some challenges to the world map
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_map.h
diff --git
a/world_map.h
b/world_map.h
index 4fbd6fc6af5d6ad36ab219644b2372a7e77a44a7..3899363ff1c7dbf3483cd6d9013b73d76e20f1f8 100644
(file)
--- a/
world_map.h
+++ b/
world_map.h
@@
-1,18
+1,19
@@
-#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;
v2f plane_pos;
f32 boom_dist;
u32 world_id;
u32 home_select;
- ent_spawn *spawn;
- camera cam;
-}
-static world_map;
-static void world_map_enter(void);
+ ent_spawn *sel_spawn, *close_spawn;
+ vg_camera cam;
-#endif /* RESPAWN_H */
+ bool view_ready;
+}
+extern world_map;
+void world_map_pre_update(void);