2002-05-20 08:59:37 +00:00
|
|
|
/*
|
2004-06-08 05:22:33 +00:00
|
|
|
* 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.
|
2004-06-08 05:55:00 +00:00
|
|
|
*/
|
2002-05-20 08:59:37 +00:00
|
|
|
|
2004-06-08 05:55:00 +00:00
|
|
|
#include "global.h"
|
2002-05-20 08:59:37 +00:00
|
|
|
#include "ScreenSandbox.h"
|
2003-02-26 00:20:00 +00:00
|
|
|
#include "GameConstantsAndTypes.h"
|
2003-04-13 06:29:02 +00:00
|
|
|
#include "ThemeManager.h"
|
2003-05-11 07:23:47 +00:00
|
|
|
#include "RageDisplay.h"
|
2003-08-20 09:59:52 +00:00
|
|
|
#include "RageLog.h"
|
2002-05-20 08:59:37 +00:00
|
|
|
|
|
|
|
|
|
2004-11-26 17:28:47 +00:00
|
|
|
REGISTER_SCREEN_CLASS( ScreenSandbox );
|
2003-09-27 22:30:51 +00:00
|
|
|
ScreenSandbox::ScreenSandbox( CString sClassName ) : Screen( sClassName )
|
2003-01-09 04:45:49 +00:00
|
|
|
{
|
2002-12-18 06:54:28 +00:00
|
|
|
}
|
|
|
|
|
|
2003-01-09 04:45:49 +00:00
|
|
|
void ScreenSandbox::HandleScreenMessage( const ScreenMessage SM )
|
2002-12-18 06:54:28 +00:00
|
|
|
{
|
2004-01-11 03:06:47 +00:00
|
|
|
Screen::HandleScreenMessage( SM );
|
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 )
|
|
|
|
|
{
|
2003-04-13 06:29:02 +00:00
|
|
|
Screen::Input( DeviceI, type, GameI, MenuI, StyleI );
|
2002-05-20 08:59:37 +00:00
|
|
|
}
|
2003-01-09 04:45:49 +00:00
|
|
|
|
|
|
|
|
void ScreenSandbox::Update( float fDeltaTime )
|
2002-05-20 08:59:37 +00:00
|
|
|
{
|
2003-01-09 04:45:49 +00:00
|
|
|
Screen::Update(fDeltaTime);
|
2002-11-16 20:21:00 +00:00
|
|
|
}
|
2003-04-13 06:29:02 +00:00
|
|
|
|
2003-05-11 07:23:47 +00:00
|
|
|
void ScreenSandbox::DrawPrimitives()
|
|
|
|
|
{
|
|
|
|
|
Screen::DrawPrimitives();
|
2003-07-03 18:13:13 +00:00
|
|
|
}
|
2004-06-08 05:22:33 +00:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* (c) 2004 Chris Danford
|
|
|
|
|
* All rights reserved.
|
|
|
|
|
*
|
|
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
|
|
|
* copy of this software and associated documentation files (the
|
|
|
|
|
* "Software"), to deal in the Software without restriction, including
|
|
|
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|
|
|
|
* distribute, and/or sell copies of the Software, and to permit persons to
|
|
|
|
|
* whom the Software is furnished to do so, provided that the above
|
|
|
|
|
* copyright notice(s) and this permission notice appear in all copies of
|
|
|
|
|
* the Software and that both the above copyright notice(s) and this
|
|
|
|
|
* permission notice appear in supporting documentation.
|
|
|
|
|
*
|
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
|
|
|
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
|
|
|
|
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
|
|
|
|
|
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT
|
|
|
|
|
* OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
|
|
|
* OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
|
|
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
|
*/
|