makemon and goodpos flags
I added another goodpos flag to simplify handling displacer beast and that pushed the total number of makemon and goodpos flags past 16. 'int' and 'unsigned' might be too small, so change the flags and several function arguments to 'long'.
This commit is contained in:
@@ -1225,8 +1225,8 @@ E void FDECL(newmonhp, (struct monst *, int));
|
||||
E struct mextra *NDECL(newmextra);
|
||||
E void FDECL(copy_mextra, (struct monst *, struct monst *));
|
||||
E void FDECL(dealloc_mextra, (struct monst *));
|
||||
E struct monst *FDECL(makemon, (struct permonst *, int, int, int));
|
||||
E struct monst *FDECL(unmakemon, (struct monst *, int));
|
||||
E struct monst *FDECL(makemon, (struct permonst *, int, int, long));
|
||||
E struct monst *FDECL(unmakemon, (struct monst *, long));
|
||||
E boolean FDECL(create_critters, (int, struct permonst *, BOOLEAN_P));
|
||||
E struct permonst *NDECL(rndmonst);
|
||||
E struct permonst *FDECL(mkclass, (CHAR_P, int));
|
||||
@@ -2584,10 +2584,10 @@ E boolean FDECL(stucksteed, (BOOLEAN_P));
|
||||
/* ### teleport.c ### */
|
||||
|
||||
E boolean FDECL(noteleport_level, (struct monst *));
|
||||
E boolean FDECL(goodpos, (int, int, struct monst *, unsigned));
|
||||
E boolean FDECL(goodpos, (int, int, struct monst *, long));
|
||||
E boolean FDECL(enexto, (coord *, XCHAR_P, XCHAR_P, struct permonst *));
|
||||
E boolean FDECL(enexto_core, (coord *, XCHAR_P, XCHAR_P,
|
||||
struct permonst *, unsigned));
|
||||
struct permonst *, long));
|
||||
E void FDECL(teleds, (int, int, int));
|
||||
E boolean FDECL(safe_teleds, (int));
|
||||
E boolean FDECL(teleport_pet, (struct monst *, BOOLEAN_P));
|
||||
|
||||
Reference in New Issue
Block a user