22 #ifndef SCI_ENGINE_KERNEL_TABLES_H 23 #define SCI_ENGINE_KERNEL_TABLES_H 25 #include "sci/engine/workarounds.h" 26 #include "sci/engine/vm_types.h" 54 KernelFunctionCall *
function;
56 const char *signature;
60 #define SCI_SUBOPENTRY_TERMINATOR { SCI_VERSION_NONE, SCI_VERSION_NONE, 0, NULL, NULL, NULL, NULL } 63 #define SIG_SCIALL SCI_VERSION_NONE, SCI_VERSION_NONE 64 #define SIG_SCI0 SCI_VERSION_NONE, SCI_VERSION_01 65 #define SIG_SCI1 SCI_VERSION_1_EGA_ONLY, SCI_VERSION_1_LATE 66 #define SIG_SCI11 SCI_VERSION_1_1, SCI_VERSION_1_1 67 #define SIG_SINCE_SCI11 SCI_VERSION_1_1, SCI_VERSION_NONE 68 #define SIG_SCI2 SCI_VERSION_2, SCI_VERSION_2 69 #define SIG_SCI21EARLY SCI_VERSION_2_1_EARLY, SCI_VERSION_2_1_EARLY 70 #define SIG_SCI21MID SCI_VERSION_2_1_MIDDLE, SCI_VERSION_2_1_MIDDLE 71 #define SIG_SCI21MID_LATE SCI_VERSION_2_1_MIDDLE, SCI_VERSION_2_1_LATE 72 #define SIG_THRU_SCI21EARLY SCI_VERSION_2, SCI_VERSION_2_1_EARLY 73 #define SIG_THRU_SCI21MID SCI_VERSION_2, SCI_VERSION_2_1_MIDDLE 74 #define SIG_SINCE_SCI21 SCI_VERSION_2_1_EARLY, SCI_VERSION_3 75 #define SIG_SINCE_SCI21MID SCI_VERSION_2_1_MIDDLE, SCI_VERSION_3 76 #define SIG_SINCE_SCI21LATE SCI_VERSION_2_1_LATE, SCI_VERSION_3 77 #define SIG_SCI21LATE SCI_VERSION_2_1_LATE, SCI_VERSION_2_1_LATE 78 #define SIG_SCI3 SCI_VERSION_3, SCI_VERSION_3 80 #define SIG_SCI16 SCI_VERSION_NONE, SCI_VERSION_1_1 81 #define SIG_SCI32 SCI_VERSION_2, SCI_VERSION_NONE 84 #define SIG_SOUNDSCI0 SCI_VERSION_0_EARLY, SCI_VERSION_0_LATE 85 #define SIG_SOUNDSCI1EARLY SCI_VERSION_1_EARLY, SCI_VERSION_1_EARLY 86 #define SIG_SOUNDSCI1LATE SCI_VERSION_1_LATE, SCI_VERSION_1_LATE 88 #define SIGFOR_ALL 0x3f 89 #define SIGFOR_DOS 1 << 0 90 #define SIGFOR_PC98 1 << 1 91 #define SIGFOR_WIN 1 << 2 92 #define SIGFOR_MAC 1 << 3 93 #define SIGFOR_AMIGA 1 << 4 94 #define SIGFOR_ATARI 1 << 5 95 #define SIGFOR_PC SIGFOR_DOS|SIGFOR_WIN 97 #define SIG_EVERYWHERE SIG_SCIALL, SIGFOR_ALL 99 #define MAP_CALL(_name_) #_name_, k##_name_ 100 #define MAP_EMPTY(_name_) #_name_, kEmpty 101 #define MAP_DUMMY(_name_) #_name_, kDummy 105 { SIG_SOUNDSCI0, 0, MAP_CALL(DoSoundInit),
"o", NULL },
106 { SIG_SOUNDSCI0, 1, MAP_CALL(DoSoundPlay),
"o", NULL },
107 { SIG_SOUNDSCI0, 2, MAP_EMPTY(DoSoundRestore),
"(o)", NULL },
108 { SIG_SOUNDSCI0, 3, MAP_CALL(DoSoundDispose),
"o", NULL },
109 { SIG_SOUNDSCI0, 4, MAP_CALL(DoSoundMute),
"(i)", NULL },
110 { SIG_SOUNDSCI0, 5, MAP_CALL(DoSoundStop),
"o", NULL },
111 { SIG_SOUNDSCI0, 6, MAP_CALL(DoSoundPause),
"i", NULL },
112 { SIG_SOUNDSCI0, 7, MAP_CALL(DoSoundResumeAfterRestore),
"", NULL },
113 { SIG_SOUNDSCI0, 8, MAP_CALL(DoSoundMasterVolume),
"(i)", NULL },
114 { SIG_SOUNDSCI0, 9, MAP_CALL(DoSoundUpdate),
"o", NULL },
115 { SIG_SOUNDSCI0, 10, MAP_CALL(DoSoundFade),
"[o0]", kDoSoundFade_workarounds },
116 { SIG_SOUNDSCI0, 11, MAP_CALL(DoSoundGetPolyphony),
"", NULL },
117 { SIG_SOUNDSCI0, 12, MAP_CALL(DoSoundStopAll),
"", NULL },
118 { SIG_SOUNDSCI1EARLY, 0, MAP_CALL(DoSoundMasterVolume), NULL, NULL },
119 { SIG_SOUNDSCI1EARLY, 1, MAP_CALL(DoSoundMute), NULL, NULL },
120 { SIG_SOUNDSCI1EARLY, 2, MAP_EMPTY(DoSoundRestore), NULL, NULL },
121 { SIG_SOUNDSCI1EARLY, 3, MAP_CALL(DoSoundGetPolyphony), NULL, NULL },
122 { SIG_SOUNDSCI1EARLY, 4, MAP_CALL(DoSoundUpdate), NULL, NULL },
123 { SIG_SOUNDSCI1EARLY, 5, MAP_CALL(DoSoundInit), NULL, NULL },
124 { SIG_SOUNDSCI1EARLY, 6, MAP_CALL(DoSoundDispose), NULL, NULL },
125 { SIG_SOUNDSCI1EARLY, 7, MAP_CALL(DoSoundPlay),
"oi", NULL },
126 { SIG_SOUNDSCI1EARLY, 8, MAP_CALL(DoSoundStop), NULL, NULL },
127 { SIG_SOUNDSCI1EARLY, 9, MAP_CALL(DoSoundPause),
"[o0]i", NULL },
128 { SIG_SOUNDSCI1EARLY, 10, MAP_CALL(DoSoundFade),
"oiiii", kDoSoundFade_workarounds },
129 { SIG_SOUNDSCI1EARLY, 11, MAP_CALL(DoSoundUpdateCues),
"o", NULL },
130 { SIG_SOUNDSCI1EARLY, 12, MAP_CALL(DoSoundSendMidi),
"oiii", NULL },
131 { SIG_SOUNDSCI1EARLY, 13, MAP_CALL(DoSoundGlobalReverb),
"(i)", NULL },
132 { SIG_SOUNDSCI1EARLY, 14, MAP_CALL(DoSoundSetHold),
"oi", NULL },
133 { SIG_SOUNDSCI1EARLY, 15, MAP_EMPTY(DoSoundDummy),
"", NULL },
135 { SIG_SOUNDSCI1LATE, 0, MAP_CALL(DoSoundMasterVolume), NULL, NULL },
136 { SIG_SOUNDSCI1LATE, 1, MAP_CALL(DoSoundMute), NULL, NULL },
137 { SIG_SOUNDSCI1LATE, 2, MAP_EMPTY(DoSoundRestore),
"", NULL },
138 { SIG_SOUNDSCI1LATE, 3, MAP_CALL(DoSoundGetPolyphony), NULL, NULL },
139 { SIG_SOUNDSCI1LATE, 4, MAP_CALL(DoSoundGetAudioCapability),
"", NULL },
140 { SIG_SOUNDSCI1LATE, 5, MAP_CALL(DoSoundSuspend),
"i", NULL },
141 { SIG_SOUNDSCI1LATE, 6, MAP_CALL(DoSoundInit), NULL, NULL },
142 { SIG_SOUNDSCI1LATE, 7, MAP_CALL(DoSoundDispose), NULL, NULL },
143 { SIG_SOUNDSCI1LATE, 8, MAP_CALL(DoSoundPlay), NULL, NULL },
144 { SIG_SOUNDSCI1LATE, 9, MAP_CALL(DoSoundStop), NULL, NULL },
145 { SIG_SOUNDSCI1LATE, 10, MAP_CALL(DoSoundPause), NULL, NULL },
146 { SIG_SOUNDSCI1LATE, 11, MAP_CALL(DoSoundFade),
"oiiii(i)", kDoSoundFade_workarounds },
147 { SIG_SOUNDSCI1LATE, 12, MAP_CALL(DoSoundSetHold), NULL, NULL },
148 { SIG_SOUNDSCI1LATE, 13, MAP_EMPTY(DoSoundDummy), NULL, NULL },
149 { SIG_SOUNDSCI1LATE, 14, MAP_CALL(DoSoundSetVolume),
"oi", NULL },
150 { SIG_SOUNDSCI1LATE, 15, MAP_CALL(DoSoundSetPriority),
"oi", NULL },
151 { SIG_SOUNDSCI1LATE, 16, MAP_CALL(DoSoundSetLoop),
"oi", NULL },
152 { SIG_SOUNDSCI1LATE, 17, MAP_CALL(DoSoundUpdateCues), NULL, NULL },
153 { SIG_SOUNDSCI1LATE, 18, MAP_CALL(DoSoundSendMidi),
"oiii(i)", NULL },
154 { SIG_SOUNDSCI1LATE, 19, MAP_CALL(DoSoundGlobalReverb), NULL, NULL },
155 { SIG_SOUNDSCI1LATE, 20, MAP_CALL(DoSoundUpdate), NULL, NULL },
157 { SIG_SCI32, 0, MAP_CALL(DoSoundMasterVolume),
"(i)", NULL },
158 { SIG_SCI32, 1, MAP_CALL(DoSoundMute),
"(i)", NULL },
159 { SIG_SCI32, 2, MAP_EMPTY(DoSoundRestore), NULL, NULL },
160 { SIG_SCI32, 3, MAP_CALL(DoSoundGetPolyphony),
"", NULL },
161 { SIG_SCI32, 4, MAP_CALL(DoSoundGetAudioCapability),
"", NULL },
162 { SIG_SCI32, 5, MAP_CALL(DoSoundSuspend),
"i", NULL },
163 { SIG_SCI32, 6, MAP_CALL(DoSoundInit),
"o", NULL },
164 { SIG_SCI32, 7, MAP_CALL(DoSoundDispose),
"o", NULL },
165 { SIG_SCI32, 8, MAP_CALL(DoSoundPlay),
"o", kDoSoundPlay_workarounds },
166 { SIG_SCI32, 9, MAP_CALL(DoSoundStop),
"o", NULL },
167 { SIG_SCI32, 10, MAP_CALL(DoSoundPause),
"[o0]i", NULL },
168 { SIG_SCI32, 11, MAP_CALL(DoSoundFade),
"oiiii", kDoSoundFade_workarounds },
169 { SIG_SCI32, 12, MAP_CALL(DoSoundSetHold),
"oi", NULL },
170 { SIG_SCI32, 13, MAP_EMPTY(DoSoundDummy), NULL, NULL },
171 { SIG_SCI32, 14, MAP_CALL(DoSoundSetVolume),
"oi", NULL },
172 { SIG_SCI32, 15, MAP_CALL(DoSoundSetPriority),
"oi", NULL },
173 { SIG_SCI32, 16, MAP_CALL(DoSoundSetLoop),
"oi", NULL },
174 { SIG_SCI32, 17, MAP_CALL(DoSoundUpdateCues),
"o", NULL },
175 { SIG_SCI32, 18, MAP_CALL(DoSoundSendMidi),
"oiiii", NULL },
176 { SIG_SCI32, 19, MAP_CALL(DoSoundGlobalReverb),
"(i)", NULL },
177 { SIG_SCI32, 20, MAP_CALL(DoSoundUpdate),
"o", NULL },
179 SCI_SUBOPENTRY_TERMINATOR
217 { SIG_SCI32, 0, MAP_CALL(DoAudioInit),
"", NULL },
221 { SIG_SINCE_SCI21, 1, MAP_CALL(DoAudioWaitForPlay),
"(i)(i)(i)(i)(i)(i)(i)", NULL },
223 { SIG_SCI32, 2, MAP_CALL(DoAudioPlay),
"(i)(i)(i)(i)(i)([ir])(i)", NULL },
224 { SIG_SCI32, 3, MAP_CALL(DoAudioStop),
"(i)(i)(i)(i)(i)(r)", NULL },
225 { SIG_SCI32, 4, MAP_CALL(DoAudioPause),
"(i)(i)(i)(i)(i)(r)", NULL },
226 { SIG_SCI32, 5, MAP_CALL(DoAudioResume),
"(i)(i)(i)(i)(i)(r)", kDoAudioResume_workarounds },
227 { SIG_SCI32, 6, MAP_CALL(DoAudioPosition),
"(i)(i)(i)(i)(i)(r)", NULL },
228 { SIG_SCI32, 7, MAP_CALL(DoAudioRate),
"(i)", NULL },
229 { SIG_SCI32, 8, MAP_CALL(DoAudioVolume),
"(i)(i)(i)(i)(i)(i)", NULL },
230 { SIG_SCI32, 9, MAP_CALL(DoAudioGetCapability),
"", NULL },
231 { SIG_SCI32, 10, MAP_CALL(DoAudioBitDepth),
"(i)", NULL },
232 { SIG_SCI32, 11, MAP_DUMMY(DoAudioDistort),
"(i)", NULL },
233 { SIG_SCI32, 12, MAP_CALL(DoAudioMixing),
"(i)", NULL },
234 { SIG_SCI2, 13, MAP_EMPTY(DoAudioSetBufferSize),
"i", NULL },
235 { SIG_SINCE_SCI21, 13, MAP_CALL(DoAudioChannels),
"(i)", NULL },
236 { SIG_SINCE_SCI21, 14, MAP_CALL(DoAudioPreload),
"(i)", NULL },
237 { SIG_SINCE_SCI21MID, 15, MAP_CALL(DoAudioFade),
"(iiii)(i)(i)", NULL },
238 { SIG_SINCE_SCI21MID, 16, MAP_DUMMY(DoAudioFade36),
"iiiii(iii)(i)", NULL },
239 { SIG_SINCE_SCI21MID, 17, MAP_CALL(DoAudioHasSignal),
"", NULL },
240 { SIG_SINCE_SCI21MID, 18, MAP_EMPTY(DoAudioCritical),
"(i)", NULL },
241 { SIG_SINCE_SCI21MID, 19, MAP_CALL(DoAudioSetLoop),
"iii(o)", NULL },
242 { SIG_SINCE_SCI21LATE,20, MAP_CALL(DoAudioPan),
"ii(i)(iii)", NULL },
243 { SIG_SINCE_SCI21LATE,21, MAP_CALL(DoAudioPanOff),
"i(i)(iii)", NULL },
244 SCI_SUBOPENTRY_TERMINATOR
251 { SIG_SCIALL, 2, MAP_CALL(GraphGetColorCount),
"", NULL },
253 { SIG_SCIALL, 4, MAP_CALL(GraphDrawLine),
"iiiii(i)(i)", kGraphDrawLine_workarounds },
256 { SIG_SCIALL, 7, MAP_CALL(GraphSaveBox),
"iiiii", kGraphSaveBox_workarounds },
257 { SIG_SCIALL, 8, MAP_CALL(GraphRestoreBox),
"[r0!]", kGraphRestoreBox_workarounds },
259 { SIG_SCIALL, 9, MAP_CALL(GraphFillBoxBackground),
"iiii", NULL },
260 { SIG_SCIALL, 10, MAP_CALL(GraphFillBoxForeground),
"iiii", kGraphFillBoxForeground_workarounds },
261 { SIG_SCIALL, 11, MAP_CALL(GraphFillBoxAny),
"iiiiii(i)(i)", kGraphFillBoxAny_workarounds },
262 { SIG_SCI11, 12, MAP_CALL(GraphUpdateBox),
"iiii(i)(r0)", kGraphUpdateBox_workarounds },
263 { SIG_SCIALL, 12, MAP_CALL(GraphUpdateBox),
"iiii(i)", kGraphUpdateBox_workarounds },
264 { SIG_SCIALL, 13, MAP_CALL(GraphRedrawBox),
"iiii", kGraphRedrawBox_workarounds },
265 { SIG_SCIALL, 14, MAP_CALL(GraphAdjustPriority),
"ii", NULL },
266 { SIG_SCI11, 15, MAP_CALL(GraphSaveUpscaledHiresBox),
"iiii(i)", NULL },
267 SCI_SUBOPENTRY_TERMINATOR
272 { SIG_SCI16, 0, MAP_CALL(PalVaryInit),
"ii(i)(i)", NULL },
273 { SIG_SCI16, 1, MAP_CALL(PalVaryReverse),
"(i)(i)(i)", NULL },
274 { SIG_SCI16, 2, MAP_CALL(PalVaryGetCurrentStep),
"", NULL },
275 { SIG_SCI16, 3, MAP_CALL(PalVaryDeinit),
"", NULL },
276 { SIG_SCI16, 4, MAP_CALL(PalVaryChangeTarget),
"i", NULL },
277 { SIG_SCI16, 5, MAP_CALL(PalVaryChangeTicks),
"i", NULL },
278 { SIG_SCI16, 6, MAP_CALL(PalVaryPauseResume),
"i", NULL },
280 { SIG_SCI32, 0, MAP_CALL(PalVarySetVary),
"i(i)(i)(i)(i)", kPalVarySetVary_workarounds },
281 { SIG_SCI32, 1, MAP_CALL(PalVarySetPercent),
"(i)(i)", kPalVarySetPercent_workarounds },
282 { SIG_SCI32, 2, MAP_CALL(PalVaryGetPercent),
"", NULL },
283 { SIG_SCI32, 3, MAP_CALL(PalVaryOff),
"", NULL },
284 { SIG_SCI32, 4, MAP_CALL(PalVaryMergeTarget),
"i", NULL },
285 { SIG_SCI32, 5, MAP_CALL(PalVarySetTime),
"i", NULL },
286 { SIG_SCI32, 6, MAP_CALL(PalVaryPauseResume),
"i", NULL },
287 { SIG_SCI32, 7, MAP_CALL(PalVarySetTarget),
"i", NULL },
288 { SIG_SCI32, 8, MAP_CALL(PalVarySetStart),
"i", kPalVarySetStart_workarounds },
289 { SIG_SCI32, 9, MAP_CALL(PalVaryMergeStart),
"i", kPalVaryMergeStart_workarounds },
291 SCI_SUBOPENTRY_TERMINATOR
296 { SIG_SCI16, 1, MAP_CALL(PaletteSetFromResource),
"i(i)", NULL },
297 { SIG_SCI16, 2, MAP_CALL(PaletteSetFlag),
"iii", NULL },
298 { SIG_SCI16, 3, MAP_CALL(PaletteUnsetFlag),
"iii", kPaletteUnsetFlag_workarounds },
299 { SIG_SCI16, 4, MAP_CALL(PaletteSetIntensity),
"iii(i)", NULL },
300 { SIG_SCI16, 5, MAP_CALL(PaletteFindColor),
"iii", NULL },
301 { SIG_SCI16, 6, MAP_CALL(PaletteAnimate),
"i*", NULL },
302 { SIG_SCI16, 7, MAP_CALL(PaletteSave),
"", NULL },
303 { SIG_SCI16, 8, MAP_CALL(PaletteRestore),
"[r0]", NULL },
305 { SIG_SCI32, 1, MAP_CALL(PaletteSetFromResource32),
"i(i)", NULL },
306 { SIG_SCI32, 2, MAP_CALL(PaletteSetFade),
"iii", NULL },
307 { SIG_SCI32, 3, MAP_CALL(PaletteFindColor32),
"iii", NULL },
308 { SIG_SCI32, 4, MAP_CALL(PaletteSetGamma),
"i", NULL },
310 SCI_SUBOPENTRY_TERMINATOR
315 { SIG_SCIALL, 0, MAP_CALL(FileIOOpen),
"ri", kFileIOOpen_workarounds },
316 { SIG_SCIALL, 1, MAP_CALL(FileIOClose),
"i", NULL },
317 { SIG_SCIALL, 2, MAP_CALL(FileIOReadRaw),
"iri", NULL },
318 { SIG_SCIALL, 3, MAP_CALL(FileIOWriteRaw),
"iri", NULL },
319 { SIG_SCIALL, 4, MAP_CALL(FileIOUnlink),
"r", NULL },
320 { SIG_SCIALL, 5, MAP_CALL(FileIOReadString),
"rii", kFileIOReadString_workarounds },
321 { SIG_SCIALL, 6, MAP_CALL(FileIOWriteString),
"ir", NULL },
322 { SIG_SCIALL, 7, MAP_CALL(FileIOSeek),
"iii", NULL },
323 { SIG_SCIALL, 8, MAP_CALL(FileIOFindFirst),
"rri", NULL },
324 { SIG_SCIALL, 9, MAP_CALL(FileIOFindNext),
"r", NULL },
325 { SIG_SCIALL, 10, MAP_CALL(FileIOExists),
"r", NULL },
326 { SIG_SINCE_SCI11, 11, MAP_CALL(FileIORename),
"rr", NULL },
327 { SIG_SINCE_SCI11, 12, MAP_CALL(FileIOCopy),
"rr", NULL },
329 { SIG_SINCE_SCI21MID, 13, MAP_CALL(FileIOReadByte),
"i", NULL },
330 { SIG_SINCE_SCI21MID, 14, MAP_CALL(FileIOWriteByte),
"ii", NULL },
331 { SIG_SINCE_SCI21MID, 15, MAP_CALL(FileIOReadWord),
"i", NULL },
332 { SIG_SCI21MID, 16, MAP_CALL(FileIOWriteWord),
"ii", NULL },
333 { SIG_SINCE_SCI21LATE,16, MAP_CALL(FileIOWriteWord),
"i[.!]", NULL },
334 { SIG_SINCE_SCI21MID, 17,
"FileIOCheckFreeSpace", kCheckFreeSpace,
"i(r)", kFileIOCheckFreeSpace_workarounds },
335 { SIG_SINCE_SCI21MID, 18, MAP_CALL(FileIOGetCWD),
"r", NULL },
336 { SIG_SINCE_SCI21MID, 19, MAP_CALL(FileIOIsValidDirectory),
"[ro]", NULL },
338 SCI_SUBOPENTRY_TERMINATOR
345 { SIG_SCI32, 0, MAP_CALL(PalCycleSetCycle),
"iii(i)", NULL },
346 { SIG_SCI32, 1, MAP_CALL(PalCycleDoCycle),
"i(i)", NULL },
347 { SIG_SCI32, 2, MAP_CALL(PalCyclePause),
"(i)", NULL },
348 { SIG_SCI32, 3, MAP_CALL(PalCycleOn),
"(i)", NULL },
349 { SIG_SCI32, 4, MAP_CALL(PalCycleOff),
"(i)", NULL },
350 SCI_SUBOPENTRY_TERMINATOR
355 { SIG_SCI32, 0, MAP_CALL(SaveGame32),
"[r0]i[r0][r0]", NULL },
356 { SIG_SCI32, 1, MAP_CALL(RestoreGame32),
"[r0]i[r0]", NULL },
361 { SIG_SCI32, 2, MAP_CALL(GetSaveDir),
"(r)", NULL },
362 { SIG_SCI32, 3, MAP_CALL(CheckSaveGame32),
"ri[r0]", NULL },
364 { SIG_SCI32, 5, MAP_CALL(GetSaveFiles32),
"rrr", NULL },
365 { SIG_SCI32, 6, MAP_CALL(MakeSaveCatName),
"rr", NULL },
366 { SIG_SCI32, 7, MAP_CALL(MakeSaveFileName),
"rri", NULL },
367 { SIG_SCI32, 8, MAP_EMPTY(GameIsRestarting),
"(.*)", NULL },
368 SCI_SUBOPENTRY_TERMINATOR
373 { SIG_SINCE_SCI21MID, 0, MAP_CALL(PointSize),
"i", NULL },
374 { SIG_SINCE_SCI21MID, 1, MAP_CALL(SetFontRes),
"ii", NULL },
375 SCI_SUBOPENTRY_TERMINATOR
380 { SIG_SINCE_SCI21MID, 0, MAP_CALL(TextSize32),
"r[r0]i(i)(i)", NULL },
381 { SIG_SINCE_SCI21MID, 1, MAP_CALL(TextWidth),
"ri", NULL },
382 SCI_SUBOPENTRY_TERMINATOR
387 { SIG_SINCE_SCI21, 0, MAP_CALL(BitmapCreate),
"iiii(i)(i)(i)", NULL },
388 { SIG_SINCE_SCI21, 1, MAP_CALL(BitmapDestroy),
"[r!]", NULL },
389 { SIG_SINCE_SCI21, 2, MAP_DUMMY(BitmapDrawLine),
"riiiii(i)(i)", NULL },
390 { SIG_SINCE_SCI21, 3, MAP_CALL(BitmapDrawView),
"riii(i)(i)(0)(i)(i)", NULL },
391 { SIG_SINCE_SCI21, 4, MAP_CALL(BitmapDrawText),
"rriiiiiiiiiii", NULL },
392 { SIG_SINCE_SCI21, 5, MAP_CALL(BitmapDrawColor),
"riiiii", NULL },
393 { SIG_SINCE_SCI21, 6, MAP_DUMMY(BitmapDrawBitmap),
"rr(i)(i)(i)", NULL },
394 { SIG_SINCE_SCI21, 7, MAP_DUMMY(BitmapInvert),
"riiiiii", NULL },
395 { SIG_SINCE_SCI21MID, 8, MAP_CALL(BitmapSetOrigin),
"rii", NULL },
396 { SIG_SINCE_SCI21MID, 9, MAP_CALL(BitmapCreateFromView),
"iii(i)(i)(i)([r0])", NULL },
397 { SIG_SINCE_SCI21MID, 10, MAP_DUMMY(BitmapCopyPixels),
"rr", NULL },
398 { SIG_SINCE_SCI21MID, 11, MAP_DUMMY(BitmapClone),
"r", NULL },
399 { SIG_SINCE_SCI21MID, 12, MAP_CALL(BitmapGetInfo),
"r(i)(i)", NULL },
400 { SIG_SINCE_SCI21LATE,13, MAP_DUMMY(BitmapScale),
"r...ii", NULL },
401 { SIG_SINCE_SCI21LATE,14, MAP_DUMMY(BitmapCreateFromUnknown),
"......", NULL },
402 { SIG_SCI3, 15, MAP_DUMMY(Bitmap),
"(.*)", NULL },
403 { SIG_SCI3, 16, MAP_DUMMY(Bitmap),
"(.*)", NULL },
404 SCI_SUBOPENTRY_TERMINATOR
409 { SIG_SINCE_SCI21MID, 0, MAP_CALL(CheckCD),
"(i)(i)", NULL },
410 { SIG_SINCE_SCI21MID, 1, MAP_CALL(GetSavedCD),
"", NULL },
411 SCI_SUBOPENTRY_TERMINATOR
416 { SIG_SINCE_SCI21, 0, MAP_CALL(NewList),
"", NULL },
417 { SIG_SINCE_SCI21, 1, MAP_CALL(DisposeList),
"l", NULL },
418 { SIG_SINCE_SCI21, 2, MAP_CALL(NewNode),
".(.)", NULL },
419 { SIG_SINCE_SCI21, 3, MAP_CALL(FirstNode),
"[l0]", NULL },
420 { SIG_SINCE_SCI21, 4, MAP_CALL(LastNode),
"l", NULL },
421 { SIG_SINCE_SCI21, 5, MAP_CALL(EmptyList),
"l", NULL },
422 { SIG_SINCE_SCI21, 6, MAP_CALL(NextNode),
"n", NULL },
423 { SIG_SINCE_SCI21, 7, MAP_CALL(PrevNode),
"n", NULL },
424 { SIG_SINCE_SCI21, 8, MAP_CALL(NodeValue),
"[n0]", NULL },
425 { SIG_SINCE_SCI21, 9, MAP_CALL(AddAfter),
"lnn(.)", NULL },
426 { SIG_SINCE_SCI21, 10, MAP_CALL(AddToFront),
"ln(.)", NULL },
427 { SIG_SINCE_SCI21, 11, MAP_CALL(AddToEnd),
"ln(.)", NULL },
428 { SIG_SINCE_SCI21, 12, MAP_CALL(AddBefore),
"ln.", NULL },
429 { SIG_SINCE_SCI21, 13, MAP_CALL(MoveToFront),
"ln", NULL },
430 { SIG_SINCE_SCI21, 14, MAP_CALL(MoveToEnd),
"ln", NULL },
431 { SIG_SINCE_SCI21, 15, MAP_CALL(FindKey),
"l.", NULL },
432 { SIG_SINCE_SCI21, 16, MAP_CALL(DeleteKey),
"l.", NULL },
433 { SIG_SINCE_SCI21, 17, MAP_CALL(ListAt),
"li", kListAt_workarounds },
434 { SIG_SINCE_SCI21, 18, MAP_CALL(ListIndexOf) ,
"l[io]", NULL },
435 { SIG_SINCE_SCI21, 19, MAP_CALL(ListEachElementDo),
"li(.*)", NULL },
436 { SIG_SINCE_SCI21, 20, MAP_CALL(ListFirstTrue),
"li(.*)", NULL },
437 { SIG_SINCE_SCI21, 21, MAP_CALL(ListAllTrue),
"li(.*)", NULL },
438 { SIG_SINCE_SCI21, 22, MAP_CALL(ListSort),
"li(i)", NULL },
439 SCI_SUBOPENTRY_TERMINATOR
444 { SIG_SCI2, 0, MAP_CALL(ShowMovieWinOpen),
"r", NULL },
445 { SIG_SCI2, 1, MAP_CALL(ShowMovieWinInit),
"ii(ii)", NULL },
446 { SIG_SCI2, 2, MAP_CALL(ShowMovieWinPlay),
"i", NULL },
447 { SIG_SCI2, 6, MAP_CALL(ShowMovieWinClose),
"", NULL },
448 { SIG_SINCE_SCI21, 0, MAP_CALL(ShowMovieWinOpen),
"ir", NULL },
449 { SIG_SINCE_SCI21, 1, MAP_CALL(ShowMovieWinInit),
"iii(ii)", NULL },
450 { SIG_SINCE_SCI21, 2, MAP_CALL(ShowMovieWinPlay),
"i(ii)(i)(i)", NULL },
451 { SIG_SINCE_SCI21, 6, MAP_CALL(ShowMovieWinClose),
"i", NULL },
455 { SIG_SINCE_SCI21, 7, MAP_EMPTY(ShowMovieWinSetPalette),
"i", NULL },
456 { SIG_SINCE_SCI21, 8, MAP_CALL(ShowMovieWinGetDuration),
"i", NULL },
457 { SIG_SINCE_SCI21, 11, MAP_CALL(ShowMovieWinCue),
"ii", NULL },
458 { SIG_SINCE_SCI21, 14, MAP_CALL(ShowMovieWinPlayUntilEvent),
"i(i)", NULL },
459 { SIG_SINCE_SCI21, 15, MAP_CALL(ShowMovieWinInitDouble),
"iii", NULL },
460 SCI_SUBOPENTRY_TERMINATOR
467 { SIG_SINCE_SCI21, 0, MAP_CALL(PlayVMDOpen),
"r(i)(i)", NULL },
468 { SIG_SINCE_SCI21, 1, MAP_CALL(PlayVMDInit),
"ii(i)(i)(ii)", NULL },
469 { SIG_SINCE_SCI21, 6, MAP_CALL(PlayVMDClose),
"", NULL },
470 { SIG_SINCE_SCI21, 7, MAP_CALL(PlayVMDIgnorePalettes),
"", NULL },
471 { SIG_SINCE_SCI21, 10, MAP_CALL(PlayVMDGetStatus),
"", NULL },
472 { SIG_SINCE_SCI21, 14, MAP_CALL(PlayVMDPlayUntilEvent),
"i(i)(i)", NULL },
473 { SIG_SINCE_SCI21, 16, MAP_CALL(PlayVMDShowCursor),
"i", NULL },
474 { SIG_SINCE_SCI21, 17, MAP_CALL(PlayVMDStartBlob),
"", NULL },
475 { SIG_SINCE_SCI21, 18, MAP_CALL(PlayVMDStopBlobs),
"", NULL },
476 { SIG_SINCE_SCI21, 19, MAP_CALL(PlayVMDAddBlob),
"iiiii", NULL },
477 { SIG_SINCE_SCI21, 20, MAP_CALL(PlayVMDDeleteBlob),
"i", NULL },
478 { SIG_SINCE_SCI21, 21, MAP_CALL(PlayVMDSetBlackoutArea),
"iiii", NULL },
479 { SIG_SINCE_SCI21, 23, MAP_CALL(PlayVMDRestrictPalette),
"ii", NULL },
480 { SIG_SINCE_SCI21LATE,27, MAP_CALL(PlayVMDSetPlane),
"i(i)", NULL },
481 { SIG_SINCE_SCI21LATE,28, MAP_EMPTY(PlayVMDSetPreload),
"i", NULL },
482 { SIG_SINCE_SCI21LATE,31, MAP_EMPTY(PlayVMDSetFrameRate),
"i", NULL },
483 SCI_SUBOPENTRY_TERMINATOR
488 { SIG_SINCE_SCI21, 0, MAP_CALL(RobotOpen),
"ioiii(i)", NULL },
489 { SIG_SINCE_SCI21, 1, MAP_CALL(RobotShowFrame),
"i(ii)", NULL },
490 { SIG_SINCE_SCI21, 2, MAP_CALL(RobotGetFrameSize),
"r", NULL },
491 { SIG_SINCE_SCI21, 4, MAP_CALL(RobotPlay),
"", NULL },
492 { SIG_SINCE_SCI21, 5, MAP_CALL(RobotGetIsFinished),
"", NULL },
493 { SIG_SINCE_SCI21, 6, MAP_CALL(RobotGetIsInitialized),
"", NULL },
494 { SIG_SINCE_SCI21, 7, MAP_CALL(RobotClose),
"", NULL },
495 { SIG_SINCE_SCI21, 8, MAP_CALL(RobotGetCue),
"o", NULL },
496 { SIG_SINCE_SCI21, 10, MAP_CALL(RobotPause),
"", NULL },
497 { SIG_SINCE_SCI21, 11, MAP_CALL(RobotGetFrameNo),
"", NULL },
498 { SIG_SINCE_SCI21, 12, MAP_CALL(RobotSetPriority),
"i", NULL },
499 SCI_SUBOPENTRY_TERMINATOR
504 { SIG_SCI3, 1, MAP_CALL(PlayDuckPlay),
"iiiii", NULL },
505 { SIG_SCI3, 2, MAP_CALL(PlayDuckSetFrameOut),
"i", NULL },
506 { SIG_SCI3, 5, MAP_CALL(PlayDuckClose),
"", NULL },
507 { SIG_SCI3, 6, MAP_CALL(PlayDuckSetVolume),
"i", NULL },
508 SCI_SUBOPENTRY_TERMINATOR
513 { SIG_SCI32, 0, MAP_CALL(RemapColorsOff),
"(i)", NULL },
514 { SIG_SCI32, 1, MAP_CALL(RemapColorsByRange),
"iiii(i)", NULL },
515 { SIG_SCI32, 2, MAP_CALL(RemapColorsByPercent),
"ii(i)", NULL },
516 { SIG_SCI32, 3, MAP_CALL(RemapColorsToGray),
"ii(i)", NULL },
517 { SIG_SCI32, 4, MAP_CALL(RemapColorsToPercentGray),
"iii(i)", NULL },
518 { SIG_SCI32, 5, MAP_CALL(RemapColorsBlockRange),
"ii", NULL },
519 SCI_SUBOPENTRY_TERMINATOR
524 { SIG_SCI32, 0, MAP_CALL(ArrayNew),
"ii", NULL },
525 { SIG_SCI32, 1, MAP_CALL(ArrayGetSize),
"r", NULL },
526 { SIG_SCI32, 2, MAP_CALL(ArrayGetElement),
"ri", NULL },
527 { SIG_SCI32, 3, MAP_CALL(ArraySetElements),
"ri(.*)", kArraySetElements_workarounds },
528 { SIG_SCI32, 4, MAP_CALL(ArrayFree),
"[r0]", NULL },
529 { SIG_SCI32, 5, MAP_CALL(ArrayFill),
"riii", kArrayFill_workarounds },
530 { SIG_SCI32, 6, MAP_CALL(ArrayCopy),
"ri[r0]ii", NULL },
532 { SIG_SCI32, 8, MAP_CALL(ArrayDuplicate),
"r", NULL },
533 { SIG_SCI32, 9, MAP_CALL(ArrayGetData),
"[or0]", NULL },
534 { SIG_SCI3, 10, MAP_CALL(ArrayByteCopy),
"ririi", NULL },
535 SCI_SUBOPENTRY_TERMINATOR
543 { SIG_THRU_SCI21MID, 0, MAP_CALL(StringNew),
"i(i)", NULL },
544 { SIG_THRU_SCI21MID, 1, MAP_CALL(ArrayGetSize),
"r", NULL },
545 { SIG_THRU_SCI21MID, 2, MAP_CALL(StringGetChar),
"[r0]i", NULL },
546 { SIG_THRU_SCI21MID, 3, MAP_CALL(ArraySetElements),
"ri(i*)", kArraySetElements_workarounds },
547 { SIG_THRU_SCI21MID, 4, MAP_CALL(StringFree),
"[r0]", NULL },
548 { SIG_THRU_SCI21MID, 5, MAP_CALL(ArrayFill),
"riii", kArrayFill_workarounds },
549 { SIG_THRU_SCI21MID, 6, MAP_CALL(ArrayCopy),
"ri[r0]ii", NULL },
550 { SIG_SCI32, 7, MAP_CALL(StringCompare),
"[r0][r0](i)", NULL },
552 { SIG_THRU_SCI21MID, 8, MAP_CALL(ArrayDuplicate),
"r", NULL },
553 { SIG_THRU_SCI21MID, 9, MAP_CALL(ArrayGetData),
"[or0]", NULL },
554 { SIG_THRU_SCI21MID, 10, MAP_CALL(StringLength),
"[r0]", NULL },
555 { SIG_THRU_SCI21MID, 11, MAP_CALL(StringFormat),
"[or0](.*)", NULL },
556 { SIG_THRU_SCI21MID, 12, MAP_CALL(StringFormatAt),
"r[or0](.*)", NULL },
557 { SIG_THRU_SCI21MID, 13, MAP_CALL(StringToInteger),
"[r0]", NULL },
558 { SIG_THRU_SCI21MID, 14, MAP_CALL(StringTrim),
"[r0]i(i)", NULL },
559 { SIG_THRU_SCI21MID, 15, MAP_CALL(StringToUpperCase),
"[r0]", NULL },
560 { SIG_THRU_SCI21MID, 16, MAP_CALL(StringToLowerCase),
"[r0]", NULL },
561 { SIG_THRU_SCI21MID, 17, MAP_CALL(StringReplaceSubstring),
"[r0][r0][r0][r0]", NULL },
562 { SIG_THRU_SCI21MID, 18, MAP_CALL(StringReplaceSubstringEx),
"[r0][r0][r0][r0]", NULL },
564 { SIG_SINCE_SCI21LATE, 8, MAP_CALL(StringLength),
"[r0]", NULL },
565 { SIG_SINCE_SCI21LATE, 9, MAP_CALL(StringFormat),
"[or0](.*)", NULL },
566 { SIG_SINCE_SCI21LATE,10, MAP_CALL(StringFormatAt),
"[r0][or0](.*)", NULL },
567 { SIG_SINCE_SCI21LATE,11, MAP_CALL(StringToInteger),
"[r0]", NULL },
568 { SIG_SINCE_SCI21LATE,12, MAP_CALL(StringTrim),
"[r0]i(i)", NULL },
569 { SIG_SINCE_SCI21LATE,13, MAP_CALL(StringToUpperCase),
"[r0]", NULL },
570 { SIG_SINCE_SCI21LATE,14, MAP_CALL(StringToLowerCase),
"[r0]", NULL },
571 { SIG_SINCE_SCI21LATE,15, MAP_CALL(StringReplaceSubstring),
"[r0][r0][r0][r0]", NULL },
572 { SIG_SINCE_SCI21LATE,16, MAP_CALL(StringReplaceSubstringEx),
"[r0][r0][r0][r0]", NULL },
573 SCI_SUBOPENTRY_TERMINATOR
578 { SIG_SINCE_SCI21MID, 0, MAP_CALL(CelInfoGetOriginX),
"iii", NULL },
579 { SIG_SINCE_SCI21MID, 1, MAP_CALL(CelInfoGetOriginY),
"iii", NULL },
580 { SIG_SINCE_SCI21MID, 2, MAP_EMPTY(
CelInfo),
"iii", NULL },
581 { SIG_SINCE_SCI21MID, 3, MAP_EMPTY(
CelInfo),
"iii", NULL },
582 { SIG_SINCE_SCI21MID, 4, MAP_CALL(CelInfoGetPixel),
"iiiii", NULL },
583 SCI_SUBOPENTRY_TERMINATOR
588 { SIG_SINCE_SCI21MID, 0, MAP_DUMMY(CelLink0),
"", NULL },
589 { SIG_SINCE_SCI21MID, 1, MAP_DUMMY(CelLink1),
"", NULL },
590 { SIG_SINCE_SCI21MID, 2, MAP_CALL(CelLinkGetX),
"iiii", NULL },
591 { SIG_SINCE_SCI21MID, 3, MAP_CALL(CelLinkGetY),
"iiii", NULL },
592 { SIG_SINCE_SCI21MID, 4, MAP_DUMMY(CelLink4),
"", NULL },
593 SCI_SUBOPENTRY_TERMINATOR
598 { SIG_SCI32, 0, MAP_CALL(ScrollWindowCreate),
"oi", NULL },
599 { SIG_SCI32, 1, MAP_CALL(ScrollWindowAdd),
"iriii(i)", kScrollWindowAdd_workarounds },
600 { SIG_SCI32, 2, MAP_DUMMY(ScrollWindowClear),
"i", NULL },
601 { SIG_SCI32, 3, MAP_CALL(ScrollWindowPageUp),
"i", NULL },
602 { SIG_SCI32, 4, MAP_CALL(ScrollWindowPageDown),
"i", NULL },
603 { SIG_SCI32, 5, MAP_CALL(ScrollWindowUpArrow),
"i", NULL },
604 { SIG_SCI32, 6, MAP_CALL(ScrollWindowDownArrow),
"i", NULL },
605 { SIG_SCI32, 7, MAP_CALL(ScrollWindowHome),
"i", NULL },
606 { SIG_SCI32, 8, MAP_CALL(ScrollWindowEnd),
"i", NULL },
607 { SIG_SCI32, 9, MAP_DUMMY(ScrollWindowResize),
"i.", NULL },
608 { SIG_SCI32, 10, MAP_CALL(ScrollWindowWhere),
"ii", NULL },
609 { SIG_SCI32, 11, MAP_CALL(ScrollWindowGo),
"i..", NULL },
610 { SIG_SCI32, 12, MAP_DUMMY(ScrollWindowInsert),
"i.....", NULL },
611 { SIG_SCI32, 13, MAP_DUMMY(ScrollWindowDelete),
"i.", NULL },
612 { SIG_SCI32, 14, MAP_CALL(ScrollWindowModify),
"iiriii(i)", NULL },
613 { SIG_SCI32, 15, MAP_CALL(ScrollWindowHide),
"i", NULL },
614 { SIG_SCI32, 16, MAP_CALL(ScrollWindowShow),
"i", NULL },
615 { SIG_SCI32, 17, MAP_CALL(ScrollWindowDestroy),
"i", NULL },
621 { SIG_SCI32, 18, MAP_EMPTY(ScrollWindowText),
"i", NULL },
622 { SIG_SCI32, 19, MAP_EMPTY(ScrollWindowReconstruct),
"i.", NULL },
623 SCI_SUBOPENTRY_TERMINATOR
630 KernelFunctionCall *
function;
636 const char *signature;
643 { MAP_CALL(Abs), SIG_EVERYWHERE,
"i", NULL, kAbs_workarounds },
644 { MAP_CALL(AddAfter), SIG_EVERYWHERE,
"lnn", NULL, NULL },
645 { MAP_CALL(AddMenu), SIG_EVERYWHERE,
"rr", NULL, NULL },
646 { MAP_CALL(AddToEnd), SIG_EVERYWHERE,
"ln", NULL, NULL },
647 { MAP_CALL(AddToFront), SIG_EVERYWHERE,
"ln", NULL, NULL },
648 { MAP_CALL(AddToPic), SIG_EVERYWHERE,
"[il](iiiiii)", NULL, NULL },
649 { MAP_CALL(Animate), SIG_EVERYWHERE,
"(l0)(i)", NULL, kAnimate_workarounds },
650 { MAP_CALL(AssertPalette), SIG_EVERYWHERE,
"i", NULL, NULL },
651 { MAP_CALL(AvoidPath), SIG_EVERYWHERE,
"ii(.*)", NULL, NULL },
652 { MAP_CALL(BaseSetter), SIG_SCI16, SIGFOR_ALL,
"o", NULL, NULL },
654 {
"BaseSetter", kBaseSetter32, SIG_SCI32, SIGFOR_ALL,
"o", NULL, NULL },
656 { MAP_CALL(CanBeHere), SIG_EVERYWHERE,
"o(l)", NULL, NULL },
657 { MAP_CALL(CantBeHere), SIG_SCI16, SIGFOR_ALL,
"o(l)", NULL, NULL },
659 { MAP_CALL(CantBeHere), SIG_SCI32, SIGFOR_ALL,
"ol", NULL, NULL },
661 { MAP_CALL(CelHigh), SIG_SCI16, SIGFOR_ALL,
"ii(i)", NULL, kCelHigh_workarounds },
662 { MAP_CALL(CelWide), SIG_SCI16, SIGFOR_ALL,
"ii(i)", NULL, kCelWide_workarounds },
664 {
"CelHigh", kCelHigh32, SIG_SCI32, SIGFOR_ALL,
"iii", NULL, NULL },
665 {
"CelWide", kCelWide32, SIG_SCI32, SIGFOR_ALL,
"iii", NULL, kCelWide_workarounds },
667 { MAP_CALL(CheckFreeSpace), SIG_THRU_SCI21EARLY, SIGFOR_ALL,
"r(i)", NULL, NULL },
668 { MAP_CALL(CheckFreeSpace), SIG_SCI11, SIGFOR_ALL,
"r(i)", NULL, NULL },
669 { MAP_CALL(CheckFreeSpace), SIG_SCI16, SIGFOR_ALL,
"r", NULL, NULL },
671 {
"CheckSaveGame", kCheckSaveGame32, SIG_THRU_SCI21EARLY, SIGFOR_ALL,
"ri[r0]", NULL, NULL },
673 { MAP_CALL(CheckSaveGame), SIG_SCI16, SIGFOR_ALL,
".*", NULL, NULL },
674 { MAP_CALL(
Clone), SIG_EVERYWHERE,
"o", NULL, NULL },
675 { MAP_CALL(CoordPri), SIG_EVERYWHERE,
"i(i)", NULL, NULL },
676 { MAP_CALL(CosDiv), SIG_EVERYWHERE,
"ii", NULL, NULL },
677 { MAP_CALL(DeleteKey), SIG_EVERYWHERE,
"l.", NULL, kDeleteKey_workarounds },
678 { MAP_CALL(DeviceInfo), SIG_EVERYWHERE,
"i(r)(r)(i)", NULL, kDeviceInfo_workarounds },
679 { MAP_CALL(Display), SIG_EVERYWHERE,
"[ir]([ir!]*)", NULL, kDisplay_workarounds },
682 { MAP_CALL(DirLoop), SIG_EVERYWHERE,
"oi", NULL, kDirLoop_workarounds },
683 { MAP_CALL(DisposeClone), SIG_EVERYWHERE,
"o", NULL, NULL },
684 { MAP_CALL(DisposeList), SIG_EVERYWHERE,
"l", NULL, NULL },
685 { MAP_CALL(DisposeScript), SIG_EVERYWHERE,
"i(i*)", NULL, kDisposeScript_workarounds },
686 { MAP_CALL(DisposeWindow), SIG_EVERYWHERE,
"i(i)", NULL, NULL },
687 { MAP_CALL(DoAudio), SIG_SCI16, SIGFOR_ALL,
"i(.*)", NULL, NULL },
689 {
"DoAudio", kDoAudio32, SIG_SCI32, SIGFOR_ALL,
"(.*)", kDoAudio_subops, NULL },
691 { MAP_CALL(DoAvoider), SIG_EVERYWHERE,
"o(i)", NULL, NULL },
692 { MAP_CALL(DoBresen), SIG_EVERYWHERE,
"o", NULL, NULL },
693 { MAP_CALL(DoSound), SIG_EVERYWHERE,
"i(.*)", kDoSound_subops, NULL },
694 { MAP_CALL(DoSync), SIG_EVERYWHERE,
"i(.*)", NULL, NULL },
695 { MAP_CALL(DrawCel), SIG_SCI11, SIGFOR_PC,
"iiiii(i)(i)([ri])", NULL, NULL },
696 { MAP_CALL(DrawCel), SIG_EVERYWHERE,
"iiiii(i)(i)", NULL, NULL },
697 { MAP_CALL(DrawControl), SIG_EVERYWHERE,
"o", NULL, NULL },
698 { MAP_CALL(DrawMenuBar), SIG_EVERYWHERE,
"i", NULL, NULL },
699 { MAP_CALL(DrawPic), SIG_EVERYWHERE,
"i(i)(i)(i)", NULL, NULL },
700 { MAP_CALL(DrawStatus), SIG_EVERYWHERE,
"[r0](i)(i)", NULL, NULL },
701 { MAP_CALL(EditControl), SIG_EVERYWHERE,
"[o0][o0]", NULL, NULL },
702 { MAP_CALL(Empty), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
703 { MAP_CALL(EmptyList), SIG_EVERYWHERE,
"l", NULL, NULL },
704 {
"FClose", kFileIOClose, SIG_EVERYWHERE,
"i", NULL, NULL },
705 {
"FGets", kFileIOReadString, SIG_EVERYWHERE,
"rii", NULL, kFileIOReadString_workarounds },
706 {
"FOpen", kFileIOOpen, SIG_EVERYWHERE,
"ri", NULL, NULL },
707 {
"FPuts", kFileIOWriteString, SIG_EVERYWHERE,
"ir", NULL, NULL },
708 { MAP_CALL(FileIO), SIG_EVERYWHERE,
"i([.!]*)", kFileIO_subops, NULL },
709 { MAP_CALL(FindKey), SIG_EVERYWHERE,
"l.", NULL, kFindKey_workarounds },
710 { MAP_CALL(FirstNode), SIG_EVERYWHERE,
"[l0]", NULL, NULL },
711 { MAP_CALL(FlushResources), SIG_EVERYWHERE,
"i", NULL, NULL },
712 { MAP_CALL(Format), SIG_EVERYWHERE,
"r[ri](.*)", NULL, NULL },
713 { MAP_CALL(GameIsRestarting), SIG_EVERYWHERE,
"(i)", NULL, NULL },
714 { MAP_CALL(GetAngle), SIG_EVERYWHERE,
"iiii", NULL, kGetAngle_workarounds },
715 { MAP_CALL(GetCWD), SIG_EVERYWHERE,
"r", NULL, kGetCWD_workarounds },
716 { MAP_CALL(GetDistance), SIG_EVERYWHERE,
"ii(i)(i)(i)(i)", NULL, NULL },
717 { MAP_CALL(GetEvent), SIG_SCIALL, SIGFOR_MAC,
"io(i*)", NULL, NULL },
718 { MAP_CALL(GetEvent), SIG_EVERYWHERE,
"io", NULL, NULL },
719 { MAP_CALL(GetFarText), SIG_EVERYWHERE,
"ii[r0]", NULL, NULL },
720 { MAP_CALL(GetMenu), SIG_EVERYWHERE,
"i.", NULL, NULL },
721 { MAP_CALL(GetMessage), SIG_EVERYWHERE,
"iiir", NULL, NULL },
722 { MAP_CALL(GetPort), SIG_EVERYWHERE,
"", NULL, NULL },
724 { MAP_CALL(GetSaveDir), SIG_THRU_SCI21EARLY, SIGFOR_ALL,
"(r)", NULL, NULL },
726 { MAP_CALL(GetSaveDir), SIG_SCI16, SIGFOR_ALL,
"", NULL, NULL },
728 {
"GetSaveFiles", kGetSaveFiles32, SIG_THRU_SCI21EARLY, SIGFOR_ALL,
"rrr", NULL, NULL },
730 { MAP_CALL(GetSaveFiles), SIG_EVERYWHERE,
"rrr", NULL, kGetSaveFiles_workarounds },
731 { MAP_CALL(GetTime), SIG_EVERYWHERE,
"(i)", NULL, NULL },
732 { MAP_CALL(GlobalToLocal), SIG_SCI16, SIGFOR_ALL,
"o", NULL, NULL },
734 {
"GlobalToLocal", kGlobalToLocal32, SIG_SCI32, SIGFOR_ALL,
"oo", NULL, NULL },
736 { MAP_CALL(Graph), SIG_SCI16, SIGFOR_ALL, NULL, kGraph_subops, NULL },
738 { MAP_EMPTY(Graph), SIG_SCI32, SIGFOR_ALL,
"(.*)", NULL, NULL },
740 { MAP_CALL(HaveMouse), SIG_EVERYWHERE,
"", NULL, NULL },
741 { MAP_CALL(HiliteControl), SIG_EVERYWHERE,
"o", NULL, NULL },
742 { MAP_CALL(InitBresen), SIG_EVERYWHERE,
"o(i)", NULL, NULL },
743 { MAP_CALL(Intersections), SIG_EVERYWHERE,
"iiiiriiiri", NULL, NULL },
744 { MAP_CALL(IsItSkip), SIG_EVERYWHERE,
"iiiii", NULL, NULL },
745 { MAP_CALL(IsObject), SIG_EVERYWHERE,
".", NULL, kIsObject_workarounds },
746 { MAP_CALL(Joystick), SIG_EVERYWHERE,
"i(.*)", NULL, NULL },
747 { MAP_CALL(LastNode), SIG_EVERYWHERE,
"l", NULL, NULL },
748 { MAP_CALL(Load), SIG_EVERYWHERE,
"ii(i*)", NULL, NULL },
749 { MAP_CALL(LocalToGlobal), SIG_SCI16, SIGFOR_ALL,
"o", NULL, NULL },
751 {
"LocalToGlobal", kLocalToGlobal32, SIG_SCI32, SIGFOR_ALL,
"oo", NULL, NULL },
753 { MAP_CALL(Lock), SIG_EVERYWHERE,
"ii(i)", NULL, kLock_workarounds },
754 { MAP_CALL(MapKeyToDir), SIG_EVERYWHERE,
"o", NULL, NULL },
755 { MAP_CALL(Memory), SIG_EVERYWHERE,
"i(.*)", NULL, kMemory_workarounds },
756 { MAP_CALL(MemoryInfo), SIG_EVERYWHERE,
"i", NULL, NULL },
757 { MAP_CALL(MemorySegment), SIG_EVERYWHERE,
"ir(i)", NULL, NULL },
758 { MAP_CALL(MenuSelect), SIG_EVERYWHERE,
"o(i)", NULL, NULL },
759 { MAP_CALL(MergePoly), SIG_EVERYWHERE,
"rli", NULL, NULL },
760 { MAP_CALL(Message), SIG_EVERYWHERE,
"i(.*)", NULL, NULL },
761 { MAP_CALL(MoveCursor), SIG_EVERYWHERE,
"ii", NULL, kMoveCursor_workarounds },
762 { MAP_CALL(NewList), SIG_EVERYWHERE,
"", NULL, NULL },
763 { MAP_CALL(NewNode), SIG_EVERYWHERE,
"..", NULL, NULL },
764 { MAP_CALL(NewWindow), SIG_SCIALL, SIGFOR_MAC,
".*", NULL, NULL },
765 { MAP_CALL(NewWindow), SIG_SCI0, SIGFOR_ALL,
"iiii[r0]i(i)(i)(i)", NULL, NULL },
766 { MAP_CALL(NewWindow), SIG_SCI1, SIGFOR_ALL,
"iiii[ir]i(i)(i)([ir])(i)(i)(i)(i)", NULL, NULL },
767 { MAP_CALL(NewWindow), SIG_SCI11, SIGFOR_ALL,
"iiiiiiii[r0]i(i)(i)(i)", NULL, kNewWindow_workarounds },
768 { MAP_CALL(NextNode), SIG_EVERYWHERE,
"n", NULL, NULL },
769 { MAP_CALL(NodeValue), SIG_EVERYWHERE,
"[n0]", NULL, NULL },
770 { MAP_CALL(NumCels), SIG_EVERYWHERE,
"o", NULL, NULL },
771 { MAP_CALL(NumLoops), SIG_EVERYWHERE,
"o", NULL, NULL },
772 { MAP_CALL(OnControl), SIG_EVERYWHERE,
"ii(i)(i)(i)", NULL, NULL },
773 { MAP_CALL(PalVary), SIG_EVERYWHERE,
"i(i*)", kPalVary_subops, NULL },
774 { MAP_CALL(
Palette), SIG_EVERYWHERE,
"i(.*)", kPalette_subops, NULL },
775 { MAP_CALL(Parse), SIG_EVERYWHERE,
"ro", NULL, NULL },
776 { MAP_CALL(PicNotValid), SIG_EVERYWHERE,
"(i)", NULL, NULL },
777 { MAP_CALL(
Platform), SIG_SCI16, SIGFOR_ALL,
"(.*)", NULL, NULL },
779 {
"Platform", kPlatform32, SIG_SCI32, SIGFOR_MAC,
"(.*)", NULL, NULL },
780 {
"Platform", kPlatform32, SIG_SCI32, SIGFOR_ALL,
"(i)", NULL, kPlatform32_workarounds },
782 { MAP_CALL(
Portrait), SIG_EVERYWHERE,
"i(.*)", NULL, NULL },
783 { MAP_CALL(PrevNode), SIG_EVERYWHERE,
"n", NULL, NULL },
784 { MAP_CALL(PriCoord), SIG_EVERYWHERE,
"i", NULL, NULL },
785 { MAP_CALL(Random), SIG_EVERYWHERE,
"(i)(i)", NULL, kRandom_workarounds },
786 { MAP_CALL(ReadNumber), SIG_EVERYWHERE,
"r", NULL, kReadNumber_workarounds },
787 { MAP_CALL(RemapColors), SIG_SCI11, SIGFOR_ALL,
"i(i)(i)(i)(i)", NULL, NULL },
788 { MAP_CALL(RemapColorsKawa), SIG_SCI11, SIGFOR_ALL,
"i(i)(i)(i)(i)(i)", NULL, NULL },
790 {
"RemapColors", kRemapColors32, SIG_SCI32, SIGFOR_ALL,
"i(i)(i)(i)(i)(i)", kRemapColors_subops, NULL },
792 { MAP_CALL(ResCheck), SIG_EVERYWHERE,
"ii(iiii)", NULL, NULL },
793 { MAP_CALL(RespondsTo), SIG_EVERYWHERE,
".i", NULL, NULL },
794 {
"RestartGame", kRestartGame16, SIG_SCI16, SIGFOR_ALL,
"", NULL, NULL },
796 { MAP_EMPTY(RestartGame), SIG_SCI32, SIGFOR_ALL,
"", NULL, NULL },
797 {
"RestoreGame", kRestoreGame32, SIG_THRU_SCI21EARLY, SIGFOR_ALL,
"ri[r0]", NULL, NULL },
799 { MAP_CALL(RestoreGame), SIG_EVERYWHERE,
"[r0]i[r0]", NULL, NULL },
800 { MAP_CALL(Said), SIG_EVERYWHERE,
"[r0]", NULL, NULL },
802 {
"SaveGame", kSaveGame32, SIG_THRU_SCI21EARLY, SIGFOR_ALL,
"ri[r0][r0]", NULL, NULL },
803 { MAP_CALL(ScummVMSaveLoad), SIG_SCI32, SIGFOR_ALL,
"([iro])([iro])", NULL, NULL },
805 { MAP_CALL(SaveGame), SIG_SCI16, SIGFOR_ALL,
"[r0]i[r0](r0)", NULL, NULL },
806 { MAP_CALL(ScriptID), SIG_EVERYWHERE,
"[io](i)", NULL, NULL },
807 { MAP_CALL(SetCursor), SIG_SCI11, SIGFOR_ALL,
"i(i)(i)(i)(iiiiii)", NULL, NULL },
808 { MAP_CALL(SetCursor), SIG_SCI16, SIGFOR_ALL,
"i(i)(i)(i)(i)", NULL, kSetCursor_workarounds },
810 {
"SetCursor", kSetCursor32, SIG_SCI32, SIGFOR_ALL,
"i(i)(i)(i)", NULL, kSetCursor_workarounds },
812 { MAP_CALL(SetDebug), SIG_EVERYWHERE,
"(i*)", NULL, NULL },
813 { MAP_CALL(SetJump), SIG_EVERYWHERE,
"oiii", NULL, NULL },
814 { MAP_CALL(SetMenu), SIG_EVERYWHERE,
"i(.*)", NULL, NULL },
815 { MAP_CALL(SetNowSeen), SIG_SCI16, SIGFOR_ALL,
"o(i)", NULL, NULL },
817 {
"SetNowSeen", kSetNowSeen32, SIG_SCI32, SIGFOR_ALL,
"o", NULL, NULL },
819 { MAP_CALL(SetPort), SIG_EVERYWHERE,
"i(iiiii)(i)", NULL, kSetPort_workarounds },
820 { MAP_CALL(SetQuitStr), SIG_EVERYWHERE,
"r", NULL, NULL },
821 { MAP_CALL(SetSynonyms), SIG_EVERYWHERE,
"o", NULL, NULL },
822 { MAP_CALL(SetVideoMode), SIG_EVERYWHERE,
"i", NULL, NULL },
823 { MAP_CALL(ShakeScreen), SIG_SCI16, SIGFOR_ALL,
"(i)(i)", NULL, NULL },
825 {
"ShakeScreen", kShakeScreen32, SIG_SCI32, SIGFOR_ALL,
"i(i)", NULL, NULL },
827 { MAP_CALL(ShowMovie), SIG_SCI16, SIGFOR_ALL,
"(.*)", NULL, NULL },
829 {
"ShowMovie", kShowMovie32, SIG_SCI32, SIGFOR_DOS,
"ri(i)(i)", NULL, NULL },
830 {
"ShowMovie", kShowMovie32, SIG_SCI32, SIGFOR_MAC,
"ri(i)(i)", NULL, NULL },
831 {
"ShowMovie", kShowMovieWin, SIG_SCI32, SIGFOR_WIN,
"(.*)", kShowMovieWin_subops, NULL },
833 { MAP_CALL(Show), SIG_EVERYWHERE,
"i", NULL, NULL },
834 { MAP_CALL(SinDiv), SIG_EVERYWHERE,
"ii", NULL, NULL },
835 { MAP_CALL(ScummVMSleep), SIG_EVERYWHERE,
"i", NULL, NULL },
836 { MAP_CALL(Sort), SIG_EVERYWHERE,
"ooo", NULL, NULL },
837 { MAP_CALL(Sqrt), SIG_EVERYWHERE,
"i", NULL, NULL },
838 { MAP_CALL(StrAt), SIG_EVERYWHERE,
"ri(i)", NULL, kStrAt_workarounds },
839 { MAP_CALL(StrCat), SIG_EVERYWHERE,
"rr", NULL, NULL },
840 { MAP_CALL(StrCmp), SIG_EVERYWHERE,
"rr(i)", NULL, NULL },
841 { MAP_CALL(StrCpy), SIG_EVERYWHERE,
"r[r0](i)", NULL, kStrCpy_workarounds },
842 { MAP_CALL(StrEnd), SIG_EVERYWHERE,
"r", NULL, NULL },
843 { MAP_CALL(StrLen), SIG_EVERYWHERE,
"[r0]", NULL, kStrLen_workarounds },
844 { MAP_CALL(StrSplit), SIG_EVERYWHERE,
"rr[r0]", NULL, NULL },
845 { MAP_CALL(TextColors), SIG_SCI16, SIGFOR_ALL,
"(i*)", NULL, NULL },
846 { MAP_CALL(TextFonts), SIG_SCI16, SIGFOR_ALL,
"(i*)", NULL, NULL },
847 { MAP_CALL(TextSize), SIG_SCI16, SIGFOR_MAC,
"r[r0]i(i)(r0)(i)", NULL, NULL },
848 { MAP_CALL(TextSize), SIG_SCI16, SIGFOR_ALL,
"r[r0]i(i)(r0)", NULL, NULL },
849 { MAP_CALL(TimesCos), SIG_EVERYWHERE,
"ii", NULL, NULL },
850 {
"CosMult", kTimesCos, SIG_EVERYWHERE,
"ii", NULL, NULL },
851 { MAP_CALL(TimesCot), SIG_EVERYWHERE,
"ii", NULL, NULL },
852 { MAP_CALL(TimesSin), SIG_EVERYWHERE,
"ii", NULL, NULL },
853 {
"SinMult", kTimesSin, SIG_EVERYWHERE,
"ii", NULL, NULL },
854 { MAP_CALL(TimesTan), SIG_EVERYWHERE,
"ii", NULL, NULL },
855 { MAP_CALL(UnLoad), SIG_EVERYWHERE,
"i[ir!]", NULL, kUnLoad_workarounds },
857 { MAP_CALL(ValidPath), SIG_EVERYWHERE,
"r", NULL, NULL },
858 { MAP_CALL(Wait), SIG_SCI16, SIGFOR_ALL,
"i", NULL, kWait_workarounds },
861 { MAP_DUMMY(InspectObj), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
862 { MAP_DUMMY(ShowSends), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
863 { MAP_DUMMY(ShowObjs), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
864 { MAP_DUMMY(ShowFree), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
865 { MAP_DUMMY(StackUsage), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
866 { MAP_DUMMY(Profiler), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
867 { MAP_DUMMY(ShiftScreen), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
868 { MAP_DUMMY(ListOps), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
870 { MAP_DUMMY(ATan), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
871 { MAP_DUMMY(Record), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
872 { MAP_DUMMY(PlayBack), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
873 { MAP_DUMMY(DbugStr), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
875 { MAP_CALL(KawaDbugStr), SIG_SCI11, SIGFOR_ALL,
"(.*)", NULL, NULL },
876 { MAP_CALL(KawaHacks), SIG_SCI11, SIGFOR_ALL,
"(.*)", NULL, NULL },
883 {
"TextSize", kTextSize32, SIG_THRU_SCI21EARLY, SIGFOR_ALL,
"r[r0]i(i)", NULL, NULL },
884 { MAP_DUMMY(TextColors), SIG_THRU_SCI21EARLY, SIGFOR_ALL,
"(.*)", NULL, NULL },
885 { MAP_DUMMY(TextFonts), SIG_THRU_SCI21EARLY, SIGFOR_ALL,
"(.*)", NULL, NULL },
887 { MAP_CALL(AddPlane), SIG_EVERYWHERE,
"o", NULL, NULL },
888 { MAP_CALL(AddScreenItem), SIG_EVERYWHERE,
"o", NULL, NULL },
889 { MAP_CALL(Array), SIG_EVERYWHERE,
"i(.*)", kArray_subops, NULL },
890 { MAP_CALL(CreateTextBitmap), SIG_EVERYWHERE,
"i(.*)", NULL, NULL },
891 { MAP_CALL(DeletePlane), SIG_EVERYWHERE,
"o", NULL, NULL },
892 { MAP_CALL(DeleteScreenItem), SIG_EVERYWHERE,
"o", NULL, NULL },
893 {
"DisposeTextBitmap", kBitmapDestroy, SIG_SCI2, SIGFOR_ALL,
"[r!]", NULL, NULL },
894 { MAP_CALL(FrameOut), SIG_EVERYWHERE,
"(i)", NULL, kFrameOut_workarounds },
895 { MAP_CALL(GetHighPlanePri), SIG_EVERYWHERE,
"", NULL, NULL },
896 { MAP_CALL(InPolygon), SIG_EVERYWHERE,
"iio", NULL, NULL },
897 { MAP_CALL(IsHiRes), SIG_EVERYWHERE,
"", NULL, NULL },
898 { MAP_CALL(ListAllTrue), SIG_EVERYWHERE,
"li(.*)", NULL, NULL },
899 { MAP_CALL(ListAt), SIG_EVERYWHERE,
"li", NULL, NULL },
900 { MAP_CALL(ListEachElementDo), SIG_EVERYWHERE,
"li(.*)", NULL, NULL },
901 { MAP_CALL(ListFirstTrue), SIG_EVERYWHERE,
"li(.*)", NULL, NULL },
902 { MAP_CALL(ListIndexOf), SIG_EVERYWHERE,
"l[o0]", NULL, NULL },
904 { MAP_CALL(MessageBox), SIG_SCI32, SIGFOR_ALL,
"rri", NULL, NULL },
905 {
"OnMe", kIsOnMe, SIG_EVERYWHERE,
"iioi", NULL, NULL },
911 {
"Purge", kFlushResources, SIG_EVERYWHERE,
"i", NULL, NULL },
912 { MAP_CALL(SetShowStyle), SIG_THRU_SCI21MID, SIGFOR_ALL,
"ioiiiii([ri])(i)", NULL, NULL },
913 { MAP_CALL(SetShowStyle), SIG_SCI21LATE, SIGFOR_PC,
"ioiiiii([ri])([ri])(i)", NULL, NULL },
914 { MAP_CALL(SetShowStyle), SIG_SINCE_SCI21LATE, SIGFOR_ALL,
"ioiiiiii(r)(i)", NULL, NULL },
915 { MAP_CALL(String), SIG_EVERYWHERE,
"(.*)", kString_subops, NULL },
916 { MAP_CALL(UpdatePlane), SIG_EVERYWHERE,
"o", NULL, NULL },
917 { MAP_CALL(UpdateScreenItem), SIG_EVERYWHERE,
"o", NULL, NULL },
918 { MAP_CALL(ObjectIntersect), SIG_EVERYWHERE,
"oo", NULL, NULL },
919 { MAP_CALL(EditText), SIG_EVERYWHERE,
"o", NULL, NULL },
920 { MAP_CALL(MakeSaveCatName), SIG_THRU_SCI21EARLY, SIGFOR_ALL,
"rr", NULL, NULL },
921 { MAP_CALL(MakeSaveFileName), SIG_THRU_SCI21EARLY, SIGFOR_ALL,
"rri", NULL, NULL },
922 { MAP_CALL(SetScroll), SIG_EVERYWHERE,
"oiiii(i)(i)", NULL, NULL },
923 { MAP_CALL(PalCycle), SIG_EVERYWHERE,
"(.*)", kPalCycle_subops, NULL },
928 { MAP_EMPTY(ResourceTrack), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
936 { MAP_EMPTY(VibrateMouse), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
945 { MAP_DUMMY(AddMagnify), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
946 { MAP_DUMMY(DeleteMagnify), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
947 { MAP_DUMMY(RepaintPlane), SIG_EVERYWHERE,
"o", NULL, NULL },
948 { MAP_DUMMY(InspectObject), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
952 { MAP_DUMMY(MonoOut), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
953 { MAP_DUMMY(SetFatalStr), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
954 { MAP_DUMMY(IntegrityChecking),SIG_EVERYWHERE,
"(.*)", NULL, NULL },
955 { MAP_DUMMY(CheckIntegrity), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
956 { MAP_DUMMY(MarkMemory), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
957 { MAP_DUMMY(GetHighItemPri), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
958 { MAP_DUMMY(ShowStylePercent), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
959 { MAP_DUMMY(InvertRect), SIG_THRU_SCI21EARLY, SIGFOR_ALL,
"(.*)", NULL, NULL },
960 { MAP_CALL(InputText), SIG_EVERYWHERE,
"rri", NULL, NULL },
961 { MAP_CALL(TextWidth), SIG_THRU_SCI21EARLY, SIGFOR_ALL,
"ri", NULL, NULL },
962 { MAP_CALL(PointSize), SIG_THRU_SCI21EARLY, SIGFOR_ALL,
"i", NULL, NULL },
965 {
"CheckCDisc", kCheckCD, SIG_SCI21EARLY, SIGFOR_ALL,
"(i)", NULL, NULL },
966 {
"GetSaveCDisc", kGetSavedCD, SIG_SCI21EARLY, SIGFOR_ALL,
"", NULL, NULL },
967 { MAP_CALL(CD), SIG_SINCE_SCI21MID, SIGFOR_ALL,
"(.*)", kCD_subops, NULL },
968 { MAP_CALL(IsOnMe), SIG_EVERYWHERE,
"iioi", NULL, NULL },
969 { MAP_CALL(
List), SIG_SINCE_SCI21, SIGFOR_ALL,
"(.*)", kList_subops, NULL },
970 { MAP_CALL(MulDiv), SIG_EVERYWHERE,
"iii", NULL, NULL },
971 { MAP_CALL(PlayVMD), SIG_EVERYWHERE,
"(.*)", kPlayVMD_subops, NULL },
972 { MAP_CALL(Robot), SIG_EVERYWHERE,
"(.*)", kRobot_subops, NULL },
973 { MAP_CALL(Save), SIG_EVERYWHERE,
"i(.*)", kSave_subops, NULL },
974 { MAP_CALL(Text), SIG_SINCE_SCI21MID, SIGFOR_ALL,
"i(.*)", kText_subops, NULL },
975 { MAP_CALL(AddPicAt), SIG_EVERYWHERE,
"oiii(i)(i)", NULL, NULL },
976 { MAP_CALL(GetWindowsOption), SIG_EVERYWHERE,
"i", NULL, NULL },
977 { MAP_CALL(WinHelp), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
978 { MAP_CALL(GetConfig), SIG_EVERYWHERE,
"ro", NULL, NULL },
979 { MAP_CALL(GetSierraProfileInt), SIG_EVERYWHERE,
"rri", NULL, NULL },
980 { MAP_CALL(
CelInfo), SIG_SINCE_SCI21MID, SIGFOR_ALL,
"(.*)", kCelInfo_subops, NULL },
981 { MAP_CALL(SetLanguage), SIG_SINCE_SCI21MID, SIGFOR_ALL,
"r", NULL, NULL },
982 { MAP_CALL(
ScrollWindow), SIG_EVERYWHERE,
"i(.*)", kScrollWindow_subops, NULL },
983 { MAP_CALL(SetFontRes), SIG_SCI21EARLY, SIGFOR_ALL,
"ii", NULL, NULL },
984 { MAP_CALL(Font), SIG_SINCE_SCI21MID, SIGFOR_ALL,
"i(.*)", kFont_subops, NULL },
985 { MAP_CALL(Bitmap), SIG_EVERYWHERE,
"i([.!]*)", kBitmap_subops, NULL },
986 { MAP_CALL(AddLine), SIG_EVERYWHERE,
"oiiii(iiiii)", NULL, NULL },
990 { MAP_CALL(UpdateLine), SIG_EVERYWHERE,
"ioiiii(iiiii)", NULL, NULL },
991 { MAP_CALL(DeleteLine), SIG_EVERYWHERE,
"io", NULL, NULL },
999 { MAP_CALL(PrintDebug), SIG_SCI32, SIGFOR_ALL,
"r(.*)", NULL, NULL },
1003 { MAP_EMPTY(SetWindowsOption), SIG_EVERYWHERE,
"ii", NULL, NULL },
1006 { MAP_EMPTY(NewRoom), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
1013 { MAP_DUMMY(FindSelector), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
1014 { MAP_DUMMY(FindClass), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
1015 { MAP_DUMMY(CelRect), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
1016 { MAP_DUMMY(BaseLineSpan), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
1017 { MAP_CALL(CelLink), SIG_SINCE_SCI21MID, SIGFOR_ALL,
"(.*)", kCelLink_subops, NULL },
1018 { MAP_DUMMY(AddPolygon), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
1019 { MAP_DUMMY(DeletePolygon), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
1020 { MAP_DUMMY(UpdatePolygon), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
1021 { MAP_DUMMY(
Table), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
1022 { MAP_DUMMY(LoadChunk), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
1023 { MAP_DUMMY(Priority), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
1024 { MAP_CALL(WinDLL), SIG_SINCE_SCI21MID, SIGFOR_ALL,
"ir(r)", NULL, NULL },
1025 { MAP_DUMMY(DeletePic), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
1026 { MAP_DUMMY(GetSierraProfileString), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
1029 { MAP_DUMMY(PreloadResource), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
1030 { MAP_DUMMY(TestPoly), SIG_EVERYWHERE,
"(.*)", NULL, NULL },
1033 { MAP_CALL(SetHotRectangles), SIG_SINCE_SCI21MID, SIGFOR_ALL,
"i(r)", NULL, NULL },
1036 { MAP_CALL(MovePlaneItems), SIG_SINCE_SCI21, SIGFOR_ALL,
"oii(i)", NULL, NULL },
1038 { MAP_CALL(SetPalStyleRange), SIG_EVERYWHERE,
"ii", NULL, NULL },
1040 { MAP_CALL(MorphOn), SIG_EVERYWHERE,
"", NULL, NULL },
1043 { MAP_EMPTY(Minimize), SIG_SCI3, SIGFOR_ALL,
"(.*)", NULL, NULL },
1044 { MAP_CALL(PlayDuck), SIG_SCI3, SIGFOR_ALL,
"(.*)", kPlayDuck_subops,NULL },
1045 { MAP_CALL(WebConnect), SIG_SCI3, SIGFOR_ALL,
"(r)", NULL, NULL },
1046 { MAP_CALL(WinExec), SIG_SCI3, SIGFOR_ALL,
"r", NULL, NULL },
1049 { NULL, NULL, SIG_EVERYWHERE, NULL, NULL, NULL }
1053 static const char *
const s_defaultKernelNames[] = {
1204 static const char *
const sci2_default_knames[] = {
1251 "DisposeTextBitmap",
1295 "ListEachElementDo",
1338 "IntegrityChecking",
1368 static const char *
const sci21_default_knames[] = {
1518 "GetSierraProfileInt",
1519 "GetSierraProfileString",
1538 static const opcode_format g_base_opcode_formats[128][4] = {
1540 {Script_None}, {Script_None}, {Script_None}, {Script_None},
1542 {Script_None}, {Script_None}, {Script_None}, {Script_None},
1544 {Script_None}, {Script_None}, {Script_None}, {Script_None},
1546 {Script_None}, {Script_None}, {Script_None}, {Script_None},
1548 {Script_None}, {Script_None}, {Script_None}, {Script_None},
1550 {Script_None}, {Script_None}, {Script_None}, {Script_SRelative},
1552 {Script_SRelative}, {Script_SRelative}, {Script_SVariable}, {Script_None},
1554 {Script_SVariable}, {Script_None}, {Script_None}, {Script_Variable},
1556 {Script_SRelative, Script_Byte}, {Script_Variable, Script_Byte}, {Script_Variable, Script_Byte}, {Script_Variable, Script_SVariable, Script_Byte},
1558 {Script_End}, {Script_Byte}, {Script_Invalid}, {Script_Invalid},
1560 {Script_Variable}, {Script_Invalid}, {Script_Byte}, {Script_Variable, Script_Byte},
1562 {Script_SVariable}, {Script_SVariable, Script_Variable}, {Script_None}, {Script_Invalid},
1564 {Script_None}, {Script_Property}, {Script_Property}, {Script_Property},
1566 {Script_Property}, {Script_Property}, {Script_Property}, {Script_Property},
1568 {Script_Property}, {Script_SRelative}, {Script_SRelative}, {Script_None},
1570 {Script_None}, {Script_None}, {Script_None}, {Script_Word},
1573 {Script_Global}, {Script_Local}, {Script_Temp}, {Script_Param},
1575 {Script_Global}, {Script_Local}, {Script_Temp}, {Script_Param},
1577 {Script_Global}, {Script_Local}, {Script_Temp}, {Script_Param},
1579 {Script_Global}, {Script_Local}, {Script_Temp}, {Script_Param},
1582 {Script_Global}, {Script_Local}, {Script_Temp}, {Script_Param},
1584 {Script_Global}, {Script_Local}, {Script_Temp}, {Script_Param},
1586 {Script_Global}, {Script_Local}, {Script_Temp}, {Script_Param},
1588 {Script_Global}, {Script_Local}, {Script_Temp}, {Script_Param},
1591 {Script_Global}, {Script_Local}, {Script_Temp}, {Script_Param},
1593 {Script_Global}, {Script_Local}, {Script_Temp}, {Script_Param},
1595 {Script_Global}, {Script_Local}, {Script_Temp}, {Script_Param},
1597 {Script_Global}, {Script_Local}, {Script_Temp}, {Script_Param},
1600 {Script_Global}, {Script_Local}, {Script_Temp}, {Script_Param},
1602 {Script_Global}, {Script_Local}, {Script_Temp}, {Script_Param},
1604 {Script_Global}, {Script_Local}, {Script_Temp}, {Script_Param},
1606 {Script_Global}, {Script_Local}, {Script_Temp}, {Script_Param}
1611 #endif // SCI_ENGINE_KERNEL_TABLES_H SciVersion
Definition: detection.h:134
Definition: segment.h:202
Definition: kernel_tables.h:47
Definition: workarounds.h:49
Definition: kernel_tables.h:628
Definition: portrait.h:41
Definition: helpers.h:247
Definition: lobject.h:338