mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 22:18:19 +00:00
18 lines
273 B
C
18 lines
273 B
C
#ifndef ENGINE_WARNING_H
|
|
#define ENGINE_WARNING_H
|
|
|
|
struct SWarning
|
|
{
|
|
SWarning() :
|
|
m_WasShown(false) {}
|
|
SWarning(const char *pMsg) :
|
|
m_WasShown(false)
|
|
{
|
|
str_copy(m_aWarningMsg, pMsg, sizeof(m_aWarningMsg));
|
|
}
|
|
char m_aWarningMsg[256];
|
|
bool m_WasShown;
|
|
};
|
|
|
|
#endif
|