]> granicus.if.org Git - nethack/commit
DEBUG/debugpline() fixup
authorPatR <rankin@nethack.org>
Mon, 16 Mar 2015 01:02:26 +0000 (18:02 -0700)
committerPasi Kallinen <paxed@alt.org>
Tue, 17 Mar 2015 16:47:31 +0000 (18:47 +0200)
commit058299aa3a6d4ed095f0f5d0f60abacab30558d3
tree0f27be454243e40c673379ff535f08550513f614
parent4c28a96b92bf062bad13b8d2a9ccdda4a7c240e2
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