|
@ -23,11 +23,11 @@ jmp_buf newmode_jmpbuf; |
|
|
|
|
|
|
|
|
void display_loop(){ |
|
|
void display_loop(){ |
|
|
// mcuf_serial_mode();
|
|
|
// mcuf_serial_mode();
|
|
|
|
|
|
|
|
|
mode = setjmp(newmode_jmpbuf); |
|
|
mode = setjmp(newmode_jmpbuf); |
|
|
oldOldmode = oldMode; |
|
|
oldOldmode = oldMode; |
|
|
|
|
|
|
|
|
#ifdef JOYSTICK_SUPPORT |
|
|
#ifdef JOYSTICK_SUPPORT |
|
|
waitForFire = 1; |
|
|
waitForFire = 1; |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
@ -38,9 +38,9 @@ void display_loop(){ |
|
|
#ifdef ANIMATION_SCROLLTEXT |
|
|
#ifdef ANIMATION_SCROLLTEXT |
|
|
case 1: |
|
|
case 1: |
|
|
scrolltext(scrolltext_text); |
|
|
scrolltext(scrolltext_text); |
|
|
|
|
|
|
|
|
#ifdef RANDOM_SUPPORT |
|
|
#ifdef RANDOM_SUPPORT |
|
|
{ char a[14]; |
|
|
{ char a[28]; |
|
|
sprintf(a,"</# counter == %lu ", percnt_get()); |
|
|
sprintf(a,"</# counter == %lu ", percnt_get()); |
|
|
scrolltext(a); |
|
|
scrolltext(a); |
|
|
} |
|
|
} |
|
@ -70,7 +70,7 @@ void display_loop(){ |
|
|
case 5: |
|
|
case 5: |
|
|
schachbrett(10); |
|
|
schachbrett(10); |
|
|
break; |
|
|
break; |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#ifdef ANIMATION_FEUER |
|
|
#ifdef ANIMATION_FEUER |
|
|
case 6: |
|
|
case 6: |
|
@ -91,7 +91,7 @@ void display_loop(){ |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#ifdef ANIMATION_GAMEOFLIFE |
|
|
#ifdef ANIMATION_GAMEOFLIFE |
|
|
case 9: |
|
|
case 9: |
|
|
gameoflife(); |
|
|
gameoflife(); |
|
|
break; |
|
|
break; |
|
|
#endif |
|
|
#endif |
|
@ -114,11 +114,11 @@ void display_loop(){ |
|
|
#ifdef ANIMATION_TESTS |
|
|
#ifdef ANIMATION_TESTS |
|
|
case 31: |
|
|
case 31: |
|
|
//test_level1();
|
|
|
//test_level1();
|
|
|
|
|
|
|
|
|
break; |
|
|
break; |
|
|
case 32: |
|
|
case 32: |
|
|
//test_level2();
|
|
|
//test_level2();
|
|
|
|
|
|
|
|
|
break; |
|
|
break; |
|
|
case 33: |
|
|
case 33: |
|
|
//test_level3();
|
|
|
//test_level3();
|
|
@ -127,7 +127,7 @@ void display_loop(){ |
|
|
case 35: |
|
|
case 35: |
|
|
test_palette(); |
|
|
test_palette(); |
|
|
test_palette2(); |
|
|
test_palette2(); |
|
|
|
|
|
|
|
|
break; |
|
|
break; |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|