/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2007, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
#include <config.h>
+#include <stdlib.h>
+#include "file.h"
+#include "map.h"
#include "misc.h"
-#include "player.h"
-#include "xy.h"
#include "nat.h"
-#include "sect.h"
-#include "ship.h"
-#include "plane.h"
-#include "file.h"
#include "nsc.h"
-#include "prototypes.h"
#include "optlist.h"
+#include "plane.h"
+#include "player.h"
+#include "prototypes.h"
+#include "sect.h"
+#include "ship.h"
+#include "xy.h"
static void radmap2(int, int, int, int, int, double, int);
* want to do this in other places too where it doesn't matter. */
static char **rad;
static char *radbuf;
-static s_char **vis;
-static s_char *visbuf;
+static signed char **vis;
+static signed char *visbuf;
static void
radmap2(int owner,
}
}
if (!vis) {
- vis = malloc(WORLD_Y * sizeof(s_char *));
+ vis = malloc(WORLD_Y * sizeof(signed char *));
if (vis && visbuf) {
for (x = 0; x < WORLD_Y; x++)
vis[x] = &visbuf[(WORLD_X + 1) * x];