comparison src/shmemP.h @ 6:8c6d5731234d

First entry of Paradise Server 2.9 patch 10 Beta
author darius
date Sat, 06 Dec 1997 04:37:04 +0000
parents
children
comparison
equal deleted inserted replaced
5:054275999194 6:8c6d5731234d
1 /*--------------------------------------------------------------------------
2 NETREK II -- Paradise
3
4 Permission to use, copy, modify, and distribute this software and its
5 documentation, or any derivative works thereof, for any NON-COMMERCIAL
6 purpose and without fee is hereby granted, provided that this copyright
7 notice appear in all copies. No representations are made about the
8 suitability of this software for any purpose. This software is provided
9 "as is" without express or implied warranty.
10
11 Xtrek Copyright 1986 Chris Guthrie
12 Netrek (Xtrek II) Copyright 1989 Kevin P. Smith
13 Scott Silvey
14 Paradise II (Netrek II) Copyright 1993 Larry Denys
15 Kurt Olsen
16 Brandon Gillespie
17 --------------------------------------------------------------------------*/
18
19
20 #ifndef _shmemP_h
21 #define _shmemP_h
22
23 struct memory
24 {
25 int shmem_size; /* sizeof(struct memory) sort of a magic
26 * number so that we don't connect an
27 * obsolete program to the shmem. */
28 struct player players[MAXPLAYER];
29 struct torp torps[MAXPLAYER * MAXTORP];
30 struct missile missiles[MAXPLAYER * NPTHINGIES];
31 struct thingy thingies[NGTHINGIES];
32 struct plasmatorp plasmatorps[MAXPLAYER * MAXPLASMA];
33 struct status status;
34 struct status2 status2;
35 struct planet planets[MAXPLANETS];
36 struct t_unit terrain_grid[(MAX_GWIDTH / TGRID_GRANULARITY) *
37 (MAX_GWIDTH / TGRID_GRANULARITY)];
38 struct phaser phasers[MAXPLAYER];
39 int stars[MAXPLANETS + 1]; /* indices of the stars in the game, indexed
40 * on system number */
41 struct mctl mctl;
42 struct message messages[MAXMESSAGE];
43 struct team teams[MAXTEAM + 1];
44
45 struct ship shipvals[NUM_TYPES];
46 struct configuration configvals;
47 char cluephrase_storage[CLUEPHRASE_SIZE];
48 char galaxyValid[MAXPLAYER];
49 };
50
51 #endif /* _shmemP_h */