#include <stdio.h>
#include "phantdefs.h"
#include "phantstruct.h"
double Circle;
double Shield;
bool Beyond;
bool Marsh;
bool Throne;
bool Changed;
bool Wizard;
bool Timeout;
bool Windows;
bool Luckout;
bool Foestrikes;
bool Echo;
int Users;
int Whichmonster;
int Lines;
char Ch_Erase;
char Ch_Kill;
long Fileloc;
const char *Login;
char *Enemyname;
struct player Player;
struct player Other;
struct monster Curmonster;
struct energyvoid Enrgyvoid;
struct charstats *Statptr;
struct charstats Stattable[7] = {
{
15.0, 200.0, 18.0, 175.0, 10,
{30, 6, 0.0}, {10, 6, 2.0}, {50, 51, 75.0},
{30, 16, 20.0}, {60, 26, 6.0}, {5, 5, 2.75}
},
{
10.0, 110.0, 15.0, 220.0, 20,
{30, 6, 0.0}, {40, 16, 3.0}, {30, 21, 40.0},
{45, 26, 30.0}, {25, 21, 3.0}, {3, 4, 1.5}
},
{
12.0, 150.0, 17.0, 190.0, 13,
{32, 7, 0.0}, {35, 11, 2.5}, {45, 46, 65.0},
{30, 21, 25.0}, {40, 26, 4.0}, {4, 4, 2.0}
},
{ 7.0, 80.0, 13.0, 255.0, 25,
{25, 6, 0.0}, {50, 21, 5.0}, {25, 21, 30.0},
{60, 41, 35.0}, {20, 21, 2.5}, {2, 4, 1.0}
},
{
11.0, 80.0, 10.0, 125.0, 40,
{34, 0, 0.0}, {20, 6, 2.0}, {25, 21, 30.0},
{55, 36, 30.0}, {40, 36, 4.5}, {1, 4, 1.0}
},
{ 9.0, 90.0, 16.0, 160.0, 20,
{27, 0, 0.0}, {25, 0, 0.0}, {100, 0, 0.0},
{35, 0, 0.0}, {25, 0, 0.0}, {2, 0, 0.0}
},
{
15.0, 200.0, 10.0, 225.0, 40,
{38, 0, 0.0}, {65, 0, 5.0}, {100, 0, 75.0},
{80, 0, 35.0}, {85, 0, 6.0}, {9, 0, 2.75}
}
};
struct menuitem Menu[] = {
{"Mana", 1},
{"Shield", 5},
{"Book", 200},
{"Sword", 500},
{"Charm", 1000},
{"Quicksilver", 2500},
{"Blessing", 1000},
};
FILE *Playersfp;
FILE *Monstfp;
FILE *Messagefp;
FILE *Energyvoidfp;
char Databuf[SZ_DATABUF];
char Illcmd[] = "Illegal command.\n";
char Illmove[] = "Too far.\n";
char Illspell[] = "Illegal spell.\n";
char Nomana[] = "Not enought mana for that spell.\n";
char Somebetter[] = "But you already have something better.\n";
char Nobetter[] = "That's no better than what you already have.\n";