home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
games
/
volume11
/
bt
/
part01
/
bt.h
< prev
next >
Wrap
Text File
|
1990-12-11
|
1KB
|
50 lines
/* bt.h- declarations and controlling constants for Broken Throne.
Copyright 1990 by Tom Boutell. */
#define _MAPX 16
#define _MAPY 16
#define _SPEED 5
#define _MAXPLAYERS 6
#define _CITYCOST 90
#define _DESTROYCOST 10
#define _HEXSTATUS 65
#define _PLAYERSTATUS 66
#define _PLAYERDEAD 67
#define _ACTION 68
#define _TEXT 69
#define _STARTUP 70
#define _END 71
#define _YOUARE 72
#define _MOVE 65
#define _RECRUIT 66
#define _QUIT 67
#define _PRIVATE 68
#define _TELLALL 69
#define _DISCONNECT 70
#define _CONSTRUCT 71
#define _DESTROY 72
hex map[_MAPX][_MAPY];
player players[20];
int currentplayer;
int totalplayers;
int currenttime;
int living;
/* Beware terrain type zero... existing to keep C happy. */
void move(); /* location from,location to,int number */
void tellcurrentplayer(); /* char* fmt, variable args */
void setupmap();
void recruit(); /* location at */
int legal(); /* int x,int y */
void killplayer(); /* int player */
char* namelocation(); /* location at */
char* nameplayer(); /* int player */
int cost(); /* int x,y */
void destroy(); /* location at */
void construct(); /* location at */