--- a/hedgewars/hwengine.pas Tue Jul 02 23:49:41 2013 +0200
+++ b/hedgewars/hwengine.pas Wed Jul 03 01:58:45 2013 +0200
@@ -189,7 +189,8 @@
cNewScreenHeight:= max(2 * (event.window.data2 div 2), cMinScreenHeight);
cScreenResizeDelay:= RealTicks + 500{$IFDEF IPHONEOS}div 2{$ENDIF};
end;
-
+{$IF 0}
+ //TODO: touch has become relative to the window size and has different parameters
SDL_FINGERMOTION:
onTouchMotion(event.tfinger.x, event.tfinger.y,event.tfinger.dx, event.tfinger.dy, event.tfinger.fingerId);
@@ -198,6 +199,7 @@
SDL_FINGERUP:
onTouchUp(event.tfinger.x, event.tfinger.y, event.tfinger.fingerId);
+{$ENDIF}
{$ELSE}
SDL_KEYDOWN:
if GameState = gsChat then