]> granicus.if.org Git - nethack/commit
DEBUG/debugpline() fixup
authorPatR <rankin@nethack.org>
Mon, 16 Mar 2015 01:02:26 +0000 (18:02 -0700)
committerPatR <rankin@nethack.org>
Mon, 16 Mar 2015 01:02:26 +0000 (18:02 -0700)
commit14525ed0c67ad95993113c56fb3e821539f04c5a
tree0f27be454243e40c673379ff535f08550513f614
parentde8e1a5a9d20be654e5cab1c35b1afea364be81d
DEBUG/debugpline() fixup

 * Replace variadic debugpline() with fixed argument debugpline0(str),
   debugpline1(fmt,arg), and so on so that C99 support isn't required;
 * showdebug() becomes a function rather than a macro and handles a
   bit more;
 * two debugpline() calls in light.c have been changed to impossible();
 * DEBUGFILES macro (in sys.c) can substitute for SYSCF's DEBUGFILES
   setting in !SYSCF configuration (I hope that's temporary).
27 files changed:
include/extern.h
include/hack.h
src/apply.c
src/attrib.c
src/bones.c
src/dbridge.c
src/dig.c
src/dungeon.c
src/eat.c
src/files.c
src/light.c
src/makemon.c
src/mklev.c
src/mkmaze.c
src/mkobj.c
src/mon.c
src/pickup.c
src/questpgr.c
src/restore.c
src/rnd.c
src/save.c
src/shk.c
src/sp_lev.c
src/sys.c
src/teleport.c
src/zap.c
win/tty/wintty.c