

Definition at line 11 of file FishDialog.h.
Public Member Functions | |
| FishDialog (const std::string &lang, const std::string &soundfile, const std::string &subtitle, const std::string &fontname) | |
| Prepare new wavy dialoge. | |
| virtual void | runSubtitle (const StringTool::t_args &args) const |
| Subtitles are optional, dialog can have only sound. | |
|
||||||||||||||||||||
|
Prepare new wavy dialoge.
Definition at line 21 of file FishDialog.cpp. 00024 : Dialog(lang, soundfile, subtitle), m_fontname(fontname) 00025 { 00026 /* empty */ 00027 }
|
|
|
Subtitles are optional, dialog can have only sound.
Reimplemented from Dialog. Definition at line 33 of file FishDialog.cpp. 00034 {
00035 if (!m_fontname.empty()) {
00036 std::string subtitle = getFormatedSubtitle(args);
00037 if (!subtitle.empty()) {
00038 SubTitleAgent::agent()->newSubtitle(subtitle, m_fontname);
00039 }
00040 }
00041 }
|
1.4.2