Ya empieza a pintar el mapa
This commit is contained in:
@@ -29,7 +29,7 @@ Prog::Prog(std::string executablePath)
|
||||
section.name = SECTION_PROG_GAME;
|
||||
}
|
||||
input = new Input(asset->get("gamecontrollerdb.txt"));
|
||||
screen = new Screen(window, renderer, options->screenWidth, options->screenWidth, GAME_WIDTH, GAME_HEIGHT);
|
||||
screen = new Screen(window, renderer, options);
|
||||
}
|
||||
|
||||
Prog::~Prog()
|
||||
@@ -115,7 +115,8 @@ bool Prog::initSDL()
|
||||
bool Prog::setFileList()
|
||||
{
|
||||
// Ficheros binarios
|
||||
asset->add("/data/volcano.map", data);
|
||||
asset->add("/data/map/01.map", data);
|
||||
asset->add("/data/map/01.tmx", data);
|
||||
asset->add("/data/config.bin", data, false);
|
||||
asset->add("/data/gamecontrollerdb.txt", data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user