From 77d976bad1c950d2a8e6e28f116ebc47c764528b Mon Sep 17 00:00:00 2001 From: Alexander Kauerz Date: Fri, 30 Dec 2011 15:59:56 +0100 Subject: Die Mauer kann jetzt faden und nicht faden. --- Matrix_5x6/Charlie/Charlie.pde | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Matrix_5x6/Charlie/Charlie.pde b/Matrix_5x6/Charlie/Charlie.pde index d8884d0..1c3ea2e 100644 --- a/Matrix_5x6/Charlie/Charlie.pde +++ b/Matrix_5x6/Charlie/Charlie.pde @@ -210,14 +210,14 @@ void lauftext(char *text) { } -void bmauer( int x, int y){ +void bmauer( int x, int y, boolean z){ scr[x][y] = 20; - drawscr(5); - fadescr_down(); + drawscr(3); + if (z) fadescr_down(); } -void mauer(int dir) { +void mauer(int dir, boolean fade) { /* 0=up 1=down 2=right 3=left */ @@ -227,25 +227,25 @@ void mauer(int dir) { case 0: for (int i=0;i=0;i--) for (int j=0;j=0;i--) for (int j=0;j