hedgewars/hwengine.pas
changeset 9311 5baf10a52f43
parent 9283 76e68c136a11
child 9317 a04c30940d2d
--- 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