ScummVM API documentation
constants.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef EFH_CONSTANTS_H
23 #define EFH_CONSTANTS_H
24 
25 #include "common/scummsys.h"
26 
27 namespace Efh {
28 enum EfhMenuItems {
29  kEfhMenuEquip = 0,
30  kEfhMenuUse = 1,
31  kEfhMenuGive = 2,
32  kEfhMenuTrade = 3,
33  kEfhMenuDrop = 4,
34  kEfhMenuInfo = 5,
35  kEfhMenuPassive = 6,
36  kEfhMenuActive = 7,
37  kEfhMenuLeave = 8,
38  kEfhMenuInvalid = 9
39 };
40 
41 enum EfhReactionType {
42  kEfhReactionReels = 0,
43  kEfhReactionCriesOut = 1,
44  kEfhReactionFalters = 2,
45  kEfhReactionWinces = 3,
46  kEfhReactionScreams = 4,
47  kEfhReactionChortles = 5,
48  kEfhReactionLaughs = 6
49 };
50 
51 enum EfhStatusType {
52  kEfhStatusNormal = 0,
53  kEfhStatusSleeping = 1,
54  kEfhStatusFrozen = 2
55 };
56 
57 struct Font {
58  uint8 _lines[8];
59 };
60 
61 struct Encounter {
62  char _name[14];
63  uint8 _animId;
64  uint16 _pictureRef;
65  uint16 _xpGiven;
66  uint16 _dropItemId[5];
67  uint8 _dropOccurrencePct;
68  uint8 _nameArticle;
69 };
70 
71 #define kDefaultNoteDuration 616
72 
73 extern const uint8 kFontWidthArray[96];
74 extern const uint8 kFontExtraLinesArray[96];
75 extern const Font kFontData[96];
76 extern const Encounter kEncounters[];
77 extern const char kSkillArray[37][20];
78 extern const uint8 kByte2C7D0[60];
79 extern const char kPossessive[3][4];
80 extern const char kPersonal[3][4];
81 extern const char kAttackVerbs[51][20];
82 extern const int16 kSoundFrequency[72];
83 
84 } // End of namespace Efh
85 
86 #endif // EFH_CONSTANTS_H
Definition: constants.h:61
Definition: constants.h:27
Definition: constants.h:57