blob: 339381d4c043f56eb8e9a68da6ba10556591ac20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include "Cursor.hpp"
#include "cfg.hpp"
class Table {
private:
static const int _yend = CFG_DHEIGHT - 24;
static const int _height = 61;
static const int _depth = 3;
static const int _delay = 8;
static const int _lane = _yend / _height;
int _notes[_depth][_height];
int _strength[_depth][_height];
int _hovered, _edited, _layer;
public:
Table();
void update(const Cursor& cursor);
void draw(const Cursor& cursor);
void set_layer(int layer);
};
|