home *** CD-ROM | disk | FTP | other *** search
-
- /*#include <biosmwc.h>*/
- #include <obdefs.h>
- /*#include <gemdefs.h> */
- #include <osbind.h>
- #include <gembind.h>
- /*#include <portab.h>*/
- #include <stdio.h>
- #include <math.h>
-
- #define AUX 1
- #define CON 2
- #define FALSE 0
- #define TRUE 1
- #define MAX 35
- #define NONE 0
- #define YOU 1
- #define MOON 2
- #define OTHER 3
- #define ALIEN 4
- #define CLK_TCK 200
- #define NULL 0
- #define SHIELDS 0
- #define TORPEDOS 1
- #define PHASORS 2
- #define ENGINES 3
-
- char string[200], *stp, user[30];
- char others[30][30]; /* couldnt have more than 30 players in same sector? */
-
- static int brd[35][35], old, a, b, zap, more, its, aatk, d, q,
- num_recs, calltype, loc, pc, nocry;
- int a_dam = 100, t, xlock, ylock, alock, anum, aflag, holy, turn_left =36,
- stot=200, ptot=20, ttot=10, etot=100, bang = 0, eang = 10;
-
- static struct rec {
- int px;
- int py;
- char name[30];
- int energy;
- int phasor;
- int torpedo;
- int shield;
- int crystal;
- int score;
- int class; /* 0=dead, 1=fed, 2=cling, 3=romul */
- char rec_messg[240];
- }u[50],*p,*enemy;
-
- static struct plant {
- int ppx; /* sector location */
- int ppy; /* sub sector location */
- int align; /* mean / med / nice */
- int class; /* rich / med / poor */
- char name[20];
- }pl[35];
-
- char *list[35]= {
- "Plateium", "Dier Auz ", "Zue-Karr ", "Perrwentz", "Mongloed",
- "Strasoid", "Fretraopia", "Lunroidz ", "Ricq Temple", "Cloidistra ",
- "Star-Twene", "Zathrium ", "Dilipia ", "Enmarkoi", "Yowquet ",
- "Loacred", "Plawthenian", "Alfa-Sret", "Oriostreew", "Ninusphere",
- "Jutonian", "Gamma-1 ", "Tortratus", "Mine-flus ", "Gamma-2",
- "Orickrus", "Tgustasis ", "Kquar", "Zaet", "Arenoplates", "Zeta-1",
- "Zeta-2", "Kron-Drift", "FearSphere", "Rocus"
- };
-