Removed the smnew macro and the call to _CrtSetDbgFlag() to get ready for

merging with the main branch.
This commit is contained in:
Shenjoku
2013-04-19 20:34:11 -07:00
parent dac4493fe5
commit 0792db752a
195 changed files with 585 additions and 598 deletions
+3 -3
View File
@@ -263,7 +263,7 @@ void ScreenDebugOverlay::Init()
RString sButton = INPUTMAN->GetDeviceSpecificInputString( di );
BitmapText *p = smnew BitmapText;
BitmapText *p = new BitmapText;
p->SetName( "PageText" );
p->LoadFromFont( THEME->GetPathF("ScreenDebugOverlay", "page") );
LOAD_ALL_COMMANDS_AND_ON_COMMAND( p );
@@ -277,7 +277,7 @@ void ScreenDebugOverlay::Init()
FOREACH_CONST( IDebugLine*, GetSubscribers(), p )
{
{
BitmapText *bt = smnew BitmapText;
BitmapText *bt = new BitmapText;
bt->SetName( "ButtonText" );
bt->LoadFromFont( THEME->GetPathF("ScreenDebugOverlay", "line") );
bt->SetHorizAlign( align_right );
@@ -287,7 +287,7 @@ void ScreenDebugOverlay::Init()
this->AddChild( bt );
}
{
BitmapText *bt = smnew BitmapText;
BitmapText *bt = new BitmapText;
bt->SetName( "FunctionText" );
bt->LoadFromFont( THEME->GetPathF("ScreenDebugOverlay", "line") );
bt->SetHorizAlign( align_left );