using namespace std en todos los ficheros
This commit is contained in:
@@ -39,7 +39,7 @@ void Debug::render()
|
||||
for (auto s : slot)
|
||||
{
|
||||
text->write(x, y, s);
|
||||
w = (std::max(w, (int)s.length()));
|
||||
w = (max(w, (int)s.length()));
|
||||
y += text->getCharacterSize() + 1;
|
||||
if (y > 192 - text->getCharacterSize())
|
||||
{
|
||||
@@ -64,7 +64,7 @@ void Debug::setPos(SDL_Point p)
|
||||
}
|
||||
|
||||
// Añade un texto para mostrar
|
||||
void Debug::add(std::string text)
|
||||
void Debug::add(string text)
|
||||
{
|
||||
slot.push_back(text);
|
||||
}
|
||||
@@ -76,7 +76,7 @@ void Debug::clear()
|
||||
}
|
||||
|
||||
// Añade un texto para mostrar en el apartado log
|
||||
void Debug::addToLog(std::string text)
|
||||
void Debug::addToLog(string text)
|
||||
{
|
||||
log.push_back(text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user