/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2013, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2021, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure, Markus Armbruster
*
* Empire is free software: you can redistribute it and/or modify
spy(void)
{
natid own;
- int relat;
+ enum relations relat;
coord x, y;
coord nx, ny;
int military;
btucost = (nsects / 40) + 1;
natp = getnatp(player->cnum);
if (natp->nat_btu < btucost) {
- pr("You don't have the BTU's for spying on that scale!\n");
+ pr("You don't have the BTUs for spying on that scale!\n");
return RET_FAIL;
}
bitmap = calloc((WORLD_SZ() + 7) / 8, 1);
static char *
player_relstr(natid them)
{
- int rel = relations_with(player->cnum, them);
+ enum relations rel = relations_with(player->cnum, them);
if (rel == ALLIED)
return "Allied";