aboutsummaryrefslogtreecommitdiff
path: root/visualization/qmpvisualization.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-18 00:00:11 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-18 00:00:11 +0800
commit473470054a4f67c67fb3f40a0438e87aff68703c (patch)
treef1e4644325cbb8eba4a1050ff5b69e31a0b6bb11 /visualization/qmpvisualization.hpp
parent9b1dee8a2bed82df98d68001b9458f29a780c71e (diff)
downloadQMidiPlayer-473470054a4f67c67fb3f40a0438e87aff68703c.tar.xz
Fix bugs in the particle system.
Add particle look at option.
Diffstat (limited to 'visualization/qmpvisualization.hpp')
-rw-r--r--visualization/qmpvisualization.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/visualization/qmpvisualization.hpp b/visualization/qmpvisualization.hpp
index 3305f4f..6c1e578 100644
--- a/visualization/qmpvisualization.hpp
+++ b/visualization/qmpvisualization.hpp
@@ -47,11 +47,13 @@ class qmpVisualization:public qmpPluginIntf
smHandler *h,*closeh;
std::stack<uint32_t> pendingt[16][128],pendingv[16][128];
SMELT *sm;
- SMTRG tdscn;
- SMTEX chequer,bgtex;
+ SMTRG tdscn,tdparticles;
+ SMTEX chequer,bgtex,particletex;
smTTFont font,font2,fonthdpi;
qmpVirtualPiano3D* p3d[16];
smEntity3DBuffer* nebuf;
+ smParticleSystem* test;
+ smPSEmissionPositionGenerator* psepg;
float pos[3],rot[3],lastx,lasty;
uint32_t ctc,ctk,fintk,elb;
double etps;