ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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  kTheActiveWindow,
31  kTheActorList,
32  kTheBeepOn,
33  kTheButtonStyle,
34  kTheCast,
35  kTheCastLib,
36  kTheCastLibs,
37  kTheCastMembers,
38  kTheCenterStage,
39  kTheChars,
40  kTheCheckBoxAccess,
41  kTheCheckBoxType,
42  kTheChunk,
43  kTheClickLoc,
44  kTheClickOn,
45  kTheColorDepth,
46  kTheColorQD,
47  kTheCommandDown,
48  kTheControlDown,
49  kTheDate,
50  kTheDeskTopRectList,
51  kTheDigitalVideoTimeScale,
52  kTheDoubleClick,
53  kTheEmulateMultiButtonMouse,
54  kTheExitLock,
55  kTheField,
56  kTheFixStageSize,
57  kTheFloatPrecision,
58  kTheFrame,
59  kTheFrameLabel,
60  kTheFramePalette,
61  kTheFrameScript,
62  kTheFrameSound1,
63  kTheFrameSound2,
64  kTheFrameTempo,
65  kTheFrameTransition,
66  kTheFreeBlock,
67  kTheFreeBytes,
68  kTheFrontWindow,
69  kTheFullColorPermit,
70  kTheIdleHandlerPeriod,
71  kTheIdleLoadMode,
72  kTheIdleLoadPeriod,
73  kTheIdleLoadTag,
74  kTheIdleReadChunkSize,
75  kTheImageDirect,
76  kTheItemDelimiter,
77  kTheItems,
78  kTheKey,
79  kTheKeyCode,
80  kTheKeyDownScript,
81  kTheKeyPressed,
82  kTheKeyUpScript,
83  kTheLabelList,
84  kTheLastClick,
85  kTheLastEvent,
86  kTheLastFrame,
87  kTheLastKey,
88  kTheLastRoll,
89  kTheLines,
90  kTheMachineType,
91  kTheMaxInteger,
92  kTheMemorySize,
93  kTheMenu,
94  kTheMenuItem,
95  kTheMenuItems,
96  kTheMenus,
97  kTheMouseCast,
98  kTheMouseChar,
99  kTheMouseDown,
100  kTheMouseDownScript,
101  kTheMouseH,
102  kTheMouseItem,
103  kTheMouseLine,
104  kTheMouseUp,
105  kTheMouseUpScript,
106  kTheMouseV,
107  kTheMouseWord,
108  kTheMovie,
109  kTheMovieFileFreeSize,
110  kTheMovieFileSize,
111  kTheMovieName,
112  kTheMoviePath,
113  kTheMultiSound,
114  kTheOptionDown,
115  kTheParamCount,
116  kThePathName,
117  kThePauseState,
118  kThePerFrameHook,
119  kThePi,
120  kThePlatform,
121  kThePreloadEventAbort,
122  kThePreLoadRAM,
123  kTheQuickTimePresent,
124  kTheRandomSeed,
125  kTheResult,
126  kTheRightMouseDown,
127  kTheRightMouseUp,
128  kTheRollOver,
129  kTheRomanLingo,
130  kTheRunMode,
131  kTheScore,
132  kTheScummvmVersion, // set the Director version via lingo in tests
133  kTheSearchCurrentFolder,
134  kTheSearchPath,
135  kTheSearchPaths,
136  kTheSelection,
137  kTheSelEnd,
138  kTheSelStart,
139  kTheShiftDown,
140  kTheSoundEntity,
141  kTheSoundEnabled,
142  kTheSoundLevel,
143  kTheSprite,
144  kTheSqrt,
145  kTheStage,
146  kTheStageBottom,
147  kTheStageColor,
148  kTheStageLeft,
149  kTheStageRight,
150  kTheStageTop,
151  kTheStillDown,
152  kTheSwitchColorDepth,
153  kTheTicks,
154  kTheTime,
155  kTheTimeoutKeyDown,
156  kTheTimeoutLapsed,
157  kTheTimeoutLength,
158  kTheTimeoutMouse,
159  kTheTimeoutPlay,
160  kTheTimeoutScript,
161  kTheTimer,
162  kTheTrace,
163  kTheTraceLoad,
164  kTheTraceLogFile,
165  kTheUpdateMovieEnabled,
166  kTheVideoForWindowsPresent,
167  kTheWindow,
168  kTheWindowList,
169  kTheWords,
170  kTheXtras,
171  kTheMaxTheEntityType // This must be always last
172 };
173 
174 enum TheFieldType {
175  kTheNOField = 0,
176  kTheAbbr = 1,
177  kTheAutoTab,
178  kTheBackColor,
179  kTheBlend,
180  kTheBorder,
181  kTheBottom,
182  kTheBoxDropShadow,
183  kTheBoxType,
184  kTheButtonType,
185  kTheCastLibNum,
186  kTheCastNum,
187  kTheCastType,
188  kTheCenter,
189  kTheChangeArea,
190  kTheChannelCount,
191  kTheCheckMark,
192  kTheChunkSize,
193  kTheConstraint,
194  kTheController,
195  kTheCrop,
196  kTheCursor,
197  kTheDepth,
198  kTheDigitalVideoType,
199  kTheDirectToStage,
200  kTheDrawRect,
201  kTheDropShadow,
202  kTheDuration,
203  kTheEditable,
204  kTheEditableText,
205  kTheEnabled,
206  kTheFileName,
207  kTheFilled,
208  kTheForeColor,
209  kTheFrameRate,
210  kTheHeight,
211  kTheHilite,
212  kTheImmediate,
213  kTheInk,
214  kTheLast,
215  kTheLeft,
216  kTheLineCount,
217  kTheLineSize,
218  kTheLoaded,
219  kTheLoc,
220  kTheLocH,
221  kTheLocV,
222  kTheLong,
223  kTheLoop,
224  kTheMargin,
225  kTheMedia,
226  kTheMember,
227  kTheMemberNum,
228  kTheModal,
229  kTheModified,
230  kTheMoveableSprite,
231  kTheMovieRate,
232  kTheMovieTime,
233  kTheName,
234  kTheNumber,
235  kThePageHeight,
236  kThePalette,
237  kThePaletteMapping,
238  kThePaletteRef,
239  kThePattern,
240  kThePausedAtStart,
241  kThePicture,
242  kThePreLoad,
243  kThePreLoadMode,
244  kThePuppet,
245  kThePurgePriority,
246  kTheRect,
247  kTheRegPoint,
248  kTheRight,
249  kTheSampleRate,
250  kTheSampleSize,
251  kTheScoreColor,
252  kTheScoreSelection,
253  kTheScript,
254  kTheScriptNum,
255  kTheScriptText,
256  kTheScriptType,
257  kTheScriptsEnabled,
258  kTheSelectionField,
259  kTheShapeType,
260  kTheShort,
261  kTheSize,
262  kTheSound,
263  kTheSourceRect,
264  kTheStartTime,
265  kTheStopTime,
266  kTheStrech,
267  kTheStretch,
268  kTheText,
269  kTheTextAlign,
270  kTheTextFont,
271  kTheTextHeight,
272  kTheTextSize,
273  kTheTextStyle,
274  kTheTimeScale,
275  kTheTitle,
276  kTheTitleVisible,
277  kTheTop,
278  kTheTrackEnabled,
279  kTheTrackNextKeyTime,
280  kTheTrackNextSampleTime,
281  kTheTrackPreviousKeyTime,
282  kTheTrackPreviousSampleTime,
283  kTheTrackText,
284  kTheTrails,
285  kTheTransitionType,
286  kTheType,
287  kTheUpdateLock,
288  kTheVideo,
289  kTheVisibility,
290  kTheVisible,
291  kTheVolume,
292  kTheWidth,
293  kTheWindowType,
294  kTheWordWrap,
295  kTheScrollTop,
296  kTheMaxTheFieldType // This must be always last
297 };
298 
299 struct TheEntity {
300  TheEntityType entity;
301  const char *name;
302  bool hasId;
303  int version;
304  bool isFunction;
305 };
306 
308  TheEntityType entity;
309  const char *name;
310  TheFieldType field;
311  int version;
312 };
313 
314 } // End of namespace Director
315 
316 #endif
Definition: lingo-the.h:307
Definition: archive.h:35
Definition: lingo-the.h:299