Remove global "using namespace std;" declarations, use "std::" prefixes on all std elements
Fix whitespace changes
This commit is contained in:
committed by
Martin Natano
parent
f0680a29fc
commit
0cba3579de
@@ -60,7 +60,7 @@ void WorkoutGraph::SetInternal( int iMinSongsPlayed )
|
||||
if( pTrail == nullptr )
|
||||
return;
|
||||
|
||||
vector<int> viMeters;
|
||||
std::vector<int> viMeters;
|
||||
for (TrailEntry const &e : pTrail->m_vEntries)
|
||||
{
|
||||
ASSERT( e.pSteps != nullptr );
|
||||
@@ -78,7 +78,7 @@ void WorkoutGraph::SetInternal( int iMinSongsPlayed )
|
||||
float fTotalHeight = SCALE( iBlocksHigh, 1.0f, 10.0f, 50.0f, fMaxHeight );
|
||||
CLAMP( fTotalHeight, 50, fMaxHeight );
|
||||
|
||||
float fBlockSize = min( fTotalWidth / iBlocksWide, fTotalHeight / iBlocksHigh );
|
||||
float fBlockSize = std::min( fTotalWidth / iBlocksWide, fTotalHeight / iBlocksHigh );
|
||||
|
||||
m_sprEmpty.SetVertAlign( align_bottom );
|
||||
m_sprEmpty.SetCustomImageRect( RectF(0,0,(float)iBlocksWide,(float)iBlocksHigh) );
|
||||
|
||||
Reference in New Issue
Block a user