Added Langton\'s Ant to animations + some whitespace fun.
This commit is contained in:
parent
c6680ff94f
commit
e4186bd02b
|
@ -29,4 +29,8 @@ ifeq ($(ANIMATION_BREAKOUT),y)
|
|||
SRC += breakout_demo.c
|
||||
endif
|
||||
|
||||
ifeq ($(ANIMATION_LTN_ANT),y)
|
||||
SRC += ltn_ant.c
|
||||
endif
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
|
|
@ -76,6 +76,7 @@ comment "Animations"
|
|||
dep_bool "Game of Life" ANIMATION_GAMEOFLIFE $RANDOM_SUPPORT
|
||||
dep_bool "Breakout Demo" ANIMATION_BREAKOUT $GAME_BREAKOUT
|
||||
bool "M Herweg" ANIMATION_MHERWEG
|
||||
bool "Langton Ant" ANIMATION_LTN_ANT $RANDOM_SUPPORT
|
||||
|
||||
comment "Special Animations"
|
||||
bool "Test Animations" ANIMATION_TESTS
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "animations/stonefly.h"
|
||||
#include "animations/flyingdots.h"
|
||||
#include "animations/breakout_demo.h"
|
||||
#include "animations/ltn_ant.h"
|
||||
#include "borg_hw/borg_hw.h"
|
||||
#include "can/borg_can.h"
|
||||
#include "random/prng.h"
|
||||
|
@ -135,6 +136,12 @@ void display_loop(){
|
|||
break;
|
||||
#endif
|
||||
|
||||
#ifdef ANIMATION_LTN_ANT
|
||||
case 14:
|
||||
ltn_ant();
|
||||
break;
|
||||
#endif
|
||||
|
||||
#ifdef ANIMATION_TESTS
|
||||
case 31:
|
||||
test_level1();
|
||||
|
|
Loading…
Reference in New Issue