Make ReceptorArrowRow and GhostArrowRow respect the column draw order. [hanubeki]
Sourced from http://code.google.com/r/hanubeki-modified-sm-ssc/source/detail?r=8ccf7449651eef51e8c42d031aa64da49a0b72ce
This commit is contained in:
@@ -6,9 +6,13 @@ ________________________________________________________________________________
|
||||
|
||||
================================================================================
|
||||
|
||||
StepMania 5.0 alpha 2 | 201204??
|
||||
StepMania 5.0 alpha 2 | 201205??
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
2012/05/02
|
||||
* Make ReceptorArrowRow and GhostArrowRow respect the column draw order. [hanubeki]
|
||||
Sourced from http://code.google.com/r/hanubeki-modified-sm-ssc/source/detail?r=8ccf7449651eef51e8c42d031aa64da49a0b72ce
|
||||
|
||||
2012/04/25
|
||||
----------
|
||||
* [Profile] Added GetLastPlayedSong and GetLastPlayedCourse Lua bindings. [AJ]
|
||||
|
||||
@@ -87,8 +87,10 @@ void GhostArrowRow::Update( float fDeltaTime )
|
||||
|
||||
void GhostArrowRow::DrawPrimitives()
|
||||
{
|
||||
for( unsigned c=0; c<m_Ghost.size(); c++ )
|
||||
const Style* pStyle = GAMESTATE->GetCurrentStyle();
|
||||
for( unsigned i=0; i<m_Ghost.size(); i++ )
|
||||
{
|
||||
const int c = pStyle->m_iColumnDrawOrder[i];
|
||||
m_Ghost[c]->Draw();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -66,8 +66,12 @@ void ReceptorArrowRow::Update( float fDeltaTime )
|
||||
|
||||
void ReceptorArrowRow::DrawPrimitives()
|
||||
{
|
||||
for( unsigned c=0; c<m_ReceptorArrow.size(); c++ )
|
||||
const Style* pStyle = GAMESTATE->GetCurrentStyle();
|
||||
for( unsigned i=0; i<m_ReceptorArrow.size(); i++ )
|
||||
{
|
||||
const int c = pStyle->m_iColumnDrawOrder[i];
|
||||
m_ReceptorArrow[c]->Draw();
|
||||
}
|
||||
}
|
||||
|
||||
void ReceptorArrowRow::Step( int iCol, TapNoteScore score )
|
||||
|
||||
Reference in New Issue
Block a user