From 6b194d1875ce46d7c188e0818fbf7310a117ddbb Mon Sep 17 00:00:00 2001 From: Romain Jegat <romain.jegat@insa-rennes.fr> Date: Mon, 29 Feb 2016 15:58:12 +0100 Subject: [PATCH] modification de structure Competence --- src/structures.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/structures.h b/src/structures.h index 50e3598..9c363d0 100644 --- a/src/structures.h +++ b/src/structures.h @@ -51,13 +51,14 @@ typedef struct { } personnage; -typedef struct { - int id; +typedef struct competence{ + unsigned short int id; type_nom nom; - competence parent; - competence enfant_gauche; - competence enfant droit; + unsigned short int etage; + struct competence *parent; + struct competence *enfant_gauche; + struct competence *enfant_droit; boolean connu; -} competence; +}competence; #endif -- GitLab