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.
|
|
|
|
/**
|
|
|
|
|
* @file chatlog.h
|
|
|
|
|
*
|
|
|
|
|
* Adds Chat log QoL feature
|
|
|
|
|
*/
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "engine.h"
|
|
|
|
|
#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
|