# HG changeset patch # User koda # Date 1256073736 0 # Node ID 6f77dd38294a00e48170733d3df4ec1baa398ac3 # Parent e654cbfb23bafef9cf011b771efeb75ae723cbc4 ifdefs all the way diff -r e654cbfb23ba -r 6f77dd38294a hedgewars/hwengine.pas --- a/hedgewars/hwengine.pas Tue Oct 20 21:20:47 2009 +0000 +++ b/hedgewars/hwengine.pas Tue Oct 20 21:22:16 2009 +0000 @@ -163,9 +163,11 @@ var PrevTime, CurrTime: Longword; event: TSDL_Event; +{$IFDEF IPHONEOS} mouseState, whichMouse: byte; x, y, x_up, y_up, x_down, y_down: LongInt; oldy: LongInt = 240; +{$ENDIF} begin PrevTime:= SDL_GetTicks; repeat diff -r e654cbfb23ba -r 6f77dd38294a hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Tue Oct 20 21:20:47 2009 +0000 +++ b/hedgewars/uWorld.pas Tue Oct 20 21:22:16 2009 +0000 @@ -319,7 +319,9 @@ tdx, tdy: Double; grp: TCapGroup; s: string[15]; +{$IFDEF IPHONEOS} x,y: LongInt; +{$ENDIF} offset: LongInt; begin if ZoomValue < zoom then