improved flying dots anim

This commit is contained in:
Hans-Gert Dahmen 2009-12-27 00:51:07 +00:00
parent f70ab4226c
commit 61c22b24f1
3 changed files with 28 additions and 4 deletions

View File

@ -13,6 +13,14 @@ ifeq ($(ANIMATION_MATRIX),y)
SRC += matrix.c SRC += matrix.c
endif endif
ifeq ($(ANIMATION_STONEFLY),y)
SRC += stonefly.c
endif
ifeq ($(ANIMATION_FLYINGDOTS),y)
SRC += flyingdots.c
endif
ifeq ($(ANIMATION_GAMEOFLIFE),y) ifeq ($(ANIMATION_GAMEOFLIFE),y)
SRC += gameoflife.c SRC += gameoflife.c
endif endif

View File

@ -64,7 +64,9 @@ comment "Animations"
bool "Schachbrett" ANIMATION_SCHACHBRETT bool "Schachbrett" ANIMATION_SCHACHBRETT
dep_bool "Feuer" ANIMATION_FEUER $RANDOM_SUPPORT dep_bool "Feuer" ANIMATION_FEUER $RANDOM_SUPPORT
dep_bool "Matrix" ANIMATION_MATRIX $RANDOM_SUPPORT dep_bool "Matrix" ANIMATION_MATRIX $RANDOM_SUPPORT
dep_bool "Random bright" ANIMATION_RANDOM_BRIGHT $RANDOM_SUPPORT dep_bool "Random Bright" ANIMATION_RANDOM_BRIGHT $RANDOM_SUPPORT
dep_bool "Stonefly" ANIMATION_STONEFLY $RANDOM_SUPPORT
dep_bool "Flying Dots" ANIMATION_FLYINGDOTS $RANDOM_SUPPORT
dep_bool "Game of Life" ANIMATION_GAMEOFLIFE $RANDOM_SUPPORT dep_bool "Game of Life" ANIMATION_GAMEOFLIFE $RANDOM_SUPPORT
bool "M Herweg" ANIMATION_MHERWEG bool "M Herweg" ANIMATION_MHERWEG

View File

@ -7,6 +7,8 @@
#include "animations/programm.h" #include "animations/programm.h"
#include "animations/matrix.h" #include "animations/matrix.h"
#include "animations/gameoflife.h" #include "animations/gameoflife.h"
#include "animations/stonefly.h"
#include "animations/flyingdots.h"
#include "borg_hw/borg_hw.h" #include "borg_hw/borg_hw.h"
#include "can/borg_can.h" #include "can/borg_can.h"
#include "random/prng.h" #include "random/prng.h"
@ -90,15 +92,27 @@ void display_loop(){
break; break;
#endif #endif
#ifdef ANIMATION_GAMEOFLIFE #ifdef ANIMATION_STONEFLY
case 9: case 9:
stonefly();
break;
#endif
#ifdef ANIMATION_GAMEOFLIFE
case 10:
gameoflife(); gameoflife();
break; break;
#endif #endif
#ifdef ANIMATION_FLYINGDOTS
case 12:
flyingdots();
break;
#endif
#ifdef ANIMATION_MHERWEG #ifdef ANIMATION_MHERWEG
case 10: case 11:
flydots();
lines1(); lines1();
dots1(); dots1();
movinglines(); movinglines();