...in [waypoints] x=1,2,... y=1,2,..
Note that if a WML event changes the goto then waypoints are
discarded. This is done by adding an extra last waypoint equal to
goto for consistency check (removed when loading), so WML can still
edit them if needed.
Now store and send the path used (using x=x1,x2,.. and y=y1,y2.. in [move])
This currently break compatibility with replay done with RC1 (if they worked)
I will try to restore backward compatibility in next commit.
PS: This commit is a small variation of the patch posted in the bugreport
Break the dependency of string_utils.cpp on formula ai since it pulls
in practically everything else as result. Since servers use
string_utils.cpp this is unacceptable.
...move into separate cpp/hpp pair. The code under src/ was modified
mainly using a global search-and-replace. This change allows reducing
code dependencies and gets rid of inner-class confusion (parts of the
code had to use "location" when referring to gamemap::location, it is
now consistent across the codebase.)