empserver/include
Markus Armbruster b30c83cd64 Verify table uid sanity more tightly
verify_row() refrains from rejecting zero uids, because some tables
may contain blank entries, with zero uid.

Change it to check only header sanity for entries that are not in use.
This filters out all legitimately blank entries.  Tighten up the uid
check.

For computing "in use", factor empobj_in_use() out of xdvisible().
Note that xdvisible()'s case EF_COUNTRY doesn't bother to check
nat_stat, because that's implied by what it does check.  It's not
implied in empobj_in_use(), so add it there.
2011-06-25 16:54:29 +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 Remove option LANDSPIES, customize table land-chr instead 2011-06-25 16:53:02 +02:00
empio.h Update known contributors comments 2011-04-14 20:21:23 +02:00
empobj.h Verify table uid sanity more tightly 2011-06-25 16:54:29 +02:00
empthread.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
file.h Fix empdump not to grow game state files with fixed size 2011-06-25 16:50:06 +02:00
game.h Update known contributors comments 2011-04-14 20:21:23 +02:00
ioqueue.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
item.h Better document how .config must match compiled-in UIDs 2011-06-25 16:45:29 +02:00
journal.h New journal event "output" 2011-04-14 20:21:21 +02:00
land.h Update known contributors comments 2011-04-14 20:21:23 +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 Update known contributors comments 2011-04-14 20:21:23 +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 Update known contributors comments 2011-04-14 20:21:23 +02:00
mission.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
nat.h Update known contributors comments 2011-04-14 20:21:23 +02:00
news.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
nsc.h A few comment fixes for nsc.[ch] file.[ch] 2011-06-25 16:45:31 +02:00
nuke.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
optlist.h Update known contributors comments 2011-04-14 20:21:23 +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 Update known contributors comments 2011-04-14 20:21:23 +02:00
player.h Update known contributors comments 2011-04-14 20:21:23 +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 Move pln_oninit(), lnd_oninit(), nuk_oninit() to filetable.c 2011-06-25 16:50:06 +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 Better document how .config must match compiled-in UIDs 2011-06-25 16:45:29 +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 Update known contributors comments 2011-04-14 20:21:23 +02:00
tel.h Update known contributors comments 2011-04-14 20:21:23 +02:00
trade.h License upgrade to GPL version 3 or later 2011-04-12 21:20:58 +02:00
treaty.h Update known contributors comments 2011-04-14 20:21:23 +02:00
types.h Update known contributors comments 2011-04-14 20:21:23 +02:00
unit.h Rename obj_nameof() to unit_nameof() and move to unitsub.c 2011-06-25 16:50:20 +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 Update known contributors comments 2011-04-14 20:21:23 +02:00
xy.h Move xysize_range(), xydist_range() to xy.c and xy.h 2011-04-14 20:21:21 +02:00