empserver/include
Markus Armbruster 28d4847416 Clean up move_ground()'s parsing of DIR_MAP
Split with parse() and pass first two arguments instead of the raw
tail to the map() callback.  Advantages:

* Consistent with do_unit_move().

* Does the right thing when the tail is just spaces.  Before, the
  spaces got passed to the map() callback, which complained about
  syntax.  Now, they are ignored.  This is what the commit I just
  reverted tried to fix.

* Works better when the tail splits into more than two arguments.
  Except for explore_map(), which ignores the argument(s), the map()
  callbacks use display_region_map(), which split the tail at the
  first space, and complained about any spaces in the second part.
  Now, display_region_map() takes two argument strings instead of a
  single, unsplit argument string, and extra arguments get silently
  ignored, as usual.
2011-04-14 20:21:23 +02:00
..
budg.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
com.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
combat.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
commands.h Clean up superfluous include of nsc.h in prototypes.h 2011-04-14 19:46:05 +02:00
commodity.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
damage.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
distribute.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
econfig-spec.h New journal event "output" 2011-04-14 20:21:21 +02:00
empio.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
empobj.h Clean up superfluous include of news.h in empobj.h 2011-04-14 19:46:05 +02:00
empthread.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
file.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
game.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
ioqueue.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
item.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
journal.h New journal event "output" 2011-04-14 20:21:21 +02:00
land.h Clean up superfluous include of queue.h in land.h, ship.h 2011-04-14 19:46:05 +02:00
loan.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
lost.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
lwp.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
map.h Clean up move_ground()'s parsing of DIR_MAP 2011-04-14 20:21:23 +02:00
match.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
misc.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
mission.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
nat.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
news.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
nsc.h Factor snxtsct_use_condarg() out of snxtsct() 2011-04-14 20:21:21 +02:00
nuke.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
optlist.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
path.h Remove p_mode, use MOB_FLY and MOB_SAIL instead 2011-04-12 21:51:32 +02:00
plague.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
plane.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
player.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
power.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
product.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
proto.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
prototypes.h Clean up move_ground()'s parsing of DIR_MAP 2011-04-14 20:21:23 +02:00
queue.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
retreat.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
sect.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
server.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
service.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
ship.h Clean up superfluous include of queue.h in land.h, ship.h 2011-04-14 19:46:05 +02:00
tel.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
trade.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
treaty.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
types.h New journal event "output" 2011-04-14 20:21:21 +02:00
unit.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
update.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
version.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
xdump.h Move xdmeta() back to commands/xdump.c, internal linkage 2011-04-14 20:21:21 +02:00
xy.h Move xysize_range(), xydist_range() to xy.c and xy.h 2011-04-14 20:21:21 +02:00