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

@@ -32,7 +32,6 @@ namespace font
void print(const int x, const int y, const std::string text)
{
draw::setSource(font::mode == font::type::colored ? font::font2 : font::font1);
draw::setTrans(0);
if (font::mode == font::type::fade) for (int i=64;i<=67;++i) draw::swapcol(i, i+4);
@@ -47,8 +46,6 @@ namespace font
}
for (int i=64;i<=67;++i) draw::restorecol(i);
draw::setTrans(255);
}
void print(const int x, const int y, const int num)