Updated AnnoucerManager::GetPathTo to act like ThemeManager. More theme and Ez2 cleanup.

This commit is contained in:
Chris Danford
2002-08-27 23:31:41 +00:00
parent 307b50179a
commit 7922f5bbc7
70 changed files with 801 additions and 1256 deletions
+5 -5
View File
@@ -20,7 +20,7 @@
#include "NoteDisplay.h"
float ArrowGetYOffset( const PlayerNumber pn, float fNoteBeat )
float ArrowGetYOffset( PlayerNumber pn, float fNoteBeat )
{
float fSongBeat = GAMESTATE->m_fSongBeat;
float fBeatsUntilStep = fNoteBeat - fSongBeat;
@@ -37,7 +37,7 @@ float ArrowGetYOffset( const PlayerNumber pn, float fNoteBeat )
return fYOffset;
}
float ArrowGetXPos2( const PlayerNumber pn, int iColNum, float fYPos )
float ArrowGetXPos2( PlayerNumber pn, int iColNum, float fYPos )
{
float fSongBeat = GAMESTATE->m_fSongBeat;
float fPixelOffsetFromCenter = GAMESTATE->GetCurrentStyleDef()->m_ColumnInfo[PLAYER_1][iColNum].fXOffset;
@@ -51,7 +51,7 @@ float ArrowGetXPos2( const PlayerNumber pn, int iColNum, float fYPos )
return fPixelOffsetFromCenter;
}
float ArrowGetRotation( const PlayerNumber pn, int iColNum, float fYOffset )
float ArrowGetRotation( PlayerNumber pn, int iColNum, float fYOffset )
{
float fRotation = 0; //StyleDef.m_ColumnToRotation[iColNum];
@@ -65,12 +65,12 @@ float ArrowGetRotation( const PlayerNumber pn, int iColNum, float fYOffset )
return fRotation;
}
float ArrowGetYPos( const PlayerNumber pn, float fYOffset )
float ArrowGetYPos( PlayerNumber pn, float fYOffset )
{
return fYOffset * GAMESTATE->m_PlayerOptions[pn].m_fArrowScrollSpeed * (GAMESTATE->m_PlayerOptions[pn].m_bReverseScroll ? -1 : 1 );
}
float ArrowGetAlpha( const PlayerNumber pn, float fYPos )
float ArrowGetAlpha( PlayerNumber pn, float fYPos )
{
float fAlpha;
static float blinktimer=0;