From df9d836e4f36f54c79f1481054208060e9c26ba6 Mon Sep 17 00:00:00 2001
From: ColinDrieu <colin.drieu@insa-rennes.fr>
Date: Sun, 1 May 2016 10:57:08 +0200
Subject: [PATCH] =?UTF-8?q?R=C3=A9solution=20du=20conflit=20merge.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/main.c       | 10 ++++++----
 src/structures.h |  2 ++
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/main.c b/src/main.c
index 35b9443..9593791 100644
--- a/src/main.c
+++ b/src/main.c
@@ -119,14 +119,16 @@ int main()
     /* Comment utiliser le package : */
     /* -------------------------------------*/
 
-    printf("L'attaque 1 du mage est : %s\n",Pack_A.Classes_Package[0].attaques[0].nom);
+      printf("L'attaque 1 du mage est : %s\n",Pack_A.Classes_Package[0].attaques[2].nom);
     printf("Le nom du terrain 1 est : %s\n",Pack_A.Terrains_Package[0].nomTerrain);
     printf("L'adresse de la texture GUI 1 est : %s\n",Pack_A.GUI_Package[0].GUI_default);
+    printf("La ligne 3 de la map 1 est : %s\n",Pack_A.Cartes_Package[0].lignes[2]);
+
+    /* -------------------------------------*/
+    /* -------------------------------------*/
 
-    main_SDL(Map_A);
 
-    Carte * c = nouvelleCarte();
-    init_carte(c);
+    main_SDL(Map_ANCIENNE_VERSION);
 
     return 0;
 }
diff --git a/src/structures.h b/src/structures.h
index 901620d..779b66d 100644
--- a/src/structures.h
+++ b/src/structures.h
@@ -20,6 +20,8 @@
 
 /*! \def TAILLE_MAX_CARTE */
 #define TAILLE_MAX_CARTE 160
+/*! \def TAILLE_MAX_LIGNE */
+#define TAILLE_MAX_LIGNE 25
 /*! \def TAILLE_ID */
 #define TAILLE_ID 8
 /*! \def TAILLE_NOMS */
-- 
GitLab