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