std::size_t -> size_t
Removing std prefix from all size_t.
This commit is contained in:
@@ -66,10 +66,10 @@ void ScreenNameEntry::ScrollingText::Init( const RString &sName, const std::vect
|
||||
void ScreenNameEntry::ScrollingText::DrawPrimitives()
|
||||
{
|
||||
const float fFakeBeat = GAMESTATE->m_Position.m_fSongBeat;
|
||||
const std::size_t iClosestIndex = std::lrint( fFakeBeat ) % CHARS_CHOICES.size();
|
||||
const size_t iClosestIndex = std::lrint( fFakeBeat ) % CHARS_CHOICES.size();
|
||||
const float fClosestYOffset = GetClosestCharYOffset( fFakeBeat );
|
||||
|
||||
std::size_t iCharIndex = ( iClosestIndex - NUM_CHARS_TO_DRAW_BEHIND + CHARS_CHOICES.size() ) % CHARS_CHOICES.size();
|
||||
size_t iCharIndex = ( iClosestIndex - NUM_CHARS_TO_DRAW_BEHIND + CHARS_CHOICES.size() ) % CHARS_CHOICES.size();
|
||||
float fY = GRAY_ARROWS_Y + ( fClosestYOffset - g_iNumCharsToDrawBehind ) * g_fCharsSpacingY;
|
||||
|
||||
for( int i = 0; i < NUM_CHARS_TO_DRAW_TOTAL; ++i )
|
||||
@@ -277,7 +277,7 @@ void ScreenNameEntry::Init()
|
||||
std::vector<GameInput> gi;
|
||||
GAMESTATE->GetCurrentStyle(p)->StyleInputToGameInput( iCol, p, gi );
|
||||
bool gi_is_start= false;
|
||||
for(std::size_t i= 0; i < gi.size(); ++i)
|
||||
for(size_t i= 0; i < gi.size(); ++i)
|
||||
{
|
||||
gi_is_start|= (INPUTMAPPER->GameButtonToMenuButton(gi[i].button)
|
||||
== GAME_BUTTON_START);
|
||||
|
||||
Reference in New Issue
Block a user