- Canviat el tipus de mapa::velocitat per a que el compilaooooooor no renegue

This commit is contained in:
2023-10-19 18:57:33 +02:00
parent 720c15d03a
commit 8d954ec2e0
2 changed files with 4 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ namespace mapa
int ini_x, ini_y;
int fin_x, fin_y;
int velocitat;
uint32_t velocitat;
draw::surface *mapa = nullptr;
draw::surface *porta = nullptr;
@@ -116,6 +116,7 @@ namespace mapa
draw::draw(ini_x*16, ini_y*16);
draw::draw(fin_x*16, fin_y*16);
font::selectFont(font::type::normal);
font::print(23,188, mapa::accions::parar);
font::print(39,188, mapa::accions::cavar);
font::print(55,188, mapa::accions::escalar);

View File

@@ -1,5 +1,5 @@
#pragma once
#include <stdint.h>
namespace mapa
{
namespace arounders
@@ -24,7 +24,7 @@ namespace mapa
extern int corda;
}
extern int velocitat;
extern uint32_t velocitat;
void carregar();