- [NEW] Mogut tot el codi de lloc

This commit is contained in:
2025-07-02 13:36:48 +02:00
parent 4670b52378
commit 81c5011bc7
34 changed files with 52 additions and 52 deletions

39
source/entities/mapa.h Normal file
View File

@@ -0,0 +1,39 @@
#pragma once
#include "../japi/game.h"
#include <stdint.h>
namespace mapa
{
namespace arounders
{
extern int orientacio_inicial;
extern int totals;
extern int necessaris;
extern int arrivats;
extern int eixits;
extern int morts;
}
namespace accions
{
extern int parar;
extern int cavar;
extern int escalar;
extern int perforar;
extern int escalera;
extern int pasarela;
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;
void carregar();
void pintar(int accio, int prevista);
const int procesar();
}