Decouple <vector>

This commit is contained in:
Martin Natano
2023-04-20 19:02:13 +02:00
parent aa87f85eef
commit bacecae1f7
422 changed files with 2326 additions and 1295 deletions
+7 -4
View File
@@ -14,6 +14,9 @@
#include "RageLog.h"
#include "CommonMetrics.h"
#include <vector>
REGISTER_SCREEN_CLASS( ScreenNameEntryTraditional );
void ScreenNameEntryTraditional::Init()
@@ -81,7 +84,7 @@ void ScreenNameEntryTraditional::BeginScreen()
GAMESTATE->GetRankingFeats( pn, aFeats );
bool bNoStagesLeft = GAMESTATE->m_iPlayerStageTokens[pn] <= 0;
m_bEnteringName[pn] = ( aFeats.size() > 0 ||
m_bEnteringName[pn] = ( aFeats.size() > 0 ||
PROFILEMAN->ProfileFromMemoryCardIsNew(pn) ) && bNoStagesLeft;
m_bFinalized[pn] = !m_bEnteringName[pn];
}
@@ -239,7 +242,7 @@ bool ScreenNameEntryTraditional::Backspace( PlayerNumber pn )
// lua start
#include "LuaBinding.h"
/** @brief Allow Lua to have access to the ScreenNameEntryTraditional. */
/** @brief Allow Lua to have access to the ScreenNameEntryTraditional. */
class LunaScreenNameEntryTraditional: public Luna<ScreenNameEntryTraditional>
{
public:
@@ -320,7 +323,7 @@ LUA_REGISTER_DERIVED_CLASS( ScreenNameEntryTraditional, ScreenWithMenuElements )
/*
* (c) 2001-2007 Glenn Maynard, Chris Danford
* All rights reserved.
*
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
@@ -330,7 +333,7 @@ LUA_REGISTER_DERIVED_CLASS( ScreenNameEntryTraditional, ScreenWithMenuElements )
* copyright notice(s) and this permission notice appear in all copies of
* the Software and that both the above copyright notice(s) and this
* permission notice appear in supporting documentation.
*
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF