aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code')
-rw-r--r--Game/Code/Classes/UCommon.pas11
1 files changed, 6 insertions, 5 deletions
diff --git a/Game/Code/Classes/UCommon.pas b/Game/Code/Classes/UCommon.pas
index 7337751a..5b911da0 100644
--- a/Game/Code/Classes/UCommon.pas
+++ b/Game/Code/Classes/UCommon.pas
@@ -32,9 +32,6 @@ type
type
TWndMethod = procedure(var Message: TMessage) of object;
-function StringReplaceW(text, search, rep: WideString):WideString;
-function AdaptFilePaths( const aPath : widestring ): widestring;
-
function LazFindResource( const aName, aType : String ): TLResource;
function RandomRange(aMin: Integer; aMax: Integer) : Integer;
@@ -45,9 +42,13 @@ function MinValue(const Data: array of Double): Double;
{$IFDEF Win32}
function AllocateHWnd(Method: TWndMethod): HWND;
procedure DeallocateHWnd(Wnd: HWND);
-{$ENDIF}
+{$ENDIF} // Win32
+
+{$ENDIF} // FPC Only
+
+function StringReplaceW(text, search, rep: WideString):WideString;
+function AdaptFilePaths( const aPath : widestring ): widestring;
-{$ENDIF}
{$IFNDEF win32}
(*