- [FIX] nom de musica incorrecte

- [FIX] Al carregar el mapa nomes contaba fins a x=10 en compte de 20.
- Aplicats els nous draw::draw()
- Fora tots els draw::setTrans(), el color transparent no canvia en tot el joc.
This commit is contained in:
2023-10-18 19:44:48 +02:00
parent c5499bf549
commit c9e1760698
7 changed files with 22 additions and 24 deletions

View File

@@ -74,7 +74,7 @@ namespace mapa
draw::setDestination(mapa);
for (int y=0; y<10; ++y)
for (int x=0; x<10; ++x)
for (int x=0; x<20; ++x)
{
int tile = textfile::toInt(textfile::getNextToken());
if (tile > 0) draw::draw(x*16, y*16, 16, 16, (tile-1)*16, tileset*16);