Skip to content

Commit fd0f422

Browse files
committed
Updated thoughts
1 parent 4bc7887 commit fd0f422

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

common/src/main/kotlin/com/lambda/command/commands/ReplayCommand.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@ object ReplayCommand : LambdaCommand {
88

99
init {
1010
register(name, "rep") {
11-
// 1. Save current replay to disc with name
11+
// 1. Save current recording / checkpoint to disc with name
1212
// 2. Load replay from disc with name
1313
// 3. Play replay
1414
// 4. Stop replay
1515
// 5. Pause replay
1616
// 6. Resume replay
1717
// 7. Set replay speed
18-
// 8. Set replay position
1918
}
2019
}
2120
}

common/src/main/kotlin/com/lambda/module/modules/player/Replay.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ import kotlin.time.toDuration
2828
// - Actually store the data in a file
2929
// - Implement a way to save and load the data (Commands?)
3030
// - Record other types of inputs: (Interactions, etc.)
31+
// - Fix continue derivation after replaying the checkpoint for spliced runs
3132
object Replay : Module(
3233
name = "Replay",
33-
description = "Replay gameplay action recordings",
34+
description = "Record gameplay actions and replay them like a TAS.",
3435
defaultTags = setOf(ModuleTag.PLAYER, ModuleTag.AUTOMATION)
3536
) {
3637
private val record by setting("Record", KeyCode.R)
@@ -174,7 +175,7 @@ object Replay : Module(
174175
replay?.let {
175176
it.sprint.removeFirstOrNull()?.let { sprint ->
176177
event.sprint = sprint
177-
player.isSprinting = sprint
178+
player.isSprinting = sprint // ToDo: Find out why
178179
}
179180
}
180181
}

0 commit comments

Comments
 (0)