1 ////////////////////////////////////////////////////////////////////////////////
2 //    Scorched3D (c) 2000-2011
3 //
4 //    This file is part of Scorched3D.
5 //
6 //    Scorched3D is free software; you can redistribute it and/or modify
7 //    it under the terms of the GNU General Public License as published by
8 //    the Free Software Foundation; either version 2 of the License, or
9 //    (at your option) any later version.
10 //
11 //    Scorched3D is distributed in the hope that it will be useful,
12 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
13 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 //    GNU General Public License for more details.
15 //
16 //    You should have received a copy of the GNU General Public License along
17 //    with this program; if not, write to the Free Software Foundation, Inc.,
18 //    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 ////////////////////////////////////////////////////////////////////////////////
20 
21 #ifndef __DEFINESSCORCHED__
22 #define __DEFINESSCORCHED__
23 
24 namespace S3D
25 {
26 	void setExeName(const std::string &name);
27 	void setSettingsDir(const std::string &dir);
28 	void setDataFileMod(const std::string &mod);
29 	std::string getDataFileMod();
30 	std::string getExeName();
31 	std::string getStartTime();
32 	void showURL(const std::string &url);
33 
34 	bool checkDataFile(const std::string &filename);
35 	std::string getDataFile(const std::string &filename);
36 	std::string getModFile(const std::string &filename);
37 	std::string getDocFile(const std::string &filename);
38 	std::string getLogFile(const std::string &filename);
39 	std::string getSettingsFile(const std::string &filename);
40 	std::string getHomeFile(const std::string &filename);
41 	std::string getSaveFile(const std::string &filename);
42 	std::string getSettingsModFile(const std::string &filename);
43 	std::string getGlobalModFile(const std::string &filename);
44 
45 	extern unsigned int ScorchedPort;
46 	extern std::string ScorchedVersion;
47 	extern std::string ScorchedProtocolVersion;
48 	extern std::string ScorchedBuildTime;
49 }
50 
51 #endif // __DEFINESSCORCHED__
52