1:
2:
3:
4:
5:
6:
7: #include "include.h"
8:
9: double Circle;
10: double Shield;
11:
12: bool Beyond;
13: bool Marsh;
14: bool Throne;
15: bool Changed;
16: bool Wizard;
17: bool Timeout;
18: bool Windows;
19: bool Luckout;
20: bool Foestrikes;
21: bool Echo;
22:
23: int Users;
24: int Whichmonster;
25: int Lines;
26:
27: jmp_buf Fightenv;
28: jmp_buf Timeoenv;
29:
30: long Fileloc;
31:
32: const char *Login;
33: const char *Enemyname;
34:
35: struct player Player;
36: struct player Other;
37:
38: struct monster Curmonster;
39:
40: struct energyvoid Enrgyvoid;
41:
42: const struct charstats *Statptr;
43:
44:
45: const struct charstats Stattable[7] = {
46:
47: {
48: 15.0, 200.0, 18.0, 175.0, 10,
49: {30, 6, 0.0}, {10, 6, 2.0}, {50, 51, 75.0},
50: {30, 16, 20.0}, {60, 26, 6.0}, {5, 5, 2.75}
51: },
52:
53:
54: {
55: 10.0, 110.0, 15.0, 220.0, 20,
56: {30, 6, 0.0}, {40, 16, 3.0}, {30, 21, 40.0},
57: {45, 26, 30.0}, {25, 21, 3.0}, {3, 4, 1.5}
58: },
59:
60:
61: {
62: 12.0, 150.0, 17.0, 190.0, 13,
63: {32, 7, 0.0}, {35, 11, 2.5}, {45, 46, 65.0},
64: {30, 21, 25.0}, {40, 26, 4.0}, {4, 4, 2.0}
65: },
66:
67:
68: { 7.0, 80.0, 13.0, 255.0, 25,
69: {25, 6, 0.0}, {50, 21, 5.0}, {25, 21, 30.0},
70: {60, 41, 35.0}, {20, 21, 2.5}, {2, 4, 1.0}
71: },
72:
73:
74: {
75: 11.0, 80.0, 10.0, 125.0, 40,
76: {34, 0, 0.0}, {20, 6, 2.0}, {25, 21, 30.0},
77: {55, 36, 30.0}, {40, 36, 4.5}, {1, 4, 1.0}
78: },
79:
80:
81: { 9.0, 90.0, 16.0, 160.0, 20,
82: {27, 0, 0.0}, {25, 0, 0.0}, {100, 0, 0.0},
83: {35, 0, 0.0}, {25, 0, 0.0}, {2, 0, 0.0}
84: },
85:
86:
87: {
88: 15.0, 200.0, 10.0, 225.0, 40,
89: {38, 0, 0.0}, {65, 0, 5.0}, {100, 0, 75.0},
90: {80, 0, 35.0}, {85, 0, 6.0}, {9, 0, 2.75}
91: }
92: };
93:
94:
95: const struct menuitem Menu[] = {
96: {"Mana", 1},
97: {"Shield", 5},
98: {"Book", 200},
99: {"Sword", 500},
100: {"Charm", 1000},
101: {"Quicksilver", 2500},
102: {"Blessing", 1000},
103: };
104:
105: FILE *Playersfp;
106: FILE *Monstfp;
107: FILE *Messagefp;
108: FILE *Energyvoidfp;
109:
110: char Databuf[SZ_DATABUF];
111:
112:
113: const char Illcmd[] = "Illegal command.\n";
114: const char Illmove[] = "Too far.\n";
115: const char Illspell[] = "Illegal spell.\n";
116: const char Nomana[] = "Not enought mana for that spell.\n";
117: const char Somebetter[] = "But you already have something better.\n";
118: const char Nobetter[] = "That's no better than what you already have.\n";