--- a/hedgewars/uUtils.pas Fri Jul 26 00:37:56 2013 +0200
+++ b/hedgewars/uUtils.pas Fri Jul 26 23:02:25 2013 +0200
@@ -70,7 +70,6 @@
procedure WriteLn(var f: textfile; s: shortstring);
function isPhone: Boolean; inline;
-function getScreenDPI: Double; inline; //cdecl; external;
{$IFDEF IPHONEOS}
procedure startLoadingIndicator; cdecl; external;
@@ -428,16 +427,6 @@
{$ENDIF}
end;
-//This dummy function should be reimplemented (externally).
-function getScreenDPI: Double; inline;
-begin
-{$IFDEF ANDROID}
-// getScreenDPI:= Android_JNI_getDensity();
- getScreenDPI:= 1;
-{$ELSE}
- getScreenDPI:= 1;
-{$ENDIF}
-end;
function sanitizeForLog(s: shortstring): shortstring;
var i: byte;
@@ -506,7 +495,6 @@
{$ENDIF}
//mobile stuff
- mobileRecord.getScreenDPI:= @getScreenDPI; //TODO: define external function.
{$IFDEF IPHONEOS}
mobileRecord.PerformRumble:= @AudioServicesPlaySystemSound;
mobileRecord.GameLoading:= @startLoadingIndicator;