[Motifs] Amélioration de la syntaxe

This commit is contained in:
Raspbeguy 2014-03-31 18:57:26 +02:00
parent e302163177
commit fbf7f8b78b
2 changed files with 5 additions and 5 deletions

4
.gitignore vendored
View File

@ -14,4 +14,6 @@ documentation/latex/refman.ilg
documentation/latex/refman.ind documentation/latex/refman.ind
documentation/latex/refman.log documentation/latex/refman.log
documentation/latex/refman.pdf documentation/latex/refman.pdf
documentation/latex/refman.toc documentation/latex/refman.toc
sources/motifs/.motifs.c.swp
sources/motifs/.motifs.h.swp

View File

@ -1,7 +1,5 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include "instruments.h"
#include "effets.h"
#define NBRPORT 4 #define NBRPORT 4
#define NBRMOTIF 16 #define NBRMOTIF 16
@ -9,12 +7,12 @@
typedef struct _note{ typedef struct _note{
int note; int note;
int octave; int octave;
int intrument; int instrument;
int volume; int volume;
int effet; int effet;
} Note; } Note;
typedef Note* Portee; typedef Note** Portee;
typedef Portee* Motif; typedef Portee* Motif;