forked from github/server
- Plane-Id wieder in der Zugvorlage
This commit is contained in:
parent
189bcb5ac3
commit
34a83b6d20
|
@ -15,7 +15,7 @@ INSTALL = @cp
|
|||
#INSTALL = install
|
||||
|
||||
|
||||
ARFLAGS = cr
|
||||
ARFLAGS = crs
|
||||
CTAGSFLAGS = --langmap=c:.c.h --c-types=-m
|
||||
CFLAGS = -I$(ERESSEA) -Wall -Wwrite-strings -Wstrict-prototypes \
|
||||
-Wpointer-arith -Werror-implicit-function-declaration \
|
||||
|
@ -68,8 +68,8 @@ endif
|
|||
|
||||
ifeq ($(CONFIG), debug)
|
||||
BUILD_DIR = Debug-$(ARCHITECTURE)
|
||||
CFLAGS += -g
|
||||
LDFLAGS += -g
|
||||
CFLAGS += -ggdb
|
||||
LDFLAGS += -ggdb
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG), release)
|
||||
|
@ -80,14 +80,14 @@ endif
|
|||
|
||||
ifeq ($(CONFIG), profile)
|
||||
BUILD_DIR = Profile-$(ARCHITECTURE)
|
||||
CFLAGS += -g -pg -O4 -funroll-loops
|
||||
LDFLAGS += -g -pg
|
||||
CFLAGS += -ggdb -pg -O4 -funroll-loops
|
||||
LDFLAGS += -ggdb -pg
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG), dmalloc)
|
||||
BUILD_DIR = Dmalloc-$(ARCHITECTURE)
|
||||
CFLAGS += -g -DDMALLOC
|
||||
LDFLAGS += -g
|
||||
CFLAGS += -ggdb -DDMALLOC
|
||||
LDFLAGS += -ggdb
|
||||
LIBS += -ldmalloc
|
||||
endif
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* vi: set ts=2:
|
||||
*
|
||||
* $Id: report.c,v 1.13 2001/02/10 13:20:33 corwin Exp $
|
||||
* $Id: report.c,v 1.14 2001/02/11 19:55:00 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)
|
||||
|
@ -1320,8 +1320,13 @@ order_template(FILE * F, faction * f)
|
|||
if (pl && fval(pl, PFL_NOCOORDS)) {
|
||||
sprintf(buf, "REGION; %s", rname(r, f->locale));
|
||||
} else {
|
||||
sprintf(buf, "REGION %d,%d ; %s", region_x(r,f),
|
||||
if(pl->id != 0) {
|
||||
sprintf(buf, "REGION %d,%d,%d ; %s", region_x(r,f),
|
||||
region_y(r,f), rname(r, f->locale), pl->id);
|
||||
} else {
|
||||
sprintf(buf, "REGION %d,%d ; %s", region_x(r,f),
|
||||
region_y(r,f), rname(r, f->locale));
|
||||
}
|
||||
}
|
||||
rps_nowrap(F, buf);
|
||||
rnl(F);
|
||||
|
|
|
@ -4,10 +4,9 @@ ifndef ERESSEA
|
|||
endif
|
||||
|
||||
# Hier definieren, damit nicht '@gcc'
|
||||
CC = gcc
|
||||
CC = colorgcc
|
||||
AR = ar
|
||||
CTAGS = ctags
|
||||
CC = gcc
|
||||
LD = gcc
|
||||
INSTALL = cp
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* vi: set ts=2:
|
||||
*
|
||||
* $Id: main.c,v 1.13 2001/02/10 22:02:10 enno Exp $
|
||||
* $Id: main.c,v 1.14 2001/02/11 19:55:00 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)
|
||||
|
@ -533,12 +533,6 @@ main(int argc, char *argv[])
|
|||
kernel_init();
|
||||
game_init();
|
||||
|
||||
{
|
||||
FILE * F = fopen("c:\\messagetypes.txt", "wt");
|
||||
debug_messagetypes(F);
|
||||
fclose(F);
|
||||
}
|
||||
|
||||
if ((i=readgame(false))!=0) return i;
|
||||
if ((i=processturn(orders))!=0) return i;
|
||||
|
||||
|
|
Loading…
Reference in New Issue