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 plrmsg.h
|
|
|
|
|
*
|
|
|
|
|
* Interface of functionality for printing the ingame chat messages.
|
|
|
|
|
*/
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "engine.h"
|
|
|
|
|
|
|
|
|
|
namespace devilution {
|
|
|
|
|
|
|
|
|
|
struct _plrmsg {
|
|
|
|
|
Uint32 time;
|
|
|
|
|
Uint8 player;
|
|
|
|
|
char str[144];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void plrmsg_delay(bool delay);
|
|
|
|
|
void ErrorPlrMsg(const char *pszMsg);
|
|
|
|
|
size_t EventPlrMsg(const char *pszFmt, ...);
|
|
|
|
|
void SendPlrMsg(int pnum, const char *pszStr);
|
|
|
|
|
void ClearPlrMsg();
|
|
|
|
|
void InitPlrMsg();
|
|
|
|
|
void DrawPlrMsg(const CelOutputBuffer &out);
|
|
|
|
|
|
|
|
|
|
} // namespace devilution
|