mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 18:18:18 +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
|