- [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

@@ -16,7 +16,6 @@ namespace gamestate
void init()
{
draw::setTrans(255);
font::selectFont(font::type::colored);
std::string filename;
@@ -118,8 +117,7 @@ namespace gamestate
void drawPic(std::string filename)
{
draw::surface *pic = draw::loadSurface(filename, true);
draw::setSource(pic);
draw::draw(0, 0, 320, 200, 0, 0);
draw::draw(pic);
draw::freeSurface(pic);
}