empserver/include
Markus Armbruster ef2e2d08a2 edit: Teleport planes and land units to carrier on load
Edit lets deities load units onto remote carriers, resulting in a
carriers having cargo in another sector.  Not good.  Cargo gets
teleported to its carrier belatedly when the carrier moves.

Better let edit take care of the teleport.

Also tell the deity that he just caused a teleport.  Necessary to give
the deity a chance to catch unexpected changes, e.g. a player moving a
plane right before the deity edits it.  Watching out for such changes
is especially important with non-interactive edit.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2013-06-06 19:55:02 +02:00
..
actofgod.h edit: Report loading/unloading of planes & land units properly 2013-06-06 19:55:02 +02:00
budg.h Use int instead of long for money 2013-05-08 06:57:54 +02:00
chance.h Fix PRNG seeding to resist guessing 2013-05-08 06:55:21 +02:00
com.h Update copyright notice 2013-01-12 17:45:01 +01:00
combat.h Update copyright notice 2013-01-12 17:45:01 +01:00
commands.h Update copyright notice 2013-01-12 17:45:01 +01:00
commodity.h Update copyright notice 2013-01-12 17:45:01 +01:00
damage.h Replace "roll0(N) + M" by "roll(N) + M-1" 2013-05-08 06:55:20 +02:00
distribute.h Update copyright notice 2013-01-12 17:45:01 +01:00
econfig-spec.h Drop extra blank line in output of pconfig 2013-05-08 06:57:56 +02:00
empio.h Update copyright notice 2013-01-12 17:45:01 +01:00
empobj.h Update copyright notice 2013-01-12 17:45:01 +01:00
empthread.h Update copyright notice 2013-01-12 17:45:01 +01:00
file.h Update copyright notice 2013-01-12 17:45:01 +01:00
game.h Update copyright notice 2013-01-12 17:45:01 +01:00
ioqueue.h Update copyright notice 2013-01-12 17:45:01 +01:00
item.h Update copyright notice 2013-01-12 17:45:01 +01:00
journal.h Update copyright notice 2013-01-12 17:45:01 +01:00
land.h Use int instead of long for flags 2013-05-08 06:57:51 +02:00
loan.h Use int instead of long for money 2013-05-08 06:57:54 +02:00
lost.h Update copyright notice 2013-01-12 17:45:01 +01:00
lwp.h Include <sys/time.h> in lwp.h 2013-05-08 14:35:04 +02:00
map.h Update copyright notice 2013-01-12 17:45:01 +01:00
match.h Update copyright notice 2013-01-12 17:45:01 +01:00
misc.h Replace common pattern by new LIMIT_TO() 2013-06-06 19:52:25 +02:00
mission.h Update copyright notice 2013-01-12 17:45:01 +01:00
nat.h prnat() prnatid(): New, common country name (#number) formatting 2013-06-06 19:52:26 +02:00
news.h Update copyright notice 2013-01-12 17:45:01 +01:00
nsc.h Update copyright notice 2013-01-12 17:45:01 +01:00
nuke.h Update copyright notice 2013-01-12 17:45:01 +01:00
optlist.h Update copyright notice 2013-01-12 17:45:01 +01:00
path.h Update copyright notice 2013-01-12 17:45:01 +01:00
plague.h Update copyright notice 2013-01-12 17:45:01 +01:00
plane.h Use int instead of signed char for pln_flags 2013-05-08 06:57:54 +02:00
player.h Update copyright notice 2013-01-12 17:45:01 +01:00
power.h Update copyright notice 2013-01-12 17:45:01 +01:00
product.h Update copyright notice 2013-01-12 17:45:01 +01:00
proto.h Update copyright notice 2013-01-12 17:45:01 +01:00
prototypes.h setsector setresource: Switch to edit_sect() 2013-06-06 19:55:01 +02:00
queue.h Update copyright notice 2013-01-12 17:45:01 +01:00
retreat.h Update copyright notice 2013-01-12 17:45:01 +01:00
sect.h xy.h: Move declaration of sctoff() from sect.h to xy.h 2013-06-06 19:55:01 +02:00
server.h Update copyright notice 2013-01-12 17:45:01 +01:00
service.h Update copyright notice 2013-01-12 17:45:01 +01:00
ship.h Use int instead of long for flags 2013-05-08 06:57:51 +02:00
tel.h Update copyright notice 2013-01-12 17:45:01 +01:00
trade.h Use int instead of long for money 2013-05-08 06:57:54 +02:00
treaty.h Update copyright notice 2013-01-12 17:45:01 +01:00
types.h prod() duplicates materials_cost(), clean up 2013-05-08 06:57:58 +02:00
unit.h edit: Teleport planes and land units to carrier on load 2013-06-06 19:55:02 +02:00
update.h Update copyright notice 2013-01-12 17:45:01 +01:00
version.h Update copyright notice 2013-01-12 17:45:01 +01:00
xdump.h empdump: Don't abort() on unresolvable symbols 2013-06-01 10:42:39 +02:00
xy.h sctoff2xy(): New, factored out of sct_oninit() 2013-06-06 19:55:01 +02:00