diff --git a/src/structures.h b/src/structures.h index 50e3598a211bb6b27e6ce2d514665d698a8f4795..9c363d05d117943ecb63b12aa014064715af6704 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