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
endif
ifeq ($(ANIMATION_STONEFLY),y)
SRC += stonefly.c
endif
ifeq ($(ANIMATION_FLYINGDOTS),y)
SRC += flyingdots.c
endif
ifeq ($(ANIMATION_GAMEOFLIFE),y)
SRC += gameoflife.c
endif

View File

@ -64,7 +64,9 @@ comment "Animations"
bool "Schachbrett" ANIMATION_SCHACHBRETT
dep_bool "Feuer" ANIMATION_FEUER $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
bool "M Herweg" ANIMATION_MHERWEG

View File

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