@ -11,7 +11,7 @@ comment "Animations"
int "Snake Max Apples" SNAKE_MAX_APPLES 10
endmenu
bool "Chessboard" ANIMATION_CHESSBOARD
bool "Checkerboard" ANIMATION_CHECKERBOARD
dep_bool_menu "Fire" ANIMATION_FIRE $RANDOM_SUPPORT
int "FIRE_S" FIRE_S 30
@ -110,8 +110,8 @@ unsigned char i, j, x;
#endif
#ifdef ANIMATION_CHESSBOARD
void chessboard(unsigned char times){
#ifdef ANIMATION_CHECKERBOARD
void checkerboard(unsigned char times){
while (times--) {
for (unsigned char row = 0; row < NUM_ROWS; ++row) {
for (unsigned char col = 0; col < NUM_COLS; ++col) {
@ -22,7 +22,7 @@ inline static void off()
void spiral(unsigned int delay);
void joern1();
void chessboard(unsigned char times);
void checkerboard(unsigned char times);
void fire();
void random_bright(unsigned cycles);
@ -113,9 +113,9 @@ void display_loop(){
break;
case 5:
chessboard(20);
checkerboard(20);
@ -79,7 +79,7 @@ SNAKE_CYCLE_DELAY=100
SNAKE_TERMINATION_DELAY=60
SNAKE_MAX_LENGTH=64
SNAKE_MAX_APPLES=10
ANIMATION_CHESSBOARD=y
ANIMATION_CHECKERBOARD=y
ANIMATION_FIRE=y
FIRE_S=30
FIRE_N=5
@ -76,7 +76,7 @@ SNAKE_CYCLE_DELAY=100
@ -71,7 +71,7 @@ SNAKE_CYCLE_DELAY=50