Add "tipsy" effect (is there a better name for this?)
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
|
||||
#include "Sprite.h"
|
||||
#include "ActorFrame.h"
|
||||
#include "song.h"
|
||||
#include "BitmapText.h"
|
||||
#include "PrefsManager.h"
|
||||
#include "StyleDef.h"
|
||||
@@ -23,7 +22,9 @@
|
||||
#include "ArrowEffects.h"
|
||||
#include "NoteDataWithScoring.h"
|
||||
#include "NoteDisplay.h"
|
||||
#include "ArrowBackdrop.h"
|
||||
|
||||
class Song;
|
||||
|
||||
class NoteField : public NoteDataWithScoring, public ActorFrame
|
||||
{
|
||||
@@ -32,7 +33,7 @@ public:
|
||||
virtual void Update( float fDeltaTime );
|
||||
virtual void DrawPrimitives();
|
||||
|
||||
void Load( NoteData* pNoteData, PlayerNumber pn, int iFirstPixelToDraw, int iLastPixelToDraw );
|
||||
virtual void Load( NoteData* pNoteData, PlayerNumber pn, int iStartDrawingPixel, int iEndDrawingPixel, int iYReverseOffsetPixels );
|
||||
void RemoveTapNoteRow( int iIndex );
|
||||
|
||||
vector<bool> m_bIsHoldingHoldNote; // hack: Need this to know when to "light up" the center of hold notes
|
||||
@@ -42,6 +43,7 @@ public:
|
||||
void FadeToFail();
|
||||
void ReloadNoteSkin();
|
||||
|
||||
|
||||
protected:
|
||||
void DrawBeatBar( const float fBeat );
|
||||
void DrawMarkerBar( const float fBeat );
|
||||
@@ -54,8 +56,10 @@ protected:
|
||||
float m_fPercentFadeToFail; // -1 of not fading to fail
|
||||
|
||||
PlayerNumber m_PlayerNumber;
|
||||
int m_iFirstPixelToDraw; // this should be a negative number
|
||||
int m_iLastPixelToDraw; // this should be a positive number
|
||||
int m_iStartDrawingPixel; // this should be a negative number
|
||||
int m_iEndDrawingPixel; // this should be a positive number
|
||||
int m_iYPosNormal;
|
||||
int m_iYReverseOffsetPixels;
|
||||
|
||||
// color arrows
|
||||
NoteDisplay m_NoteDisplay[MAX_NOTE_TRACKS];
|
||||
|
||||
Reference in New Issue
Block a user