using namespace std en todos los ficheros
This commit is contained in:
7
main.cpp
7
main.cpp
@@ -97,6 +97,13 @@ int main(int argc, char *argv[])
|
||||
input->bindKey(INPUT_DOWN, SDL_SCANCODE_DOWN);
|
||||
input->bindKey(INPUT_LEFT, SDL_SCANCODE_LEFT);
|
||||
input->bindKey(INPUT_RIGHT, SDL_SCANCODE_RIGHT);
|
||||
string controllerName = "";
|
||||
int numControllers= input->getNumControllers();
|
||||
if (numControllers>0)
|
||||
{
|
||||
controllerName=getControllerName(1);
|
||||
}
|
||||
|
||||
|
||||
// Inicializa el texto
|
||||
Text *text = new Text(asset->get("smb2.txt"), asset->get("smb2.png"), renderer);
|
||||
|
||||
Reference in New Issue
Block a user