2003-02-16 04:01:45 +00:00
|
|
|
#include "global.h"
|
2003-01-11 08:55:21 +00:00
|
|
|
/*
|
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
Class: ScreenLogo
|
|
|
|
|
|
|
|
|
|
Desc: See header.
|
|
|
|
|
|
|
|
|
|
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
|
|
|
|
|
Chris Danford
|
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "ScreenLogo.h"
|
|
|
|
|
#include "ThemeManager.h"
|
|
|
|
|
#include "GameState.h"
|
|
|
|
|
#include "GameDef.h"
|
|
|
|
|
#include "RageLog.h"
|
|
|
|
|
#include "SongManager.h"
|
|
|
|
|
|
2003-03-09 00:55:49 +00:00
|
|
|
#define LOGO_ON_COMMAND THEME->GetMetric("ScreenLogo","LogoOnCommand")
|
2003-01-11 08:55:21 +00:00
|
|
|
|
|
|
|
|
|
2003-03-09 00:55:49 +00:00
|
|
|
ScreenLogo::ScreenLogo() : ScreenAttract("ScreenLogo")
|
2003-01-11 08:55:21 +00:00
|
|
|
{
|
2003-04-12 17:39:27 +00:00
|
|
|
m_sprLogo.Load( THEME->GetPathToG(ssprintf("ScreenLogo %s",GAMESTATE->GetCurrentGameDef()->m_szName)) );
|
2003-03-09 00:55:49 +00:00
|
|
|
m_sprLogo.Command( LOGO_ON_COMMAND );
|
2003-01-11 08:55:21 +00:00
|
|
|
this->AddChild( &m_sprLogo );
|
|
|
|
|
|
2003-03-09 00:55:49 +00:00
|
|
|
this->MoveToTail( &m_In ); // put it in the back so it covers up the stuff we just added
|
|
|
|
|
this->MoveToTail( &m_Out ); // put it in the back so it covers up the stuff we just added
|
2003-01-11 08:55:21 +00:00
|
|
|
}
|