Allow screen aliasing.

This commit is contained in:
Glenn Maynard
2003-09-27 22:30:51 +00:00
parent 70e1a6bb16
commit c15e0cec49
114 changed files with 154 additions and 138 deletions
+4 -4
View File
@@ -32,14 +32,14 @@ void ScreenTest::SetScreen(int num)
delete current;
if(num > 2) num = 0;
if(num == 0)
current=new ScreenSandbox;
current=new ScreenSandbox("ScreenSandbox");
else if(num == 1)
current=new ScreenTestSound;
current=new ScreenTestSound("ScreenTestSound");
else if(num == 2)
current=new ScreenTestFonts;
current=new ScreenTestFonts("ScreenTestFonts");
}
ScreenTest::ScreenTest() : Screen("ScreenTest")
ScreenTest::ScreenTest( CString sClassName ) : Screen( sClassName )
{
current = NULL;
cur_screen = -1;