diff options
| author | Crystalwarrior <varsash@gmail.com> | 2019-09-18 04:14:52 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2019-09-18 04:14:52 +0300 |
| commit | 605e15bb8c0ad103fb0f75454d8912ba83ba7a17 (patch) | |
| tree | f88c83ec4bcfa014050dd83d026519cdd9e1eb90 /src/packet_distribution.cpp | |
| parent | e151964785301269500b96ecfd25dbdf227f55f8 (diff) | |
Implement effects system that reads your folder in theme/effects, or misc/<folder name>/<effects>
Add an effect packet
Allow aomovie to be fed a direct path
Add some really terrible helper functions that shouldn't exist, sorry.
Diffstat (limited to 'src/packet_distribution.cpp')
| -rw-r--r-- | src/packet_distribution.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp index 9eea1797..e483ef91 100644 --- a/src/packet_distribution.cpp +++ b/src/packet_distribution.cpp @@ -215,6 +215,8 @@ void AOApplication::server_packet_received(AOPacket *p_packet) looping_sfx_support_enabled = true; if (f_packet.contains("additive",Qt::CaseInsensitive)) additive_enabled = true; + if (f_packet.contains("effects",Qt::CaseInsensitive)) + effects_enabled = true; } else if (header == "PN") { |
