add missing name entry announcer
This commit is contained in:
@@ -23,6 +23,7 @@
|
|||||||
#include "ThemeManager.h"
|
#include "ThemeManager.h"
|
||||||
#include "ScreenRanking.h"
|
#include "ScreenRanking.h"
|
||||||
#include "Course.h"
|
#include "Course.h"
|
||||||
|
#include "AnnouncerManager.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
|
||||||
@@ -259,6 +260,9 @@ ScreenNameEntry::~ScreenNameEntry()
|
|||||||
|
|
||||||
void ScreenNameEntry::Update( float fDelta )
|
void ScreenNameEntry::Update( float fDelta )
|
||||||
{
|
{
|
||||||
|
if( m_bFirstUpdate )
|
||||||
|
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo("name entry") );
|
||||||
|
|
||||||
m_fFakeBeat += fDelta * FAKE_BEATS_PER_SEC;
|
m_fFakeBeat += fDelta * FAKE_BEATS_PER_SEC;
|
||||||
GAMESTATE->m_fSongBeat = m_fFakeBeat;
|
GAMESTATE->m_fSongBeat = m_fFakeBeat;
|
||||||
Screen::Update(fDelta);
|
Screen::Update(fDelta);
|
||||||
|
|||||||
@@ -26,6 +26,7 @@
|
|||||||
#include "Course.h"
|
#include "Course.h"
|
||||||
#include "ActorUtil.h"
|
#include "ActorUtil.h"
|
||||||
#include "FontCharAliases.h"
|
#include "FontCharAliases.h"
|
||||||
|
#include "AnnouncerManager.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
|
||||||
@@ -319,6 +320,9 @@ ScreenNameEntryTraditional::~ScreenNameEntryTraditional()
|
|||||||
|
|
||||||
void ScreenNameEntryTraditional::Update( float fDelta )
|
void ScreenNameEntryTraditional::Update( float fDelta )
|
||||||
{
|
{
|
||||||
|
if( m_bFirstUpdate )
|
||||||
|
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo("name entry") );
|
||||||
|
|
||||||
Screen::Update(fDelta);
|
Screen::Update(fDelta);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user