empserver/include
Markus Armbruster 0fe43096bc Simplify calling of pln_arm() & friends
pln_arm(), pln_equip(), mission_pln_arm() mission_pln_equip() took a
mission parameter encoding the kind of sortie (strategic bomb,
pinpoint bomb, transport, ...), a flag parameter to further specify
the plane's role, and a parameter ip to specify the load.

The flags argument was always either P_F (intercept), P_F | P_ESC
(escort), or zero (any other role).

With non-zero flags, mission and ip argument were not used in any way.

Use mission 'e' and null load for escorts, and remove flags.
Intercept can still be identified by mission zero.

Also change pln_mobcost() to take a mission parameter instead of
flags, so that pln_arm() and mission_pln_arm() can simply pass on
their mission.
2009-12-08 08:15:51 +01:00
..
budg.h Make sector maintenance cost configurable 2009-07-19 13:58:47 -04:00
com.h Update copyright notice 2009-02-08 09:33:18 +01:00
combat.h Update copyright notice 2009-02-08 09:33:18 +01:00
commands.h Update copyright notice 2009-02-08 09:33:18 +01:00
commodity.h Update copyright notice 2009-02-08 09:33:18 +01:00
damage.h Update copyright notice 2009-02-08 09:33:18 +01:00
distribute.h Update copyright notice 2009-02-08 09:33:18 +01:00
econfig-spec.h Enable marine msl. unconditionally, remove option PINPOINTMISSILE 2009-12-08 08:15:50 +01:00
empio.h Move queue flush out of io.c 2009-07-19 14:11:53 -04:00
empobj.h Update copyright notice 2009-02-08 09:33:18 +01:00
empthread.h Make empth_rwlock_t prefer writers 2009-07-19 14:11:52 -04:00
file.h Update copyright notice 2009-02-08 09:33:18 +01:00
game.h Update known contributors comments 2009-02-18 21:11:33 +01:00
ioqueue.h Hide struct io and implementation of struct ioqueue 2009-07-19 14:11:52 -04:00
item.h Update copyright notice 2009-02-08 09:33:18 +01:00
journal.h Update copyright notice 2009-02-08 09:33:18 +01:00
land.h Factor new lnd_sabo() out of sabo() 2009-12-05 15:19:37 +01:00
loan.h Update copyright notice 2009-02-08 09:33:18 +01:00
lost.h Update copyright notice 2009-02-08 09:33:18 +01:00
lwp.h Update known contributors comments 2009-02-18 21:11:33 +01:00
map.h Update copyright notice 2009-02-08 09:33:18 +01:00
match.h Update copyright notice 2009-02-08 09:33:18 +01:00
misc.h Remove macro S_IRWUG 2009-11-30 19:45:27 +01:00
mission.h Update copyright notice 2009-02-08 09:33:18 +01:00
nat.h Update known contributors comments 2009-02-18 21:11:33 +01:00
news.h Update copyright notice 2009-02-08 09:33:18 +01:00
nsc.h Update copyright notice 2009-02-08 09:33:18 +01:00
nuke.h Update copyright notice 2009-02-08 09:33:18 +01:00
optlist.h Update copyright notice 2009-02-08 09:33:18 +01:00
path.h Update copyright notice 2009-02-08 09:33:18 +01:00
plague.h Update copyright notice 2009-02-08 09:33:18 +01:00
plane.h Update known contributors comments 2009-02-18 21:11:33 +01:00
player.h Fix accepting connections from hosts with "long" IPv6 address 2009-11-30 19:43:47 +01:00
power.h Update copyright notice 2009-02-08 09:33:18 +01:00
product.h Update copyright notice 2009-02-08 09:33:18 +01:00
proto.h Update copyright notice 2009-02-08 09:33:18 +01:00
prototypes.h Simplify calling of pln_arm() & friends 2009-12-08 08:15:51 +01:00
queue.h Update copyright notice 2009-02-08 09:33:18 +01:00
retreat.h Update copyright notice 2009-02-08 09:33:18 +01:00
sect.h Make sector maintenance cost configurable 2009-07-19 13:58:47 -04:00
server.h Simplify checks whether player thread may sleep 2009-11-30 19:43:18 +01:00
service.h Include <windows.h> from service.h to make it self-contained 2009-11-30 19:45:27 +01:00
ship.h Update copyright notice 2009-02-08 09:33:18 +01:00
tel.h Update known contributors comments 2009-02-18 21:11:33 +01:00
trade.h Update copyright notice 2009-02-08 09:33:18 +01:00
treaty.h Update copyright notice 2009-02-08 09:33:18 +01:00
types.h Update copyright notice 2009-02-08 09:33:18 +01:00
unit.h Update copyright notice 2009-02-08 09:33:18 +01:00
update.h Update copyright notice 2009-02-08 09:33:18 +01:00
version.h Update copyright notice 2009-02-08 09:33:18 +01:00
xdump.h Update copyright notice 2009-02-08 09:33:18 +01:00
xy.h Update copyright notice 2009-02-08 09:33:18 +01:00