hedgewars/uLocale.pas
branchqmlfrontend
changeset 11828 a69124eb7ce7
parent 11699 83c40c1eb0e7
parent 11802 975c130c3901
child 12855 1b2b84315d27
--- a/hedgewars/uLocale.pas	Tue May 17 23:18:08 2016 +0300
+++ b/hedgewars/uLocale.pas	Tue May 17 23:29:49 2016 +0300
@@ -30,7 +30,7 @@
 function  GetEventString(e: TEventId): ansistring;
 
 {$IFDEF HWLIBRARY}
-procedure LoadLocaleWrapper(path: pchar; filename: pchar); cdecl; export;
+procedure LoadLocaleWrapper(path: pchar; userpath: pchar; filename: pchar); cdecl; export;
 {$ENDIF}
 
 implementation
@@ -133,22 +133,9 @@
     FormatA:= copy(fmt, 1, i - 1) + arg + FormatA(copy(fmt, i + 2, Length(fmt) - i - 1), arg)
 end;
 
-{$IFDEF HWLIBRARY}
-procedure LoadLocaleWrapper(path: pchar; filename: pchar); cdecl; export;
+procedure LoadLocaleWrapper(path: pchar; userpath: pchar; filename: pchar); cdecl; export;
 begin
-// FIXME
-{    PathPrefix := Strpas(path);
- 
-    uUtils.initModule(false);
-    uVariables.initModule;
-    uPhysFSLayer.initModule;
-} 
     LoadLocale(Strpas(filename));
-{ 
-    uPhysFSLayer.freeModule;
-    uVariables.freeModule;
-    uUtils.freeModule;}
 end;
-{$ENDIF}
 
 end.