-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTypes.pas
663 lines (545 loc) · 26.3 KB
/
Types.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
(*
Copyright (C) 2024 Jeffrey Getzin.
Licensed under the GNU General Public License v3.0 with additional terms.
See the LICENSE file in the repository root for details.
*)
[Environment,Inherit ('Ranges')]Module Types;
Const
(* These values are returned by the predefined STATUS function. *)
PAS$K_EOF = -1; (* file is at end-of-file *)
PAS$K_SUCCESS = 0; (* last operation successful *)
PAS$K_FILALROPE = 1; (* file is already open *)
PAS$K_ERRDUROPE = 2; (* error during OPEN *)
PAS$K_FILNOTFOU = 3; (* file not found *)
PAS$K_INVFILSYN = 4; (* invalid filename syntax *)
PAS$K_ACCMETINC = 5; (* ACCESS_METHOD specified is incompatible with this file *)
PAS$K_RECLENINC = 6; (* RECORD_LENGTH specified is inconsistent with this file *)
PAS$K_RECTYPINC = 7; (* RECORD_TYPE specified is inconsistent with this file *)
PAS$K_ORGSPEINC = 8; (* ORGANIZATION specified is inconsistent with this file *)
PAS$K_INVKEYDEF = 9; (* invalid key definition *)
PAS$K_KEYDEFINC = 10; (* KEY(<n>) definition is inconsistent with this file. *)
PAS$K_KEYNOTDEF = 11; (* KEY(<n>) definition is not defined in this file. *)
PAS$K_INVRECLEN = 12; (* invalid record length of <n> *)
PAS$K_TEXREGSEG = 13; (* textfiles require sequential organization and access *)
PAS$K_FILNAMREG = 14; (* FILE_NAME required for this HISTORY or DISPOSITION *)
PAS$K_FILALRCLO = 15; (* file is already closed *)
PAS$K_ERRDURCLO = 16; (* error during CLOSE *)
PAS$K_AMBVALENU = 30; (* "<string>" is an ambiguous value for enumerated type "<type>" *)
PAS$K_INVSYNENU = 31; (* "<string>" is invalid syntax for an enumerated value *)
PAS$K_INVSYNINT = 32; (* "<string>" is invalid syntax for an integer value *)
PAS$K_INVSYNREA = 33; (* "<string>" is invalid syntax for a real value *)
PAS$K_INVSYNUNS = 34; (* "<string>" is invalid syntax for an unsigned value *)
PAS$K_NOTVALTYP = 35; (* "<string>" is not a value of type "<type>" *)
PAS$K_ERRDURPRO = 36; (* error during prompting *)
PAS$K_INVSYNBIN = 37; (* "<string>" is invalid syntax for a binary value *)
PAS$K_INVSYNHEX = 38; (* "<string>" is invalid syntax for a hexadecimal value *)
PAS$K_INVSYNOCT = 39; (* "<string>" is invalid syntax for an octal value *)
PAS$K_ERRDURWRI = 50; (* error during WRITELN *)
PAS$K_INVFIESPE = 51; (* invalid field specification for WRITE *)
PAS$K_LINTOOLON = 52; (* line is too long, exceeded record length by <n> character(s) *)
PAS$K_NEGWIDDIG = 53; (* negative Width or Digits specification is not allowed *)
PAS$K_WRIINVENU = 54; (* WRITE of an invalid enumerated value *)
PAS$K_KEYVALINC = 70; (* key value is incompatible with this file's key <n> *)
PAS$K_KEYDUPNOT = 71; (* key field duplication is not allowed *)
PAS$K_KEYCHANOT = 72; (* key field change is not allowed *)
PAS$K_CURCOMUND = 73; (* current component is undefined for DELETE or UPDATE *)
PAS$K_FAIGETLOC = 74; (* failed to GET locked component *)
PAS$K_DELNOTALL = 100; (* DELETE is not allowed for a sequential organization file *)
PAS$K_ERRDURDEL = 101; (* error during DELETE *)
PAS$K_ERRDURFIN = 102; (* error during FIND or FINDK *)
PAS$K_ERRDURGET = 103; (* error during GET *)
PAS$K_ERRDURPUT = 104; (* error during PUT *)
PAS$K_ERRDURRES = 105; (* error during RESET or RESETK *)
PAS$K_ERRDURREW = 106; (* error during REWRITE *)
PAS$K_ERRDURTRU = 107; (* error during TRUNCATE *)
PAS$K_ERRDURUNL = 108; (* error during UNLOCK *)
PAS$K_ERRDURUPD = 109; (* error during UPDATE *)
PAS$K_FILNOTDIR = 110; (* file is not opened for direct access *)
PAS$K_FILNOTGEN = 111; (* file is not in Generation mode *)
PAS$K_FILNOTINS = 112; (* file is not Inspection mode *)
PAS$K_FILNOTKEY = 113; (* file is not opened for keyed access *)
PAS$K_FILNOTOPE = 114; (* file is not open *)
PAS$K_FILNOTSEQ = 115; (* file is not in sequential organization *)
PAS$K_FILNOTTEX = 116; (* failed to GET locked component *)
PAS$K_GENNOTALL = 117; (* failed to GET locked component *)
PAS$K_GETAFTEOF = 118; (* failed to GET locked component *)
PAS$K_INSNOTALL = 119; (* failed to GET locked component *)
PAS$K_INSVIRMEM = 120; (* failed to GET locked component *)
PAS$K_INVARGPAS = 121; (* failed to GET locked component *)
PAS$K_LINVALEXC = 122; (* failed to GET locked component *)
PAS$K_REWNOTALL = 123; (* failed to GET locked component *)
PAS$K_RESNOTALL = 124; (* failed to GET locked component *)
PAS$K_TRUNOTALL = 125; (* failed to GET locked component *)
PAS$K_UPDNOTALL = 126; (* failed to GET locked component *)
PAS$K_ERRDUREXT = 127; (* failed to GET locked component *)
PAS$K_EXTNOTALL = 128; (* failed to GET locked component *)
Type
{ Possible coordinates in the Maze }
Vertical_Type = [Byte]0..19;
Horizontal_Type = [Byte]0..20;
{ Possible directions to be facing in the maze }
Direction_Type = (North, East, South, West);
{ Possible treasure types }
T_Type = MIN_TREASURE_NUMBER..MAX_TREASURE_NUMBER;
Four_Letters = Varying [4] of char; { guess }
Char_Set = Set of Char; { Set of characters }
Ordinate = 0..28;
Coordinate = Record
X, Y: [Byte]Ordinate;
End;
Die_Type = Record
X, Y, Z: Integer; { format: xDy + z }
End;
{ Possible age brackets a character can be in }
Age_Type = (YoungAdult,Mature,MiddleAged,Old,Venerable,Croak);
{ Properties a monster can have }
Property_Type = (Stones,Poisons,Paralyzes,Autokills,CanBeSlept,CanRun,Gates,CantBefriend,CanbeSurprised,TeleportsAway,NoTurn,
CantEscape,Cause_Fear);
{ Classification of monsters }
Monster_Type = (Warrior,Mage,Priest,Pilferer,Karateka,Midget,Giant,Myth,Animal,Lycanthrope,Undead,Demon,Insect,Plant,
MultiPlanar,Dragon,ELEMENTAL,FEY,HUMANOID,MONSTROSITIES,Statue,Reptile,Enchanted);
{ The different attack types in Stonequest. Note: Some are not used. }
Attack_Type = (NoAttack,Fire,Frost,Poison,LvlDrain,Stoning,Magic,Death,CauseFear,Electricity,Charming,Insanity,Aging,Sleep);
{ Classification of items }
Item_Type = (Weapon,Armor,Shield,Helmet,Gloves,Scroll,Misc,Ring,Boots,Amulet,Cloak);
Name_Type = Varying[20] of Char;
{ The spells in Stonequest }
Spell_Name =(NoSp,CrLt,CsLt,Lght,Levi,Prot,Dspl,CrPs,AnDe,
CrSe,CsSe,CoLi,TiSt,CrVs,CsVs,Sile,Wrth,CrCr,
CsCr,Raze,Slay,GrWr,Heal,ReDo,Harm,DiPr,HoWr,
Ress,Dest,WoRe,PaHe,DiWr,RaDe,DiDe,Deus,MaMs,
Shld,Loct,Fear,LtId,ChTr,FiBl,LiBt,BiSh,GrSh,
DuBl,UnCu,Comp,CoCd,Tele,Bani,CrPa,DeSp,BgId,
HgSh,Besk,Slep,MgFi,Rein,Kill,Holo,ReFe,DetS);
{ Classes a character can be }
Class_Type = (NoClass,Cleric,Fighter,Paladin,Ranger,Wizard,Thief,Assassin,Monk,AntiPaladin,Bard,Samurai,Ninja,Barbarian);
Class_Set = Set of Class_Type;
{ Alignments a character can be }
Align_Type = (NoAlign,Good,Neutral,Evil);
{ The traps a chest can have }
Trap_Type = (Trapless,PoisonNeedle,Alarm,Teleporter,Darts,Blades,SnoozeAlarm,GasCloud,Acid,Paralyzer,BoobyTrap,Sleeper,
AntiWizard,AntiCleric,CrossbowBolt,ExplodingBox,Splinters,Stunner);
{ The races a character can be }
Race_Type = (NoRace,Human,HfOrc,Dwarven,Elven,HfOgre,Gnome,Hobbit,HfElf,LizardMan,Centaur,Quickling,Drow,Numenorean);
{ The sexes a character can be }
Sex_Type = (NoSex,Male,Female,Androgynous);
{ The conditions a character can be in }
Status_Type = (NoStatus,Healthy,Dead,Deleted,Afraid,Paralyzed,Petrified,Ashes,Asleep,Insane,Zombie,Poisoned,OnProbation);
{ The places the party can be in Kyrn }
Place_Type = (Church,Tavern,Inn,TheMaze,TrainingGrounds,InKyrn,Leave,TradingPost,Casino,MainStreet);
Ability_Score = [Byte]0..25;
{ A set of integers from 0 to 250 }
Int_Set = Packed Array [0..999] of Boolean;
Item_Record = Record { Item Record }
Item_Number: Integer; { Its # }
Name: Name_Type; { Unidentified name }
True_Name: Name_Type; { Identified name }
Alignment: Align_Type; { It's alignment if any }
Kind: Item_Type; { What classification is it in? }
Cursed: boolean; { Is it a cursed item? }
Special_Occurance_No: Integer; { Have a purpose? }
Percentage_Breaks: Integer; { Can it break? }
Turns_Into: Integer; { to what result? }
GP_Value: Integer; { how much is it worth? }
Current_Value: Integer; { ...currently? }
Spell_Cast: Spell_Name; { Does it cast a spell? }
Usable_By: Class_Set; { Who can use it? }
Regenerates: Integer; { How much does it heal? }
{ What monsters or attack-types does it protect
against? }
Protects_Against: Set of Monster_Type;
Resists: Set of Attack_Type;
{ When equipped, what properties does it have? }
Versus: Set of Monster_Type; { What does it hate? }
Damage: Die_Type; { How much damage does it do? }
Additional_Attacks: Integer; { Any additional attacks? }
Plus_to_hit: Integer; { What plus to hit? }
AC_Plus: Integer; { What adjustment to AC? }
autoKill: Boolean; { Does it critical hit? }
End;
{ A record for each item carried by a character }
Item_Number_Type = [Byte]0..250;
Equipment_Type = record
Item_Num: Item_Number_Type; { The item itself }
Ident,isEquipped,Usable,Cursed: Boolean; { Identified? isEquipped? Usable? Cursed? }
End;
{ The information concerning a character }
Equipments = Array [1..8] of Equipment_Type;
Character_Type = Record
Name: Name_Type; { The name }
Username: Varying [6] of char; { Username 6 chars }
Lock: Boolean; { Is the character in use? }
Race: Race_Type; { Human, elven, et al }
Sex: Sex_Type; { The sex }
Age: Integer; { Age in days }
Age_Status: Age_Type; { Young, mature, et al }
Class,PreviousClass: Class_Type; { The class }
Level,Previous_Lvl: [Word]-32767..32767; { The level }
Alignment: Align_Type; { Good, evil, neutral }
Experience: Real; { Experience points }
Curr_HP,MAX_HP: Integer; { Hit points }
Armor_Class: [Byte]-127..127; { How hard is the character to hit? }
Regenerates: Integer; { Healing abilities }
Abilities: Array [1..7] of Ability_Score;
Status: Status_Type; { Healthy, asleep, etc }
Gold: Integer; { Money }
No_of_Items: [Byte]0..8; { # of items }
Item: Equipments;
SpellPoints: Packed Array [1..2, 1..9] of [Byte]0..9;
Wizard_Spells: Set of Spell_Name; { spells known }
Cleric_Spells: Set of Spell_Name;
Items_Seen: Int_Set; { What items can be identified }
Monsters_Seen: Int_Set; { "" monsters "" "" }
Scenarios_Won: Int_Set; { What scenarios have been won }
Attack: Record
WeaponUsed: [Byte]0..8;
ArmorWorn: [Byte]0..8;
Autokill: Boolean;
Berserk: Boolean;
End;
Magic_Resistance: Integer; { What chance does the character have of resisting magic? }
Case Psionics: Boolean of
True: (DetectTrap: Integer;
Regenerate: Integer;
DetectSecret: Integer);
End;
{ The information concerning a character }
{ Types of treasures }
Treasure_Kind = (Cash_Given,Item_Given);
{ A record of each particular item in a treasure }
Treasure_record= Record
Case Kind: Treasure_Kind of
Cash_given: (Initial_Random: Die_Type;
Initial_Base: Integer;
Multiplier: Die_Type);
Item_Given: (Item_Number: Die_Type;
Range: [Byte]0..250;
Appear_Probability: [Byte]0..100);
End;
{ A list of items in the treasure }
List_of_TreasureType=Array [1..9] of Treasure_record;
{ A treasure... }
Treasure_Table = Record
Treasure_No: [Byte]0..255;
In_Chest: Boolean;
Possible_Traps: Set of Trap_Type;
Max_No_of_Treasures: [Byte]1..9;
Treasure: List_of_treasureType;
End;
{ a list of possible picture... }
Pic_Type = [Byte]0..150;
Monster_Name_Type = Varying[60] of char;
Monster_Record = Record
Monster_Number: [Word]0..65535;
Picture_Number: Pic_Type;
Name,Plural: Monster_Name_Type;
Real_Name,Real_Plural: Monster_Name_Type;
Alignment: Align_Type;
Number_Appearing: Die_Type;
Hit_Points: Die_Type;
Kind: Monster_Type;
Armor_Class: [Byte]-127..127;
Treasure: Record
In_Lair: Set of T_Type;
Wandering: Set of T_Type;
End;
Levels_Drained: [Word]-32767..32767;
Regenerates: [Word]-32767..32767;
Highest: Record
Cleric_Spell: [Byte]0..9;
Wizard_Spell: [Byte]0..9;
End;
Magic_Resistance: [Byte]0..200;
Gate_Success_Percentage: [Byte]0..100;
Monster_Called: [Word]0..65535;
Breath_Weapon: Attack_Type;
Gaze_Weapon: Attack_Type;
Years_Ages: Integer;
Weapon_Plus_Needed: Integer;
No_of_attacks: [Byte]0..20;
Damage: Array [1..20] of Die_Type;
Extra_Damage: Set of Class_Type;
Resists: Set of Attack_Type;
Properties: Set of Property_Type;
End;
Spell_Set = Set of Spell_Name;
Line = Varying [80] of char;
{ Ways surrounding a room }
Exit_Type = (Passage,Wall,Door,Secret,Transparent,Walk_Through);
{ Area type for encounter purposes }
Area_Type = (Room,Corridor);
{ Basic special kind }
Special_Kind = (Nothing,Stairs,Pit,Chute,Rotate,Darkness,Teleport,Damage,Elevator,Rock,Antimagic,SPFeature,An_Encounter,
Cliff);
{ Special special types... See the difference? }
SPKind = (NothingSpecial,Msg,Msg_Item_Given,Msg_Pool,
Msg_Hidden_Item,Msg_Need_Item,Msg_Lower_AC,
Msg_Raise_AC,Msg_Goto_Castle,Msg_Encounter,Riddle,
Fee,Msg_Trade_Item,Msg_Picture,Unknown);
{ Entry on the special table }
Special_Type = Record
Pointer1,Pointer2,Pointer3: Integer;
Case Special: Special_Kind of
SpFeature: (Feature: SpKind)
End;
{ Table of specials for each level }
Special_Table_Type = Array [0..15] of Special_Type;
{ A record for each room }
Room_Record = Record
North,South,East,West: Exit_Type;
Contents: [Byte]0..15; {index of Special_Table}
Kind: Area_Type;
End;
{ Random encounter }
Encounter = Record
Base_Monster_Number: [Byte]0..250;
Addition: Die_Type;
Probability: [byte]0..200;
End;
{ Table of encounters for each level }
Encounter_Table = Array [1..3] of Encounter;
{ 1 = wandering in corridor }
{ 2 = wandering in room }
{ 3 = ???? }
{ Combined level. }
Level = Record
Level_Number: [Byte]1..255;
Room: Array [1..20, 1..20] of Room_Record;
Monsters: Encounter_Table;
Special_Table: Special_Table_Type;
End;
{ Group of messages. }
Message_group = Array [MIN_MESSAGE_NUMBER..MAX_MESSAGE_NUMBER] of line;
{ A 27 x 9 text picture. }
Image_Type = Packed Array [1..27, 1..9] of Char;
{ Total information for each picture }
Picture = Record
Image: Image_Type;
Left_Eye,Right_Eye: Coordinate;
Eye_Type: Char;
End;
Pic_List = Array [MIN_PICTURE_NUMBER..MAX_PICTURE_NUMBER] of Picture;
Roster_Type = Array [MIN_ROSTER_NUMBER..MAX_ROSTER_NUMBER] of Character_Type;
Party_Type = Array [MIN_PARTY_NUMBER..MAX_PARTY_NUMBER] of Character_Type;
Character_list = Array [1..6] of Character_Type;
List_of_monsters = Array [MIN_MONSTER_NUMBER..MAX_MONSTER_NUMBER] of Monster_record;
List_of_items = Array [MIN_ITEM_NUMBER..MAX_ITEM_NUMBER] of Item_record;
List_of_Amounts = Array [MIN_ITEM_NUMBER..MAX_ITEM_NUMBER] of Integer;
List_of_Treasures = Array [MIN_TREASURE_NUMBER..MAX_TREASURE_NUMBER] of Treasure_Table;
Picture_File_Type = Packed File of Picture;
Number_File = Packed File of Integer;
Character_File = File of Character_Type;
Equip_File = File of Item_Record;
Monst_File = File of Monster_Record;
Treas_File = File of Treasure_Table;
LevelFile = File of Level;
Spell_Duration_List = Array [Spell_Name] of Unsigned;
Party_Size_Type = 0..MAX_PARTY_NUMBER;
Save_Record = Record
PosX,PosY: [Byte]1..20; { Party's location }
PosZ: [Byte]1..19;
Direction: [Byte]Direction_Type;
Spells_Casted: Spell_Duration_List; { Spells Casted }
Party_Size: [Byte]1..MAX_PARTY_NUMBER;
Current_Size: [Byte]Party_Size_Type;
Characters: Character_List;
Current_Level: Level;
Time_Delay: Integer;
End;
Save_File_Type = Packed File of Save_Record;
$uquadword = Quadruple;
Score = Record
Name,User_Name: Name_Type;
Lvl1,Lvl2: Integer;
Class1,Class2: Class_Type;
Experience: $uquadword;
Defeated_Barrat: Boolean;
End;
High_Score_List = Array [1..20] of Score;
Score_File = Packed File of High_Score_List;
Combined_List = Array [1..40] of Score;
{ Here are the combat data structures }
Amount_Type = (None,One,Many);
Chest_Status_Type = (Opened,Closed);
Trap_set = Set of trap_Type;
Option_Type = (Run,Gate,Breathe,CastSpell,Attack,UseItem,TurnUndead,
Parry,Berserker_Rage,SwitchItems);
Surprise_Type = (PartySurprised,MonsterSurprised,NoSurprise);
Reaction_Type = (Friendly,Hostile);
Flag = [Bit]Boolean;
Monster_Group = Record
Monster: Monster_Record;
Orig_Group_Size,Curr_Group_Size: [Word]0..999;
Max_HP,Curr_HP: Array [1..999] of Integer;
Status: Array [1..999] of Status_Type;
Silenced: Array [1..999] of Flag;
Identified: Flag;
End;
Encounter_Group = Array [1..4] of Monster_Group;
Party_Flag = Array [1..MAX_PARTY_NUMBER] of Flag;
Attack_String = Varying [10] of Char;
ISpot = Record
front: Exit_Type;
left: Exit_Type;
right: Exit_Type;
contents: Integer;
kind: Area_Type;
End;
Var
Pas_Errors: [Global]Array [-1..128] of Line;
MIN_MONSTER_TYPE: Monster_Type;
MAX_MONSTER_TYPE: Monster_Type;
MIN_CLASS_TYPE: Class_Type;
MAX_CLASS_TYPE: Class_Type;
MIN_ATTACK_TYPE: Attack_Type;
MAX_ATTACK_TYPE: Attack_Type;
MIN_SPELL_NAME: Spell_Name;
MAX_SPELL_NAME: Spell_Name;
Value
MIN_MONSTER_TYPE := Warrior;
MAX_MONSTER_TYPE := Enchanted;
MIN_CLASS_TYPE:=NoClass;
MAX_CLASS_TYPE:=Barbarian;
MIN_ATTACK_TYPE := NoAttack;
MAX_ATTACK_TYPE := Sleep;
MIN_SPELL_NAME := CrLt;
MAX_SPELL_NAME := DetS;
{
Value
Pas_Errors[
PAS$K_EOF ]:='End of file encountered';
Pas_Errors[
PAS$K_SUCCESS ]:='';
Pas_Errors[
PAS$K_SUCCESS ]:='';
Pas_Errors[
PAS$K_FILALROPE ]:='File is already opened';
Pas_Errors[
PAS$K_ERRDUROPE ]:='Error occured while opening';
Pas_Errors[
PAS$K_FILNOTFOU ]:='File not found';
Pas_Errors[
PAS$K_INVFILSYN ]:='Invalid file syntax';
Pas_Errors[
PAS$K_ACCMETINC ]:='';
Pas_Errors[
PAS$K_RECLENINC ]:='';
Pas_Errors[
PAS$K_RECTYPINC ]:='';
Pas_Errors[
PAS$K_ORGSPEINC ]:='';
Pas_Errors[
PAS$K_INVKEYDEF ]:='';
Pas_Errors[
PAS$K_KEYDEFINC ]:='';
Pas_Errors[
PAS$K_KEYNOTDEF ]:='';
Pas_Errors[
PAS$K_INVRECLEN ]:='Invalid record length';
Pas_Errors[
PAS$K_TEXREGSEG ]:='';
Pas_Errors[
PAS$K_FILNAMREG ]:='';
Pas_Errors[
PAS$K_FILALRCLO ]:='File already closed';
Pas_Errors[
PAS$K_ERRDURCLO ]:='Error during close';
Pas_Errors[
PAS$K_AMBVALENU ]:='';
Pas_Errors[
PAS$K_INVSYNENU ]:='';
Pas_Errors[
PAS$K_INVSYNINT ]:='';
Pas_Errors[
PAS$K_INVSYNREA ]:='';
Pas_Errors[
PAS$K_INVSYNUNS ]:='';
Pas_Errors[
PAS$K_NOTVALTYP ]:='';
Pas_Errors[
PAS$K_ERRDURPRO ]:='';
Pas_Errors[
PAS$K_INVSYNBIN ]:='';
Pas_Errors[
PAS$K_INVSYNHEX ]:='';
Pas_Errors[
PAS$K_INVSYNOCT ]:='';
Pas_Errors[
PAS$K_ERRDURWRI ]:='';
Pas_Errors[
PAS$K_INVFIESPE ]:='';
Pas_Errors[
PAS$K_LINTOOLON ]:='';
Pas_Errors[
PAS$K_NEGWIDDIG ]:='';
Pas_Errors[
PAS$K_WRIINVENU ]:='';
Pas_Errors[
PAS$K_KEYVALINC ]:='';
Pas_Errors[
PAS$K_KEYDUPNOT ]:='';
Pas_Errors[
PAS$K_KEYCHANOT ]:='';
Pas_Errors[
PAS$K_CURCOMUND ]:='';
Pas_Errors[
PAS$K_FAIGETLOC ]:='';
Pas_Errors[
PAS$K_DELNOTALL ]:='';
Pas_Errors[
PAS$K_ERRDURDEL ]:='Error during delete';
Pas_Errors[
PAS$K_ERRDURFIN ]:='Error during find';
Pas_Errors[
PAS$K_ERRDURGET ]:='Error during get';
Pas_Errors[
PAS$K_ERRDURPUT ]:='Error during put';
Pas_Errors[
PAS$K_ERRDURRES ]:='Error during reset';
Pas_Errors[
PAS$K_ERRDURREW ]:='Error during rewrite';
Pas_Errors[
PAS$K_ERRDURTRU ]:='';
Pas_Errors[
PAS$K_ERRDURUNL ]:='Error during unlock';
Pas_Errors[
PAS$K_ERRDURUPD ]:='Error during update';
Pas_Errors[
PAS$K_FILNOTDIR ]:='File not opened for direct access';
Pas_Errors[
PAS$K_FILNOTGEN ]:='File is not in generation mode';
Pas_Errors[
PAS$K_FILNOTINS ]:='';
Pas_Errors[
PAS$K_FILNOTKEY ]:='';
Pas_Errors[
PAS$K_FILNOTOPE ]:='File not open';
Pas_Errors[
PAS$K_FILNOTSEQ ]:='File not sequential';
Pas_Errors[
PAS$K_FILNOTTEX ]:='';
Pas_Errors[
PAS$K_GENNOTALL ]:='';
Pas_Errors[
PAS$K_GETAFTEOF ]:='';
Pas_Errors[
PAS$K_INSNOTALL ]:='';
Pas_Errors[
PAS$K_INSVIRMEM ]:='';
Pas_Errors[
PAS$K_INVARGPAS ]:='';
Pas_Errors[
PAS$K_LINVALEXC ]:='';
Pas_Errors[
PAS$K_REWNOTALL ]:='';
Pas_Errors[
PAS$K_RESNOTALL ]:='';
Pas_Errors[
PAS$K_TRUNOTALL ]:='';
Pas_Errors[
PAS$K_UPDNOTALL ]:='';
Pas_Errors[
PAS$K_ERRDUREXT ]:='Error during extend';
Pas_Errors[
PAS$K_EXTNOTALL ]:='';}
End.