- Intentant que l'aigua se pinte i tal

This commit is contained in:
2023-10-18 20:04:10 +02:00
parent c9e1760698
commit 5173edd7f0
3 changed files with 35 additions and 1 deletions

View File

@@ -38,6 +38,9 @@ namespace mapa
void carregar()
{
mapa::velocitat = 70;
mapa::contador = game::getTicks();
textfile::open("mapes.txt");
do {
@@ -72,6 +75,7 @@ namespace mapa
if (mapa) draw::freeSurface(mapa);
mapa = draw::createSurface(320, 200);
draw::setDestination(mapa);
draw::cls(0);
for (int y=0; y<10; ++y)
for (int x=0; x<20; ++x)