diff options
| author | Crystalwarrior <varsash@gmail.com> | 2020-01-17 18:41:27 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2020-01-17 18:41:27 +0300 |
| commit | 43c4e3e9d703a0b7d48b634d6970906dcb5709b2 (patch) | |
| tree | 025ee8a5335ab7efe525264b9989bef3192abc3d /include | |
| parent | 6138bb107b5ab4d882e9ceb75e1394c2b8ec82a3 (diff) | |
Network effects folder so you don't need to modify your own char.ini to see custom effects
Diffstat (limited to 'include')
| -rw-r--r-- | include/aoapplication.h | 2 | ||||
| -rw-r--r-- | include/courtroom.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h index 0ab6831..9f11087 100644 --- a/include/aoapplication.h +++ b/include/aoapplication.h @@ -317,7 +317,7 @@ public: QStringList get_effects(QString p_char); //t - QString get_effect(QString effect, QString p_char); + QString get_effect(QString effect, QString p_char, QString p_folder); //Return the effect sound associated with the fx_name in the misc/effects/<char-defined>/sounds.ini, or theme/effects/sounds.ini. QString get_effect_sound(QString fx_name, QString p_char); diff --git a/include/courtroom.h b/include/courtroom.h index 6bca28e..d204417 100644 --- a/include/courtroom.h +++ b/include/courtroom.h @@ -625,7 +625,7 @@ public slots: void preanim_done(); void do_screenshake(); void do_flash(); - void do_effect(QString fx_path, QString fx_sound, QString p_char); + void do_effect(QString fx_path, QString fx_sound, QString p_char, QString p_folder); void play_char_sfx(QString sfx_name); void mod_called(QString p_ip); |
