Suppress warnings and error messages in splash screen

This commit is contained in:
wmayer
2012-07-05 10:44:35 +02:00
parent 22f3c4f088
commit 9ff65d3b03

View File

@@ -88,23 +88,31 @@ public:
textColor = col;
}
}
virtual ~SplashObserver()
{
Base::Console().DetachObserver(this);
}
const char* Name()
{
return "SplashObserver";
}
void Warning(const char * s)
{
#ifdef FC_DEBUG
Log(s);
#endif
}
void Message(const char * s)
{
#ifdef FC_DEBUG
Log(s);
#endif
}
void Error (const char * s)
{
#ifdef FC_DEBUG
Log(s);
#endif
}
void Log (const char * s)
{