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
494 B
24 lines
494 B
|
4 years ago
|
/**
|
||
|
|
* @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(const std::string &message, Player *player = nullptr, UiFlags flags = UiFlags::ColorWhite);
|
||
|
|
void DrawChatLog(const Surface &out);
|
||
|
|
void ChatLogScrollUp();
|
||
|
|
void ChatLogScrollDown();
|
||
|
|
void ChatLogScrollTop();
|
||
|
|
void ChatLogScrollBottom();
|
||
|
|
|
||
|
|
} // namespace devilution
|