Use configured resolution for login/outgame/ingame
[ryzomcore.git] / ryzom / tools / client / client_config / cfg_file.h
blob30ce260ec6904c5a9879774a00c5e051731c2a9d
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_CFG_FILE_H
20 #define NL_CFG_FILE_H
22 // ***************************************************************************
24 bool LoadConfigFile ();
26 // ***************************************************************************
28 bool SaveConfigFile ();
30 // ***************************************************************************
32 void GetFromConfigFile ();
34 // ***************************************************************************
36 void SetToConfigFile ();
38 // ***************************************************************************
40 void InvalidateConfig ();
42 // ***************************************************************************
44 void ResetConfigFile ();
46 // ***************************************************************************
48 void MergeConfigFile (NLMISC::CConfigFile &configFile);
50 // ***************************************************************************
52 void ResetConfigFileToDefault ();
54 // ***************************************************************************
56 std::string GetString (const char *var);
58 // ***************************************************************************
60 sint GetInt (const char *var);
62 // ***************************************************************************
64 bool GetBool (const char *var);
66 // ***************************************************************************
68 void backupWindowHandleRec (CWnd *cwnd = NULL);
70 // ***************************************************************************
72 void removeWindowHandleRec (CWnd *cwnd);
74 // ***************************************************************************
76 void localizeWindowsRec (CWnd *cwnd=NULL, bool useMap=true);
78 // ***************************************************************************
80 // Special Vars that must not pop up a window if not present in the CFG (because coder features)
81 std::string GetStringDriverSound();
82 void SetStringDriverSound(const char *value);
83 sint GetIntForceLanguage();
84 sint GetIntTestConfig();
86 // ***************************************************************************
89 #endif // NL_CFG_FILE_H
91 /* End of database.h */