add some debugging BREADCRUMBS to identify caller of some functions
Only takes effect if a developer uncomments BREADCRUMBS in config.h
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 extern.h $NHDT-Date: 1559422206 2019/06/01 20:50:06 $ $NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.707 $ */
|
||||
/* NetHack 3.6 extern.h $NHDT-Date: 1559601014 2019/06/03 22:30:14 $ $NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.708 $ */
|
||||
/* Copyright (c) Steve Creps, 1988. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -127,8 +127,15 @@ E void FDECL(uchangealign, (int, int));
|
||||
|
||||
E void FDECL(ballrelease, (BOOLEAN_P));
|
||||
E void NDECL(ballfall);
|
||||
#ifndef BREADCRUMBS
|
||||
E void NDECL(placebc);
|
||||
E void NDECL(unplacebc);
|
||||
#else
|
||||
E void FDECL(Placebc, (const char *, int));
|
||||
E void FDECL(Unplacebc, (const char *, int));
|
||||
#define placebc() Placebc(__FUNCTION__, __LINE__)
|
||||
#define unplacebc() Unplacebc(__FUNCTION__, __LINE__)
|
||||
#endif
|
||||
E void FDECL(set_bc, (int));
|
||||
E void FDECL(move_bc, (int, int, XCHAR_P, XCHAR_P, XCHAR_P, XCHAR_P));
|
||||
E boolean FDECL(drag_ball, (XCHAR_P, XCHAR_P, int *, xchar *, xchar *,
|
||||
|
||||
Reference in New Issue
Block a user