#ifndef API_INCLUDED
#define API_INCLUDED
#include "prologin.hh"

#define Debut         partie_debut
#define Construction  phase_construction
#define Deplacement   phase_deplacement
#define Tirs          phase_tirs
#define Siege         phase_siege
#define Fin           partie_fin


#define PORTEE_CONSTRUCTION  CONSTRUCTION_TOURELLE
#define TOURELLES_MAX        9


#define Case(x, y)  info_case(x, y)
#define SIMPLE      CASE_SIMPLE
#define BASE        CASE_BASE
#define TOURELLE    CASE_TOURELLE
#define FONTAINE    CASE_FONTAINE
#define ARTEFACT    CASE_ARTEFACT

#define Liste_Tourelles(id)           tourelles_joueur(id)
#define Constructible(position)       constructible(position, ID)
#define Construire(position, portee)  construire(position, portee)

#define Couple(x, y)  ((Position) {x, y})


typedef position Position;
typedef tourelle Tourelle;

#endif /* API_INCLUDED */
