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/>.
26 #include <nel/3d/u_landscape.h>
27 #include <nel/misc/time_nl.h>
28 #include <nel/misc/vector.h>
31 // External definitions
48 extern std::vector
<NL3D::UInstanceGroup
*> InstanceGroups
;
49 extern NLMISC::CVector SunDirection
;
60 void releaseLandscape();
65 void updateLandscape();
67 void loadAllZonesAround();
69 // Compute the collision with the landscape from the start position, using the given step,
70 // at maximum numSteps steps from the start. It uses full (!) physics computation, and should be
71 // identical on the server
72 NLMISC::CVector
getTarget(const NLMISC::CVector
&start
, const NLMISC::CVector
&step
, uint numSteps
);
74 } /* namespace SBCLIENT */
78 /* End of landscape.h */