Don't hold a redundant copy of the NoteData in NoteField. NoteField is

now just a renderer for NoteData.  This means we don't have to carefully
apply all changes to NoteData to NoteField.
This commit is contained in:
Glenn Maynard
2005-01-22 02:50:45 +00:00
parent 46ace22b79
commit 032ddf0e08
7 changed files with 119 additions and 144 deletions
+6 -4
View File
@@ -1,7 +1,7 @@
/* NoteField - adds rendering to NoteDataWithScoring */
/* NoteField - renders a NoteData */
#ifndef NOTEFIELD_H
#define NOTEFIELD_H
#ifndef NOTE_FIELD_H
#define NOTE_FIELD_H
#include "Sprite.h"
#include "ActorFrame.h"
@@ -14,7 +14,7 @@
#include "ReceptorArrowRow.h"
#include "GhostArrowRow.h"
class NoteField : public NoteDataWithScoring, public ActorFrame
class NoteField : public ActorFrame
{
public:
NoteField();
@@ -53,6 +53,8 @@ protected:
void RefreshBeatToNoteSkin();
const NoteData *m_pNoteData;
float m_fPercentFadeToFail; // -1 of not fading to fail
const PlayerState* m_pPlayerState;