2003-12-22 10:30:10 +00:00
|
|
|
#ifndef ReceptorArrowROW_H
|
|
|
|
|
#define ReceptorArrowROW_H
|
2002-04-16 17:31:00 +00:00
|
|
|
/*
|
|
|
|
|
-----------------------------------------------------------------------------
|
2003-12-22 10:30:10 +00:00
|
|
|
Class: ReceptorArrowRow
|
2002-04-16 17:31:00 +00:00
|
|
|
|
2003-12-22 10:30:10 +00:00
|
|
|
Desc: A row of ReceptorArrow objects
|
2002-04-16 17:31:00 +00:00
|
|
|
|
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
|
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
|
2003-12-22 10:30:10 +00:00
|
|
|
#include "ReceptorArrow.h"
|
2002-04-16 17:31:00 +00:00
|
|
|
#include "ActorFrame.h"
|
|
|
|
|
#include "StyleDef.h"
|
2002-05-01 19:14:55 +00:00
|
|
|
#include "GameConstantsAndTypes.h"
|
2002-04-16 17:31:00 +00:00
|
|
|
|
|
|
|
|
|
2003-12-22 10:30:10 +00:00
|
|
|
class ReceptorArrowRow : public ActorFrame
|
2002-04-16 17:31:00 +00:00
|
|
|
{
|
|
|
|
|
public:
|
2003-12-22 10:30:10 +00:00
|
|
|
ReceptorArrowRow();
|
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-07-28 20:28:37 +00:00
|
|
|
|
|
|
|
|
virtual void Update( float fDeltaTime );
|
|
|
|
|
virtual void DrawPrimitives();
|
2003-12-22 10:30:10 +00:00
|
|
|
virtual void CopyTweening( const ReceptorArrowRow &from );
|
2002-04-16 17:31:00 +00:00
|
|
|
|
|
|
|
|
void Step( int iCol );
|
2003-12-22 10:30:10 +00:00
|
|
|
void SetPressed( int iCol );
|
2002-04-16 17:31:00 +00:00
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
int m_iNumCols;
|
2002-07-28 20:28:37 +00:00
|
|
|
PlayerNumber m_PlayerNumber;
|
2003-11-26 02:15:55 +00:00
|
|
|
float m_fYReverseOffsetPixels;
|
2002-04-16 17:31:00 +00:00
|
|
|
|
2003-12-22 10:30:10 +00:00
|
|
|
ReceptorArrow m_ReceptorArrow[MAX_NOTE_TRACKS];
|
2002-04-16 17:31:00 +00:00
|
|
|
};
|
2002-11-16 08:07:38 +00:00
|
|
|
|
|
|
|
|
#endif
|