diff --git a/src/common/attributes/attributes.c b/src/common/attributes/attributes.c index 2888a6c45..f5257e90d 100644 --- a/src/common/attributes/attributes.c +++ b/src/common/attributes/attributes.c @@ -1,6 +1,6 @@ /* vi: set ts=2: * - * $Id: attributes.c,v 1.6 2001/02/10 10:40:10 enno Exp $ + * $Id: attributes.c,v 1.7 2001/02/10 12:31:42 corwin Exp $ * Eressea PB(E)M host Copyright (C) 1998-2000 * Christian Schlittchen (corwin@amber.kn-bremen.de) * Katja Zedel (katze@felidae.kn-bremen.de) @@ -36,7 +36,7 @@ void init_attributes(void) { - at_register(&at_orcification); + /* at_register(&at_orcification); */ at_register(&at_overrideroads); /* at_iceberg */ init_iceberg(); diff --git a/src/corwin.mk b/src/corwin.mk index c3448132e..7586ecb5c 100644 --- a/src/corwin.mk +++ b/src/corwin.mk @@ -11,10 +11,5 @@ CC = gcc LD = gcc INSTALL = cp -CFLAGS += -DHAVE_GETCURX - -# ifdef DMALLOC -# LIBS += -ldmalloc -# CFLAGS += -DDMALLOC -# endif +# CFLAGS += -DIRGENDWAS diff --git a/src/mapper/Makefile.eressea b/src/mapper/Makefile.eressea deleted file mode 100644 index 3e56071d3..000000000 --- a/src/mapper/Makefile.eressea +++ /dev/null @@ -1,7 +0,0 @@ -CC = gcc -march=pentiumpro -DEBUG = -ggdb -LIBS = -lncurses -lm -lz - -CFLAGS = ${DEBUG} -Wall -Wno-char-subscripts -ansi -pedantic -I.. -DHAVE_GETCURX -DMAPPER -D_BSD_SOURCE -D_GNU_SOURCE -DHAVE_ZLIB -LDFLAGS = ${DEBUG} - diff --git a/src/mapper/map_tools.c b/src/mapper/map_tools.c index 2a8bb4a36..db3d8bf26 100644 --- a/src/mapper/map_tools.c +++ b/src/mapper/map_tools.c @@ -1,6 +1,6 @@ /* vi: set ts=2: * - * $Id: map_tools.c,v 1.5 2001/02/09 15:17:31 corwin Exp $ + * $Id: map_tools.c,v 1.6 2001/02/10 12:31:42 corwin Exp $ * Eressea PB(E)M host Copyright (C) 1998-2000 * Christian Schlittchen (corwin@amber.kn-bremen.de) * Katja Zedel (katze@felidae.kn-bremen.de) @@ -108,15 +108,7 @@ map_input(WINDOW * win, int x, int y, const char *text, int mn, int mx, int pre) curs_set(1); wprintw(win, (NCURSES_CONST char*)"%s (%d..%d): %d", text, mn, mx, pre); wrefresh(win); -#ifdef HAVE_GETCURX cx = getcurx(win) - strlen(lbuf); -#else - cx = (int)(x + strlen(text) + 7 + log10(abs(mn)) + log10(abs(mx))); - if (mx < 0) - cx++; - if (mn < 0) - cx++; -#endif val = strlen(lbuf); do { ch = getch();