sandsurf/glide basics
[carveJwlIkooP6JGAAIwe30JlM.git] / player_replay.h
index cd9bd849d14c1479166d736198f0bec87b77d0d9..38599d448a320e48989e2a0634865f5a884a96bf 100644 (file)
@@ -41,7 +41,6 @@ struct replay_frame {
 struct replay_gamestate {
    rigidbody rb;
    v3f angles;
-
    struct player_cam_controller cam_control;
 };
 
@@ -53,7 +52,7 @@ static replay_frame *replay_newframe( replay_buffer *replay,
                                          u16 animator_size,
                                          u16 gamestate_size,
                                          u16 sfx_count );
-static void replay_seek( replay_buffer *replay, f64 t );
+static int replay_seek( replay_buffer *replay, f64 t );
 
 static replay_frame *replay_find_recent_stateframe( replay_buffer *replay );
 static void replay_get_camera( replay_buffer *replay, camera *cam );
@@ -66,5 +65,7 @@ replay_frame_data( replay_frame *frame, enum replay_framedata type );
 static void skaterift_replay_pre_update(void);
 static void skaterift_replay_imgui(void);
 static void skaterift_replay_debug_info(void);
+static void skaterift_record_frame( replay_buffer *replay, 
+                                    int force_gamestate );
 
 #endif /* PLAYER_REPLAY_H */