Mercurial > otakunoraifu
comparison scn2k/scn2kdump.cc @ 70:281dcd7217df
Add all Air, Clannad and Kanon function names in scn2kdump, based on rldev’s names.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 01 Apr 2011 22:54:40 +0200 |
parents | 4416cfac86ae |
children | e4a12dd9a51b |
comparison
equal
deleted
inserted
replaced
69:c3d4f9ee2cf1 | 70:281dcd7217df |
---|---|
242 int cmd3; | 242 int cmd3; |
243 const char* cmd_descr; | 243 const char* cmd_descr; |
244 }; | 244 }; |
245 CmdDescrItem cmd_descr_orig[] = { | 245 CmdDescrItem cmd_descr_orig[] = { |
246 // scn2k_impl.cc; Scn2k::SysExec() | 246 // scn2k_impl.cc; Scn2k::SysExec() |
247 {0,0,0x01,0x05,0, "shell"}, | |
248 {0,0,0x01,0x05,1, "launch"}, | |
247 {0,0,0x00,0x01,0x0a, "local return"}, | 249 {0,0,0x00,0x01,0x0a, "local return"}, |
248 {0,0,0x00,0x01,0x0b, "global jump"}, | 250 {0,0,0x00,0x01,0x0b, "global jump"}, |
249 {0,0,0x00,0x01,0x0c, "global call"}, | 251 {0,0,0x00,0x01,0x0c, "global call"}, |
250 {0,0,0x00,0x01,0x0d, "global return"}, | 252 {0,0,0x00,0x01,0x0d, "global return"}, |
251 {0,0,0x00,0x01,0x12, "global call"}, | 253 {0,0,0x00,0x01,0x12, "global call"}, |
252 {0,0,0x00,0x01,0x13, "global return(?)"}, | 254 {0,0,0x00,0x01,0x13, "global return(?)"}, |
255 {0,0,0x01,0x04,0x00, "SetWindowCaption"}, | |
253 {0,0,0x00,0x04,0x0d, "Menu_return"}, | 256 {0,0,0x00,0x04,0x0d, "Menu_return"}, |
254 {0,0,0x01,0x04,0x00, "SetWindowCaption"}, | 257 {0,0,0x01,0x04,0x74, "SetTimer"}, |
255 {0,0,0x01,0x04,0x82, "ClearMousePress"}, | 258 {0,0,0x01,0x04,0x82, "ClearMousePress"}, |
256 {0,0,0x01,0x04,0x83, "GetMouse(2)"}, | 259 {0,0,0x01,0x04,0x83, "GetMouse(2)"}, |
257 {0,0,0x01,0x04,0x85, "GetMouse"}, | 260 {0,0,0x01,0x04,0x85, "GetMouse"}, |
261 {0,0,0x01,0x04,0x12c,"rtlButton"}, | |
262 {0,0,0x01,0x04,0x14c,"LocalSkipMode"}, | |
263 {0,0,0x01,0x04,0x15e,"CtrlKeySkip"}, | |
264 {0,0,0x01,0x04,0x15f,"CtrlKeySkipOn"}, | |
265 {0,0,0x01,0x04,0x160,"CtrlKeySkipOff"}, | |
266 {0,0,0x01,0x04,0x161,"CtrlPressed"}, | |
267 {0,0,0x01,0x04,0x162,"ShiftPressed"}, | |
258 {0,0,0x01,0x04,0x4b0,"QuitGame"}, | 268 {0,0,0x01,0x04,0x4b0,"QuitGame"}, |
269 {0,0,0x01,0x04,0x4b1,"GoMenu"}, | |
270 {0,0,0x01,0x04,0x4b3,"GoMenu_Badend"}, | |
271 {0,0,0x01,0x04,0x4bb,"EnableSyscom"}, | |
272 {0,0,0x01,0x04,0x4bc,"HideSyscom"}, | |
273 {0,0,0x01,0x04,0x4cf,"??? (Air, Clannad, Kanon)"}, | |
274 {0,0,0x01,0x04,0x515,"SetName"}, | |
259 {0,0,0x01,0x04,0x58d,"PrevSaveNumber"}, | 275 {0,0,0x01,0x04,0x58d,"PrevSaveNumber"}, |
260 {0,0,0x01,0x04,0x585,"SavedDate"}, | 276 {0,0,0x01,0x04,0x585,"SavedDate"}, |
277 {0,0,0x01,0x04,0x5de,"cgGetViewedPcnt"}, | |
278 {0,0,0x01,0x04,0x7d1,"??? (Air, Clannad, Kanon)"}, | |
279 {0,0,0x01,0x04,0x803,"SetSkipAnimations"}, | |
280 {0,0,0x01,0x04,0x8e3,"SetScreenMode"}, | |
281 {0,0,0x01,0x04,0x947,"ScreenMode"}, | |
282 {0,0,0x01,0x04,0xbb9,"menu_load"}, | |
261 {0,0,0x01,0x04,0xc23,"Save"}, | 283 {0,0,0x01,0x04,0xc23,"Save"}, |
262 {0,0,0x01,0x04,0xc25,"Load"}, | 284 {0,0,0x01,0x04,0xc25,"Load"}, |
263 {0,0,0x01,0x04,0x4b1,"GoMenu"}, | 285 {0,0,0x01,0x04,0xdaf,"? CloseAll"}, |
264 {0,0,0x01,0x04,0x4b3,"GoMenu_Badend"}, | |
265 {0,0,0x01,0x04,0xcc, "ShowMouseCursor"}, | 286 {0,0,0x01,0x04,0xcc, "ShowMouseCursor"}, |
266 {0,0,0x01,0x04,0xcd, "HideMouseCursor"}, | 287 {0,0,0x01,0x04,0xcd, "HideMouseCursor"}, |
267 {0,0,0x01,0x04,0xcf, "SetCursorType"}, | 288 {0,0,0x01,0x04,0xcf, "SetCursorType"}, |
289 | |
290 // debug commands | |
291 {0,0,0x01,0xff,0x32, "??? (Clannad)"}, | |
292 {0,0,0x01,0xff,0x65, "__SaveBufferIdx"}, | |
293 | |
268 // scn2k_cmd.cc; CmdD::GetCmd() | 294 // scn2k_cmd.cc; CmdD::GetCmd() |
269 {0,0,0x00,0x01,0, "local jump"}, | 295 {0,0,0x00,0x01,0, "local jump"}, |
270 {0,0,0x00,0x01,1, "local jump-if"}, | 296 {0,0,0x00,0x01,1, "local jump-if"}, |
271 {0,0,0x00,0x01,2, "local jump-unless"}, | 297 {0,0,0x00,0x01,2, "local jump-unless"}, |
272 {0,0,0x00,0x01,3, "local jump-switch??"}, | 298 {0,0,0x00,0x01,3, "local jump-switch??"}, |
273 {0,0,0x00,0x01,4, "local switch"}, | 299 {0,0,0x00,0x01,4, "local switch"}, |
274 {0,0,0x00,0x01,5, "local call"}, | 300 {0,0,0x00,0x01,5, "local call"}, |
275 {0,0,0x00,0x01,8, "local switch(simple form)"}, | 301 {0,0,0x00,0x01,8, "local switch(simple form)"}, |
276 {0,0,0x01,0x0b,0, "set multiple variables"}, | 302 {0,0,0x01,0x0b,0, "set multiple variables"}, |
277 {0,0,0x01,0x0b,1, "set variables in a range"}, | 303 {0,0,0x01,0x0b,1, "set variables in a range"}, |
304 {0,0,0x01,0x0b,2, "cpyrng"}, | |
278 {0,0,0x01,0x0b,4, "clear variables in a range"}, | 305 {0,0,0x01,0x0b,4, "clear variables in a range"}, |
279 {0,0,0x01,0x0b,0x64, "get summation of variables in a range"}, | 306 {0,0,0x01,0x0b,0x64, "get summation of variables in a range"}, |
280 // scn2k_cmd.cc; Flags::Exec() | 307 // scn2k_cmd.cc; Flags::Exec() |
281 {0,0,0x01,0x0a,0, "SetStr"}, | 308 {0,0,0x01,0x0a,0, "SetStr"}, |
282 {0,0,0x01,0x0a,1, "ClearStr"}, | 309 {0,0,0x01,0x0a,1, "ClearStr"}, |
285 {0,0,0x01,0x0a,4, "StrCmp"}, | 312 {0,0,0x01,0x0a,4, "StrCmp"}, |
286 {0,0,0x01,0x0a,5, "SubStrL"}, | 313 {0,0,0x01,0x0a,5, "SubStrL"}, |
287 {0,0,0x01,0x0a,6, "SubStrR"}, | 314 {0,0,0x01,0x0a,6, "SubStrR"}, |
288 {0,0,0x01,0x0a,7, "StrLenWideChar"}, | 315 {0,0,0x01,0x0a,7, "StrLenWideChar"}, |
289 {0,0,0x01,0x0a,8, "TrimStr"}, | 316 {0,0,0x01,0x0a,8, "TrimStr"}, |
317 {0,0,0x01,0x0a,0x0b, "zentohan"}, | |
290 {0,0,0x01,0x0a,0x0f, "IntToStr"}, | 318 {0,0,0x01,0x0a,0x0f, "IntToStr"}, |
291 {0,0,0x01,0x0a,0x11, "IntToStr_Fill"}, | 319 {0,0,0x01,0x0a,0x11, "IntToStr_Fill"}, |
320 {0,0,0x01,0x0a,0x1e, "strpos"}, | |
292 {0,0,0x01,0x0a,0x64, "ShowStr"}, | 321 {0,0,0x01,0x0a,0x64, "ShowStr"}, |
293 // scn2k_text.cc; TextImpl::Exec() | 322 // scn2k_text.cc; TextImpl::Exec() |
294 {0,0,0x01,0x21,0x49, "SetFaceGraphic"}, | 323 {0,0,0x01,0x21,0x49, "SetFaceGraphic"}, |
295 {0,0,0x01,0x21,0x4b, "SetFaceGraphic"}, | 324 {0,0,0x01,0x21,0x4b, "SetFaceGraphic"}, |
296 {0,0,0x01,0x21,0x4c, "SetFaceGraphic"}, | 325 {0,0,0x01,0x21,0x4c, "SetFaceGraphic"}, |
326 {0,0,0x00,0x03,0x03, "TextReturn"}, | |
327 {0,0,0x00,0x03,0x11, "WaitText"}, | |
328 {0,0,0x00,0x03,0x65, "FontSize"}, | |
329 {0,0,0x00,0x03,0x66, "SetTextWindowType"}, | |
330 {0,0,0x00,0x03,0x67, "OpenTextWindow"}, | |
331 {0,0,0x00,0x03,0x68, "ShowText"}, | |
332 {0,0,0x00,0x03,0x78, "TextRuby"}, | |
297 {0,0,0x00,0x03,0x97, "CloseTextWindow"}, | 333 {0,0,0x00,0x03,0x97, "CloseTextWindow"}, |
298 {0,0,0x00,0x03,0x11, "WaitText"}, | 334 {0,0,0x00,0x03,0x98, "ClearTextWindow"}, |
299 {0,0,0x00,0x03,0x03, "TextReturn"}, | 335 {0,0,0x00,0x03,0xa1, "msgHideAll"}, |
336 {0,0,0x00,0x03,0xa2, "msgClearAll"}, | |
300 {0,0,0x00,0x03,0xc9, "TextReturn"}, | 337 {0,0,0x00,0x03,0xc9, "TextReturn"}, |
338 {0,0,0x00,0x03,0xcd, "spause"}, | |
301 {0,0,0x00,0x03,0x3e8,"SetFaceGraphic"}, | 339 {0,0,0x00,0x03,0x3e8,"SetFaceGraphic"}, |
302 {0,0,0x00,0x03,0x3e9,"SetFaceGraphic"}, | 340 {0,0,0x00,0x03,0x3e9,"SetFaceGraphic"}, |
303 {0,0,0x00,0x03,0x78, "TextRuby"}, | |
304 {0,0,0x00,0x03,0x66, "SetTextWindowType"}, | |
305 {0,0,0x00,0x03,0x67, "OpenTextWindow"}, | |
306 {0,0,0x00,0x03,0x98, "ClearTextWindow"}, | |
307 {0,0,0x00,0x03,0x68, "ShowText"}, | |
308 {0,0,0x00,0x02,0x01, "Select"}, | 341 {0,0,0x00,0x02,0x01, "Select"}, |
309 {0,0,0x00,0x02,0x03, "Select"}, | 342 {0,0,0x00,0x02,0x03, "Select"}, |
343 | |
344 {0,0,0x00,0x04,0x12d,"rtlCancel"}, | |
345 {0,0,0x00,0x04,0x3e8,"CloseTextWindow (ShowBackground)"}, | |
310 {0,0,0x00,0x04,0x44c,"TextSkipStart"}, | 346 {0,0,0x00,0x04,0x44c,"TextSkipStart"}, |
311 {0,0,0x00,0x04,0x3e8,"CloseTextWindow"}, | 347 {0,0,0x00,0x04,0x44d,"ClearSkipMode"}, |
348 {0,0,0x00,0x04,0x44e,"SkipMode"}, | |
349 {0,0,0x00,0x04,0x4b0,"end"}, | |
350 {0,0,0x00,0x04,0x4b1,"MenuReturn"}, | |
351 {0,0,0x00,0x04,0x4b2,"MenuReturn2"}, | |
352 {0,0,0x00,0x04,0x4b3,"ReturnMenu"}, | |
353 | |
354 {0,0,0x01,0x04,0x12d,"??? (Clannad)"}, | |
355 {0,0,0x01,0x04,0x12e,"??? (Clannad)"}, | |
356 {0,0,0x01,0x04,0x16e,"??? cursor? (Clannad)"}, | |
357 {0,0,0x01,0x04,0x3ea,"abs"}, | |
358 {0,0,0x01,0x04,0x4b4,"ReturnPrevSelect"}, | |
359 {0,0,0x01,0x04,0x4be,"SyscomEnabled"}, | |
360 {0,0,0x01,0x04,0x4bf,"InvokeSyscom"}, | |
361 {0,0,0x01,0x04,0x7d0,"CursorMono"}, | |
362 {0,0,0x01,0x04,0x7d2,"LowPriority"}, | |
363 {0,0,0x01,0x04,0x7d3,"ConfirmSaveLoad"}, | |
364 {0,0,0x01,0x04,0x7d4,"ReduceDistortion"}, | |
365 {0,0,0x01,0x04,0x7d9,"SoundQuality"}, | |
366 {0,0,0x01,0x04,0x802,"SetCursorMono"}, | |
367 {0,0,0x01,0x04,0x804,"SetLowPriority"}, | |
368 {0,0,0x01,0x04,0x805,"SetConfirmSaveLoad"}, | |
369 {0,0,0x01,0x04,0x806,"SetReduceDistortion"}, | |
370 {0,0,0x01,0x04,0x80b,"SetSoundQuality"}, | |
371 {0,0,0x01,0x04,0x8b6,"(Set)BgmVolMod"}, | |
372 {0,0,0x01,0x04,0x8b8,"(Set)PcmVolMod"}, | |
373 {0,0,0x01,0x04,0x8b9,"(Set)SeVolMod"}, | |
374 {0,0,0x01,0x04,0x8c0,"(Set)BgmEnabled"}, | |
375 {0,0,0x01,0x04,0x8c2,"(Set)PcmEnabled"}, | |
376 {0,0,0x01,0x04,0x8c3,"(Set)SeEnabled"}, | |
377 {0,0,0x01,0x04,0x8de,"(Set)ShowObject1"}, | |
378 {0,0,0x01,0x04,0x91a,"BgmVolMod"}, | |
379 {0,0,0x01,0x04,0x91c,"PcmVolMod"}, | |
380 {0,0,0x01,0x04,0x91d,"SeVolMod"}, | |
381 {0,0,0x01,0x04,0x924,"BgmEnabled"}, | |
382 {0,0,0x01,0x04,0x926,"PcmEnabled"}, | |
383 {0,0,0x01,0x04,0x927,"SeEnabled"}, | |
384 {0,0,0x01,0x04,0x942,"ShowObject1"}, | |
385 {0,0,0x01,0x04,0xdac,"Savepoint"}, | |
386 {0,0,0x01,0x04,0xdad,"EnableAutoSavepoints"}, | |
387 {0,0,0x01,0x04,0xdae,"DisableAutoSavepoints"}, | |
388 | |
312 {0,0,0x01,0x04,0x64, "WaitTime"}, | 389 {0,0,0x01,0x04,0x64, "WaitTime"}, |
313 {0,0,0x01,0x04,0x6f, "WaitTime"}, | 390 {0,0,0x01,0x04,0x6f, "WaitTime"}, |
314 {0,0,0x01,0x04,0x79, "WaitTime"}, | 391 {0,0,0x01,0x04,0x79, "WaitTime"}, |
315 {0,0,0x01,0x04,0x65, "WaitTime w/ Cancel"}, | 392 {0,0,0x01,0x04,0x65, "WaitTime w/ Cancel"}, |
316 {0,0,0x01,0x04,0x70, "WaitTime w/ Cancel"}, | 393 {0,0,0x01,0x04,0x70, "WaitTime w/ Cancel"}, |
319 {0,0,0x01,0x04,0x202,"ResetTimerAll (unsupported; see rldev)"}, | 396 {0,0,0x01,0x04,0x202,"ResetTimerAll (unsupported; see rldev)"}, |
320 {0,0,0x01,0x04,0x72, "GetTimer"}, | 397 {0,0,0x01,0x04,0x72, "GetTimer"}, |
321 {0,0,0x01,0x04,0x7c, "GetTimer(2)"}, | 398 {0,0,0x01,0x04,0x7c, "GetTimer(2)"}, |
322 {0,0,0x01,0x04,0x6e, "ClearTimer"}, | 399 {0,0,0x01,0x04,0x6e, "ClearTimer"}, |
323 {0,0,0x01,0x04,0x78, "ClearTimer(2)"}, | 400 {0,0,0x01,0x04,0x78, "ClearTimer(2)"}, |
401 {0,0,0x01,0x04,0x258,"InitFrames"}, | |
402 {0,0,0x01,0x04,0x259,"InitFramesLoop"}, | |
403 {0,0,0x01,0x04,0x262,"ReadFrames"}, | |
324 {0,0,0x01,0x04,0x26c,"ClearTimer(multi)"}, | 404 {0,0,0x01,0x04,0x26c,"ClearTimer(multi)"}, |
325 {0,0,0x01,0x04,0x270,"ClearTimer(multi)"}, | 405 {0,0,0x01,0x04,0x270,"ClearTimer(multi)"}, |
326 {0,0,0x01,0x04,0x276,"GetTimer(multi)"}, | 406 {0,0,0x01,0x04,0x276,"GetTimer(multi)"}, |
327 {0,0,0x01,0x04,0x1f4,"SetTimer"}, | 407 {0,0,0x01,0x04,0x1f4,"SetTimer"}, |
328 {0,0,0x01,0x04,0x3e8,"rand(x,y)"}, | 408 {0,0,0x01,0x04,0x3e8,"rand(x,y)"}, |
356 {0,0,0x01,0x04,0x8cb,"Set #INIT_MESSAGE_SPEED_MOD"}, | 436 {0,0,0x01,0x04,0x8cb,"Set #INIT_MESSAGE_SPEED_MOD"}, |
357 {0,0,0x01,0x04,0x8cc,"Set #MESSAGE_KEY_WAIT_USE"}, | 437 {0,0,0x01,0x04,0x8cc,"Set #MESSAGE_KEY_WAIT_USE"}, |
358 {0,0,0x01,0x04,0x51f,"Set Name Text"}, | 438 {0,0,0x01,0x04,0x51f,"Set Name Text"}, |
359 {0,0,0x01,0x04,0x51e,"Get Name Text"}, | 439 {0,0,0x01,0x04,0x51e,"Get Name Text"}, |
360 {0,0,0x01,0x04,0x514,"Get Name Text"}, | 440 {0,0,0x01,0x04,0x514,"Get Name Text"}, |
441 {0,0,0x01,0x04,0x6a4,"CreateInput"}, | |
442 {0,0,0x01,0x04,0x6a5,"CloseInput"}, | |
443 {0,0,0x01,0x04,0x6a6,"CloseAllInput"}, | |
444 {0,0,0x01,0x04,0x6a7,"FocusInput"}, | |
445 {0,0,0x01,0x04,0x6ae,"SetInput"}, | |
446 {0,0,0x01,0x04,0x6af,"GetInput"}, | |
361 // scn2k_grp.cc; GrpImpl::Exec() | 447 // scn2k_grp.cc; GrpImpl::Exec() |
362 // music commands | 448 // music commands |
363 {0,0,0x01,0x14,0, "PlayBGM"}, | 449 {0,0,0x01,0x14,0, "PlayBGM"}, |
364 {0,0,0x01,0x14,2, "PlayBGM"}, | 450 {0,0,0x01,0x14,2, "PlayBGM"}, |
365 {0,0,0x01,0x14,0x05, "StopBGM"}, | 451 {0,0,0x01,0x14,0x05, "StopBGM"}, |
366 {0,0,0x01,0x14,0x69, "FadeBGM"}, | 452 {0,0,0x01,0x14,0x0c, "bgmSetVolume"}, |
367 {0,0,0x01,0x15,0, "PlaySE"}, | 453 {0,0,0x01,0x14,0x0d, "bgmUnMute"}, |
368 {0,0,0x01,0x15,2, "PlaySE"}, | 454 {0,0,0x01,0x14,0x0e, "bgmMute"}, |
455 {0,0,0x01,0x14,0x69, "bgmFadeOut"}, | |
456 {0,0,0x01,0x14,0x6a, "bgmFadeOutEx"}, | |
457 {0,0,0x01,0x14,0x3ea,"??? bgm (Air)"}, | |
458 | |
459 {0,0,0x01,0x15,0, "wavPlay"}, | |
460 {0,0,0x01,0x15,1, "wavPlayEx"}, | |
461 {0,0,0x01,0x15,2, "wavLoop"}, | |
462 {0,0,0x01,0x15,3, "wavWait"}, | |
463 {0,0,0x01,0x15,4, "wavPlaying"}, | |
464 {0,0,0x01,0x15,5, "wavStop"}, | |
465 {0,0,0x01,0x15,7, "wavPlaying2"}, | |
466 {0,0,0x01,0x15,8, "wavRewind"}, | |
467 {0,0,0x01,0x15,9, "wavStop3"}, | |
468 {0,0,0x01,0x15,10, "wavStop4"}, | |
469 {0,0,0x01,0x15,11, "wavVolume"}, | |
470 {0,0,0x01,0x15,12, "wavSetVolume"}, | |
471 {0,0,0x01,0x15,13, "wavUnMute"}, | |
472 {0,0,0x01,0x15,14, "wavMute"}, | |
473 {0,0,0x01,0x15,20, "wavStopAll"}, | |
474 {0,0,0x01,0x15,105, "wavFadeOut"}, | |
475 {0,0,0x01,0x15,106, "wavFadeOut2"}, | |
476 | |
477 {0,0,0x01,0x16,0, "sePlay"}, | |
478 | |
369 {0,0,0x01,0x17,0, "PlayKoe"}, | 479 {0,0,0x01,0x17,0, "PlayKoe"}, |
370 {0,0,0x01,0x1a,1, "PlayMovie"}, | 480 {0,0,0x01,0x1a,1, "PlayMovie"}, |
371 {0,0,0x01,0x1a,0x14, "PlayMovie"}, | 481 {0,0,0x01,0x1a,0x14, "PlayMovie"}, |
372 // graphic commands | 482 // graphic commands |
483 {0,0,0x01,0x0c,0, "ShakeLayersStop"}, | |
484 {0,0,0x01,0x0c,0x44c,"__shlud ShakeLayers"}, | |
485 {0,0,0x01,0x0c,0x44d,"__shlrl ShakeLayers"}, | |
486 {0,0,0x01,0x0c,0xce4,"ShakeLayersSpecEx"}, | |
487 {0,0,0x01,0xc,0x1005,"??? shake (Clannad)"}, | |
488 {0,0,0x01,0xc,0x106a,"??? shake (Clannad)"}, | |
489 | |
490 {0,0,0x01,0x0d,0, "ShakeStop"}, | |
491 {0,0,0x01,0x0d,0x44e,"ShakeScreen2D"}, | |
492 {0,0,0x01,0x0d,0x514,"ShakeSpec"}, | |
493 {0,0,0x01,0x0d,0xc1e,"ShakeScreen2DEx"}, | |
494 | |
373 {0,0,0x01,0x1e,0, "GraphicStackClear"}, | 495 {0,0,0x01,0x1e,0, "GraphicStackClear"}, |
496 {0,0,0x01,0x1e,0x01, "GraphicStackNop"}, | |
497 {0,0,0x01,0x1e,0x02, "GraphicStackPop"}, | |
498 {0,0,0x01,0x1e,0x03, "GraphicStackSize"}, | |
499 {0,0,0x01,0x1e,0x04, "GraphicStackTrunc"}, | |
500 {0,0,0x01,0x1e,0x14, "DrawAuto"}, | |
501 {0,0,0x01,0x1e,0x15, "DrawSemiAuto"}, | |
502 {0,0,0x01,0x1e,0x16, "DrawManual"}, | |
503 {0,0,0x01,0x1e,0x1e, "ModeToScreenSize"}, | |
504 {0,0,0x01,0x1e,0x1f, "GetDCPixel"}, | |
505 | |
374 {0,0,0x01,0x1f,0, "GraphicStackClear"}, | 506 {0,0,0x01,0x1f,0, "GraphicStackClear"}, |
507 | |
508 {0,0,0x01,0x21,0x10, "freeDC"}, | |
509 {0,0,0x01,0x21,0x1f, "wipe"}, | |
510 {0,0,0x01,0x21,0x20, "shake"}, | |
375 {0,0,0x01,0x21,0x46, "LoadSurface"}, | 511 {0,0,0x01,0x21,0x46, "LoadSurface"}, |
376 {0,0,0x01,0x21,0x49, "LoadBackSurface"}, | 512 {0,0,0x01,0x21,0x49, "LoadBackSurface"}, |
513 {0,0,0x01,0x21,0x4a, "grpMaskOpen"}, | |
377 {0,0,0x01,0x21,0x4b, "LoadForeSurface"}, | 514 {0,0,0x01,0x21,0x4b, "LoadForeSurface"}, |
378 {0,0,0x01,0x21,0x4c, "LoadSurface"}, | 515 {0,0,0x01,0x21,0x4c, "LoadSurface"}, |
516 {0,0,0x01,0x21,0x4d, "grpMulti"}, | |
379 {0,0,0x01,0x21,0x64, "CopySurface"}, | 517 {0,0,0x01,0x21,0x64, "CopySurface"}, |
380 {0,0,0x01,0x21,0x4b1,"ClearSurface"}, | 518 {0,0,0x01,0x21,0x65, "grpMaskCopy"}, |
381 {0,0,0x01,0x21,0x44c,"AlphaCopy"}, | 519 {0,0,0x01,0x21,0xc9, "grpFill"}, |
382 {0,0,0x01,0x21,0x640,"SaturateCopy"}, | 520 {0,0,0x01,0x21,0x12c,"grpInvert"}, |
521 {0,0,0x01,0x21,0x12d,"grpMono"}, | |
522 {0,0,0x01,0x21,0x12f,"grpLight"}, | |
523 {0,0,0x01,0x21,0x192,"grpZoom"}, | |
524 {0,0,0x01,0x21,0x193,"grpFade"}, | |
525 {0,0,0x01,0x21,0x194,"grpFlash"}, | |
526 {0,0,0x01,0x21,0x195,"DefaultWindowResetPos"}, | |
527 {0,0,0x01,0x21,0x41a,"recLoad"}, | |
528 {0,0,0x01,0x21,0x41b,"recMaskLoad"}, | |
529 {0,0,0x01,0x21,0x41d,"recOpenBg"}, | |
530 {0,0,0x01,0x21,0x420,"recOpen"}, | |
531 {0,0,0x01,0x21,0x44c,"recCopy"}, | |
532 {0,0,0x01,0x21,0x44d,"recMaskCopy"}, | |
533 {0,0,0x01,0x21,0x4b1,"recFill"}, | |
534 {0,0,0x01,0x21,0x514,"recInvert"}, | |
535 {0,0,0x01,0x21,0x515,"recMono"}, | |
536 {0,0,0x01,0x21,0x579,"recStretchBlt"}, | |
537 {0,0,0x01,0x21,0x640,"recAdd"}, | |
538 {0,0,0x01,0x21,0x6a4,"recSub"}, | |
383 {0,0,0x01,0x21,0x196,"??? grp"}, | 539 {0,0,0x01,0x21,0x196,"??? grp"}, |
540 | |
384 {0,0,0x01,0x22,0xc30,"ScrollEffect (Princess Bride)"}, | 541 {0,0,0x01,0x22,0xc30,"ScrollEffect (Princess Bride)"}, |
385 {0,0,0x01,0x22,0xc1c,"FallEffect (Princess Bride)"}, | 542 {0,0,0x01,0x22,0xc1c,"FallEffect (Princess Bride)"}, |
386 {0,0,0x01,0x22,0x835,"FallEffect (Princess Bride)"}, | 543 {0,0,0x01,0x22,0x835,"FallEffect (Princess Bride)"}, |
544 | |
545 // Backgrounds | |
546 {0,0,0x01,0x28,0xa, "bgrLoadHaikei"}, | |
547 {0,0,0x01,0x28,0x64, "bgrMulti"}, | |
548 | |
549 {0,0,0x01,0x04,0x1cc,"EnableWindowAnm"}, | |
550 {0,0,0x01,0x04,0x1cd,"DisableWindowAnm"}, | |
551 {0,0,0x01,0x04,0x1ce,"GetOpenAnmMod"}, | |
552 {0,0,0x01,0x04,0x1cf,"SetOpenAnmMod"}, | |
553 {0,0,0x01,0x04,0x1d0,"GetOpenAnmTime"}, | |
554 {0,0,0x01,0x04,0x1d1,"SetOpenAnmTime"}, | |
555 {0,0,0x01,0x04,0x1d2,"GetCloseAnmMod"}, | |
556 {0,0,0x01,0x04,0x1d3,"SetCloseAnmMod"}, | |
557 {0,0,0x01,0x04,0x1d4,"GetCloseAnmTime"}, | |
558 {0,0,0x01,0x04,0x1d5,"SetCloseAnmTime"}, | |
559 | |
387 // grphic object commands | 560 // grphic object commands |
388 {0,0,0x01,0x04,0xd2, "??? grp"}, | 561 {0,0,0x01,0x04,0xd2, "??? grp"}, |
389 {0,0,0x01,0x04,0xd3, "??? grp"}, | 562 {0,0,0x01,0x04,0xd3, "??? grp"}, |
390 {0,0,0x01,0x04,0xd7, "??? grp"}, | 563 {0,0,0x01,0x04,0xd7, "??? grp"}, |
391 {0,0,0x01,0x04,0xd8, "??? grp"}, | 564 {0,0,0x01,0x04,0xd8, "??? grp"}, |
392 {0,0,0x01,0x04,0x5e0,"GetShownGrpFlag"}, | 565 {0,0,0x01,0x04,0x5e0,"GetShownGrpFlag"}, |
393 {0,0,0x01,0x3d,0x0a, "ClearGrpObj"}, | 566 |
394 {0,0,0x01,0x3d,0x0b, "ClearGrpObj"}, | 567 // Obj |
568 {0,0,0x01,0x3d,0x02, "objCopy"}, | |
569 {0,0,0x01,0x3d,0x04, "objWipeCopyOn"}, | |
570 {0,0,0x01,0x3d,0x0a, "ClearGrpObj (objClear)"}, | |
571 {0,0,0x01,0x3d,0x0b, "ClearGrpObj (objDelete)"}, | |
572 {0,0,0x01,0x3d,0x6f, "??? (Kanon)"}, | |
573 | |
574 // ObjBg | |
395 {0,0,0x01,0x3e,0x0a, "ClearGrpObj"}, | 575 {0,0,0x01,0x3e,0x0a, "ClearGrpObj"}, |
396 {0,0,0x01,0x3e,0x0a, "ClearGrpObj"}, | 576 {0,0,0x01,0x3e,0x0a, "ClearGrpObj"}, |
397 {0,0,0x01,0x3c,0x01, "??? grp (CLANNAD)"}, | 577 {0,0,0x01,0x3c,0x00, "??? grp (Clannad)"}, |
398 {0,0,0x01,0x47,0x3e8,"SetGrpObj_Fname"}, | 578 {0,0,0x01,0x3c,0x01, "??? grp (Air, Clannad, Kanon)"}, |
579 {0,0,0x01,0x3c,0x02, "objCopyFgToBg"}, | |
580 {0,0,0x01,0x3c,0x64, "??? grp (Clannad)"}, | |
581 {0,0,0x01,0x3c,0x6e, "??? grp (Clannad)"}, | |
582 {0,0,0x01,0x3c,0x6f, "??? grp (Air)"}, | |
583 {0,0,0x01,0x3e,0x02, "objBgCopyToFg"}, | |
584 {0,0,0x01,0x47,0x3e8,"SetGrpObj_Fname (objOfFile)"}, | |
585 {0,0,0x01,0x47,0x3e9,"SetGrpObj_Fname (objOfFile2)"}, | |
399 {0,0,0x01,0x47,0x3eb,"SetGrpObj_GANname"}, | 586 {0,0,0x01,0x47,0x3eb,"SetGrpObj_GANname"}, |
400 {0,0,0x01,0x47,0x4b0,"SetGrpObj_Text"}, | 587 {0,0,0x01,0x47,0x4b0,"SetGrpObj_Text"}, |
401 {0,0,0x01,0x48,0x3e8,"SetGrpObj_ForeGrp?"}, | 588 {0,0,0x01,0x47,0x514,"objDriftOfFile"}, |
589 {0,0,0x01,0x48,0x3e8,"objBgOfFile"}, | |
590 {0,0,0x01,0x48,0x3e9,"objBgOfFile2"}, | |
591 {0,0,0x01,0x48,0x3eb,"objBgOfFileGan/Anm"}, | |
592 {0,0,0x01,0x48,0x44c,"objBgOfArea"}, | |
593 {0,0,0x01,0x48,0x44d,"objBgOfRect"}, | |
594 {0,0,0x01,0x48,0x4b0,"objBgOfText"}, | |
595 {0,0,0x01,0x48,0x514,"objBgDriftOfFile"}, | |
596 {0,0,0x01,0x48,0x578,"objBgOfDigit"}, | |
597 | |
598 // Gan | |
402 {0,0,0x01,0x49,0, "StopAnimation"}, | 599 {0,0,0x01,0x49,0, "StopAnimation"}, |
403 {0,0,0x01,0x49,3, "QueryExecAnimation"}, | 600 {0,0,0x01,0x49,3, "QueryExecAnimation"}, |
601 {0,0,0x01,0x49,4, "??? (Clannad)"}, | |
602 {0,0,0x01,0x49,0x68, "??? (Clannad)"}, | |
603 {0,0,0x01,0x49,0x3ee,"ganPlayEx"}, | |
604 {0,0,0x01,0x49,0x7d1,"objLoop"}, | |
404 {0,0,0x01,0x49,0x7d3,"SetGrpObj_GAN?"}, | 605 {0,0,0x01,0x49,0x7d3,"SetGrpObj_GAN?"}, |
405 {0,0,0x01,0x49,0xbb9,"StartAnimation"}, | 606 {0,0,0x01,0x49,0xbb9,"StartAnimation"}, |
406 {0,0,0x01,0x49,0xbbb,"StartAnimation"}, | 607 {0,0,0x01,0x49,0xbbb,"StartAnimation"}, |
407 {0,0,0x01,0x49,0xbbd,"StartAnimation"}, | 608 {0,0,0x01,0x49,0xbbd,"StartAnimation"}, |
609 {0,0,0x01,0x49,0xc1f,"??? (Clannad)"}, | |
610 | |
611 // obj | |
408 {0,0,0x01,0x51,0x3e8,"SetGrpObj_xy"}, | 612 {0,0,0x01,0x51,0x3e8,"SetGrpObj_xy"}, |
409 {0,0,0x01,0x51,0x3e9,"SetGrpObj_x"}, | 613 {0,0,0x01,0x51,0x3e9,"SetGrpObj_x"}, |
410 {0,0,0x01,0x51,0x3ea,"SetGrpObj_y"}, | 614 {0,0,0x01,0x51,0x3ea,"SetGrpObj_y"}, |
411 {0,0,0x01,0x51,0x3eb,"SetGrpObj_alpha"}, | 615 {0,0,0x01,0x51,0x3eb,"SetGrpObj_alpha"}, |
412 {0,0,0x01,0x51,0x3ec,"SetGrpObj_visible"}, | 616 {0,0,0x01,0x51,0x3ec,"SetGrpObj_visible"}, |
413 {0,0,0x01,0x51,0x3ee,"SetGrpObj_xy?"}, | 617 {0,0,0x01,0x51,0x3ee,"SetGrpObj_xy?"}, |
618 {0,0,0x01,0x51,0x3f8,"objColour"}, | |
414 {0,0,0x01,0x51,0x3fd,"SetGrpObj_centering?"}, | 619 {0,0,0x01,0x51,0x3fd,"SetGrpObj_centering?"}, |
415 {0,0,0x01,0x51,0x401,"SetGrpObj_textsize"}, | 620 {0,0,0x01,0x51,0x401,"SetGrpObj_textsize"}, |
621 {0,0,0x01,0x51,0x407,"SetGrpObj_objDriftOpts"}, | |
416 {0,0,0x01,0x51,0x40a,"SetGrpObj_clipregion"}, | 622 {0,0,0x01,0x51,0x40a,"SetGrpObj_clipregion"}, |
417 {0,0,0x01,0x51,0x40f,"SetGrpObj_surfacenum"}, | 623 {0,0,0x01,0x51,0x40f,"SetGrpObj_surfacenum"}, |
624 {0,0,0x01,0x51,0x410,"SetGrpObj_??? (Clannad)"}, | |
418 {0,0,0x01,0x51,0x416,"SetGrpObj_expand"}, | 625 {0,0,0x01,0x51,0x416,"SetGrpObj_expand"}, |
626 {0,0,0x01,0x51,0x418,"objHeight"}, | |
419 {0,0,0x01,0x51,0x419,"SetGrpObj_rotate"}, | 627 {0,0,0x01,0x51,0x419,"SetGrpObj_rotate"}, |
628 {0,0,0x01,0x51,0x41a,"objRepOrigin"}, | |
629 {0,0,0x01,0x51,0x41c,"objRepOriginY"}, | |
630 {0,0,0x01,0x51,0x420,"objFadeOpts"}, | |
631 | |
632 // objBg | |
420 {0,0,0x01,0x52,0x3e8,"SetGrpObj_xy(2)"}, | 633 {0,0,0x01,0x52,0x3e8,"SetGrpObj_xy(2)"}, |
421 {0,0,0x01,0x52,0x3ea,"SetGrpObj_y(2)"}, | 634 {0,0,0x01,0x52,0x3ea,"SetGrpObj_y(2)"}, |
422 {0,0,0x01,0x52,0x3eb,"SetGrpObj_alpha(2)"}, | 635 {0,0,0x01,0x52,0x3eb,"SetGrpObj_alpha(2)"}, |
423 {0,0,0x01,0x52,0x3ec,"SetGrpObj_visible(2)"}, | 636 {0,0,0x01,0x52,0x3ec,"SetGrpObj_visible(2)"}, |
424 {0,0,0x01,0x52,0x3ee,"SetGrpObj_xy?(2)"}, | 637 {0,0,0x01,0x52,0x3ee,"SetGrpObj_xy?(2)"}, |
638 {0,0,0x01,0x52,0x3f1,"objBgMono"}, | |
639 {0,0,0x01,0x52,0x3f8,"objBgColour"}, | |
425 {0,0,0x01,0x52,0x3fd,"SetGrpObj_centering?(2)"}, | 640 {0,0,0x01,0x52,0x3fd,"SetGrpObj_centering?(2)"}, |
426 {0,0,0x01,0x52,0x401,"SetGrpObj_textsize(2)"}, | 641 {0,0,0x01,0x52,0x401,"SetGrpObj_textsize(2)"}, |
642 {0,0,0x01,0x52,0x407,"objBgDriftOpts"}, | |
427 {0,0,0x01,0x52,0x408,"SetGrpObj_order (not supported)"}, | 643 {0,0,0x01,0x52,0x408,"SetGrpObj_order (not supported)"}, |
428 {0,0,0x01,0x52,0x40a,"SetGrpObj_clipregion(2)"}, | 644 {0,0,0x01,0x52,0x40a,"SetGrpObj_clipregion(2)"}, |
429 {0,0,0x01,0x52,0x40f,"SetGrpObj_surfacenum(2)"}, | 645 {0,0,0x01,0x52,0x40f,"SetGrpObj_surfacenum(2)"}, |
430 {0,0,0x01,0x52,0x416,"SetGrpObj_expand(2)"}, | 646 {0,0,0x01,0x52,0x416,"SetGrpObj_expand(2)"}, |
431 {0,0,0x01,0x52,0x419,"SetGrpObj_rotate(2)"}, | 647 {0,0,0x01,0x52,0x419,"SetGrpObj_rotate(2)"}, |
432 {0,0,0x01,0x54,0x3e8,"GetGrpObj_xy"}, | 648 {0,0,0x01,0x54,0x3e8,"GetGrpObj_xy"}, |
433 {0,0,0x01,0x54,0x44c,"GetGrpObj_wh"}, | 649 {0,0,0x01,0x54,0x44c,"GetGrpObj_wh"}, |
650 {0,0,0x01,0x55,0x3e8,"S/GetGrpObj_??? (Kanon)"}, | |
434 | 651 |
435 {0,0,0x02,0x3d,0x0a, "ClearGrpObj(2)"}, | 652 {0,0,0x02,0x3d,0x0a, "ClearGrpObj(2)"}, |
436 {0,0,0x02,0x3d,0x0b, "ClearGrpObj(2)"}, | 653 {0,0,0x02,0x3d,0x0b, "ClearGrpObj(2)"}, |
437 {0,0,0x02,0x3e,0x0a, "ClearGrpObj(2)"}, | 654 {0,0,0x02,0x3e,0x0a, "ClearGrpObj(2)"}, |
438 {0,0,0x02,0x3e,0x0a, "ClearGrpObj(2)"}, | 655 {0,0,0x02,0x3e,0x0a, "ClearGrpObj(2)"}, |
469 {0,0,0x02,0x52,0x40f,"SetGrpObj_surfacenum(2)(2)"}, | 686 {0,0,0x02,0x52,0x40f,"SetGrpObj_surfacenum(2)(2)"}, |
470 {0,0,0x02,0x52,0x416,"SetGrpObj_expand(2)(2)"}, | 687 {0,0,0x02,0x52,0x416,"SetGrpObj_expand(2)(2)"}, |
471 {0,0,0x02,0x52,0x419,"SetGrpObj_rotate(2)(2)"}, | 688 {0,0,0x02,0x52,0x419,"SetGrpObj_rotate(2)(2)"}, |
472 {0,0,0x02,0x54,0x3e8,"GetGrpObj_xy(2)"}, | 689 {0,0,0x02,0x54,0x3e8,"GetGrpObj_xy(2)"}, |
473 {0,0,0x02,0x54,0x44c,"GetGrpObj_wh(2)"}, | 690 {0,0,0x02,0x54,0x44c,"GetGrpObj_wh(2)"}, |
691 | |
474 {0,0,0,0,0,0} | 692 {0,0,0,0,0,0} |
475 }; | 693 }; |
476 map<int, CmdDescrItem*> CmdD::cmd_descr; | 694 map<int, CmdDescrItem*> CmdD::cmd_descr; |
477 const char* CmdD::CmdDescr(int cmd1, int cmd2, int cmd3, int cmd4) { | 695 const char* CmdD::CmdDescr(int cmd1, int cmd2, int cmd3, int cmd4) { |
478 if (cmd_descr.empty()) { | 696 if (cmd_descr.empty()) { |