devilutionX/Source/plrmsg.h
KPhoenix a08026097a
Chat Interface Revision (#3840)
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
2021-12-25 10:11:42 +00:00

25 lines
575 B
C++

/**
* @file plrmsg.h
*
* Interface of functionality for printing the ingame chat messages.
*/
#pragma once
#include "SDL.h"
#include <cstdint>
#include <string>
#include "DiabloUI/ui_flags.hpp"
#include "engine.h"
#include "player.h"
#include "utils/stdcompat/string_view.hpp"
namespace devilution {
void plrmsg_delay(bool delay);
void EventPlrMsg(string_view text, UiFlags style = UiFlags::ColorWhitegold);
void SendPlrMsg(Player &player, string_view text);
void InitPlrMsg();
void DrawPlrMsg(const Surface &out);
} // namespace devilution