Files
itgmania212121/stepmania/src/DifficultyIcon.h
T

36 lines
877 B
C++
Raw Normal View History

#ifndef DIFFICULTYICON_H
#define DIFFICULTYICON_H
2002-01-16 10:01:32 +00:00
/*
-----------------------------------------------------------------------------
2002-06-14 22:25:22 +00:00
Class: DifficultyIcon
2002-01-16 10:01:32 +00:00
2002-10-06 16:56:58 +00:00
Desc: Graphical representation of the difficulty class.
2002-01-16 10:01:32 +00:00
2002-05-19 01:59:48 +00:00
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
2002-06-14 22:25:22 +00:00
Chris Danford
2002-01-16 10:01:32 +00:00
-----------------------------------------------------------------------------
*/
#include "Sprite.h"
#include "PlayerNumber.h"
#include "GameConstantsAndTypes.h"
2003-08-03 00:13:55 +00:00
class Steps;
2002-01-16 10:01:32 +00:00
2002-01-16 10:01:32 +00:00
class DifficultyIcon : public Sprite
{
bool m_bBlank;
2002-01-16 10:01:32 +00:00
public:
DifficultyIcon();
virtual bool EarlyAbortDraw() { return m_bBlank || Sprite::EarlyAbortDraw(); }
2002-10-06 16:56:58 +00:00
bool Load( CString sFilePath );
2002-01-16 10:01:32 +00:00
2004-05-29 04:50:47 +00:00
void SetFromSteps( PlayerNumber pn, Steps* pSteps );
void SetFromDifficulty( PlayerNumber pn, Difficulty dc );
void SetFromCourseDifficulty( PlayerNumber pn, CourseDifficulty cd );
2002-01-16 10:01:32 +00:00
};
#endif