- [NEW] Mogut tot el codi de lloc
This commit is contained in:
39
source/entities/mapa.h
Normal file
39
source/entities/mapa.h
Normal 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();
|
||||
}
|
||||
Reference in New Issue
Block a user