hedgewars/uWorld.pas
changeset 10332 194f003b41a4
parent 10331 cb6c33839d2a
child 10358 d22515d9624d
equal deleted inserted replaced
10331:cb6c33839d2a 10332:194f003b41a4
   226 uCursor.init();
   226 uCursor.init();
   227 prevPoint.X:= 0;
   227 prevPoint.X:= 0;
   228 prevPoint.Y:= cScreenHeight div 2;
   228 prevPoint.Y:= cScreenHeight div 2;
   229 //prevTargetPoint.X:= 0;
   229 //prevTargetPoint.X:= 0;
   230 //prevTargetPoint.Y:= 0;
   230 //prevTargetPoint.Y:= 0;
   231 WorldDx:=  -(LAND_WIDTH div 2) + cScreenWidth div 2;
   231 WorldDx:=  -(LAND_WIDTH div 2);// + cScreenWidth div 2;
   232 WorldDy:=  -(LAND_HEIGHT - (playHeight div 2)) + (cScreenHeight div 2);
   232 WorldDy:=  -(LAND_HEIGHT - (playHeight div 2)) + (cScreenHeight div 2);
   233 
   233 
   234 //aligns it to the bottom of the screen, minus the border
   234 //aligns it to the bottom of the screen, minus the border
   235 SkyOffset:= 0;
   235 SkyOffset:= 0;
   236 HorizontOffset:= 0;
   236 HorizontOffset:= 0;