Various bug fixes. See changelog.
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#include "stdafx.h"
|
||||
/*
|
||||
-----------------------------------------------------------------------------
|
||||
Class: ScreenLoading
|
||||
|
||||
Desc: See header.
|
||||
|
||||
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
|
||||
Chris Danford
|
||||
-----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include "ScreenLoading.h"
|
||||
#include "GameState.h"
|
||||
|
||||
ScreenLoading::ScreenLoading()
|
||||
{
|
||||
m_sprLoading.Load( THEME->GetPathTo(GRAPHIC_LOADING) );
|
||||
m_sprLoading.SetXY( CENTER_X, CENTER_Y );
|
||||
this->AddSubActor( &m_sprLoading );
|
||||
|
||||
m_textMessage.Load( THEME->GetPathTo(FONT_NORMAL) );
|
||||
m_textMessage.SetXY( CENTER_X, CENTER_Y );
|
||||
this->AddSubActor( &m_textMessage );
|
||||
}
|
||||
|
||||
void ScreenLoading::DrawPrimitives()
|
||||
{
|
||||
m_textMessage.SetText( GAMESTATE->m_sLoadingMessage );
|
||||
|
||||
Screen::DrawPrimitives();
|
||||
}
|
||||
Reference in New Issue
Block a user