- [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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user