Auto full-combo Koibumi2000 in Taiko no Tatsujin CS5

Dependencies:   fll mbed-rtos mbed

taiko.h

Committer:
amutake
Date:
2015-02-15
Revision:
12:54aeb978fe9d
Parent:
11:21b3b0494baa
Child:
15:ed0c2da735c2

File content as of revision 12:54aeb978fe9d:

// Toolkit for Taiko no Tatsujin

#pragma once

#include "fll.h"
#include "fll_producers.h"

enum Taiko {
    Un = 0,
    Don = 1,
    Ka = 2,
    Renda = 3, 
};

typedef struct _note {
    Taiko taiko;
    float length;
} note;

class TaikoSource : public Producer {
private:
    note** note_seq;
    int index;
    int size;
    float bpm;
    int frame_i;
    float lag; // < FRAME  
public:
    TaikoSource(note** ns, int s, float b);
    virtual button_t await();
};