aboutsummaryrefslogtreecommitdiff
path: root/src/example/replay.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-11 21:49:32 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-11 21:49:32 +0100
commitb9694e8cc6b85a0089f97ff3c21862adc75a7ee5 (patch)
treed5e85a8000e1b78f5617a792d9acd64f9465ecb5 /src/example/replay.cpp
parent000062b462a3af86db4dac4d8c9e5ef32feb2996 (diff)
working proof of concept replay system
Diffstat (limited to 'src/example/replay.cpp')
-rw-r--r--src/example/replay.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/example/replay.cpp b/src/example/replay.cpp
index 11413fa..e7f4e6d 100644
--- a/src/example/replay.cpp
+++ b/src/example/replay.cpp
@@ -45,20 +45,20 @@ public:
switch (i++) {
default: break;
case 10:
- mgr.record_start();
- break;
+ mgr.record_start();
+ break;
case 60:
- this->recording = mgr.record_end();
- break;
+ this->recording = mgr.record_end();
+ break;
case 70:
- mgr.play(this->recording);
- break;
+ mgr.play(this->recording);
+ break;
case 71:
- mgr.release(this->recording);
- break;
+ mgr.release(this->recording);
+ break;
case 72:
- throw;
- break;
+ throw;
+ break;
};
}
};