Files
itgmania212121/stepmania/src/DifficultyList.h
T
Chris Danford d3f3db2751 edits cleanup:
- only allow reasonable file sizes
 - only allow one Steps per edit file
 - only allow 5 edits per-song, per-profile
2004-04-23 00:25:42 +00:00

63 lines
1.0 KiB
C++

#ifndef DIFFICULTY_LIST
#define DIFFICULTY_LIST
#include "ActorFrame.h"
#include "ActorUtil.h"
#include "PlayerNumber.h"
#include "BitmapText.h"
#include "DifficultyMeter.h"
class Song;
class Steps;
class DifficultyList: public ActorFrame
{
public:
DifficultyList();
~DifficultyList();
void Load();
void SetFromGameState();
void TweenOnScreen();
void TweenOffScreen();
void Hide();
void Show();
private:
void UpdatePositions();
void PositionItems();
void GetCurrentRows( int iCurrentRow[NUM_PLAYERS] ) const;
void HideRows();
AutoActor m_Cursors[NUM_PLAYERS];
ActorFrame m_CursorFrames[NUM_PLAYERS];
struct Line
{
DifficultyMeter m_Meter;
BitmapText m_Description;
BitmapText m_Number;
};
vector<Line> m_Lines;
Song *m_CurSong;
bool m_bShown;
struct Row
{
Row();
Steps *m_Steps;
float m_fY;
bool m_bHidden; // currently off screen
};
vector<Row*> m_Rows;
};
#endif
/*
* Copyright (c) 2003-2004 by the person(s) listed below. All rights reserved.
* Glenn Maynard
*/