equal
deleted
inserted
replaced
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:= -(LongInt(leftX + (playWidth div 2))); // -(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; |