diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-03-03 03:00:18 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-03-03 03:00:18 +0000 |
commit | 83c95e09f137e9984e7240fe629e8c819dfccbf4 (patch) | |
tree | c25d2d77a20480534ec8c34305009e7724cc68d0 /Game/Code/Classes/UPlatformLinux.pas | |
parent | dc1cf85b1ee9fea174c97293f23e8f384fce1fdc (diff) | |
download | usdx-83c95e09f137e9984e7240fe629e8c819dfccbf4.tar.gz usdx-83c95e09f137e9984e7240fe629e8c819dfccbf4.tar.xz usdx-83c95e09f137e9984e7240fe629e8c819dfccbf4.zip |
- actual.. -> current..
- USDX version-numbers in UConfig
- some windows/lclintf dependencies removed
- some indentation
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@898 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Classes/UPlatformLinux.pas | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Game/Code/Classes/UPlatformLinux.pas b/Game/Code/Classes/UPlatformLinux.pas index 71a75a6b..ff4834fe 100644 --- a/Game/Code/Classes/UPlatformLinux.pas +++ b/Game/Code/Classes/UPlatformLinux.pas @@ -161,11 +161,13 @@ begin if FindCmdLineSwitch( cUseLocalPaths ) then result := ExtractFilePath(ParamStr(0)) else + begin {$IFDEF UseLocalDirs} result := ExtractFilePath(ParamStr(0)); {$ELSE} result := SharedPath+'/'; {$ENDIF} + end; end; function TPlatformLinux.GetGameUserPath : WideString; @@ -173,11 +175,13 @@ begin if FindCmdLineSwitch( cUseLocalPaths ) then result := ExtractFilePath(ParamStr(0)) else + begin {$IFDEF UseLocalDirs} result := ExtractFilePath(ParamStr(0)); {$ELSE} result := get_homedir()+'/.'+PathSuffix+'/'; {$ENDIF} + end; end; function TPlatformLinux.get_homedir(): string; |