ScummVM API documentation
lingo-the.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 DIRECTOR_LINGO_LINGO_THE_H
23  #define DIRECTOR_LINGO_LINGO_THE_H
24 
25 namespace Director {
26 
27 enum TheEntityType {
28  kTheNOEntity = 0,
29  kTheObject = 1,
30  kTheActorList = 2,
31  kTheBeepOn,
32  kTheButtonStyle,
33  kTheCast,
34  kTheCastlibs,
35  kTheCastMembers,
36  kTheCenterStage,
37  kTheChars,
38  kTheCheckBoxAccess,
39  kTheCheckBoxType,
40  kTheChunk,
41  kTheClickLoc,
42  kTheClickOn,
43  kTheColorDepth,
44  kTheColorQD,
45  kTheCommandDown,
46  kTheControlDown,
47  kTheDate,
48  kTheDeskTopRectList,
49  kTheDoubleClick,
50  kTheExitLock,
51  kTheField,
52  kTheFixStageSize,
53  kTheFloatPrecision,
54  kTheFrame,
55  kTheFrameLabel,
56  kTheFramePalette,
57  kTheFrameScript,
58  kTheFrameTempo,
59  kTheFreeBlock,
60  kTheFreeBytes,
61  kTheFullColorPermit,
62  kTheImageDirect,
63  kTheItemDelimiter,
64  kTheItems,
65  kTheKey,
66  kTheKeyCode,
67  kTheKeyDownScript,
68  kTheKeyUpScript,
69  kTheLabelList,
70  kTheLastClick,
71  kTheLastEvent,
72  kTheLastFrame,
73  kTheLastKey,
74  kTheLastRoll,
75  kTheLines,
76  kTheMachineType,
77  kTheMaxInteger,
78  kTheMemorySize,
79  kTheMenu,
80  kTheMenuItem,
81  kTheMenuItems,
82  kTheMenus,
83  kTheMouseCast,
84  kTheMouseChar,
85  kTheMouseDown,
86  kTheMouseDownScript,
87  kTheMouseH,
88  kTheMouseItem,
89  kTheMouseLine,
90  kTheMouseUp,
91  kTheMouseUpScript,
92  kTheMouseV,
93  kTheMouseWord,
94  kTheMovie,
95  kTheMovieFileFreeSize,
96  kTheMovieFileSize,
97  kTheMovieName,
98  kTheMoviePath,
99  kTheMultiSound,
100  kTheOptionDown,
101  kTheParamCount,
102  kThePathName,
103  kThePauseState,
104  kThePerFrameHook,
105  kThePi,
106  kThePreloadEventAbort,
107  kThePreLoadRAM,
108  kTheQuickTimePresent,
109  kTheRandomSeed,
110  kTheResult,
111  kTheRightMouseDown,
112  kTheRightMouseUp,
113  kTheRollOver,
114  kTheRomanLingo,
115  kTheScummvmVersion, // set the Director version via lingo in tests
116  kTheSearchCurrentFolder,
117  kTheSearchPath,
118  kTheSelection,
119  kTheSelEnd,
120  kTheSelStart,
121  kTheShiftDown,
122  kTheSoundEntity,
123  kTheSoundEnabled,
124  kTheSoundLevel,
125  kTheSprite,
126  kTheSqrt,
127  kTheStage,
128  kTheStageBottom,
129  kTheStageColor,
130  kTheStageLeft,
131  kTheStageRight,
132  kTheStageTop,
133  kTheStillDown,
134  kTheSwitchColorDepth,
135  kTheTicks,
136  kTheTime,
137  kTheTimeoutKeyDown,
138  kTheTimeoutLapsed,
139  kTheTimeoutLength,
140  kTheTimeoutMouse,
141  kTheTimeoutPlay,
142  kTheTimeoutScript,
143  kTheTimer,
144  kTheTrace,
145  kTheTraceLoad,
146  kTheTraceLogFile,
147  kTheUpdateMovieEnabled,
148  kTheVideoForWindowsPresent,
149  kTheWindow,
150  kTheWindowList,
151  kTheWords,
152  kTheXtras,
153  kTheMaxTheEntityType // This must be always last
154 };
155 
156 enum TheFieldType {
157  kTheNOField = 0,
158  kTheAbbr = 1,
159  kTheBackColor,
160  kTheBlend,
161  kTheBottom,
162  kTheCastNum,
163  kTheCastType,
164  kTheCenter,
165  kTheCheckMark,
166  kTheConstraint,
167  kTheController,
168  kTheCrop,
169  kTheCursor,
170  kTheDepth,
171  kTheDirectToStage,
172  kTheDrawRect,
173  kTheDuration,
174  kTheEditableText,
175  kTheEnabled,
176  kTheFileName,
177  kTheForeColor,
178  kTheFrameRate,
179  kTheHeight,
180  kTheHilite,
181  kTheImmediate,
182  kTheInk,
183  kTheLast,
184  kTheLeft,
185  kTheLineSize,
186  kTheLoaded,
187  kTheLoc,
188  kTheLocH,
189  kTheLocV,
190  kTheLong,
191  kTheLoop,
192  kTheMember,
193  kTheMemberNum,
194  kTheModal,
195  kTheModified,
196  kTheMoveableSprite,
197  kTheMovieRate,
198  kTheMovieTime,
199  kTheName,
200  kTheNumber,
201  kThePalette,
202  kThePattern,
203  kThePausedAtStart,
204  kThePicture,
205  kThePreLoad,
206  kThePuppet,
207  kThePurgePriority,
208  kTheRect,
209  kTheRegPoint,
210  kTheRight,
211  kTheScoreColor,
212  kTheScript,
213  kTheScriptNum,
214  kTheScriptText,
215  kTheShort,
216  kTheSize,
217  kTheSound,
218  kTheSourceRect,
219  kTheStartTime,
220  kTheStopTime,
221  kTheStrech,
222  kTheStretch,
223  kTheText,
224  kTheTextAlign,
225  kTheTextFont,
226  kTheTextHeight,
227  kTheTextSize,
228  kTheTextStyle,
229  kTheTitle,
230  kTheTitleVisible,
231  kTheTop,
232  kTheTrails,
233  kTheType,
234  kTheVideo,
235  kTheVisibility,
236  kTheVisible,
237  kTheVolume,
238  kTheWidth,
239  kTheWindowType,
240  kTheScrollTop,
241  kTheMaxTheFieldType // This must be always last
242 };
243 
244 struct TheEntity {
245  TheEntityType entity;
246  const char *name;
247  bool hasId;
248  int version;
249  bool isFunction;
250 };
251 
253  TheEntityType entity;
254  const char *name;
255  TheFieldType field;
256  int version;
257 };
258 
259 } // End of namespace Director
260 
261 #endif
Definition: lingo-the.h:252
Definition: archive.h:35
Definition: lingo-the.h:244