Commit Graph

7 Commits

Author SHA1 Message Date
Michael Bayne e75ae89f22 Various and sundry modifications to clean up orientation handling and add
support for 16 orientations in situations where it is merited.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1548 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-26 23:53:07 +00:00
Michael Bayne c3bbaa3e40 Modified getDirection() to use arc tangent so that it maps angles smoothly
to their nearest compass direction instead of the wacky way it did before.
Also added getFineDirection() along with rotateCW() and rotateCCW() to
rotate through (fine) directions (though coarse directions can be rotated
as well, simply by always requesting two ticks of rotation). Also wrote
some test code to make sure everything works.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1545 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-26 02:54:56 +00:00
Michael Bayne 2e46950ef0 Message bundles are init()ed now rather than constructed with their
desired arguments.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1337 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-04 19:39:27 +00:00
Michael Bayne 42a8993c93 Added code to test the new MessageBundle recursive escaped composed
translation facilities.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1078 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-28 23:12:27 +00:00
Walter Korman 606fe42305 Updated to reflect keyboard manager modifications.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@887 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-22 18:11:33 +00:00
Walter Korman 0f27719f0e Repackaged keyboard manager related classes for their new location in
com.threerings.util.  Moved RobotPlayer into util package from yohoho.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@873 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-18 23:32:15 +00:00
Walter Korman 3fc64a8066 Simple test applications for examining keyboard events and testing the
keyboard manager functionality.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@852 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-12 02:31:16 +00:00