Suppress warnings and error messages in splash screen

This commit is contained in:
wmayer 2012-07-05 10:44:35 +02:00
parent b6b575759a
commit 4cc896f11c

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)
{