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 b

⟦0ab530509⟧ TextFile

    Length: 5215 (0x145f)
    Types: TextFile
    Names: »build.h«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Spacewar/build.h« 

TextFile

/*
 * Spacewar - system configuration tables for player and alien ships
 *	      includes system name and offset
 *
 * Copyright 1984 obo Systems, Inc.
 * Copyright 1984 Dan Rosenblatt
 */

#define MAXSYS	11
#define MAXHTYP	9

#define HULL		0
#define SOLARE		1
#define ANTME		2
#define WARP		3
#define ROCKETS		4
#define DILITH		5
#define PHASERS		6
#define SHIELDS		7
#define TORPS		8
#define DMGCON		9
#define SECURITY	10

#ifndef BUILD
extern
#endif
char *subsysnam[MAXSYS]
#ifdef BUILD
	= {
	"Hull",
	"Solar E.",
	"Antm. E.",
	"Warp",
	"Rockets",
	"Dilith.",
	"Phasers",
	"Shields",
	"Torps.",
	"Dmg.Con.",
	"Security"
}
#endif
;

#ifndef BUILD
extern
#endif
struct sysc {
	long	sc_bsp;		/* system configuration base space */
	long	sc_bcr;		/* system configuration base crew */
	long	sc_fsp;		/* system configuration 100% space */
	long	sc_fcr;		/* system configuration 100% crew */
	char	sc_edmg;	/* system configuration ease of damage */
	short	sc_ilvl;	/* system configuration initial level */
	short	sc_cap;		/* system configuration capacity */
	char	sc_rpct;	/* system configuration recommended % */

} config[MAXSYS][MAXHTYP+1]
#ifdef BUILD
	= {	/* varies by system, hull */

/* Hull */{
	/* 0 */	{0},
	/* 1 */	{16500,	120,	0,	0,	40,	0,	15,	100},
	/* 2 */	{18000,	100,	0,	0,	40,	0,	12,	100},
	/* 3 */	{17500,	110,	0,	0,	40,	0,	9,	100},
	/* 4 */	{0,	0,	0,	0,	40,	0,	15,	100},
	/* 5 */	{0,	0,	0,	0,	35,	0,	12,	100},
	/* 6 */	{0,	0,	0,	0,	45,	0,	9,	100},
	/* 7 */	{0,	0,	0,	0,	40,	0,	10,	100},
	/* 8 */	{0,	0,	0,	0,	40,	0,	10,	100},
	/* 9 */	{0,	0,	0,	0,	40,	0,	10,	100}
	},

/* Solar E. */{
	/* 0 */	{0},
	/* 1 */ {250,	1,	450,	4,	100,	0,	35,	30},
	/* 2 */	{250,	1,	1000,	10,	100,	0,	50,	40},
	/* 3 */	{250,	1,	550,	5,	100,	0,	40,	35},
	/* 4 */	{0,	0,	0,	0,	100,	0,	35,	30},
	/* 5 */	{0,	0,	0,	0,	100,	0,	50,	40},
	/* 6 */	{0,	0,	0,	0,	100,	0,	40,	35},
	/* 7 */	{0,	0,	0,	0,	100,	0,	20,	80},
	/* 8 */	{0,	0,	0,	0,	100,	0,	25,	75},
	/* 9 */	{0,	0,	0,	0,	100,	0,	25,	70}
	},

/* Antm. E. */{
	/* 0 */	{0},
	/* 1 */ {500,	1,	2400,	8,	50,	0,	35,	100},
	/* 2 */	{500,	1,	1500,	5,	50,	0,	30,	100},
	/* 3 */	{500,	1,	3000,	10,	50,	0,	40,	100},
	/* 4 */	{0,	0,	0,	0,	70,	0,	50,	80},
	/* 5 */	{0,	0,	0,	0,	60,	0,	30,	100},
	/* 6 */	{0,	0,	0,	0,	65,	0,	40,	90},
	/* 7 */	{0,	0,	0,	0,	50,	0,	35,	70},
	/* 8 */	{0,	0,	0,	0,	50,	0,	45,	85},
	/* 9 */	{0,	0,	0,	0,	45,	0,	70,	100}
	},

/* Warp */{
	/* 0 */ {0},
	/* 1 */	{1000,	10,	2000,	20,	70,	3000,	3000,	100},
	/* 2 */	{1000,	10,	2500,	25,	70,	4000,	4000,	100},
	/* 3 */	{1000,	10,	5000,	40,	70,	7000,	7000,	100},
	/* 4 */	{0,	0,	0,	0,	70,	3000,	3000,	100},
	/* 5 */	{0,	0,	0,	0,	70,	4000,	4000,	90},
	/* 6 */	{0,	0,	0,	0,	70,	6000,	6000,	80},
	/* 7 */	{0,	0,	0,	0,	50,	2000,	2000,	100},
	/* 8 */	{0,	0,	0,	0,	60,	4000,	4000,	60},
	/* 9 */	{0,	0,	0,	0,	80,	10000,	10000,	50}
	},

/* Rockets */{
	/* 0 */	{0},
	/* 1 */	{200,	4,	5000,	20,	30,	7500,	15,	45},
	/* 2 */	{200,	4,	3750,	15,	30,	5625,	12,	30},
	/* 3 */	{200,	4,	2500,	10,	30,	3750,	9,	20},
	/* 4 */	{0,	0,	0,	0,	40,	10000,	15,	45},
	/* 5 */	{0,	0,	0,	0,	40,	10000,	12,	30},
	/* 6 */	{0,	0,	0,	0,	40,	10000,	9,	20},
	/* 7 */	{0,	0,	0,	0,	40,	10000,	20,	50},
	/* 8 */	{0,	0,	0,	0,	40,	10000,	25,	40},
	/* 9 */	{0,	0,	0,	0,	50,	10000,	8,	45}
	},

/* Dilith. */{
	/* 0 */	{0},
	/* 1 */	{500,	4,	4000,	10,	10,	5000,	5000,	50},
	/* 2 */	{500,	4,	4000,	10,	10,	5000,	5000,	50},
	/* 3 */	{500,	4,	4000,	10,	10,	5000,	5000,	50},
	/* 4 */	{0,	0,	0,	0,	10,	5000,	5000,	60},
	/* 5 */	{0,	0,	0,	0,	15,	5500,	5500,	50},
	/* 6 */	{0,	0,	0,	0,	10,	4500,	4500,	70},
	/* 7 */	{0,	0,	0,	0,	15,	5000,	5000,	55},
	/* 8 */	{0,	0,	0,	0,	20,	6000,	6000,	70},
	/* 9 */	{0,	0,	0,	0,	20,	5800,	5800,	65}
	},

/* Phasers */{
	/* 0 */	{0},
	/* 1 */	{500,	5,	2400,	8,	40,	0,	80,	70},
	/* 2 */	{500,	5,	2100,	7,	40,	0,	70,	80},
	/* 3 */	{500,	5,	3000,	10,	40,	0,	100,	100},
	/* 4 */	{0,	0,	0,	0,	40,	0,	150,	75},
	/* 5 */	{0,	0,	0,	0,	40,	0,	140,	80},
	/* 6 */	{0,	0,	0,	0,	40,	0,	160,	70},
	/* 7 */	{0,	0,	0,	0,	40,	0,	140,	60},
	/* 8 */	{0,	0,	0,	0,	45,	0,	170,	85},
	/* 9 */	{0,	0,	0,	0,	90,	0,	250,	100}
	},

/* Shields */{
	/* 0 */	{0},
	/* 1 */	{1500,	2,	700,	7,	20,	50,	70,	100},
	/* 2 */	{1500,	2,	1000,	10,	20,	50,	85,	90},
	/* 3 */	{1500,	2,	500,	5,	20,	50,	75,	90},
	/* 4 */ {0,	0,	0,	0,	20,	20,	70,	100},
	/* 5 */	{0,	0,	0,	0,	20,	20,	85,	90},
	/* 6 */	{0,	0,	0,	0,	20,	20,	60,	80},
	/* 7 */	{0,	0,	0,	0,	20,	20,	70,	80},
	/* 8 */	{0,	0,	0,	0,	50,	10,	50,	100},
	/* 9 */	{0,	0,	0,	0,	80,	10,	90,	75}
	},

/* Torps. */{
	/* 0 */	{0},
	/* 1 */	{1000,	6,	500,	5,	60,	35,	10,	20},
	/* 2 */	{1000,	6,	1000,	10,	60,	35,	20,	20},
	/* 3 */	{1000,	6,	600,	6,	60,	35,	12,	40}
	},

/* Dmg.Con. */{
	/* 0 */	{0},
	/* 1 */	{0,	1,	30,	30,	20,	0,	100,	100},
	/* 2 */	{0,	1,	30,	30,	20,	0,	100,	100},
	/* 3 */	{0,	1,	30,	30,	20,	0,	100,	100},
	/* 4 */	{0,	0,	0,	0,	20,	0,	80,	100},
	/* 5 */	{0,	0,	0,	0,	20,	0,	70,	100},
	/* 6 */	{0,	0,	0,	0,	20,	0,	80,	100},
	/* 7 */	{0,	0,	0,	0,	20,	0,	70,	100},
	/* 8 */	{0,	0,	0,	0,	20,	0,	80,	100},
	/* 9 */	{0,	0,	0,	0,	20,	0,	80,	100}
	},

/* Security */{
	/* 0 */	{0},
	/* 1 */	{0,	1,	30,	30,	20,	0,	100,	0},
	/* 2 */	{0,	1,	30,	30,	20,	0,	100,	0},
	/* 3 */	{0,	1,	30,	30,	20,	0,	100,	0}
	}
}
#endif
;