remove old NoteColor logic

This commit is contained in:
Chris Danford
2005-10-05 05:00:50 +00:00
parent b76d363994
commit a89764040c
2 changed files with 32 additions and 78 deletions
+16 -9
View File
@@ -24,17 +24,15 @@ enum NotePart
NUM_NotePart
};
#define NOTE_COLOR_IMAGES 8
struct NoteColorActor
{
NoteColorActor();
~NoteColorActor();
void Load( const CString &sButton, const CString &sElement );
Actor* Get( NoteType nt );
Actor* Get() { return m_p; }
private:
Actor* m_p[NOTE_COLOR_IMAGES];
bool m_bIsNoteColor;
Actor* m_p;
};
struct NoteColorSprite
@@ -42,17 +40,26 @@ struct NoteColorSprite
NoteColorSprite();
~NoteColorSprite();
void Load( const CString &sButton, const CString &sElement );
Sprite* Get( NoteType nt );
Sprite* Get() { return m_p; }
private:
Sprite* m_p[NOTE_COLOR_IMAGES];
bool m_bIsNoteColor;
Sprite* m_p;
};
enum HoldType { hold, roll, NUM_HOLD_TYPES };
enum HoldType
{
hold,
roll,
NUM_HOLD_TYPES
};
#define FOREACH_HoldType( i ) FOREACH_ENUM( HoldType, NUM_HOLD_TYPES, i )
const CString &HoldTypeToString( HoldType ht );
enum ActiveType { active, inactive, NUM_ACTIVE_TYPES };
enum ActiveType
{
active,
inactive,
NUM_ACTIVE_TYPES
};
#define FOREACH_ActiveType( i ) FOREACH_ENUM( ActiveType, NUM_ACTIVE_TYPES, i )
const CString &ActiveTypeToString( ActiveType at );