From 6f1929d47e736b82efde5a533399b566f7de9580 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Sun, 23 Apr 2017 00:24:59 +0200 Subject: [PATCH] import one version from 2015 --- Pfadfinder2.txt | 4 ++-- sdljpd.c | 17 ++++------------- set_led | Bin 7817 -> 8875 bytes 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/Pfadfinder2.txt b/Pfadfinder2.txt index 55d1532..1e8f0fb 100644 --- a/Pfadfinder2.txt +++ b/Pfadfinder2.txt @@ -12,7 +12,7 @@ Antwort: Was ist das chinesische Zeichen fuer Krise? Topic: Motivation Frage: Mit diesem paedagogischen Grundprinzip gibt B.P. dem praktischen Lernen den Vorzug gegenueber dem theoretischen Lernen -Antwort: Was ist "Learning by doing"? +Antwort: Was ist Learning by doing Frage: Kann helfen, wenn die Luft raus ist, und macht aus einer guten Aktion eine hervorragende Aktion Antwort: Was ist Animation? Frage: Dieses Spiel foerdert Motivation der Gruppe @@ -56,4 +56,4 @@ Antwort: Was ist Altenberg? Frage: Es war die erste Jahresaktion der DPSG Antwort: Was ist "Flinke Haende, flinke Fuesse"? Frage: Der Kampf um diese Stadt machte BiPi zum Helden -Antwort: Was ist Mafeking (Suedafrika)? +Antwort: Was ist Mafeking (Suedafrika)? \ No newline at end of file diff --git a/sdljpd.c b/sdljpd.c index fda6a69..4e56758 100644 --- a/sdljpd.c +++ b/sdljpd.c @@ -22,10 +22,10 @@ #include #include -#include "SDL.h" -#include "SDL_image.h" -#include "SDL_ttf.h" -#include "SDL_mixer.h" +#include +#include +#include +#include /* Define our booleans */ #define TRUE 1 @@ -404,7 +404,6 @@ void draw_sdl (void) if(solved[countx][county] == 1) strcpy(buf,pl1); if(solved[countx][county] == 2) strcpy(buf,pl2); if(solved[countx][county] == 3) strcpy(buf,pl3); - if(solved[countx][county] == 4) strcpy(buf,pl4); drect.x = (countx*200) + 65; drect.y = drect.y + 23; @@ -863,14 +862,6 @@ int main( int argc, char **argv ) case SDLK_INSERT: score[plselect]=score[plselect]+pkt[ypos]; solved[xpos][ypos] = (plselect + 1); - lockbz = TRUE; - system("./set_led 0 0 0 0"); - enp = FALSE; - inp = TRUE; - break; - - /* Show Answer without changing score */ - case SDLK_y: lockbz = TRUE; enp = FALSE; inp = TRUE; diff --git a/set_led b/set_led index 5ec15afe9b0e01b8174afd14bb3274864c34d821..b3c6bdcb2e1ff7fdd641d5fb7c71df05d9b35249 100755 GIT binary patch literal 8875 zcmeHMZ)_Y#6`#9{|0HS7m*5sRDe>89E(+kQmrrbVi8~yuKd3`}09Pv64 zu~$AiH06)Se8l7o9% zcBT@Isbo4o-Z$;qOoP z04U|>`ZBn{dl;gy?-65GHk-+cvAmrVW7%Zd9u}k4XwI^QX+o6Fn5oQA+)ifFVkni# zSt2uLr6Hpd%$yz1+U96HnHER0N!tQ`WHggjxGDB`b+)yeyP~_IcfgaN=jZTFO9FUn z^xo+GQ_62nq9+H%h{KAdngN-kzRG=&fV#*45mALd*>lodcyVY#*xUDME?itj+V*wgDP#*5B;QLsg=%3=@&|~g5G}kS z`8MJyGz-&`zl(SZ$-+s=?;@T;u`nU|9mG=z7RDrhEAiCyg#pQLCZ3wS&;!2tqt3!x zj~Rt`jmf_+_Vjh0pNp*3g>nAObTyIldX+Bbe+b1Z!zZadGe;4i!$#v6h%vboHVW?@ z4fda%L3uJTSNdm3w0yCqeuA(W;#mL8QV9A+;dSH8rTdJ)1>>!yJd971qA~Rc`%1r2 zIOo{EtL!K4&9BwaEjJ#9<@~qdNdLKtK|q1aXUQL9^4{tyDA-$zF4P{L)iCQrfB8cH z!na^jQ!f^B4y9s@?|!J^1r&bu;it>XM&TD1LC$wvBQGW;R$v+e~ zY3esd;Z3-e`-B>EZStvW;@GY89pH`&yo}LeYXpHRRp$ZLM;6x+QLtWe7YyOLI=93VOsQI5=LxZP2vbWaM zKTYPMt8l5SaCI-rSgw8Bm^>RW?))Hsi3Zvu{jo=5{jtYl=Go!lDC=K7JA6`(O*Iq) zn7iBw)2W%V5}F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