aboutsummaryrefslogtreecommitdiffstats
path: root/al/event.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-08-24 20:34:50 -0700
committerChris Robinson <[email protected]>2020-08-24 20:40:24 -0700
commita6bd53c4e1de084d93541f23d391154d7949b678 (patch)
treef33a98b0e978eaf14191806271fb883f95783a69 /al/event.h
parent1a9fbc1b2f7456f14e9cb74d95f4696cbe5c5af3 (diff)
Store a reference to the effect buffer as an active property
Diffstat (limited to 'al/event.h')
-rw-r--r--al/event.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/al/event.h b/al/event.h
index 44d9306f..4717865b 100644
--- a/al/event.h
+++ b/al/event.h
@@ -6,6 +6,7 @@
#include "almalloc.h"
+struct EffectBufferBase;
struct EffectState;
@@ -23,6 +24,7 @@ enum {
/* Internal events. */
EventType_ReleaseEffectState = 65536,
+ EventType_ReleaseEffectBuffer,
};
struct AsyncEvent {
@@ -44,6 +46,7 @@ struct AsyncEvent {
ALchar msg[232];
} user;
EffectState *mEffectState;
+ EffectBufferBase *mEffectBuffer;
} u{};
AsyncEvent() noexcept = default;