Free Hero Mesh

Diff
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.

Differences From Artifact [5e0bfb99d0]:

To Artifact [e1fcb10826]:


1651
1652
1653
1654
1655
1656
1657









1658
1659
1660
1661
1662
1663
1664
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673







+
+
+
+
+
+
+
+
+








mod  ( in1 in2 -- out )
  Unsigned divide in1 by in2 producing the remainder.

,mod  ( in1 in2 -- out )
  Signed divide in1 by in2 producing the remainder.

Morton  ( in -- out )
  Like ,Morton but the first input is always zero.

,Morton  ( in1 in2 -- out )
  Interleave bits of two 16-bit numbers to make a 32-bit number, like the
  mingle operator of INTERCAL. (One use of this is if you have a class
  with images for each combination of E/N/W/S directions and will want
  to convert them to make the appropriate Shovable value.)

Move  ( dir -- bool ) **
  Move this object in the given direction (which may be absolute or
  relative to the current direction). The result will be true if the
  move is successful or false if it failed. See the section about
  movement for details.

,Move  ( obj dir -- bool ) **