/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2010, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
*
* trade.h: Definitions for trading units/ships/planes in a time delay
* system
- *
+ *
* Known contributors to this file:
* Dave Pare
* Pat Loney, 1992
struct trdstr {
/* initial part must match struct empobj */
- short ef_type;
+ signed ef_type: 8;
+ unsigned trd_seqno: 12;
+ unsigned trd_generation: 12;
+ int trd_uid;
+ time_t trd_timestamp;
natid trd_owner;
- short trd_uid;
/* end of part matching struct empobj */
short trd_type;
- short trd_unitid;
+ int trd_unitid;
long trd_price;
int trd_maxbidder;
time_t trd_markettime;
- coord trd_x;
+ coord trd_x; /* destination for teleporting trade */
coord trd_y;
};