Auto full-combo Koibumi2000 in Taiko no Tatsujin CS5

Dependencies:   fll mbed-rtos mbed

Revision:
36:09c32b11d1a0
Parent:
35:4ba2f4fd7015
Child:
38:3ef142056a3c
diff -r 4ba2f4fd7015 -r 09c32b11d1a0 main.cpp
--- a/main.cpp	Tue Feb 17 07:36:34 2015 +0000
+++ b/main.cpp	Tue Feb 17 08:31:54 2015 +0000
@@ -178,10 +178,19 @@
 
     Producer* taiko = new TaikoSource(note_seq, sizeof(note_seq)/sizeof(note*), 200);
 
-    Producer* delayed = new DelayFlow(taiko, 9.068);
+    Producer* delayed_taiko = new DelayFlow(taiko, 9.068);
+
+    button_time menu_bs[] = {
+        { 0, 40 }, { CIRCLE, 3 }, { CIRCLE, 4 }
+    };
 
-    Producer* src_seq[] = { go, delayed };
-    Producer* source = new SequentialFlow(src_seq, sizeof(src_seq) / sizeof(src_seq[0]));
+    Producer* back = new EasySource(menu_bs, sizeof(menu_bs) / sizeof(menu_bs[0]));
+
+    Producer* src_seq[] = { go, delayed_taiko, back };
+
+    Producer* oneset = new SequentialFlow(src_seq, sizeof(src_seq) / sizeof(src_seq[0]));
+
+    Producer* source = new RepeaterFlow(oneset);
 
     FLL fll(source);
     fll.run();