2002-11-16 08:07:38 +00:00
|
|
|
#ifndef GHOSTARROWROW_H
|
|
|
|
|
#define GHOSTARROWROW_H
|
2002-04-16 17:31:00 +00:00
|
|
|
/*
|
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
File: GhostArrowRow.h
|
|
|
|
|
|
|
|
|
|
Desc: A row of GhostArrow Actors
|
|
|
|
|
|
2002-05-19 01:59:48 +00:00
|
|
|
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
|
2002-04-16 17:31:00 +00:00
|
|
|
Chris Danford
|
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "ActorFrame.h"
|
|
|
|
|
#include "GhostArrow.h"
|
|
|
|
|
#include "HoldGhostArrow.h"
|
2002-05-01 19:14:55 +00:00
|
|
|
#include "GameConstantsAndTypes.h"
|
2002-04-16 17:31:00 +00:00
|
|
|
#include "StyleDef.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class GhostArrowRow : public ActorFrame
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
GhostArrowRow();
|
2002-07-28 20:28:37 +00:00
|
|
|
virtual void Update( float fDeltaTime );
|
2002-05-19 01:59:48 +00:00
|
|
|
virtual void DrawPrimitives();
|
2003-11-28 23:27:12 +00:00
|
|
|
virtual void CopyTweening( const GhostArrowRow &from );
|
2002-04-16 17:31:00 +00:00
|
|
|
|
2003-11-27 23:45:38 +00:00
|
|
|
void Load( PlayerNumber pn, CString NoteSkin, float fYReverseOffset );
|
2002-04-16 17:31:00 +00:00
|
|
|
|
2003-11-27 04:25:52 +00:00
|
|
|
void DidTapNote( int iCol, TapNoteScore score, bool bBright );
|
|
|
|
|
void DidTapMine( int iCol, TapNoteScore score );
|
|
|
|
|
void DidHoldNote( int iCol );
|
2002-04-16 17:31:00 +00:00
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
int m_iNumCols;
|
2003-11-26 02:15:55 +00:00
|
|
|
float m_fYReverseOffsetPixels;
|
2002-07-28 20:28:37 +00:00
|
|
|
PlayerNumber m_PlayerNumber;
|
2002-04-16 17:31:00 +00:00
|
|
|
|
2003-08-10 21:27:54 +00:00
|
|
|
GhostArrow m_GhostDim[MAX_NOTE_TRACKS];
|
|
|
|
|
GhostArrow m_GhostBright[MAX_NOTE_TRACKS];
|
|
|
|
|
GhostArrow m_GhostMine[MAX_NOTE_TRACKS];
|
|
|
|
|
HoldGhostArrow m_HoldGhost[MAX_NOTE_TRACKS];
|
2002-04-16 17:31:00 +00:00
|
|
|
};
|
|
|
|
|
|
2002-11-16 08:07:38 +00:00
|
|
|
|
|
|
|
|
#endif
|