hedgewars/uWorld.pas
branchhedgeroid
changeset 5828 667fb58d7f18
parent 5824 2e5835130d9a
child 5932 5164d17b6374
--- a/hedgewars/uWorld.pas	Wed Sep 14 18:43:16 2011 +0200
+++ b/hedgewars/uWorld.pas	Fri Sep 16 17:36:05 2011 +0200
@@ -913,9 +913,10 @@
 // Captions
 DrawCaptions;
 
-// Draw buttons
-SetScale(0.8);
-DrawSprite(sprFireButton, round((-cScreenWidth+20)/0.8),round((cScreenHeight+55)/0.8),0);
+// Draw buttons Related to the Touch interface
+//SetScale(0.8);
+//DrawSprite(sprFireButton, round(-cScreenWidth/0.8),round(cScreenHeight/0.8), 0);
+DrawTexture(Round(-cScreenWidth*0.5 + cScreenHeight*0.02),Round((cScreenHeight*0.98)-(spritesData[sprFireButton].Height*0.4) ),spritesData[sprFireButton].Texture, 0.4);
 SetScale(cDefaultZoomLevel);
 
 // Teams Healths