a couple of follow-ups

This commit is contained in:
nhmall
2022-07-02 09:21:58 -04:00
parent 3004cf2d34
commit 75c5f3713f
2 changed files with 4 additions and 4 deletions

View File

@@ -2557,7 +2557,7 @@ extern void set_selection_floodfillchk(int(*)(coordxy, coordxy));
extern void selection_floodfill(struct selectionvar *, coordxy, coordxy, boolean); extern void selection_floodfill(struct selectionvar *, coordxy, coordxy, boolean);
extern boolean pm_good_location(coordxy, coordxy, struct permonst *); extern boolean pm_good_location(coordxy, coordxy, struct permonst *);
extern void get_location_coord(coordxy *, coordxy *, int, struct mkroom *, long); extern void get_location_coord(coordxy *, coordxy *, int, struct mkroom *, long);
extern void selection_setpoint(coordxy, coordxy, struct selectionvar *, coordxy); extern void selection_setpoint(coordxy, coordxy, struct selectionvar *, int);
extern struct selectionvar * selection_not(struct selectionvar *); extern struct selectionvar * selection_not(struct selectionvar *);
extern void selection_filter_percent(struct selectionvar *, int); extern void selection_filter_percent(struct selectionvar *, int);
extern int selection_rndcoord(struct selectionvar *, coordxy *, coordxy *, extern int selection_rndcoord(struct selectionvar *, coordxy *, coordxy *,
@@ -2568,7 +2568,7 @@ extern void selection_do_line(coordxy, coordxy, coordxy, coordxy,
extern void selection_do_randline(coordxy, coordxy, coordxy, coordxy, schar, schar, extern void selection_do_randline(coordxy, coordxy, coordxy, coordxy, schar, schar,
struct selectionvar *); struct selectionvar *);
extern struct selectionvar *selection_filter_mapchar(struct selectionvar *, extern struct selectionvar *selection_filter_mapchar(struct selectionvar *,
coordxy, int); xint16, int);
extern void set_floodfillchk_match_under(coordxy); extern void set_floodfillchk_match_under(coordxy);
extern void selection_do_ellipse(struct selectionvar *, int, int, int, int, extern void selection_do_ellipse(struct selectionvar *, int, int, int, int,
int); int);

View File

@@ -4345,7 +4345,7 @@ selection_getpoint(coordxy x, coordxy y, struct selectionvar* sel)
} }
void void
selection_setpoint(coordxy x, coordxy y, struct selectionvar* sel, coordxy c) selection_setpoint(coordxy x, coordxy y, struct selectionvar* sel, int c)
{ {
if (!sel || !sel->map) if (!sel || !sel->map)
return; return;
@@ -4369,7 +4369,7 @@ selection_not(struct selectionvar* s)
} }
struct selectionvar * struct selectionvar *
selection_filter_mapchar(struct selectionvar* ov, coordxy typ, int lit) selection_filter_mapchar(struct selectionvar* ov, xint16 typ, int lit)
{ {
int x, y; int x, y;
struct selectionvar *ret; struct selectionvar *ret;