devilutionX/Source/minitext.h
2021-09-14 09:55:55 +02:00

41 lines
784 B
C++

/**
* @file minitext.h
*
* Interface of scrolling dialog text.
*/
#pragma once
#include "engine.h"
#include "textdat.h"
namespace devilution {
extern bool qtextflag;
/**
* @brief Free the resouces used by the quest dialog window
*/
void FreeQuestText();
/**
* @brief Load the resouces used by the quest dialog window, and initialize it's state
*/
void InitQuestText();
/**
* @brief Start the given naration
* @param m Index of narration from the Texts table
*/
void InitQTextMsg(_speech_id m);
/**
* @brief Draw the quest dialog window decoration and background.
*/
void DrawQTextBack(const Surface &out);
/**
* @brief Draw the quest dialog window text.
*/
void DrawQText(const Surface &out);
} // namespace devilution