clear runs when respawning
[carveJwlIkooP6JGAAIwe30JlM.git] / respawn.h
1 #ifndef RESPAWN_H
2 #define RESPAWN_H
3
4 #include "skaterift.h"
5
6 struct {
7 v2f plane_pos;
8 f32 boom_dist;
9 u32 world_id;
10 u32 home_select;
11
12 ent_spawn *spawn;
13 camera cam;
14 }
15 static respawn_chooser;
16
17 static const char *respawn_homes[][2] = {
18 { "skateshop", "Skateshop" },
19 { "world_select", "World Selector" },
20 };
21
22 VG_STATIC void respawn_begin_chooser(void);
23 VG_STATIC void respawn_chooser_shader_uniforms(void);
24
25 #endif /* RESPAWN_H */