Files
itgmania212121/stepmania/src/ScreenLogo.cpp
T
Chris Danford 82199383a8 Change event mode to a CoinMode (since using COIN_PAY and EventMode at the same time doesn't make sense).
Split ScreenLogo and ScreenTitleMenu.
In ScreenTitleMenu, add a different animation if using COIN_HOME (for SMMAX2).
Added codes at TitleMenu to change Theme and Announcer.
2003-04-13 04:50:08 +00:00

32 lines
949 B
C++

#include "global.h"
/*
-----------------------------------------------------------------------------
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"
#define LOGO_ON_COMMAND THEME->GetMetric("ScreenLogo","LogoOnCommand")
ScreenLogo::ScreenLogo() : ScreenAttract("ScreenLogo")
{
m_sprLogo.Load( THEME->GetPathToG(ssprintf("ScreenLogo %s",GAMESTATE->GetCurrentGameDef()->m_szName)) );
m_sprLogo.Command( LOGO_ON_COMMAND );
this->AddChild( &m_sprLogo );
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
}