From 0b164e2a515135e8a48d7b03a468ea67d477312f Mon Sep 17 00:00:00 2001 From: Alexander Kauerz Date: Fri, 30 Dec 2011 11:16:44 +0100 Subject: Mauercode optimiert. --- Matrix_5x6/Charlie/Charlie.pde | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'Matrix_5x6/Charlie') diff --git a/Matrix_5x6/Charlie/Charlie.pde b/Matrix_5x6/Charlie/Charlie.pde index ad2b5d3..d8884d0 100644 --- a/Matrix_5x6/Charlie/Charlie.pde +++ b/Matrix_5x6/Charlie/Charlie.pde @@ -210,6 +210,13 @@ void lauftext(char *text) { } +void bmauer( int x, int y){ + scr[x][y] = 20; + drawscr(5); + fadescr_down(); +} + + void mauer(int dir) { /* 0=up 1=down 2=right 3=left @@ -220,31 +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