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  kTheRunMode,
116  kTheScummvmVersion, // set the Director version via lingo in tests
117  kTheSearchCurrentFolder,
118  kTheSearchPath,
119  kTheSelection,
120  kTheSelEnd,
121  kTheSelStart,
122  kTheShiftDown,
123  kTheSoundEntity,
124  kTheSoundEnabled,
125  kTheSoundLevel,
126  kTheSprite,
127  kTheSqrt,
128  kTheStage,
129  kTheStageBottom,
130  kTheStageColor,
131  kTheStageLeft,
132  kTheStageRight,
133  kTheStageTop,
134  kTheStillDown,
135  kTheSwitchColorDepth,
136  kTheTicks,
137  kTheTime,
138  kTheTimeoutKeyDown,
139  kTheTimeoutLapsed,
140  kTheTimeoutLength,
141  kTheTimeoutMouse,
142  kTheTimeoutPlay,
143  kTheTimeoutScript,
144  kTheTimer,
145  kTheTrace,
146  kTheTraceLoad,
147  kTheTraceLogFile,
148  kTheUpdateMovieEnabled,
149  kTheVideoForWindowsPresent,
150  kTheWindow,
151  kTheWindowList,
152  kTheWords,
153  kTheXtras,
154  kTheMaxTheEntityType // This must be always last
155 };
156 
157 enum TheFieldType {
158  kTheNOField = 0,
159  kTheAbbr = 1,
160  kTheBackColor,
161  kTheBlend,
162  kTheBottom,
163  kTheCastLibNum,
164  kTheCastNum,
165  kTheCastType,
166  kTheCenter,
167  kTheCheckMark,
168  kTheConstraint,
169  kTheController,
170  kTheCrop,
171  kTheCursor,
172  kTheDepth,
173  kTheDirectToStage,
174  kTheDrawRect,
175  kTheDuration,
176  kTheEditableText,
177  kTheEnabled,
178  kTheFileName,
179  kTheForeColor,
180  kTheFrameRate,
181  kTheHeight,
182  kTheHilite,
183  kTheImmediate,
184  kTheInk,
185  kTheLast,
186  kTheLeft,
187  kTheLineSize,
188  kTheLoaded,
189  kTheLoc,
190  kTheLocH,
191  kTheLocV,
192  kTheLong,
193  kTheLoop,
194  kTheMember,
195  kTheMemberNum,
196  kTheModal,
197  kTheModified,
198  kTheMoveableSprite,
199  kTheMovieRate,
200  kTheMovieTime,
201  kTheName,
202  kTheNumber,
203  kThePalette,
204  kThePattern,
205  kThePausedAtStart,
206  kThePicture,
207  kThePreLoad,
208  kThePuppet,
209  kThePurgePriority,
210  kTheRect,
211  kTheRegPoint,
212  kTheRight,
213  kTheScoreColor,
214  kTheScript,
215  kTheScriptNum,
216  kTheScriptText,
217  kTheShort,
218  kTheSize,
219  kTheSound,
220  kTheSourceRect,
221  kTheStartTime,
222  kTheStopTime,
223  kTheStrech,
224  kTheStretch,
225  kTheText,
226  kTheTextAlign,
227  kTheTextFont,
228  kTheTextHeight,
229  kTheTextSize,
230  kTheTextStyle,
231  kTheTitle,
232  kTheTitleVisible,
233  kTheTop,
234  kTheTrails,
235  kTheType,
236  kTheVideo,
237  kTheVisibility,
238  kTheVisible,
239  kTheVolume,
240  kTheWidth,
241  kTheWindowType,
242  kTheScrollTop,
243  kTheMaxTheFieldType // This must be always last
244 };
245 
246 struct TheEntity {
247  TheEntityType entity;
248  const char *name;
249  bool hasId;
250  int version;
251  bool isFunction;
252 };
253 
255  TheEntityType entity;
256  const char *name;
257  TheFieldType field;
258  int version;
259 };
260 
261 } // End of namespace Director
262 
263 #endif
Definition: lingo-the.h:254
Definition: archive.h:35
Definition: lingo-the.h:246