DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T d

⟦a3b8a0209⟧ TextFile

    Length: 1205 (0x4b5)
    Types: TextFile
    Names: »data.c«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/X/Xtrek/data.c« 

TextFile

static char sccsid[] = "@(#)data.c	1.1";

/*

	Copyright (c) 1986 	Chris Guthrie

Permission to use, copy, modify, and distribute this
software and its documentation for any purpose and without
fee is hereby granted, provided that the above copyright
notice appear in all copies and that both that copyright
notice and this permission notice appear in supporting
documentation.  No representations are made about the
suitability of this software for any purpose.  It is
provided "as is" without express or implied warranty.

*/

#include <X11/Xlib.h>
#include "defs.h"
#include "data.h"

int	xtrek_socket;

struct player players[MAXPLAYER];
struct torp torps[MAXPLAYER * MAXTORP];
struct status status[1];
struct planet planets[MAXPLANETS];
struct phaser phasers[MAXPLAYER];
struct message messages[MAXMESSAGE];
struct mctl mctl[MAXMESSAGE];

int 	remap[9] = { 0, 1, 2, -1, 3, -1, -1, -1, 4 };
int	udcounter;
int	debug = 0;
int	tcount[MAXTEAM + 1];

double	Sin[], Cos[];		 /* Initialized in sintab.c */

char teamlet[] = {'I', 'F', 'R', 'X', 'K', 'X', 'X', 'X', 'O'};
char *teamshort[9] = {"IND", "FED", "ROM", "X", "KLI", "X", "X", "X", "ORI"};
char *rnames[4] = { "M5", "Colossus", "Guardian", "HAL" };