Files
itgmania212121/stepmania/src/ScreenPlayerOptions.h
T

59 lines
2.1 KiB
C++
Raw Normal View History

2003-03-11 08:52:45 +00:00
#ifndef SCREENPLAYEROPTIONS_H
#define SCREENPLAYEROPTIONS_H
2002-05-20 08:59:37 +00:00
#include "ScreenOptionsMaster.h"
2002-05-20 08:59:37 +00:00
class ScreenPlayerOptions : public ScreenOptionsMaster
2002-05-20 08:59:37 +00:00
{
public:
2003-09-27 22:30:51 +00:00
ScreenPlayerOptions( CString sName );
virtual void Init();
2002-05-20 08:59:37 +00:00
2003-03-11 08:52:45 +00:00
virtual void Update( float fDelta );
virtual void DrawPrimitives();
virtual void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );
virtual void HandleScreenMessage( const ScreenMessage SM );
2002-05-20 08:59:37 +00:00
private:
2004-12-05 11:59:39 +00:00
void GoToNextScreen();
void GoToPrevScreen();
2003-06-16 17:28:58 +00:00
void UpdateDisqualified( PlayerNumber pn );
bool m_bAcceptedChoices;
bool m_bGoToOptions;
bool m_bAskOptionsMessage;
Sprite m_sprOptionsMessage;
2005-02-07 23:31:55 +00:00
RageSound m_CancelAll;
AutoActor m_sprCancelAll[NUM_PLAYERS];
2002-05-20 08:59:37 +00:00
};
2002-11-16 20:21:00 +00:00
#endif
2004-06-08 05:22:33 +00:00
/*
* (c) 2001-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.
*/