Example #1
0
void SpriteDialogue::AddLineTimed(const std::string &text, VirtualSprite *speaker, int32 next_line, uint32 display_time)
{
    AddLineTimed(text, speaker ? speaker->GetObjectID() : 0, next_line, display_time);
}
void BattleDialogue::AddLine(const std::string& text, uint32 speaker, int32 next_line) {
	AddLineTimed(text, speaker, next_line, COMMON_DIALOGUE_NO_TIMER);
}
void BattleDialogue::AddLineTimed(const std::string& text, uint32 speaker, uint32 display_time) {
	AddLineTimed(text, speaker, COMMON_DIALOGUE_NEXT_LINE, display_time);
}
void BattleDialogue::AddLine(const std::string& text, uint32 speaker) {
	AddLineTimed(text, speaker, COMMON_DIALOGUE_NEXT_LINE, COMMON_DIALOGUE_NO_TIMER);
}
Example #5
0
void Dialogue::AddLineTimed(const std::string& text, uint32_t display_time)
{
    AddLineTimed(text, DIALOGUE_NEXT_LINE, display_time);
}
Example #6
0
void Dialogue::AddLine(const std::string& text, const std::string& speaker_id, int32_t next_line)
{
    AddLineTimed(text, speaker_id, next_line, DIALOGUE_NO_TIMER);
}
Example #7
0
void Dialogue::AddLine(const std::string& text, const std::string& speaker_id)
{
    AddLineTimed(text, speaker_id, DIALOGUE_NEXT_LINE, DIALOGUE_NO_TIMER);
}
Example #8
0
void Dialogue::AddLineTimed(const std::string &text, const std::string& speaker_id, int32_t next_line, uint32_t display_time)
{
    AddLineTimed(text, next_line, display_time);
    _speakers.push_back(speaker_id);
}