From fbf7f8b78bf704915b4ef01da6fa4dba0f3fd266 Mon Sep 17 00:00:00 2001 From: Raspbeguy Date: Mon, 31 Mar 2014 18:57:26 +0200 Subject: [PATCH] =?UTF-8?q?[Motifs]=20Am=C3=A9lioration=20de=20la=20syntax?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 +++- sources/motifs/motifs.h | 6 ++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 3b93ce2..1806343 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,6 @@ documentation/latex/refman.ilg documentation/latex/refman.ind documentation/latex/refman.log documentation/latex/refman.pdf -documentation/latex/refman.toc \ No newline at end of file +documentation/latex/refman.toc +sources/motifs/.motifs.c.swp +sources/motifs/.motifs.h.swp \ No newline at end of file diff --git a/sources/motifs/motifs.h b/sources/motifs/motifs.h index d3c2650..400443b 100644 --- a/sources/motifs/motifs.h +++ b/sources/motifs/motifs.h @@ -1,7 +1,5 @@ #include #include -#include "instruments.h" -#include "effets.h" #define NBRPORT 4 #define NBRMOTIF 16 @@ -9,12 +7,12 @@ typedef struct _note{ int note; int octave; - int intrument; + int instrument; int volume; int effet; } Note; -typedef Note* Portee; +typedef Note** Portee; typedef Portee* Motif;