Merge branch '138-toggle-free-look-with-hotkey' into main/gingo-test
[ryzomcore.git] / ryzom / client / src / lod_character_user_manager.h
blob3a30e0ab8fe1261f339d2ee882b4dcf559a9bced
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
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/>.
19 #ifndef NL_LOD_CHARACTER_USER_MANAGER_H
20 #define NL_LOD_CHARACTER_USER_MANAGER_H
22 #include "nel/misc/types_nl.h"
23 #include <map>
26 // ***************************************************************************
27 /**
28 * Manager of Lod characters for entities.
29 * Use Scene.
30 * \author Lionel Berenguier
31 * \author Nevrax France
32 * \date 2002
34 class CLodCharacterUserManager
36 public:
38 /// Constructor
39 CLodCharacterUserManager();
41 /** init, reseting manager, and loading default shapeBank
42 * It load and setup "homins.lod_character_desc" too
44 void init();
46 /// Add a .clodbank. nlwarning and return false if not found. Added to "Scene".
47 bool addLodShapeBank(const std::string &filename);
50 // *****************
51 private:
56 extern CLodCharacterUserManager LodCharacterUserManager;
59 #endif // NL_LOD_CHARACTER_USER_MANAGER_H
61 /* End of lod_character_user_manager.h */