Use configured resolution for login/outgame/ingame
[ryzomcore.git] / ryzom / tools / sheets_packer / sheets_packer_cfg.h
blobbc3fcb439616f30ec175c46fa4b323be9d230b3c
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 TL_SHEETS_PACKER_CFG_H
20 #define TL_SHEETS_PACKER_CFG_H
23 //////////////
24 // Includes //
25 //////////////
26 // Misc.
27 #include "nel/misc/types_nl.h"
28 #include "nel/misc/config_file.h"
29 // std.
30 #include <string>
33 //---------------------------------------------------
34 // CClientConfig :
35 // Struct to manage a config file for the client.
36 //---------------------------------------------------
37 struct CClientConfig
39 // the config file must be always be available
40 NLMISC::CConfigFile ConfigFile;
42 void init (const std::string &configFileName);
44 /// Data Path.
45 std::vector<std::string> DataPath;
47 /// World sheet name
48 std::string WorldSheet;
49 /// Path where to find .primitive files
50 std::string PrimitivesPath;
51 /// Path where to create lmconts.packed
52 std::string OutputDataPath;
54 // File containing LIGO primitives
55 std::string LigoPrimitiveClass;
57 // Whether dump visual slots index or not
58 bool DumpVisualSlotsIndex;
60 public:
61 /// Constructor.
62 CClientConfig();
64 friend void setValues ();
66 /// Serialize CFG.
67 virtual void serial(NLMISC::IStream &f);
69 /// End process
70 void release ();
71 };// CClientConfig //
74 ////////////
75 // GLOBAL //
76 ////////////
77 extern CClientConfig AppCfg;
78 extern const std::string ConfigFileName;
80 #endif // TL_SHEETS_PACKER_CFG_H
82 /* End of sheets_packer_cfg.h */