- Fem publics la surface del mapa i les coordenades d'inici i final

This commit is contained in:
2023-10-20 18:59:05 +02:00
parent 07d2f8b721
commit b59e3bdd40

View File

@@ -1,4 +1,5 @@
#pragma once #pragma once
#include "jgame.h"
#include <stdint.h> #include <stdint.h>
namespace mapa namespace mapa
{ {
@@ -23,7 +24,12 @@ namespace mapa
extern int pasarela; extern int pasarela;
extern int corda; extern int corda;
} }
extern draw::surface *mapa;
extern int ini_x;
extern int ini_y;
extern int fin_x;
extern int fin_y;
extern uint32_t velocitat; extern uint32_t velocitat;
void carregar(); void carregar();