Abstrct/Schemaverse — pull request #8 by melknin (2012-02-28 09:29:25+00:00)
Title: Replaced MOVE() with SHIP_COURSE_CONTROL() and MOVE_SHIPS() functions

I removed the MOVE() function and replaced it with a SHIP_COURSE_CONTROL() function (which basically just sets the target speed and target direction / destination) for players and then a backend MOVE_SHIPS() function which actually handles the movement logic.

MOVE_SHIPS() is more or less built from scratch, and it correctly accounts for fuel cost performing Delta-V maneuvers (e.g. instead of it only costing 180 to turn around, it now costs 2*speed). It will also bring the ship to a halt if it reaches its destination (or will at least slow it down to the extent that it has fuel available).

There are also some misc changes/moving things around which I had to do in order to get create_schemaverse.sql to load from scratch into my test DB.