no message
This commit is contained in:
@@ -16,14 +16,26 @@
|
||||
|
||||
const int MAX_NUM_COLUMNS = 12;
|
||||
|
||||
enum StyleElement {
|
||||
GRAPHIC_NOTE_COLOR_PART,
|
||||
GRAPHIC_NOTE_GRAY_PART,
|
||||
GRAPHIC_RECEPTOR,
|
||||
GRAPHIC_TAP_EXPLOSION_BRIGHT,
|
||||
GRAPHIC_TAP_EXPLOSION_DIM,
|
||||
GRAPHIC_HOLD_EXPLOSION,
|
||||
|
||||
NUM_STYLE_ELEMENTS // leave this at the end
|
||||
};
|
||||
|
||||
struct StyleDef
|
||||
{
|
||||
public:
|
||||
int m_iNumPlayers;
|
||||
int m_iNumColumns; // will vary depending on the number panels (4,6,8,etc)
|
||||
TapNote m_ColumnToTapNote[MAX_NUM_COLUMNS];
|
||||
float m_ColumnToRotation[MAX_NUM_COLUMNS];
|
||||
|
||||
CString m_sColumnToNoteName[MAX_NUM_COLUMNS]; // e.g. "left", "right", "middle C", "snare"
|
||||
TapNote m_ColumnToTapNote[MAX_NUM_COLUMNS]; // which TapNote does this column correspond to?
|
||||
CString GetPathToGraphic( const int iColumnNumber, const StyleElement se );
|
||||
|
||||
inline int TapNoteToColumnNumber( TapNote tap_step )
|
||||
{
|
||||
@@ -36,6 +48,9 @@ struct StyleDef
|
||||
return -1; // the TapNote is not used in this StyleDef
|
||||
};
|
||||
|
||||
protected:
|
||||
CString ElementToGraphicSuffix( const StyleElement se );
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user