small comment/cleanup
This commit is contained in:
+1
-1
@@ -158,7 +158,7 @@ void FontPage::SetTextureCoords( const vector<int> &widths, int iAdvanceExtraPix
|
|||||||
void FontPage::SetExtraPixels( int iDrawExtraPixelsLeft, int iDrawExtraPixelsRight )
|
void FontPage::SetExtraPixels( int iDrawExtraPixelsLeft, int iDrawExtraPixelsRight )
|
||||||
{
|
{
|
||||||
/* Hack: do one more than we were asked to; I think a lot of fonts are one
|
/* Hack: do one more than we were asked to; I think a lot of fonts are one
|
||||||
* too low. (who? -aj; todo: source quote) */
|
* too low. - glenn */
|
||||||
iDrawExtraPixelsRight++;
|
iDrawExtraPixelsRight++;
|
||||||
iDrawExtraPixelsLeft++;
|
iDrawExtraPixelsLeft++;
|
||||||
|
|
||||||
|
|||||||
@@ -23,9 +23,7 @@ public:
|
|||||||
|
|
||||||
void UpdateNumber();
|
void UpdateNumber();
|
||||||
|
|
||||||
//
|
|
||||||
// Commands
|
// Commands
|
||||||
//
|
|
||||||
virtual void PushSelf( lua_State *L );
|
virtual void PushSelf( lua_State *L );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
+1
-2
@@ -130,7 +130,6 @@ void StepsUtil::SortStepsPointerArrayByNumPlays( vector<Steps*> &vStepsPointers,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ASSERT( pProfile );
|
ASSERT( pProfile );
|
||||||
for(unsigned i = 0; i < vStepsPointers.size(); ++i)
|
for(unsigned i = 0; i < vStepsPointers.size(); ++i)
|
||||||
{
|
{
|
||||||
@@ -165,7 +164,7 @@ bool StepsUtil::CompareNotesPointersByDifficulty(const Steps *pSteps1, const Ste
|
|||||||
|
|
||||||
void StepsUtil::SortNotesArrayByDifficulty( vector<Steps*> &arraySteps )
|
void StepsUtil::SortNotesArrayByDifficulty( vector<Steps*> &arraySteps )
|
||||||
{
|
{
|
||||||
/* Sort in reverse order of priority. Sort by description first, to get
|
/* Sort in reverse order of priority. Sort by description first, to get
|
||||||
* a predictable order for songs with no radar values (edits). */
|
* a predictable order for songs with no radar values (edits). */
|
||||||
stable_sort( arraySteps.begin(), arraySteps.end(), CompareStepsPointersByDescription );
|
stable_sort( arraySteps.begin(), arraySteps.end(), CompareStepsPointersByDescription );
|
||||||
stable_sort( arraySteps.begin(), arraySteps.end(), CompareNotesPointersByRadarValues );
|
stable_sort( arraySteps.begin(), arraySteps.end(), CompareNotesPointersByRadarValues );
|
||||||
|
|||||||
Reference in New Issue
Block a user