home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
games
/
volume15
/
dinkum2
/
part01
/
dink_glb.h
next >
Wrap
C/C++ Source or Header
|
1993-01-27
|
37KB
|
807 lines
/***************************************************************/
/* */
/* --- Global Variables Header File --- */
/* */
/* Software by Gary A. Allen, Jr. 3 January 1993 */
/* (c) Copyright 1993 by Gary A. Allen, Jr. */
/* */
/***************************************************************/
/* repeated global varaiable dimenions */
#define DM_letmax 322 /* DM_letmax = DM_vocab - 1 */
#define DM_vocab 323
#define DM_tag 324 /* DM_tag = DM_vocab + 1 */
#define DM_room 249
#define DM_object 69
#define DM_objcnt 68 /* DM_objcnt = DM_object - 1 */
#define DM_enemy_cnt_m1 14
#define DM_enemy_cnt 15
/***************************************************************/
#ifdef DINKUM
extern int room[DM_room][16] ;
extern int objcnt ;
extern int object[DM_object][6] ;
extern int tag[DM_tag] ;
extern int sw_transport ;
int gleep_count = 0 ; /* gleeps being carried */
int verb, max_score = 1100 ;
int sw_wizard = FALSE, sw_script = FALSE ;
long clock_explode ;
int sw_warned, flag_clock, sw_clock = FALSE, i_poison = 0 ;
/* gleep initialization matrix */
int gleep_init[10][4] = {
97, 98, 101, 102,
98, 99, 102, 103,
99, 100, 103, 96,
100, 101, 96, 97,
101, 102, 97, 98,
102, 103, 98, 99,
103, 96, 99, 100,
134, 132, 136, 137,
69, 66, 90, 89,
74, 72, 68, 92
};
int gleep_spot[10] ; /* gleep reproduction room pointer array */
int gleep_score = 0 ; /* gleeps dropped in the gleep tank */
/* monster matrix initialization matrix */
/* --- NEVER have a monster initialized next to the */
/* Mutant Wombat. This leads to an intractable bug */
/* which need to be solved for eventually but is currently */
/* swept under the carpet. */
int mon_init[DM_enemy_cnt][4] = {
/* Mutant Wombat */
139, 67, 86, 115,
/* Drop Bears */
77, 75, 78, 79,
103, 97, 98, 71,
64, 60, 62, 93,
67, 81, 66, 75,
/* Hoop Snakes */
93, 95, 94, 64,
75, 73, 76, 67,
71, 128, 67, 77,
52, 53, 51, 103,
115, 114, 113, 129,
131, 130, 129, 80,
119, 120, 118, 84,
109, 87, 83, 52,
/* Revolutionary Guards */
241, 241, 241, 241,
/* Chief Mullah */
242, 242, 242, 242
} ;
/* object matrix initialization matrix */
/* --- The orange ammo clip should not be set in a dead end, otherwise */
/* that version of the game is almost unwinnable due to the wombat. */
int obj_init_max = 50 ;
int obj_init[51][5] = {
O_can, 1, 1, 1, 1,
O_butt, 165, 166, 161, 152,
O_bottle, 2, 2, 2, 2,
O_gold, 54, 53, 55, 56,
O_dynamite, 78, 91, 69, 117,
O_clip, 48, 52, 52, 48,
O_org_clip, 80, 68, 113, 99,
O_rifle, 48, 56, 48, 52,
O_cap, 183, 184, 183, 184,
O_matches, 69, 85, 78, 121,
O_ring, 87, 135, 127, 105,
O_ruby, 99, 106, 114, 74,
O_coin, 127, 127, 87, 87,
O_bill, 135, 87, 135, 127,
O_pills, 85, 83, 91, 78,
O_saphire, 91, 78, 85, 69,
O_emerald, 68, 74, 117, 66,
O_letter, 177, 177, 177, 177,
O_torch, 92, 114, 66, 53,
O_cube, 202, 202, 202, 202,
O_wrapper, 171, 216, 239, 101,
O_tire, 47, 47, 47, 47,
O_shell, 82, 107, 213, 175,
O_brick, 33, 33, 33, 33,
O_rope, 209, 179, 181, 155,
O_package, 156, 137, 95, 113,
O_belt, 21, 21, 21, 21,
O_filter, 142, 142, 142, 142,
O_string, 204, 88, 118, 167,
O_umbrella, 37, 37, 37, 37,
O_tackle, 9, 9, 9, 9,
O_bit, 105, 117, 90, 184,
O_jack, 81, 81, 81, 81,
O_pen, 177, 177, 177, 177,
O_pencil, 202, 202, 202, 202,
O_wire, 214, 154, 159, 151,
O_pipe, 206, 239, 166, 151,
O_opener, 63, 62, 61, 60,
O_cord, 80, 131, 119, 79,
O_photo, 206, 160, 155, 180,
O_chair, 177, 177, 177, 177,
O_bulb, 154, 162, 164, 181,
O_rag, 92, 89, 73, 132,
O_tube, 139, 121, 129, 132,
O_carpet, 41, 41, 41, 41,
O_branch, 28, 28, 28, 28,
O_cork, 130, 122, 115, 109,
O_trap, 146, 146, 146, 146,
O_lighter, 210, 213, 46, 79,
O_lace, 126, 136, 67, 72,
O_comb, 164, 157, 156, 172
} ;
/************************************************/
/* --- Monster Types --- */
/* */
/* Monster Type */
/* = 0 = N_ned = Ned Kelly */
/* = 1 = N_wombat = Mutant Wombat */
/* = (2 - 5) = Drop Bears (four total) */
/* = (6 - 13) = Hoop Snakes (eight total) */
/* = 14 = Revolutionary Guards */
/* = 15 = Chief Mullah */
/* */
/************************************************/
int enemy_max = DM_enemy_cnt ;
struct monster_struct *monster_start ;
struct monster_struct *Ned ;
struct monster_struct *Guards ;
struct monster_struct *Wombat ;
struct monster_struct *Mullah ;
int score = 0 ;
int monster_flag = F_no_monster ;
int carry_count, carry_weight ;
#endif
/***************************************************************/
#ifdef OBJLKR
extern int tag[DM_tag] ;
extern int sw_warned, score, gleep_score, max_score, sw_wizard, sw_script ;
extern struct monster_struct *Ned ;
/* a switch used in the "kelly" subroutine */
int sw_valuable = FALSE ;
/* layout matrix for game */
/* n = room number */
/* The direction elements contain the adjoining room or a wall */
/* if the element value is negative. */
/* room[n][0] = north direction */
/* room[n][1] = south direction */
/* room[n][2] = east direction */
/* room[n][3] = west direction */
/* room[n][4] = up direction */
/* room[n][5] = down direction */
/* room[n][6] = north-east direction */
/* room[n][7] = north-west direction */
/* room[n][8] = south-east direction */
/* room[n][9] = south-west direction */
/* room[n][10] points to the room type */
/* = -1 == instantly lethal */
/* = 1 == long description */
/* = 2 == contains a nonmovable action device */
/* = 3 == used to have a long description */
/* = 4 == contains a nonmovable device */
/* = 5 == room goes into itself (looping) */
/* room[n][11] flag indicates number of objects in room. */
/* room[n][12] is the room status number as refered by type */
/* room[n][13] is the monster indicater, 0 = no monsters */
/* room[n][14] is the gleep count */
/* room[n][15] points to the description text file */
int room [DM_room][16] = {
3, 2, 1, 15, -1, -1, 1, 15, 3, 2, 0, 0, 0, 0, 0, 0,
6, 2, 20, 0, -1, -1, 0, 3, 0, 2, 0, 0, 0, 0, 0, 1,
28, 11, 29,148, -1, -1, 29, 11, 28,148, 0, 0, 0, 0, 0, 2,
4, 0, 6, 4, -1, -1, 2, 1, 4, 2, 0, 0, 0, 0, 0, 3,
5, 9, 4, 4, -1, -1, 5, 5, 9, 9, 5, 0, 0, 0, 0, 4,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 5,
3, 14, 47, 3, -1, -1, 2, 3, 14, 3, 1, 0, 0, 0, 0, 6,
14, 8, 14, 8, -1, -1, 14, 14, 8, 8, 0, 0, 0, 0, 0, 7,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 8,
4, 1, 6, 4, -1, -1, 0, 2, 0, 1, 0, 0, 0, 0, 0, 9,
14, 6, 14, 3, -1, -1, 6, 14, 6, 14, 0, 0, 0, 0, 0, 10,
28, 12, 28, 12, -1, -1, 12, 28, 3, 6, 1, 0, 0, 0, 0, 11,
11, 13, 12, 13, -1, -1, 13, 12, 11, 13, 5, 0, 0, 0, 0, 12,
13, 13, 13, 13, -1, -1, 13, 13, 13, 12, 5, 0, 0, 0, 0, 13,
6, 7, 7, 10, -1, -1, 6, 10, 7, 7, 0, 0, 0, 0, 0, 14,
147,148, 0, 16, -1, -1, 0,147, 0,148, 0, 0, 0, 0, 0, 15,
19, 19, 16, 17, -1, -1, 19, 19, 17, 17, 5, 0, 0, 0, 0, 16,
16, 16, 16, 18, -1, -1, 16, 16, 18, 16, 0, 0, 0, 0, 0, 17,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 18,
3, 2, 0, 16, -1, -1, 0, 16, 2, 16, 0, 0, 0, 0, 0, 19,
21,142, 22, 1, -1, -1, 23, 2,141, 1, 0, 0, 0, 0, 0, 20,
42, 20,145, 47, -1, -1,145, 1,145, 6, 0, 0, 0, 0, 0, 21,
36, 27, -1, 20, -1, -1, -1, 20, -1, 20, 1, 0, 0, 0, 0, 22,
25, 24, 25,145, -1, -1, 25,145, 25, 34, 4, 0, 0, 0, 0, 23,
23, 26, 25, 33, -1, -1, 25, 33, 25, 32, 0, 0, 0, 0, 0, 24,
25, 25, 25, 25, -1, -1,143, 23, 25, 26, 5, 0, 0, 0, 0, 25,
24, 25, 25,141, -1, -1, 25, 31, 25,141, 4, 0, 0, 0, 0, 26,
22, 30, -1, 20, -1, -1, -1, 20, -1, 20, 2, 0, 0, 0, 0, 27,
0, 2, 29,148, -1, -1, 29, 11, 0, 2, 0, 0, 0, 0, 0, 28,
142,243,141, 2, -1, -1,141, 2,141, 2, 1, 0, 0, 0, 0, 29,
27,141, 31, 20, -1, -1, -1, 20,141,141, 0, 0, 0, 0, 0, 30,
32,141, 24, 30, -1, -1, 24, -1, 26,141, 0, 0, 0, 0, 0, 31,
33, 31, 24, -1, -1, -1, 24, -1, 24, -1, 0, 0, 0, 0, 0, 32,
34, 32, 24, -1, -1, -1, 24, -1, 24, -1, 0, 0, 0, 0, 0, 33,
145, 33, 24, 35, -1, -1, 23,145, 24, -1, 0, 0, 0, 0, 0, 34,
145, 36, 34, 20, -1, -1,145,145, -1, 20, 0, 0, 0, 0, 0, 35,
35, 22, -1, 20, -1, -1, 35, 20, -1, 20, 2, 0, 0, 0, 0, 36,
38, 39, -1, 36, -1, -1, 38, 36, 39, 36, 0, 0, 0, 0, 0, 37,
-1, 37, -1, -1, -1, -1, -1, -1, -1, 37, 1, 0, 0, 0, 0, 38,
37, -1, 41, -1, -1, -1, -1, -1, -1, -1, 1, 0, 0, 0, 0, 39,
-1, 41, -1, -1, -1, -1, -1, -1, -1, 41, 2, 0, 0, 0, 0, 40,
40, -1, -1, 39, -1, -1, 40, -1, -1, -1, 4, 0, 0, 0, 0, 41,
246, 21,145, 6, -1, -1,145, 1,145, 6, 0, 0, 0, 0, 0, 42,
-1, -1, -1, 27, -1, -1, -1, 27, -1, -1, 1, 0, 4, 0, 0, 43,
-1, -1, 43, 48, -1, -1, -1, -1, 43, -1, 0, 0, 0, 0, 0, 44,
-1,204, 43,149, -1, -1, -1, -1, 43, -1, 0, 0, 0, 0, 0, 45,
239, -1, 43, -1, -1, -1, -1, -1, 43, -1, 0, 0, 0, 0, 0, 46,
3, 20, 21, 6, -1, -1, 21, 3, 20, 6, 0, 0, 0, 0, 0, 47,
49, 50, 44, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 48, /*48*/
51, 48, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 55, /*49*/
48, 56, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 55, /*50*/
-1, 49, 52, 53, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 51, /*51*/
-1, -1, 54, 51, -1, 88, -1, -1, -1, -1, 0, 0, 0, 0, 0, 59, /*52*/
-1, -1, 51, 55, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56, /*53*/
-1, -1, -1, 52, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 91, /*54*/
-1, -1, 53, -1, 57, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 62, /*54*/
50, -1, -1, -1, -1, -1, -1, -1, 74, 72, 0, 0, 0, 0, 0, 64, /*56*/
-1, -1, -1, -1, -1, 55, -1, 58, -1, 59, 0, 0, 0, 0, 0, 76, /*57*/
-1, -1, -1, -1, -1, -1, -1, 60, 57, -1, 0, 0, 0, 0, 0, 57, /*58*/
-1, -1, -1, -1, -1, -1, 57, -1, -1, 61, 0, 0, 0, 0, 0, 58, /*59*/
-1, -1, -1, -1, -1, -1, -1, -1, 58, 62, 0, 0, 0, 0, 0, 84, /*60*/
-1, -1, -1, -1, -1, -1, 59, 63, -1, -1, 0, 0, 0, 0, 0, 87, /*61*/
-1, -1, -1, -1, -1, -1, 60, -1, -1, 64, 0, 0, 0, 0, 0, 58, /*62*/
-1, -1, -1, -1, -1, -1, -1, 64, 61, -1, 0, 0, 0, 0, 0, 57, /*63*/
-1, -1, -1, -1, -1, 65, 62, -1, 63, -1, 0, 0, 0, 0, 0, 77, /*64*/
-1, 66, -1, -1, 64, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 61, /*65*/
65, 67, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 55, /*66*/
66, 69, 68, 70, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 78, /*67*/
-1, -1, 71, 67, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56, /*68*/
67, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 92, /*69*/
121,128, 67, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 48, /*70*/
-1, -1, -1, 68, -1, -1, 72, -1, 73, -1, 0, 0, 0, 0, 0, 66, /*71*/
-1, -1, -1, -1, -1, -1, 56, -1, -1, 71, 0, 0, 0, 0, 0, 58, /*72*/
-1, -1, -1, -1, -1, -1, -1, 71, 75, -1, 0, 0, 0, 0, 0, 57, /*73*/
-1, -1, -1, -1, -1, -1, -1, 56, 77, -1, 0, 0, 0, 0, 0, 57, /*74*/
-1, -1, -1, -1, -1, -1, 76, 73, -1, 80, 0, 0, 0, 0, 0, 52, /*75*/
-1, -1, -1, -1, -1, -1, 77, -1, -1, 75, 0, 0, 0, 0, 0, 58, /*76*/
-1, -1, -1, -1, -1, -1, 79, 74, 78, 76, 0, 0, 0, 0, 0, 79, /*77*/
-1, -1, -1, -1, -1, -1, -1, 77, -1, -1, 0, 0, 0, 0, 0, 90, /*78*/
-1, -1, -1, -1, -1, -1,108, -1, -1, 77, 0, 0, 0, 0, 0, 58, /*79*/
-1, -1, 81, 82, -1, -1, 75, -1, -1, -1, 0, 0, 0, 0, 0, 74, /*80*/
-1, -1, -1, 80, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 93, /*81*/
-1, -1, 80, 83, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56, /*82*/
-1, 84, 82, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 81, /*83*/
83, -1, 85, 86, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 50, /*84*/
-1, -1, -1, 84, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 90, /*85*/
87, -1, 84, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 83, /*86*/
-1, 86, -1,109, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 94, /*87*/
-1, -1, -1, -1, 52, -1, 92, -1, -1, 89, 0, 0, 0, 0, 0, 96, /*88*/
-1, -1, -1, -1, -1, -1, 88, -1, -1, 90, 0, 0, 0, 0, 0, 58, /*89*/
-1, -1, -1, -1, -1, -1, 89, -1, -1, 91, 0, 0, 0, 0, 0, 58, /*90*/
-1, -1, -1, -1, -1, -1, 90, -1, -1, -1, 0, 0, 0, 0, 0, 90, /*91*/
-1, -1, -1, -1, -1, -1, 93, -1, -1, 88, 0, 0, 0, 0, 0, 58, /*92*/
-1, -1, -1, -1, -1, -1, -1, 94, 95, 92, 0, 0, 0, 0, 0, 95, /*93*/
-1, -1, -1, -1, 96, -1, -1, -1, 93, -1, 0, 0, 0, 0, 0, 60, /*94*/
-1, -1, -1, -1, -1, -1, -1, 93,104, -1, 0, 0, 0, 0, 0, 57, /*95*/
97, -1,103, -1, -1, 94, -1, -1, -1, -1, 0, 0, 0, 0, 0, 97, /*96*/
98, 96, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 55, /*97*/
-1, 97, 99, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 81, /*98*/
-1, -1,100, 98, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56, /*99*/
-1,101, -1, 99, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 80,/*100*/
100,102, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 55,/*101*/
101, -1, -1,103, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 82,/*102*/
-1, -1,102, 96, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56,/*103*/
-1, -1, -1, -1, -1, -1, -1, 95,105, -1, 0, 0, 0, 0, 0, 57,/*104*/
-1, -1, -1, -1, -1, -1, -1,104, -1,106, 0, 0, 0, 0, 0, 86,/*105*/
-1, -1, -1, -1, -1, -1,105, -1, -1,107, 0, 0, 0, 0, 0, 58,/*106*/
-1, -1, -1, -1, 79, -1,106, -1, -1, -1, 0, 0, 0, 0, 0, 89,/*107*/
-1, -1, -1, -1, -1,106, -1, -1, -1, 79, 0, 0, 0, 0, 0, 88,/*108*/
-1, -1, 87,110, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56,/*109*/
-1, -1,109, -1, -1,140, -1, -1, -1, -1, 0, 0, 0, 0, 0, 99,/*110*/
-1, -1, -1,140,109, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 98,/*111*/
-1, -1,140, -1,113, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 62,/*112*/
114, -1, -1, -1, -1,112, -1, -1, -1, -1, 0, 0, 0, 0, 0,100,/*113*/
115,113, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 55,/*114*/
-1,114,118,116, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 51,/*115*/
-1,117,115, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 81,/*116*/
116, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0,101,/*117*/
-1, -1,119,115, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56,/*118*/
-1,125,120,118, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 51,/*119*/
-1,122, -1,119, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 80,/*120*/
-1, 70, -1,122, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 80,/*121*/
120,123,121, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 48,/*122*/
122, -1, -1,124, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 82,/*123*/
-1, -1,123, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 90,/*124*/
119, -1, -1,126, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 82,/*125*/
-1,127,125, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 81,/*126*/
126, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 90,/*127*/
70, -1, -1,129, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 82,/*128*/
130,136,128, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 48,/*129*/
-1,129, -1,131, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 80,/*130*/
134,132,130, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 48,/*131*/
131, -1, -1,133, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 82,/*132*/
-1, -1,132, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 90,/*133*/
-1,131, -1,135, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 80,/*134*/
-1, -1,134, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 90,/*135*/
129, -1, -1,137, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 82,/*136*/
-1, -1,136,138, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56,/*137*/
139, -1,137, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 83,/*138*/
-1,138, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 90,/*139*/
-1, -1,111,112, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56,/*140*/
30, 26, 26,142, -1, -1, 24, 20, 26,142, 0, 0, 0, 0, 0,102,/*141*/
20, 29,141, 2, -1, -1,141, 2,141, 2, 0, 0, 0, 0, 0,103,/*142*/
25, 25, 25, 25, -1, -1, 25, 25,144, 25, 0, 0, 0, 0, 0,104,/*143*/
143,143,146,143, -1, -1,143,143,143,143, 1, 0, 0, 0, 0,105,/*144*/
23, 35, 23, 21, -1, -1, 23, 21, 35, 34, 0, 0, 0, 0, 0,106,/*145*/
-1, -1, -1,144, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0,107,/*146*/
3, 15, 3, 3, -1, -1, 3, 3, 15, 15, 1, 0, 0, 0, 0,108,/*147*/
15, 2, 2, 15, -1, -1, 15, 15, 2, 2, 0, 0, 0, 0, 0,109,/*148*/
-1, -1, 45, -1, -1,150, -1, -1, -1, -1, 0, 0, 0, 0, 0,110,/*149*/
-1,151, -1, -1,149, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 61,/*150*/
150,152, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 55,/*151*/
151,153, -1,159, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 49,/*152*/
152,154, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 55,/*153*/
153, -1, -1,155, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 82,/*154*/
-1, -1,154,156, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56,/*155*/
157, -1,155, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 83,/*156*/
158,156, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 55,/*157*/
-1,157,159,160, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 51,/*158*/
-1, -1,152,158, -1, -1, -1, -1, -1, -1, 1, 0, 0, 0, 0,132,/*159*/
-1, -1,158,161, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56,/*160*/
-1, -1,160,162, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56,/*161*/
-1, -1,161,163, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56,/*162*/
-1, -1,162,164, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56,/*163*/
-1, -1,163,165, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56,/*164*/
-1, -1,164, -1, -1,166, -1, -1, -1, -1, 0, 0, 0, 0, 0,110,/*165*/
-1, -1,167,178,165, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0,111,/*166*/
168, -1, -1,166, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 82,/*167*/
169,167, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 55,/*168*/
170,168, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 55,/*169*/
-1,169, -1, -1,171, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 61,/*170*/
-1, -1,172, -1, -1,170, -1, -1, -1, -1, 0, 0, 0, 0, 0,110,/*171*/
-1, -1,173,171, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56,/*172*/
-1, -1,174,172, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56,/*173*/
-1, -1,175,173, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56,/*174*/
-1, -1,176,174, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56,/*175*/
-1, -1,177,175, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56,/*176*/
-1, -1, -1,176, -1, -1, -1, -1, -1, -1, 1, 0, 0, 0, 0,112,/*177*/
-1, -1,166,179, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56,/*178*/
-1, -1,178,180, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56,/*179*/
-1,181,179, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 81,/*180*/
180,182, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 55,/*181*/
181,185,184,183, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 78,/*182*/
-1, -1,182, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 90,/*183*/
-1, -1, -1,182, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 90,/*184*/
182, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 90,/*185*/
185,187, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 55,/*186*/
186,189,190,188, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 78,/*187*/
-1, -1,187, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 90,/*188*/
187, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 90,/*189*/
-1, -1,191,187, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 56,/*190*/
192,198, -1,190, -1, -1, -1, -1, -1, -1, 1, 0, 0, 0, 0,113,/*191*/
-1,191, -1, -1, -1, -1,193, -1, -1, -1, 1, 0, 0, 0, 0,114,/*192*/
-1, -1, -1, -1, -1, -1, -1, -1,194,192, 1, 0, 0, 0, 0,115,/*193*/
-1,195, -1, -1, -1, -1, -1,193, -1, -1, 1, 0, 0, 0, 0,116,/*194*/
194,196, -1, -1, -1, -1, -1, -1, -1, -1, 1, 0, 0, 0, 0,117,/*195*/
195, -1, -1, -1,199, -1, -1, -1, -1,197, 1, 0, 0, 0, 0,118,/*196*/
-1, -1, -1, -1, -1, -1,196,198, -1, -1, 1, 0, 0, 0, 0,119,/*197*/
191, -1, -1, -1, -1, -1, -1, -1,197, -1, 1, 0, 0, 0, 0,120,/*198*/
200, -1, -1, -1, -1,196, -1, -1, -1, -1, 1, 0, 0, 0, 0,121,/*199*/
-1,199,201,202, -1, -1, -1, -1, -1, -1, 1, 0, 0, 0, 0,122,/*200*/
-1, -1, -1,200, -1, -1, -1, -1, -1, -1, 1, 0, 0, 0, 0,123,/*201*/
-1, -1,200,203, -1, -1, -1, -1, -1, -1, 1, 0, 0, 0, 0,124,/*202*/
-1, -1,202, -1, -1, -1, -1, -1, -1, -1, 1, 0, 0, 0, 0,125,/*203*/
45,205, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 55,/*204*/
204, -1,206, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 83,/*205*/
-1, -1, -1,205, -1, -1, -1, -1, -1, -1, 1, 0, 0, 0, 0,126,/*206*/
-1,208,227, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 81,/*207*/
207,209,226, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 48,/*208*/
208,210,225, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 48,/*209*/
209,211,224, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 48,/*210*/
210,217,223, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 48,/*211*/
217,213,222, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 48,/*212*/
212,214,221, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 48,/*213*/
213,215,220, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 48,/*214*/
214,216,219, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 48,/*215*/
215, -1,218, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 83,/*216*/
211,212, -1,239, -1, -1, -1, -1, -1, -1, 1, 0, 0, 0, 0,128,/*217*/
-1, -1,237,216, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 56,/*218*/
-1, -1,236,215, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 56,/*219*/
-1, -1,235,214, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 56,/*220*/
-1, -1,234,213, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 56,/*221*/
-1, -1,233,212, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 56,/*222*/
-1, -1,232,211, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 56,/*223*/
-1, -1,231,210, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 56,/*224*/
-1, -1,230,209, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 56,/*225*/
-1, -1,229,208, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 56,/*226*/
-1, -1,228,207, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 56,/*227*/
-1,229, -1,227, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 80,/*228*/
228,230, -1,226, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 49,/*229*/
229,231, -1,225, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 49,/*230*/
230,232, -1,224, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 49,/*231*/
231,233, -1,223, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 49,/*232*/
232,234, -1,222, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 49,/*233*/
233,235, -1,221, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 49,/*234*/
234,236, -1,220, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 49,/*235*/
235,237, -1,219, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 49,/*236*/
236,238, -1,218, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 49,/*237*/
237, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 0, 0, 0, 0,127,/*238*/
-1, 46,217, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 81,/*239*/
241, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 0, 0, 0, 0,129,/*240*/
-1,240,242, -1, -1, -1, -1, -1, -1, -1, 1, 0, 0, 0, 0,130,/*241*/
-1, -1, -1,241, -1, -1, -1, -1, -1, -1, 1, 0, 0, 0, 0,131,/*242*/
29,244,141, 2, -1, -1,141, 2,141, 2, 4, 0, 0, 0, 0,133,/*243*/
243,245,141, 2, -1, -1,141, 2,141, 2, 0, 0, 0, 0, 0,134,/*244*/
244, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0,135,/*245*/
247, 42,145, 6, -1, -1,145, 1,145, 6, 4, 0, 0, 0, 0,136,/*246*/
248,246,145, 6, -1, -1,145, 1,145, 6, 0, 0, 0, 0, 0,134,/*247*/
-1,247, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0,135 /*248*/
};
/* Object file */
/* object [n][0] = room location if =>0, else =-1 is in possesion */
/* of player, = -2 means unmade, = -3 means it is destroyed, */
/* = -5 means the object is in the safe. */
/* object [n][1] = object's value */
/* object [n][2] = external property of the object */
/* = 1 indicates special action on taking */
/* = 2 alias */
/* = 3 nonmovable object which has no actions */
/* object [n][3] = object parse id name */
/* object [n][4] = object's weight */
/* object [n][5] = internal property of the object */
int objcnt = DM_objcnt;
int object[DM_object][6] = {
0, 0, 0, V_can, 10, 0,
0, 0, 0, V_butt, 1, 0,
0, 0, 0, V_bottle, 20, 0,
36, 0, Z_transform, V_mat, 300, 0,
-2, 0, 0, V_key, 5, 0,
0, 0, 0, V_umbrella, 100, 0,
0, 0, 0, V_tackle, 50, 0,
0, 0, 0, V_bit, 10, 0,
38, 0, Z_transform, V_map, 10, 0,
-2, 0, 0, V_map, 10, 0,
-5, 0, 0, V_paper, 10, 0,
0, 200, 0, V_gold, 500, 0,
0, 0, 0, V_jack, 400, 0,
0, 0, 0, V_dynamite, 100, 0,
0, 0, 0, V_clip, 50, 150,
0, 0, 0, V_pen, 5, 0,
0, 0, 0, V_org_clip, 50, 5,
0, 0, 0, V_pencil, 5, 0,
0, 0, 0, V_rifle, 300, 0,
0, 0, 0, V_wire, 100, 0,
0, 0, 0, V_pipe, 200, 0,
0, 0, 0, V_cap, 5, 0,
0, 0, 0, V_matches, 2, 0,
0, 100, 0, V_ring, 5, 0,
0, 0, 0, V_opener, 10, 0,
0, 100, 0, V_ruby, 30, 0,
-2, 200, 0, V_teapot, 50, 0,
0, 150, 0, V_coin, 7, 0,
0, 0, 0, V_cord, 70, 0,
0, 100, 0, V_bill, 5, 0,
0, 0, 0, V_photo, 5, 0,
0, 0, 0, V_chair, 500, 0,
0, 0, 0, V_bulb, 10, 0,
0, 0, 0, V_pills, 10, 0,
0, 150, 0, V_saphire, 30, 0,
0, 100, 0, V_emerald, 30, 0,
0, 0, 0, V_rag, 50, 0,
0, 0, 0, V_tube, 50, 0,
0, 0, 0, V_carpet, 400, 0,
0, 0, 0, V_branch, 400, 0,
0, 0, 0, V_letter, 10, 0,
0, 0, 0, V_cork, 5, 0,
0, 0, 0, V_torch, 100, 0,
0, 0, 0, V_trap, 5, 0,
0, 0, 0, V_lighter, 5, 0,
0, 0, 0, V_cube, 50, 0,
-2, 700, 0, V_clapper, 100, 0,
-2, 0, 0, V_detector, 100, 0,
0, 0, 0, V_lace, 2, 0,
0, 0, 0, V_comb, 5, 0,
0, 0, 0, V_wrapper, 3, 0,
0, 0, 0, V_tire, 400, 0,
0, 0, 0, V_shell, 3, 0,
0, 0, 0, V_brick, 100, 0,
0, 0, 0, V_rope, 100, 0,
0, 0, 0, V_package, 5, 0,
0, 0, 0, V_belt, 10, 0,
0, 0, 0, V_filter, 50, 0,
0, 0, 0, V_string, 5, 0,
-2, 0, 0, V_recorder, 0, 0,
39, 0, Z_unmovable, V_poster, 0, 0,
41, 0, Z_unmovable, V_poster, 0, 0,
39, 0, Z_unmovable, V_cockroach, 0, 0,
41, 0, Z_unmovable, V_cockroach, 0, 0,
243, 0, Z_unmovable, V_kangaroo, 0, 0,
246, 0, Z_unmovable, V_kangaroo, 0, 0,
26, 0, Z_unmovable, V_spinifex, 0, 0,
238, 0, Z_unmovable, V_gong, 0, 0,
23, 0, Z_unmovable, V_bulldust, 0, 0
};
#endif
/***************************************************************/
#ifdef DSCRB
int pill_count = 7 ;
extern int room[DM_room][16] ;
extern int sw_active ;
int rifle_flag = F_safety ;
extern int clip_flag ;
extern int object[DM_object][6] ;
extern struct monster_struct *Ned ;
#endif
/***************************************************************/
#ifdef PUSHER
/* subroutines: new_score, pusher, switcher */
extern int room[DM_room][16] ;
extern int tag[DM_tag] ;
extern int objcnt ;
extern int object[DM_object][6] ;
extern int monster_flag, rifle_flag, sw_script ;
int sw_transport = FALSE, sw_recording = FALSE, sw_playing = FALSE ;
extern int verb, score;
FILE *fp ;
#endif
/***************************************************************/
#ifdef LONG_DESCP
extern int room[DM_room][16] ;
extern int objcnt ;
extern int object[DM_object][6] ;
extern int monster_flag ;
#endif
/***************************************************************/
#ifdef ACTOR
extern int room[DM_room][16], tag[DM_tag] ;
extern int objcnt, gleep_safe, object[DM_object][6], verb ;
extern int clip_flag, rifle_flag, monster_flag ;
extern struct monster_struct *Ned ;
extern struct monster_struct *Wombat ;
extern struct monster_struct *monster_start ;
#endif
/***************************************************************/
#ifdef MNSTR
extern int room[DM_room][16] ;
extern int objcnt ;
extern int object[DM_object][6] ;
extern int enemy_max ;
extern int monster_flag ;
extern int carry_count, carry_weight ;
extern struct monster_struct *Ned ;
extern struct monster_struct *Wombat ;
extern struct monster_struct *Guards ;
extern struct monster_struct *Mullah ;
extern struct monster_struct *monster_start ;
#endif
/***************************************************************/
#ifdef OPNR
int sw_active = FALSE ;
extern int room[DM_room][16] ;
extern int objcnt ;
extern int object[DM_object][6] ;
extern int sent[20];
extern int gleep_count ;
extern int tag[DM_tag] ;
extern int sw_active ;
extern int pill_count ;
extern int gleep_spot[10] ;
extern int score, gleep_score, clip_flag ;
extern int carry_count, carry_weight ;
extern long clock_explode ;
extern int flag_clock, sw_clock, i_poison ;
#endif
/***************************************************************/
#ifdef PARSE
int sent[20];
extern int verb ;
extern int sw_wizard ;
extern int room[DM_room][16] ;
extern int gleep_score ;
extern int object[DM_object][6] ;
int tag[DM_tag], tag_max = DM_vocab ;
extern int sw_recording, sw_playing ;
extern FILE *fp ;
/* Game vocabulary */
int letmax = DM_letmax ;
char *vocab[DM_vocab] = {
"north","south","east","west","up",
"down","northeast","northwest","southeast","southwest",
"n","s","e","w","u", /* "u" = 15 */
"d","ne","nw","se","sw", /* "sw" = 20 */
"quit","unlock","lock","take","leave", /* "leave" = 25 */
"drop","can","bottle","mat","key", /* "key" = 30 */
"butt","look","door","open","get", /* "get" = 35 */
"throw","turn","on","off","push", /* "push" = 40 */
"button","enter","switch","zero","forty-nine", /* "forty-nine" = 45 */
"sixty-seven","eighty-two","0","49","67", /* "67" = 50 */
"82","beer","lager","doormat","lift", /* "lift" = 55 */
"'on'","'off'","SVC","map","picture", /* "picture" = 60 */
"safe","dial","paper","put","close", /* "close" = 65 */
"read","gold","bar","dynamite","rifle", /* "rifle" = 70 */
"M16","m16","cap","matches","diamond", /* "diamond" = 75 */
"ring","ruby","silver","coin","bill", /* "bill" = 80 */
"money","teapot","clip","ammo","box", /* "box" = 85 */
"stick","pills","orange","glowing","saphire", /* "saphire" = 90 */
"emerald","score","inventory","examine","describe",
"drink","fill","water","fourex","invent", /* "invent" = 100 */
"l","press","exit","all","Fourex", /* "Fourex" = 105 */
"everything","shoot","kill","ned","Ned", /* "Ned" = 110 */
"kelly","Kelly","pick","grab","combination", /* "combination"= 115 */
"select","safety","SAFE","triple","III", /* "III" = 120 */
"single","I","auto","AUTO","automatic", /* "automatic" = 125 */
"set","insert","attach","plan","gun", /* "gun" = 130 */
"magazine","hoop","snake","bear","wombat", /* "wombat" = 135 */
"remove","eject","org_clip","shut","gleep", /* "gleep" = 140 */
"gleeps","letter","envelope","torch","mail", /* "mail" = 145 */
"tank","carefully","gently","softly","slow_drop",
"light","ignite","fuse","slowly","match", /* "match" = 155 */
"cube","blue","blue-button","gray","gray-button",
"clapper","sound","bang","hit","strike", /* "strike" = 160 */
"gong","detector","give","STATS","JSYS",
"SU","yellow","yellow-button","poster","eat",
"swallow","pill","atropine","packet","wrapper",
"tyre","shell","brick","rope","package",
"belt","filter","string","cabinet","calendar",
"tackle","bit","jack","pen","pencil",
"wire","pipe","panel","opener","cord",
"photo","chair","bulb","rag","tube", /* "tube" = 200 */
"carpet","branch","cork","trap","lighter",
"lace","comb","umbrella","meadow","billabong",
"river","road","forest","grass","stream",
"desert","building","office","hideout","dust",
"mine","tunnel","tree","spinifex","hexagon",
"spacecaft","airlock","wing","hole","tray",
"liquid","cockroach","go","scream","yell",
"bring","help","dump","attack","check",
"inspect","place","touch","pull","extinguish",
"ask","talk","tell","find","move", /* "move" = 250 */
"break","kick","smash","feed","taste",
"smell","slam","desk","in","into",
"under","out","from","by","with",
"fling","what","where","are","am", /* "am" = 275 */
"have","QUESTION","how","why","who", /* "who" = 280 */
"when","bop","walk","run","jump", /* "jump" = 285 */
"hop","stroll","saunter","swagger","swing", /* "swing" = 290 */
"dig","swim","depart","info","back", /* "back" = 295 */
"hold","fire","stand","painting","doors", /* "doors" = 300 */
"treasure","trigger","load","unload","sand", /* "sand" = 305 */
"cockroaches","kangaroo","climb","bulldust","kangaroos",
"spinifexes","fuze","message","wall","recorder",
"red","white","green","red-button","white-button",
"green-button","grey","matchbox"
};
/* Question Table */
int quest_max = 8 ;
int quest[9] = {
V_what, V_where, V_are, V_am, V_have,
V_how, V_why, V_who, V_when
} ;
/* Adjective Table */
int adj_max = 17 ;
int adjective[18][4] = { /* first element points to adjective */
V_drop, V_bear,F_ignore,F_ignore, /* drop bear */
V_gold, V_bar,F_ignore,F_ignore, /* gold bar */
V_orange,V_clip,V_org_clip,F_replace, /* orange clip */
V_glowing, V_clip, V_org_clip,F_replace, /* glowing clip */
V_blue,V_switch,V_blue_button,F_replace, /* blue switch */
V_blue,V_button,V_blue_button,F_replace, /* blue button */
V_gray,V_switch,V_gray_button,F_replace, /* gray switch */
V_gray,V_button,V_gray_button,F_replace, /* gray button */
V_yellow,V_switch,V_yellow_button,F_replace, /* yellow switch */
V_yellow,V_button,V_yellow_button,F_replace, /* yellow button */
V_red,V_switch,V_red_button,F_replace, /* red switch */
V_red,V_button,V_red_button,F_replace, /* red button */
V_white,V_switch,V_white_button,F_replace, /* white switch */
V_white,V_button,V_white_button,F_replace, /* white button */
V_green,V_switch,V_green_button,F_replace, /* green switch */
V_green,V_button,V_green_button,F_replace, /* green button */
V_grey,V_switch,V_gray_button,F_replace, /* grey switch */
V_grey,V_button,V_gray_button,F_replace /* grey button */
} ;
/* Adverb Table */
int adv_max = 29 ;
int adverb[30][3] = { /* first element points to adverb */
V_down, V_put, V_drop, /* put down */
V_down, V_set, V_drop, /* set down */
V_carefully, V_drop, V_slow_drop, /* drop carefully */
V_gently, V_drop, V_slow_drop, /* drop slowly */
V_softly, V_drop, V_slow_drop, /* drop softly */
V_slowly, V_drop, V_slow_drop, /* drop slowly */
V_carefully, V_put, V_slow_drop, /* put carefully */
V_gently, V_put, V_slow_drop, /* put slowly */
V_softly, V_put, V_slow_drop, /* put softly */
V_slowly, V_put, V_slow_drop, /* put slowly */
V_in, V_go, V_enter, /* go in */
V_in, V_move, V_enter, /* move in */
V_in, V_bop, V_enter, /* bop in */
V_in, V_walk, V_enter, /* walk in */
V_in, V_run, V_enter, /* run in */
V_in, V_jump, V_enter, /* jump in */
V_in, V_hop, V_enter, /* hop in */
V_in, V_stroll, V_enter, /* stroll in */
V_in, V_saunter, V_enter, /* saunter in */
V_in, V_swagger, V_enter, /* swagger in */
V_out, V_go, V_exit, /* go out */
V_out, V_move, V_exit, /* move out */
V_out, V_bop, V_exit, /* bop out */
V_out, V_walk, V_exit, /* walk out */
V_out, V_run, V_exit, /* run out */
V_out, V_jump, V_exit, /* jump out */
V_out, V_hop, V_exit, /* hop out */
V_out, V_stroll, V_exit, /* stroll out */
V_out, V_saunter, V_exit, /* saunter out */
V_out, V_swagger, V_exit /* swagger out */
} ;
/* Verb Table */
int verb_max = 78 ;
int verb_table[79] = {
V_quit,V_unlock,V_lock,V_take,V_leave,
V_drop,V_look,V_open,V_get,V_throw,
V_turn,V_push,V_enter,V_switch,V_lift,
V_svc,V_dial,V_put,V_close,V_read,
V_score,V_inventory,V_examine,V_describe,V_drink,
V_fill,V_invent,V_l,V_press,V_exit,
V_shoot,V_kill,V_pick,V_grab,V_combination,
V_select,V_set,V_insert,V_attach,V_remove,
V_eject,V_shut,V_light,V_ignite,V_sound,
V_bang,V_hit,V_strike,V_give,V_stats,
V_jsys,V_su,V_eat,V_swallow,V_fling,
V_help,V_bop,V_walk,V_run,V_jump,
V_hop,V_stroll,V_saunter,V_swagger,V_go,
V_move,V_swing,V_dig,V_swim,V_depart,
V_info,V_back,V_hold,V_fire,V_pull,
V_stand,V_load,V_unload,V_climb
};
#endif
/***************************************************************/
#ifdef TAKER
int clip_flag = F_no_clip ;
/* gleep_drop triggers gleep destruction */
int gleep_safe, gleep_drop = FALSE ;
extern char *vocab[DM_vocab] ;
extern int room[DM_room][16] ;
extern int objcnt, rifle_flag ;
extern int object[DM_object][6] ;
extern int carry_count, carry_weight ;
extern int gleep_count, gleep_score, verb, sent[20], tag[DM_tag] ;
extern int sw_valuable ;
#endif