1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2010 Winch Gate Property Limited
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.
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/>.
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"
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();