Linux multi-monitor fullscreen support
[ryzomcore.git] / nel / src / 3d / ps_register_particles.cpp
blobadbce5d3697d7f07087563dfa10a083d8cbda0d5
1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #include "std3d.h"
20 #include "nel/3d/ps_util.h"
21 #include "nel/3d/ps_particle.h"
22 #include "nel/3d/ps_particle2.h"
23 #include "nel/3d/ps_mesh.h"
25 #ifdef DEBUG_NEW
26 #define new DEBUG_NEW
27 #endif
29 namespace NL3D
31 void CPSUtil::registerParticles()
33 NL_PS_FUNC( CPSUtil_registerParticles)
34 NLMISC_REGISTER_CLASS(CPSFanLight);
35 NLMISC_REGISTER_CLASS(CPSTailDot);
36 NLMISC_REGISTER_CLASS(CPSRibbon);
37 NLMISC_REGISTER_CLASS(CPSRibbonLookAt);
38 NLMISC_REGISTER_CLASS(CPSShockWave);
39 NLMISC_REGISTER_CLASS(CPSFace);
40 NLMISC_REGISTER_CLASS(CPSMesh);
41 NLMISC_REGISTER_CLASS(CPSConstraintMesh);
42 NLMISC_REGISTER_CLASS(CPSDot);
43 NLMISC_REGISTER_CLASS(CPSFaceLookAt);
45 CPSRotated2DParticle::initRotTable(); // init the precalc rot table for face lookat
46 CPSFanLight::initFanLightPrecalc();
47 CPSDot::initVertexBuffers();
48 CPSQuad::initVertexBuffers();
49 CPSConstraintMesh::initPrerotVB();
51 } // NL3D