X-Git-Url: http://git.pond.sub.org/?p=empserver;a=blobdiff_plain;f=include%2Fplane.h;h=35a807b1b02e689fc1f89f0e2bf6f3c90ed2c859;hp=58d29bc2d7b596f6e62194f05f48c9914c3603f0;hb=HEAD;hpb=d111522fe821f0e606161ed75e0e18523f793469 diff --git a/include/plane.h b/include/plane.h index 58d29bc2d..35a807b1b 100644 --- a/include/plane.h +++ b/include/plane.h @@ -1,6 +1,6 @@ /* * Empire - A multi-player, client/server Internet based war game. - * Copyright (C) 1986-2018, 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 @@ -30,7 +30,7 @@ * Dave Pare, 1986 * Ken Stevens, 1995 * Steve McClure, 1998 - * Markus Armbruster, 2004-2016 + * Markus Armbruster, 2004-2020 */ #ifndef PLANE_H @@ -41,7 +41,6 @@ #include "queue.h" #include "types.h" -#define PLN_TYPE_MAX 46 #define PLANE_MINEFF 10 struct plnstr { @@ -135,7 +134,8 @@ struct plist { #define putplane(n, p) ef_write(EF_PLANE, (n), (p)) #define getplanep(n) ((struct plnstr *)ef_ptr(EF_PLANE, (n))) -extern struct plchrstr plchr[PLN_TYPE_MAX + 2]; +#define PLCHR_SZ 128 +extern struct plchrstr plchr[PLCHR_SZ]; struct shiplist { int uid;