Removed unused fonts, improved prepare_build_installer.bat, ran AStyle
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@644 0420edf4-82e4-42fc-9478-35b55e6d67a3master
parent
f4cd9635ca
commit
3436509c11
|
@ -3,5 +3,6 @@ pause
|
|||
|
||||
cd ..\data
|
||||
del /s Makefile.am
|
||||
del /s Makefile.in
|
||||
del translations\xx_XX.lst
|
||||
pause
|
|
@ -1,8 +1,5 @@
|
|||
# list of fonts
|
||||
|
||||
*[name] normal [file] std.ttf
|
||||
*[name] italic [file] stditalic.ttf
|
||||
*[name] bold [file] stdbold.ttf
|
||||
*[name] outline [file] outline.ttf
|
||||
*[name] pc20 [file] pc_20.ttf
|
||||
*[name] pcoutline [file] pc_outline.ttf
|
||||
*[name] pc20 [file] pc_20.ttf
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -268,7 +268,7 @@ void InitConfig() {
|
|||
// the progdir is always the current dir
|
||||
param.config_dir = "config";
|
||||
param.data_dir = "data";
|
||||
param.save_dir = "data";
|
||||
param.save_dir = "data";
|
||||
param.configfile = param.config_dir + SEP "options.txt";
|
||||
#else /* WIN32 */
|
||||
|
||||
|
@ -289,7 +289,7 @@ void InitConfig() {
|
|||
#endif /* 0 */
|
||||
|
||||
struct passwd *pwent = getpwuid(getuid());
|
||||
const char *home;
|
||||
const char *home;
|
||||
|
||||
param.config_dir = pwent->pw_dir;
|
||||
param.config_dir += SEP;
|
||||
|
@ -297,11 +297,11 @@ void InitConfig() {
|
|||
// or: param.config_dir = param.prog_dir + SEP "config";
|
||||
if (!DirExists(param.config_dir.c_str())) {
|
||||
mkdir(param.config_dir.c_str(), 0775);
|
||||
}
|
||||
}
|
||||
param.data_dir = ETR_DATA_DIR;
|
||||
param.data_dir += SEP;
|
||||
param.data_dir += "etr";
|
||||
param.save_dir = param.config_dir;
|
||||
param.save_dir = param.config_dir;
|
||||
param.configfile = param.config_dir + SEP "options";
|
||||
#endif /* WIN32 */
|
||||
|
||||
|
|
|
@ -170,11 +170,11 @@ void CWinsys::TakeScreenshot() const {
|
|||
std::string path = param.screenshot_dir;
|
||||
|
||||
#if !defined (OS_WIN32_MINGW) && !defined (OS_WIN32_MSC)
|
||||
const char *cpath = path.c_str();
|
||||
const char *cpath = path.c_str();
|
||||
|
||||
if (!DirExists(cpath)) {
|
||||
if (!DirExists(cpath)) {
|
||||
mkdir(cpath, 0775);
|
||||
}
|
||||
}
|
||||
#endif /* WIN32 */
|
||||
|
||||
path += SEP;
|
||||
|
|
Loading…
Reference in New Issue