empserver/src/lib/subs
Markus Armbruster b54454fbc4 Fix air defense and flak over sectors allied to the planes
Planes were not subject to air defense and flak over allied sectors.

Air defense was broken when Empire 2 changed it to happen after
spotting.

Flak was broken when 4.2.8 made ships and land units fire flak in
every sector, not just the target sector.  Although an allied sector
doesn't fire flak, it may still contain hostile ships and land units.

Also makes use of ilist[] more robust: before, if relations somehow
went sour after unfriendly[] was initialized, the sector intercept
would run with an invalid interceptor list, and crash.
2009-02-01 17:14:38 +01:00
..
aircombat.c Fix air defense and flak over sectors allied to the planes 2009-02-01 17:14:38 +01:00
askyn.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
aswplnsubs.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
attsub.c Make sure land units with maximum mobility can attack mountains 2008-12-28 18:26:45 +01:00
bigmap.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
border.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
bridgefall.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
bsanct.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
caploss.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
check.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
coastal.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
control.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
damage.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
detonate.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
disloan.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
distrea.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
empobj.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
fileinit.c Fix initialization of new elements in plane, land and nuke tables 2008-10-18 10:53:42 -04:00
fortdef.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
getbit.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
getele.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
getstarg.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
getstring.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
journal.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
land.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
landgun.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
list.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
lndsub.c Remove non-mission land unit reaction 2008-12-25 11:47:05 +01:00
lostsub.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
maps.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
mission.c Pass only PM_* mission flags to ac_encounter() 2009-02-01 17:14:38 +01:00
move.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
mslsub.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
mtch.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
natarg.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
natsub.c Cleaned up check_nat_name() function 2009-01-06 17:48:37 -06:00
neigh.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
nreport.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
nstr.c Fold nstr_resolve_sel() into only remaining caller 2008-12-28 18:26:42 +01:00
nuke.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
nxtitem.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
nxtsct.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
onearg.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
paths.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
plane.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
plnsub.c Pass only PM_* mission flags to ac_encounter() 2009-02-01 17:14:38 +01:00
pr.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
radmap.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
rej.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
retreat.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
sarg.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
satmap.c New option RAILWAYS 2008-11-01 11:40:15 -04:00
sect.c Capital obliteration failed to charge money and report news 2008-11-15 17:40:48 -05:00
sectdamage.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
ship.c Fix shp_prewrite() to print the sunk message 2008-11-24 19:08:16 -05:00
show.c Reimplement max_idle without a separate thread 2009-02-01 17:06:33 +01:00
shpsub.c Use #if 0 to disable code, not comments 2008-12-14 10:45:35 -05:00
snxtitem.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
snxtsct.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
supply.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
takeover.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
trdsub.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
trechk.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
unitsub.c Remove non-mission land unit reaction 2008-12-25 11:47:05 +01:00
whatitem.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00
wu.c Fix trailing whitespace 2008-09-17 21:31:40 -04:00