Auto full-combo Koibumi2000 in Taiko no Tatsujin CS5

Dependencies:   fll mbed-rtos mbed

taiko.h

Committer:
amutake
Date:
2015-02-15
Revision:
10:79bb44beb08b
Child:
11:21b3b0494baa

File content as of revision 10:79bb44beb08b:

// Toolkit for Taiko no Tatsujin

#pragma once

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

enum Taiko {
    Don = 0x01,
    Ka = 0x10,
};

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

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