/* src/lib/subs/lostsub.c */
extern void lost_and_found(int, natid, natid, int, coord, coord);
-extern void makelost(short, natid, short, coord, coord);
-extern void makenotlost(short, natid, short, coord, coord);
+extern void makelost(int, natid, short, coord, coord);
+extern void makenotlost(int, natid, short, coord, coord);
extern void delete_old_lostitems(void);
#endif
extern int check_trade(void);
extern int ontradingblock(int, void *);
extern void trdswitchown(int, void *, int);
-extern int do_look(short);
-extern int radar(short);
+extern int do_look(int);
+extern int radar(int);
extern void update_power(void);
extern int show_first_tel(char *);
/* Commands */
}
int
-do_look(short type)
+do_look(int type)
{
int i;
struct nstr_item ni;
char *pt = pathtaken;
char bmap_flag;
int ac;
- short type;
+ int type;
leader = get_leader(ulist);
leader_uid = leader->uid;
}
int
-radar(short type)
+radar(int type)
{
char *cp;
double tf;
static char shp_rflagsc[] = "Xitshbdu";
static char lnd_rflagsc[] = "XiXXhbXX";
-static int retreat(short);
+static int retreat(int);
int
retr(void)
}
static int
-retreat(short type)
+retreat(int type)
{
char *pq, *fl;
int nunits;
#include "misc.h"
#include "optlist.h"
-static int findlost(short, natid, short, coord, coord, int);
+static int findlost(int, natid, short, coord, coord, int);
/*
* Record item ID of type TYPE changed owner from EXOWN to OWN at X, Y.
}
void
-makelost(short type, natid owner, short id, coord x, coord y)
+makelost(int type, natid owner, short id, coord x, coord y)
{
struct loststr lost;
int n;
}
void
-makenotlost(short type, natid owner, short id, coord x, coord y)
+makenotlost(int type, natid owner, short id, coord x, coord y)
{
struct loststr lost;
int n;
* Else return -1.
*/
static int
-findlost(short type, natid owner, short id, coord x, coord y, int free)
+findlost(int type, natid owner, short id, coord x, coord y, int free)
{
struct loststr lost;
int n;