|
|
|
|
/**
|
|
|
|
|
* @file plrmsg.h
|
|
|
|
|
*
|
|
|
|
|
* Interface of functionality for printing the ingame chat messages.
|
|
|
|
|
*/
|
|
|
|
|
#ifndef __PLRMSG_H__
|
|
|
|
|
#define __PLRMSG_H__
|
|
|
|
|
|
|
|
|
|
DEVILUTION_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
extern _plrmsg plr_msgs[PMSG_COUNT];
|
|
|
|
|
|
|
|
|
|
void plrmsg_delay(BOOL delay);
|
|
|
|
|
char *ErrorPlrMsg(const char *pszMsg);
|
|
|
|
|
size_t EventPlrMsg(const char *pszFmt, ...);
|
|
|
|
|
void SendPlrMsg(int pnum, const char *pszStr);
|
|
|
|
|
void ClearPlrMsg();
|
|
|
|
|
void InitPlrMsg();
|
|
|
|
|
void DrawPlrMsg();
|
|
|
|
|
void PrintPlrMsg(DWORD x, DWORD y, DWORD width, const char *str, BYTE col);
|
|
|
|
|
|
|
|
|
|
/* rdata */
|
|
|
|
|
|
|
|
|
|
extern const char text_color_from_player_num[MAX_PLRS + 1];
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
DEVILUTION_END_NAMESPACE
|
|
|
|
|
|
|
|
|
|
#endif /* __PLRMSG_H__ */
|