diff options
| author | David Skoland <davidskoland@gmail.com> | 2017-02-14 00:02:31 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2017-02-14 00:02:31 +0100 |
| commit | cd0384a2417b70423751cfd0baf04f3ce20934d8 (patch) | |
| tree | 3b71c34787dc31acc96d878c34503ab4d813ab2c | |
| parent | 69c33e4c2210ed56df5da3378132625fa3ac6cd8 (diff) | |
added realization sfx
| -rw-r--r-- | courtroom.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/courtroom.cpp b/courtroom.cpp index 841e3aa..fee83f3 100644 --- a/courtroom.cpp +++ b/courtroom.cpp @@ -298,7 +298,6 @@ void Courtroom::set_widgets() if (f_courtroom.width < 0 || f_courtroom.height < 0) { qDebug() << "ERROR: did not find courtroom width or height in courtroom_design.ini!"; - //T0D0: add error box then quit application, this is not recoverable } } @@ -1035,7 +1034,7 @@ void Courtroom::handle_chatmessage_3() { realization_timer->start(60); ui_vp_realization->show(); - //T0D0: add realization sfx + sfx_player->play("sfx-realization.wav", ui_sfx_slider->value()); } } @@ -1120,7 +1119,6 @@ void Courtroom::start_chat_ticking() void Courtroom::chat_tick() { - //T0D0: play tick sound based on gender //note: this is called fairly often(every 60 ms when char is talking) //do not perform heavy operations here @@ -1160,9 +1158,6 @@ void Courtroom::play_sfx() return; sfx_player->play(sfx_name + ".wav", ui_sfx_slider->value()); - - //T0D0: add audio implementation - //QString sfx_name = m_chatmessage[SFX_NAME]; } void Courtroom::set_scene() |
