absence_thelab
diff src/treepart.h @ 0:1cffe3409164
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 23 Oct 2014 01:46:07 +0300 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/treepart.h Thu Oct 23 01:46:07 2014 +0300 1.3 @@ -0,0 +1,25 @@ 1.4 +#ifndef _TREEPART_H_ 1.5 +#define _TREEPART_H_ 1.6 + 1.7 +#include "demosystem/demosys.h" 1.8 +#include "3deng/particles.h" 1.9 + 1.10 +class TreePart : public Part { 1.11 +private: 1.12 + //Scene *scene; 1.13 + ParticleSystem *leaves, *WispParticles[4]; 1.14 + Texture *WispParticle, *LeavesParticle; 1.15 + Camera *cam, *dummy[3]; 1.16 + Curve *CamPath, *TargPath, *WispPath[3]; 1.17 + Light *lights[4]; 1.18 + 1.19 + Object *Trees, *Moon, *Stars; 1.20 +public: 1.21 + 1.22 + TreePart(GraphicsContext *gc); 1.23 + ~TreePart(); 1.24 + 1.25 + void MainLoop(); 1.26 +}; 1.27 + 1.28 +#endif // _TREEPART_H_ 1.29 \ No newline at end of file