Files
itgmania212121/stepmania/src/ScreenSandbox.cpp
T

49 lines
1.4 KiB
C++
Raw Normal View History

2003-02-16 04:01:45 +00:00
#include "global.h"
2002-05-20 08:59:37 +00:00
/*
-----------------------------------------------------------------------------
File: ScreenSandbox.h
Desc: Area for testing. Throw whatever you're working on in here. If you
don't want stuff in here to be wiped out by the next guy who works on something,
make a separate screen and add a hook into ScreenTest; this one's just a
scratchpad.
2002-05-20 08:59:37 +00:00
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
2002-11-19 22:55:51 +00:00
Chris Danford
Glenn Maynard (OpenGL Code)
Lance Gilbert (OpenGL/Usability Modifications)
2002-05-20 08:59:37 +00:00
-----------------------------------------------------------------------------
*/
2002-11-19 22:55:51 +00:00
#include "ScreenSandbox.h"
#include "GameConstantsAndTypes.h"
2002-11-19 22:55:51 +00:00
2002-05-20 08:59:37 +00:00
ScreenSandbox::ScreenSandbox()
{
m_quad.StretchTo( RectI(SCREEN_LEFT, SCREEN_TOP, SCREEN_RIGHT, SCREEN_BOTTOM) );
m_quad.SetDiffuse( RageColor(1,1,1,1) );
2002-12-18 06:54:28 +00:00
// this->AddChild( &m_quad );
2002-12-18 06:54:28 +00:00
// m_sprite.Load( "C:\\stepmania\\stepmania\\RandomMovies\\cm301[1].avi" );
// m_sprite.SetXY( CENTER_X, CENTER_Y );
// this->AddChild( &m_sprite );
obj.SetXY(CENTER_X, CENTER_Y);
// obj.SetZoom(50);
this->AddChild(&obj);
2002-12-18 06:54:28 +00:00
}
void ScreenSandbox::HandleScreenMessage( const ScreenMessage SM )
2002-12-18 06:54:28 +00:00
{
2002-05-20 08:59:37 +00:00
}
void ScreenSandbox::Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI )
{
}
void ScreenSandbox::Update( float fDeltaTime )
2002-05-20 08:59:37 +00:00
{
Screen::Update(fDeltaTime);
2002-11-16 20:21:00 +00:00
}