- Canviat el tipus de mapa::velocitat per a que el compilaooooooor no renegue
This commit is contained in:
@@ -28,7 +28,7 @@ namespace mapa
|
|||||||
|
|
||||||
int ini_x, ini_y;
|
int ini_x, ini_y;
|
||||||
int fin_x, fin_y;
|
int fin_x, fin_y;
|
||||||
int velocitat;
|
uint32_t velocitat;
|
||||||
|
|
||||||
draw::surface *mapa = nullptr;
|
draw::surface *mapa = nullptr;
|
||||||
draw::surface *porta = nullptr;
|
draw::surface *porta = nullptr;
|
||||||
@@ -116,6 +116,7 @@ namespace mapa
|
|||||||
draw::draw(ini_x*16, ini_y*16);
|
draw::draw(ini_x*16, ini_y*16);
|
||||||
draw::draw(fin_x*16, fin_y*16);
|
draw::draw(fin_x*16, fin_y*16);
|
||||||
|
|
||||||
|
font::selectFont(font::type::normal);
|
||||||
font::print(23,188, mapa::accions::parar);
|
font::print(23,188, mapa::accions::parar);
|
||||||
font::print(39,188, mapa::accions::cavar);
|
font::print(39,188, mapa::accions::cavar);
|
||||||
font::print(55,188, mapa::accions::escalar);
|
font::print(55,188, mapa::accions::escalar);
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
#include <stdint.h>
|
||||||
namespace mapa
|
namespace mapa
|
||||||
{
|
{
|
||||||
namespace arounders
|
namespace arounders
|
||||||
@@ -24,7 +24,7 @@ namespace mapa
|
|||||||
extern int corda;
|
extern int corda;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern int velocitat;
|
extern uint32_t velocitat;
|
||||||
|
|
||||||
void carregar();
|
void carregar();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user