diff options
| author | Leifa♥ <26681464+TrickyLeifa@users.noreply.github.com> | 2022-06-24 01:58:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-23 18:58:17 -0500 |
| commit | 7b4b297a22e97046a3fca860ad3faf08438c6a8c (patch) | |
| tree | 9e8630a6b27ac82b0162163860ab87718f013f7a /include/aoapplication.h | |
| parent | 0be8d0f5aeb64ae9abae24c2669bb45d440d9ca6 (diff) | |
Added penalty effects (#786)
Themes can be configured to play an SFX and/or effect when the HP bar increases or decreases. Effects can be any defined effect, or a built-in effect such as "screenshake" or "flash".
Resolves AttorneyOnline/AO2-Client#743
Diffstat (limited to 'include/aoapplication.h')
| -rw-r--r-- | include/aoapplication.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h index 4c3a83f3..cf9eb2b2 100644 --- a/include/aoapplication.h +++ b/include/aoapplication.h @@ -361,6 +361,10 @@ public: // Returns the color from the misc folder. QColor get_chat_color(QString p_identifier, QString p_chat); + // Returns the value with p_identifier from penalty/penalty.ini in the current + // theme path + QString get_penalty_value(QString p_identifier); + // Returns the sfx with p_identifier from courtroom_sounds.ini in the current theme path QString get_court_sfx(QString p_identifier, QString p_misc=""); |
