Browse Source

spot the german who tries english but fails somewhat

feature/2015
Hans-Gert Dahmen 13 years ago
parent
commit
3399731b2d
  1. 2
      animations/config.in
  2. 4
      animations/program.c
  3. 2
      animations/program.h
  4. 4
      display_loop.c
  5. 2
      profiles/borg-16
  6. 2
      profiles/borg-andre
  7. 2
      profiles/borg-ls

2
animations/config.in

@ -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

4
animations/program.c

@ -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) {

2
animations/program.h

@ -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);

4
display_loop.c

@ -113,9 +113,9 @@ void display_loop(){
break;
#endif
#ifdef ANIMATION_CHESSBOARD
#ifdef ANIMATION_CHECKERBOARD
case 5:
chessboard(20);
checkerboard(20);
break;
#endif

2
profiles/borg-16

@ -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

2
profiles/borg-andre

@ -76,7 +76,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

2
profiles/borg-ls

@ -71,7 +71,7 @@ SNAKE_CYCLE_DELAY=50
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

Loading…
Cancel
Save