You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
536 B
24 lines
536 B
/** |
|
* @file chatlog.h |
|
* |
|
* Adds Chat log QoL feature |
|
*/ |
|
#pragma once |
|
|
|
#include "DiabloUI/ui_flags.hpp" |
|
#include "engine/surface.hpp" |
|
#include "player.h" |
|
|
|
namespace devilution { |
|
|
|
extern bool ChatLogFlag; |
|
|
|
void ToggleChatLog(); |
|
void AddMessageToChatLog(std::string_view message, Player *player = nullptr, UiFlags flags = UiFlags::ColorWhite); |
|
void DrawChatLog(const Surface &out); |
|
void ChatLogScrollUp(); |
|
void ChatLogScrollDown(); |
|
void ChatLogScrollTop(); |
|
void ChatLogScrollBottom(); |
|
|
|
} // namespace devilution
|
|
|