a few more coordxy inconsistencies

This commit is contained in:
nhmall
2023-03-11 15:12:02 -05:00
parent 74ed2999de
commit ae9b236ee6
4 changed files with 6 additions and 5 deletions

View File

@@ -2747,7 +2747,7 @@ extern boolean mount_steed(struct monst *, boolean);
extern void exercise_steed(void);
extern void kick_steed(void);
extern void dismount_steed(int);
extern void place_monster(struct monst *, int, int);
extern void place_monster(struct monst *, coordxy, coordxy);
extern boolean stucksteed(boolean);
/* ### symbols.c ### */
@@ -2870,7 +2870,7 @@ extern struct obj *tt_oname(struct obj *);
extern void initrack(void);
extern void settrack(void);
extern coord *gettrack(int, int);
extern coord *gettrack(coordxy, coordxy);
/* ### trap.c ### */

View File

@@ -381,7 +381,8 @@ dog_hunger(struct monst *mtmp, struct edog *edog)
static int
dog_invent(struct monst *mtmp, struct edog *edog, int udist)
{
int omx, omy, carryamt = 0;
coordxy omx, omy;
int carryamt = 0;
struct obj *obj, *otmp;
if (helpless(mtmp))

View File

@@ -833,7 +833,7 @@ stucksteed(boolean checkfeeding)
}
void
place_monster(struct monst* mon, int x, int y)
place_monster(struct monst* mon, coordxy x, coordxy y)
{
struct monst *othermon;
const char *monnm, *othnm;

View File

@@ -31,7 +31,7 @@ settrack(void)
}
coord *
gettrack(register int x, register int y)
gettrack(coordxy x, coordxy y)
{
register int cnt, ndist;
register coord *tc;