natid lost_owner; /* Who lost it */
/* end of part matching struct empobj */
int lost_uid; /* lost ID (assigned, otherwise unused) */
- char lost_type; /* Type of thing (ship, plane, nuke, land, sector) */
+ short lost_type; /* Type of thing (ship, plane, nuke, land, sector) */
short lost_id; /* ID of lost thing */
coord lost_x;
coord lost_y;
#define putlost(n, p) ef_write(EF_LOST, (n), (p))
/* src/lib/subs/lostsub.c */
-extern void makelost(char, natid, short, coord, coord);
-extern void makenotlost(char, natid, short, coord, coord);
+extern void makelost(short, natid, short, coord, coord);
+extern void makenotlost(short, natid, short, coord, coord);
#endif
#include "file.h"
#include "lost.h"
-static int findlost(char, natid, short, coord, coord, int);
+static int findlost(short, natid, short, coord, coord, int);
void
-makelost(char type, natid owner, short id, coord x, coord y)
+makelost(short type, natid owner, short id, coord x, coord y)
{
struct loststr lost;
int n;
}
void
-makenotlost(char type, natid owner, short id, coord x, coord y)
+makenotlost(short type, natid owner, short id, coord x, coord y)
{
struct loststr lost;
int n;
* Else return -1.
*/
static int
-findlost(char type, natid owner, short id, coord x, coord y, int free)
+findlost(short type, natid owner, short id, coord x, coord y, int free)
{
struct loststr lost;
int n;