diff options
author | basisbit <basisbit@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2015-09-14 00:11:19 +0000 |
---|---|---|
committer | basisbit <basisbit@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2015-09-14 00:11:19 +0000 |
commit | 5a01e129266afda8614b766147606e3d318fc89c (patch) | |
tree | 47bed9c239720b44aeced53bdac3f23003be4e58 /src/base | |
parent | 8ace847c2b8bbe70c7225540ae8ded1366196e11 (diff) | |
download | usdx-5a01e129266afda8614b766147606e3d318fc89c.tar.gz usdx-5a01e129266afda8614b766147606e3d318fc89c.tar.xz usdx-5a01e129266afda8614b766147606e3d318fc89c.zip |
* added texts and English+German translation for JukeBox
* write to log if a skin-texture can't be found / loaded
* implemented search-feature in jukebox-mode similar to the search feature in normal mode
* fixed bunch of bugs in jukebox mode that existed in usdx wp
* jukebox mode: start playing full playlist when user presses enter after doing a search without results instead of crashing
* repeat playlist by default in jukebox mode
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3137 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/UPath.pas | 3 | ||||
-rw-r--r-- | src/base/USkins.pas | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/base/UPath.pas b/src/base/UPath.pas index 77ccd65d..6708262f 100644 --- a/src/base/UPath.pas +++ b/src/base/UPath.pas @@ -36,6 +36,7 @@ interface uses SysUtils, Classes, + TntSysUtils, IniFiles, {$IFDEF MSWINDOWS} TntClasses, @@ -667,7 +668,7 @@ begin if (IsNativeUTF8()) then Result := fName else - Result := Utf8ToAnsi(fName); + Result := Utf8ToAnsi(fName); //basisbit hackyhack - rteverted already end; function TPathImpl.GetDrive(): IPath; diff --git a/src/base/USkins.pas b/src/base/USkins.pas index a909b081..6d8c2ebf 100644 --- a/src/base/USkins.pas +++ b/src/base/USkins.pas @@ -187,7 +187,7 @@ begin if (TextureName <> '') and (Result.IsSet) then begin //Log.LogError('', '-----------------------------------------'); - //Log.LogError(TextureName+' - '+ Result, 'TSkin.GetTextureFileName'); + Log.LogError('Was not able to retrieve Texture for ' + TextureName + ' - ' + Result.ToNative, 'TSkin.GetTextureFileName'); end; end; |