couple of new routines (trunk only)

Groundwork for forthcoming stethoscope fix:  add an object list
traveral routine (there must be something like this already, but I
couldn't find it...) and a couple of timer access routines.
This commit is contained in:
nethack.rankin
2003-11-20 04:40:46 +00:00
parent a2a20c8c47
commit cf1b96c0e7
3 changed files with 69 additions and 9 deletions

View File

@@ -787,6 +787,7 @@ E void FDECL(freeinv, (struct obj *));
E void FDECL(delallobj, (int,int));
E void FDECL(delobj, (struct obj *));
E struct obj *FDECL(sobj_at, (int,int,int));
E struct obj *FDECL(nxtobj, (struct obj *,int,BOOLEAN_P));
E struct obj *FDECL(carrying, (int));
E boolean NDECL(have_lizard);
E struct obj *FDECL(o_on, (unsigned int,struct obj *));
@@ -2004,10 +2005,12 @@ E void FDECL(end_burn, (struct obj *, BOOLEAN_P));
E void NDECL(do_storms);
E boolean FDECL(start_timer, (long, SHORT_P, SHORT_P, genericptr_t));
E long FDECL(stop_timer, (SHORT_P, genericptr_t));
E long FDECL(peek_timer, (SHORT_P,genericptr_t));
E void NDECL(run_timers);
E void FDECL(obj_move_timers, (struct obj *, struct obj *));
E void FDECL(obj_split_timers, (struct obj *, struct obj *));
E void FDECL(obj_stop_timers, (struct obj *));
E boolean FDECL(obj_has_timer, (struct obj *,SHORT_P));
E void FDECL(spot_stop_timers, (XCHAR_P,XCHAR_P,SHORT_P));
E long FDECL(spot_time_expires, (XCHAR_P,XCHAR_P,SHORT_P));
E long FDECL(spot_time_left, (XCHAR_P,XCHAR_P,SHORT_P));