empserver/include
Markus Armbruster e16e38dfab (trad, set): Treat trade file slots with zero owner as unused, so that
freshly extended trade file makes sense.  When set() removes a lot,
simply zero the slot.

(set): Initialize trd_uid.

(trade_check_ok): Use check_land_ok() & friends instead of doing it by
hand, but wrong.  This fixes bying planes and land units loaded on
ships that moved after loading.

(check_trade_ok): New.
(trade_check_ok): Use it.  Remove unused argument lot.  Callers
changed.
2004-08-28 15:22:50 +00:00
..
.cvsignore List generated files and directories that CVS doesn't ignore by 2003-10-04 14:54:09 +00:00
budg.h Declare update related variables in budg.h. Remove some redundant 2004-02-19 17:28:03 +00:00
com.h (player_coms): Declaration in com.h was misspelled. Remove redundant 2004-02-19 20:38:02 +00:00
combat.h Don't declare things in more than one place. Move some declarations 2004-02-20 20:45:18 +00:00
commands.h (xdump): New command xdump (experimental). 2004-08-20 12:39:16 +00:00
commodity.h caddr_t is obsolete. Replace by void *, except for struct empfile 2004-08-23 18:29:44 +00:00
common.h caddr_t is obsolete. Replace by void *, except for struct empfile 2004-08-23 18:29:44 +00:00
damage.h Import of Empire 4.2.12 2003-08-23 12:23:04 +00:00
distribute.h Import of Empire 4.2.12 2003-08-23 12:23:04 +00:00
econfig-spec.h (last_demand_update): Write-only. Removed. 2004-08-28 09:35:38 +00:00
empio.h (iop, iop_t): Unused, remove. 2004-04-08 19:53:17 +00:00
empthread.h (empth_ctx_t): Unused, remove. 2004-08-28 12:49:13 +00:00
event.h Indented with src/scripts/indent-emp. 2003-09-02 20:48:48 +00:00
file.h caddr_t is obsolete. Replace by void *, except for struct empfile 2004-08-23 18:29:44 +00:00
gen.h Indented with src/scripts/indent-emp. 2003-09-02 20:48:48 +00:00
genitem.h (genobject, genchrstr): Unused, remove. 2004-03-03 10:23:07 +00:00
global.h Indented with src/scripts/indent-emp. 2003-09-02 20:48:48 +00:00
ioqueue.h Indented with src/scripts/indent-emp. 2003-09-02 20:48:48 +00:00
item.h (IPKG): New. 2004-08-28 08:43:57 +00:00
land.h caddr_t is obsolete. Replace by void *, except for struct empfile 2004-08-23 18:29:44 +00:00
loan.h caddr_t is obsolete. Replace by void *, except for struct empfile 2004-08-23 18:29:44 +00:00
lost.h caddr_t is obsolete. Replace by void *, except for struct empfile 2004-08-23 18:29:44 +00:00
lwp.h Use gcc function attribute `format' to catch bad format strings. Fix 2004-03-09 12:27:40 +00:00
map.h Remove some unused stuff, mostly Empire 3 leftovers. 2004-02-28 09:45:10 +00:00
match.h Doc fixes & clarifications. 2004-08-21 11:47:17 +00:00
misc.h caddr_t is obsolete. Replace by void *, except for struct empfile 2004-08-23 18:29:44 +00:00
mission.h Remove some unused stuff, mostly Empire 3 leftovers. 2004-02-28 09:45:10 +00:00
nat.h caddr_t is obsolete. Replace by void *, except for struct empfile 2004-08-23 18:29:44 +00:00
news.h caddr_t is obsolete. Replace by void *, except for struct empfile 2004-08-23 18:29:44 +00:00
nsc.h caddr_t is obsolete. Replace by void *, except for struct empfile 2004-08-23 18:29:44 +00:00
nuke.h caddr_t is obsolete. Replace by void *, except for struct empfile 2004-08-23 18:29:44 +00:00
options.h (PLANENAMES, opt_PLANENAMES, Options, plchrstr, plchr_ca, plchr, 2004-08-21 06:48:34 +00:00
optlist.h caddr_t is obsolete. Replace by void *, except for struct empfile 2004-08-23 18:29:44 +00:00
path.h Supply prototypes where possible. This uncovered type errors with 2004-02-17 17:59:30 +00:00
plane.h caddr_t is obsolete. Replace by void *, except for struct empfile 2004-08-23 18:29:44 +00:00
player.h Supply prototypes where possible. This uncovered type errors with 2004-02-17 17:59:30 +00:00
power.h caddr_t is obsolete. Replace by void *, except for struct empfile 2004-08-23 18:29:44 +00:00
product.h Use plain char * instead of s_char *. Doc clarifications. 2004-08-17 19:22:43 +00:00
proto.h (KILL): Off by one in fnlist[]. This is why client option -k didn't 2004-01-31 09:42:34 +00:00
prototypes.h (trad, set): Treat trade file slots with zero owner as unused, so that 2004-08-28 15:22:50 +00:00
queue.h Indented with src/scripts/indent-emp. 2003-09-02 20:48:48 +00:00
retreat.h Import of Empire 4.2.12 2003-08-23 12:23:04 +00:00
sect.h (getsect, putsect, getsectp): Remove superflous casts, parenthesize 2004-08-23 18:35:50 +00:00
server.h Remove junk at end of #endif. 2004-02-24 18:26:34 +00:00
ship.h caddr_t is obsolete. Replace by void *, except for struct empfile 2004-08-23 18:29:44 +00:00
struct.h Import of Empire 4.2.12 2003-08-23 12:23:04 +00:00
subs.h Indented with src/scripts/indent-emp. 2003-09-02 20:48:48 +00:00
tel.h Don't declare things in more than one place. Move some declarations 2004-02-20 20:45:18 +00:00
trade.h (trad, set): Treat trade file slots with zero owner as unused, so that 2004-08-28 15:22:50 +00:00
treaty.h caddr_t is obsolete. Replace by void *, except for struct empfile 2004-08-23 18:29:44 +00:00
update.h Indented with src/scripts/indent-emp. 2003-09-02 20:48:48 +00:00
var.h (V_CIVIL, V_MILIT, V_SHELL, V_GUN, V_PETROL, V_IRON, V_DUST, V_BAR, 2004-08-17 16:12:31 +00:00
version.h Update for 4.2.17. 2004-08-14 20:03:08 +00:00
wantupd.h Import of Empire 4.2.12 2003-08-23 12:23:04 +00:00
xy.h (strtox, strtoy): New. Use it instead of inputxy() to avoid the 2004-04-07 17:13:47 +00:00