aboutsummaryrefslogtreecommitdiff
path: root/game/menus/ButtonReplaySubScript.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-10 14:50:50 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-10 14:50:50 +0100
commit7aa07561a52016007ff852acefa4db68260f0f1e (patch)
treeac438e906e581ee68f9d065dea90a2cbb8436d15 /game/menus/ButtonReplaySubScript.h
parentd7c8cc30e1d37526cf142f950038500b96760514 (diff)
parent0f8bf257d86b5532f3d6f559e5368668c255af7c (diff)
Merge branch 'master' of https://github.com/lonkaars/crepe into wouter/game-improvements
Diffstat (limited to 'game/menus/ButtonReplaySubScript.h')
-rw-r--r--game/menus/ButtonReplaySubScript.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/game/menus/ButtonReplaySubScript.h b/game/menus/ButtonReplaySubScript.h
index bfc684d..3eb8aa9 100644
--- a/game/menus/ButtonReplaySubScript.h
+++ b/game/menus/ButtonReplaySubScript.h
@@ -4,6 +4,8 @@
#include <crepe/api/Script.h>
+struct DeleteRecordingEvent : public crepe::Event {};
+
class ButtonReplaySubScript : public IButtonScript {
public:
void init() override;
@@ -12,6 +14,7 @@ public:
private:
crepe::recording_t recording = 0;
bool set_recording();
+ bool delete_recording();
protected:
bool transition = false;