2005-02-13 03:50:51 +00:00
|
|
|
/* Judgment - An Actor that displays a tap judgement. */
|
|
|
|
|
|
2004-06-08 00:08:04 +00:00
|
|
|
#ifndef JUDGMENT_H
|
|
|
|
|
#define JUDGMENT_H
|
2002-02-24 01:43:11 +00:00
|
|
|
|
|
|
|
|
#include "Sprite.h"
|
|
|
|
|
#include "ActorFrame.h"
|
2003-08-01 00:12:44 +00:00
|
|
|
#include "GameConstantsAndTypes.h"
|
2002-02-24 01:43:11 +00:00
|
|
|
#include "BitmapText.h"
|
|
|
|
|
|
|
|
|
|
|
2003-02-17 12:19:42 +00:00
|
|
|
class Judgment : public ActorFrame
|
2002-02-24 01:43:11 +00:00
|
|
|
{
|
|
|
|
|
public:
|
2003-02-17 12:19:42 +00:00
|
|
|
Judgment();
|
2005-04-28 00:13:01 +00:00
|
|
|
void Load( bool bAlternateLabel );
|
2003-03-09 00:55:49 +00:00
|
|
|
void Reset();
|
2005-04-28 00:13:01 +00:00
|
|
|
void SetJudgment( TapNoteScore score, bool bEarly );
|
2002-02-24 01:43:11 +00:00
|
|
|
|
|
|
|
|
protected:
|
2003-02-17 12:19:42 +00:00
|
|
|
Sprite m_sprJudgment;
|
2003-11-29 11:17:13 +00:00
|
|
|
int m_iCount;
|
2002-02-24 01:43:11 +00:00
|
|
|
};
|
2002-11-16 08:07:38 +00:00
|
|
|
|
|
|
|
|
#endif
|
2004-06-08 00:08:04 +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.
|
|
|
|
|
*/
|