Skip to content
Snippets Groups Projects
Commit 1e882a36 authored by Romain Jegat's avatar Romain Jegat
Browse files

Déplacement des struct competence et ajout d'idées de fonctions

parent 8beb0729
No related branches found
No related tags found
No related merge requests found
#include <stdio.h>
#include <stdlib.h>
#include "structures.h"
#include "competence.h"
*arbre_competence init_arbre_competence(*arbre_competence){
}
*arbre_competence construire_arbre_competence(char nom){ /* Construit un arbre à partir d'un fichier XML */
}
int chemin_auto_competence
#ifndef DEPLACEMENTS_H_INCLUDED
#define DEPLACEMENTS_H_INCLUDED
typedef struct competence{ /* Competence d'un arbre de talent */
unsigned short int id;
type_nom nom;
unsigned short int etage;
struct competence *parent;
struct competence *enfant_gauche;
struct competence *enfant_droit;
struct effet_competence effet;
boolean connu;
}competence;
typedef struct effet_competence{ /* Effet d'une compétence de l'arbre */
unsigned short int id;
type_nom nom;
/* effets à définir */
}effet_competence;
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment