/* src/lib/subs/lostsub.c */
extern void lost_and_found(int, natid, natid, int, coord, coord);
-extern void makelost(int, natid, short, coord, coord);
-extern void makenotlost(int, natid, short, coord, coord);
+extern void makelost(int, natid, int, coord, coord);
+extern void makenotlost(int, natid, int, coord, coord);
extern void delete_old_lostitems(void);
#endif
coord, char *, int);
/* src/lib/subs/aswplnsubs.c */
-extern int on_shiplist(short, struct shiplist *);
-extern void add_shiplist(short, struct shiplist **);
+extern int on_shiplist(int, struct shiplist *);
+extern void add_shiplist(int, struct shiplist **);
extern void free_shiplist(struct shiplist **);
extern void print_shiplist(struct shiplist *);
#include "ship.h"
int
-on_shiplist(short uid, struct shiplist *head)
+on_shiplist(int uid, struct shiplist *head)
{
struct shiplist *s;
}
void
-add_shiplist(short uid, struct shiplist **head)
+add_shiplist(int uid, struct shiplist **head)
{
struct shiplist *s, *s2;
#include "misc.h"
#include "optlist.h"
-static int findlost(int, natid, short, coord, coord, int);
+static int findlost(int, natid, int, coord, coord, int);
/*
* Record item ID of type TYPE changed owner from EXOWN to OWN at X, Y.
}
void
-makelost(int type, natid owner, short id, coord x, coord y)
+makelost(int type, natid owner, int id, coord x, coord y)
{
struct loststr lost;
int n;
}
void
-makenotlost(int type, natid owner, short id, coord x, coord y)
+makenotlost(int type, natid owner, int id, coord x, coord y)
{
struct loststr lost;
int n;
* Else return -1.
*/
static int
-findlost(int type, natid owner, short id, coord x, coord y, int free)
+findlost(int type, natid owner, int id, coord x, coord y, int free)
{
struct loststr lost;
int n;