mirror of
https://github.com/diasurgical/DevilutionX.git
synced 2026-10-12 02:13:06 +00:00
Signed-off-by: staphen <[email protected]> Co-authored-by: staphen <[email protected]>
44 lines
909 B
C++
44 lines
909 B
C++
/**
|
|
* @file minitext.h
|
|
*
|
|
* Interface of scrolling dialog text.
|
|
*/
|
|
#pragma once
|
|
|
|
#include "engine/surface.hpp"
|
|
#include "tables/textdat.h"
|
|
#include "utils/attributes.h"
|
|
|
|
namespace devilution {
|
|
|
|
/** Specify if the quest dialog window is being shown */
|
|
extern DVL_API_FOR_TEST bool qtextflag;
|
|
|
|
/**
|
|
* @brief Free the resources used by the quest dialog window
|
|
*/
|
|
void FreeQuestText();
|
|
|
|
/**
|
|
* @brief Load the resources 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
|