# HG changeset patch # User nemo # Date 1349642656 14400 # Node ID c374746bb56e2dcb4063152bd1693ff9cb92cd2b # Parent 664738870325712599d0c4217fd7c46c525e5eb5 Data for copying throwing knife to Land once it hits. diff -r 664738870325 -r c374746bb56e hedgewars/GSHandlers.inc --- a/hedgewars/GSHandlers.inc Sun Oct 07 23:59:55 2012 +0400 +++ b/hedgewars/GSHandlers.inc Sun Oct 07 16:44:16 2012 -0400 @@ -5243,3 +5243,46 @@ end; end; end; + +/* Yay. More incomplete code. +This is the set of postions for the knife. +Using FlipSurface and copyToXY the knife can be written to the Land at 32 positions. +0deg +2,5 (x,y offset) +25,5 (wXh of clip area) +2,7 (tip x,y) + +11.25deg +2,15 +24,8 +2,22 + +22.5deg +2,27 +23,12 +2,38 + +33.75deg +2,43 +21,15 +2,57 + +45deg +29,8 +19,19 +29,26 + +56.25deg +29,32 +15,21 +29,52 + +67.5deg +51,3 +11,23 +51,25 + +78.75deg +51,34 +7,24 +51,57 */ diff -r 664738870325 -r c374746bb56e share/hedgewars/Data/Graphics/knife.png Binary file share/hedgewars/Data/Graphics/knife.png has changed diff -r 664738870325 -r c374746bb56e share/hedgewars/Data/Graphics/knife.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/share/hedgewars/Data/Graphics/knife.svg Sun Oct 07 16:44:16 2012 -0400 @@ -0,0 +1,365 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +