aboutsummaryrefslogtreecommitdiff
path: root/visualization/qmpvisualization.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-04 23:45:29 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-04 23:45:29 +0800
commit56eaa27d4daca9264dac2e822b1126cf6eb8cbf4 (patch)
treeb4da915a530814cd6e1705e72b1bde5ad196d8d2 /visualization/qmpvisualization.hpp
parent015a45c276caf34be3ce9175a1bcce644d736a0b (diff)
downloadQMidiPlayer-56eaa27d4daca9264dac2e822b1126cf6eb8cbf4.tar.xz
Piano keyboard: first steps.
Diffstat (limited to 'visualization/qmpvisualization.hpp')
-rw-r--r--visualization/qmpvisualization.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/visualization/qmpvisualization.hpp b/visualization/qmpvisualization.hpp
index f37bddb..a161111 100644
--- a/visualization/qmpvisualization.hpp
+++ b/visualization/qmpvisualization.hpp
@@ -7,6 +7,7 @@
#include <smelt.hpp>
#include <smmath.hpp>
#include <smttfont.hpp>
+#include "qmpvirtualpiano3d.hpp"
#include "../include/qmpcorepublic.hpp"
class qmpVisualization;
@@ -49,11 +50,13 @@ class qmpVisualization:public qmpPluginIntf
SMTRG tdscn;
SMTEX chequer;
smTTFont font,font2;
+ qmpVirtualPiano3D* p3d;
float pos[3],rot[3],lastx,lasty;
uint32_t ctc,ctk,fintk,elb;
double etps;
bool shouldclose,playing;
int hvif,herif,hehif;
+ double traveld[16][128];bool notestatus[16][128];
void drawCube(smvec3d a,smvec3d b,DWORD col,SMTEX tex);
void showThread();
public: