/*
* 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
* ---
*
* nuke.h: Definitions for things having to do with nukes
- *
+ *
* Known contributors to this file:
* Dave Pare, 1986
*/
struct nukstr {
/* initial part must match struct empobj */
- short ef_type;
- short nuk_uid;
- unsigned nuk_seqno;
+ signed ef_type: 8;
+ unsigned nuk_seqno: 12;
+ unsigned nuk_generation: 12;
+ int nuk_uid; /* unit id (nuke #) */
time_t nuk_timestamp; /* Last time this nuke was touched */
natid nuk_own;
coord nuk_x, nuk_y; /* current loc of device */
short nuk_mission; /* mission code, unused */
short nuk_radius; /* mission radius, unused */
/* end of part matching struct empobj */
- short nuk_ship; /* currently aboard ship (unused) */
- short nuk_plane; /* currently aboard plane */
- short nuk_land; /* currently aboard land (unused) */
+ int nuk_plane; /* uid of transporting plane, or -1 */
};
struct nchrstr {