Suppress warnings and error messages in splash screen
This commit is contained in:
parent
b6b575759a
commit
4cc896f11c
|
@ -88,23 +88,31 @@ public:
|
||||||
textColor = col;
|
textColor = col;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~SplashObserver()
|
virtual ~SplashObserver()
|
||||||
{
|
{
|
||||||
Base::Console().DetachObserver(this);
|
Base::Console().DetachObserver(this);
|
||||||
}
|
}
|
||||||
|
const char* Name()
|
||||||
|
{
|
||||||
|
return "SplashObserver";
|
||||||
|
}
|
||||||
void Warning(const char * s)
|
void Warning(const char * s)
|
||||||
{
|
{
|
||||||
|
#ifdef FC_DEBUG
|
||||||
Log(s);
|
Log(s);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
void Message(const char * s)
|
void Message(const char * s)
|
||||||
{
|
{
|
||||||
|
#ifdef FC_DEBUG
|
||||||
Log(s);
|
Log(s);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
void Error (const char * s)
|
void Error (const char * s)
|
||||||
{
|
{
|
||||||
|
#ifdef FC_DEBUG
|
||||||
Log(s);
|
Log(s);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
void Log (const char * s)
|
void Log (const char * s)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user