Mercurial > otakunoraifu
comparison scn2k/scn2k_grp.cc @ 72:f9eb96a4cce0
Register all (?) commands, to help finding non-implemented ones in game.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 02 Apr 2011 02:05:27 +0200 |
parents | 1fd20d231376 |
children | f8751d74918b |
comparison
equal
deleted
inserted
replaced
71:1fd20d231376 | 72:f9eb96a4cce0 |
---|---|
621 screen_front->hide(); | 621 screen_front->hide(); |
622 screen_front->ZMove(screen); | 622 screen_front->ZMove(screen); |
623 | 623 |
624 LoadCgm(); | 624 LoadCgm(); |
625 | 625 |
626 RegisterCommand(1, 30, 0, "stackClear", (CmdImpl) &Grp::impl_stackClear); | 626 // Jumps |
627 RegisterCommand(1, 33, 70, "grpBuffer", (CmdImpl) &Grp::impl_grpBuffer); | 627 RegisterCommand(0, 1, 0, "goto", NULL); |
628 RegisterCommand(1, 33, 73, "grpOpenBG", (CmdImpl) &Grp::impl_grpOpen); | 628 RegisterCommand(0, 1, 1, "goto_if", NULL); |
629 RegisterCommand(1, 33, 75, "grpMulti", (CmdImpl) &Grp::impl_grpMulti); //FIXME: or not... | 629 RegisterCommand(0, 1, 2, "goto_unless", NULL); |
630 RegisterCommand(1, 33, 76, "grpOpen", (CmdImpl) &Grp::impl_grpOpen); | 630 RegisterCommand(0, 1, 3, "goto_on", NULL); |
631 RegisterCommand(1, 33, 32, "shake", (CmdImpl) &Grp::impl_shake); | 631 RegisterCommand(0, 1, 4, "goto_case", NULL); |
632 RegisterCommand(1, 33, 100, "grpCopy", (CmdImpl) &Grp::impl_grpCopy); | 632 RegisterCommand(0, 1, 5, "gosub", NULL); |
633 RegisterCommand(1, 33, 1201, "recFill", (CmdImpl) &Grp::impl_recFill); | 633 RegisterCommand(0, 1, 6, "gosub_if", NULL); |
634 RegisterCommand(1, 33, 1100, "recCopy", (CmdImpl) &Grp::impl_recCopy); | 634 RegisterCommand(0, 1, 7, "gosub_unless", NULL); |
635 RegisterCommand(1, 33, 1101, "recMaskCopy", NULL); //TODO: Same thing as recCopy, but using source's alpha | 635 RegisterCommand(0, 1, 8, "gosub_on", NULL); |
636 RegisterCommand(1, 33, 1600, "recAdd", (CmdImpl) &Grp::impl_recAdd); | 636 RegisterCommand(0, 1, 9, "gosub_case", NULL); |
637 RegisterCommand(1, 33, 406, "grpPan", (CmdImpl) &Grp::impl_grpPan); | 637 RegisterCommand(0, 1, 10, "ret", NULL); |
638 | 638 RegisterCommand(0, 1, 11, "jump", NULL); |
639 RegisterCommand(1, 34, 3120, "snmBgScroll", (CmdImpl) &Grp::impl_snmBgScroll); | 639 RegisterCommand(0, 1, 12, "farcall", NULL); |
640 RegisterCommand(1, 34, 3100, "snmBgPlay", (CmdImpl) &Grp::impl_snmPlay); | 640 RegisterCommand(0, 1, 13, "rtl", NULL); |
641 RegisterCommand(1, 34, 2100, "snmPlay", (CmdImpl) &Grp::impl_snmPlay); | 641 RegisterCommand(0, 1, 16, "gosub_with", NULL); |
642 RegisterCommand(1, 34, 2101, "snmPlayEx", (CmdImpl) &Grp::impl_snmPlay); | 642 RegisterCommand(0, 1, 17, "ret_with", NULL); |
643 RegisterCommand(0, 1, 18, "farcall_with", NULL); | |
644 RegisterCommand(0, 1, 19, "rtl_with", NULL); | |
645 | |
646 RegisterCommand(2, 1, 1, "??? (unknown)", NULL); | |
647 RegisterCommand(2, 1, 2, "InvokeDLL", NULL); | |
648 RegisterCommand(2, 1, 10, "LoadDLL", NULL); | |
649 RegisterCommand(2, 1, 11, "UnloadDLL", NULL); | |
650 RegisterCommand(2, 1, 12, "CallDLL", NULL); | |
651 | |
652 | |
653 // Selections | |
654 RegisterCommand(0, 2, 0, "select_w", NULL); | |
655 RegisterCommand(0, 2, 1, "select", NULL); | |
656 RegisterCommand(0, 2, 2, "select_s2", NULL); | |
657 RegisterCommand(0, 2, 3, "select_s", NULL); | |
658 | |
659 RegisterCommand(0, 2, 10, "select_?? (10)", NULL); | |
660 RegisterCommand(0, 2, 11, "select_?? (11)", NULL); | |
661 RegisterCommand(0, 2, 12, "select_?? (12)", NULL); | |
662 RegisterCommand(0, 2, 13, "select_?? (13)", NULL); | |
663 | |
664 | |
665 // Messages | |
666 RegisterCommand(0, 3, 3, "par", NULL); | |
667 | |
668 RegisterCommand(0, 3, 15, "spause3", NULL); | |
669 RegisterCommand(0, 3, 17, "pause", NULL); | |
670 | |
671 RegisterCommand(0, 3, 100, "SetFontColour", NULL); | |
672 RegisterCommand(0, 3, 101, "FontSize", NULL); | |
673 RegisterCommand(0, 3, 102, "TextWindow", NULL); | |
674 RegisterCommand(0, 3, 103, "FastText", NULL); | |
675 RegisterCommand(0, 3, 104, "NormalText", NULL); | |
676 RegisterCommand(0, 3, 105, "FontColour", NULL); | |
677 RegisterCommand(0, 3, 106, "SetFontColourAll", NULL); | |
678 RegisterCommand(0, 3, 107, "FontSizeAll", NULL); | |
679 | |
680 RegisterCommand(0, 3, 120, "__doruby", NULL); | |
681 | |
682 // Already in _text | |
683 /* RegisterCommand(0, 3, 151, "msgHide", NULL); | |
684 RegisterCommand(0, 3, 152, "msgClear", NULL); */ | |
685 RegisterCommand(0, 3, 161, "msgHideAll", NULL); | |
686 RegisterCommand(0, 3, 162, "msgClearAll", NULL); | |
687 RegisterCommand(0, 3, 170, "msgHideAllTemp", NULL); | |
688 | |
689 RegisterCommand(0, 3, 201, "br", NULL); | |
690 RegisterCommand(0, 3, 202, "par2", NULL); | |
691 RegisterCommand(0, 3, 205, "spause", NULL); | |
692 RegisterCommand(0, 3, 206, "spause2", NULL); | |
693 RegisterCommand(0, 3, 207, "pause_all", NULL); | |
694 RegisterCommand(0, 3, 210, "page", NULL); | |
695 | |
696 RegisterCommand(0, 3, 300, "SetIndent", NULL); | |
697 RegisterCommand(0, 3, 301, "ClearIndent", NULL); | |
698 | |
699 RegisterCommand(0, 3, 310, "TextPos", NULL); | |
700 RegisterCommand(0, 3, 311, "TextPosX", NULL); | |
701 RegisterCommand(0, 3, 312, "TextPosY", NULL); | |
702 RegisterCommand(0, 3, 320, "TextOffset", NULL); | |
703 RegisterCommand(0, 3, 321, "TextOffsetX", NULL); | |
704 RegisterCommand(0, 3, 322, "TextOffsetY", NULL); | |
705 RegisterCommand(0, 3, 330, "GetTextPos", NULL); | |
706 | |
707 RegisterCommand(0, 3, 340, "WindowLen", NULL); | |
708 RegisterCommand(0, 3, 341, "WindowLenAll", NULL); | |
709 | |
710 RegisterCommand(0, 3, 1000, "FaceOpen", NULL); | |
711 RegisterCommand(0, 3, 1001, "FaceClear", NULL); | |
712 | |
713 RegisterCommand(0, 3, 2000, "??? (overloads 0 and 1?)", NULL); | |
714 RegisterCommand(0, 3, 3000, "??? (unknown)", NULL); | |
715 | |
716 | |
717 // System | |
718 RegisterCommand(0, 4, 120, "SetInterrupt", NULL); | |
719 RegisterCommand(0, 4, 121, "ClearInterrupt", NULL); | |
720 RegisterCommand(0, 4, 303, "yield", NULL); | |
721 | |
722 RegisterCommand(0, 4, 300, "rtlButton", NULL); | |
723 RegisterCommand(0, 4, 301, "rtlCancel", NULL); | |
724 RegisterCommand(0, 4, 302, "rtlSystem", NULL); | |
725 | |
726 RegisterCommand(0, 4, 1000, "ShowBackground", NULL); | |
727 RegisterCommand(0, 4, 1100, "SetSkipMode", NULL); | |
728 RegisterCommand(0, 4, 1101, "ClearSkipMode", NULL); | |
729 RegisterCommand(0, 4, 1102, "SkipMode", NULL); | |
730 | |
731 RegisterCommand(0, 4, 2000, "aaa", NULL); | |
732 RegisterCommand(0, 4, 2001, "aaa", NULL); | |
733 | |
734 RegisterCommand(0, 4, 0, "pause", NULL); | |
735 RegisterCommand(0, 4, 1, "page", NULL); | |
736 RegisterCommand(0, 4, 2, "bgmLoop", NULL); | |
737 | |
738 RegisterCommand(1, 4, 0, "title", NULL); | |
739 | |
740 RegisterCommand(1, 4, 100, "wait", NULL); | |
741 RegisterCommand(1, 4, 101, "waitC", NULL); | |
742 | |
743 RegisterCommand(1, 4, 110, "ResetTimer", NULL); | |
744 RegisterCommand(1, 4, 111, "time", NULL); | |
745 RegisterCommand(1, 4, 112, "timeC", NULL); | |
746 RegisterCommand(1, 4, 113, "tipeC2/Timer2", NULL); | |
747 RegisterCommand(1, 4, 114, "Timer", NULL); | |
748 RegisterCommand(1, 4, 115, "CmpTimer", NULL); | |
749 RegisterCommand(1, 4, 116, "SetTimer", NULL); | |
750 | |
751 RegisterCommand(1, 4, 120, "ResetExTimer", NULL); | |
752 RegisterCommand(1, 4, 121, "timeEx", NULL); | |
753 RegisterCommand(1, 4, 122, "timeExC", NULL); | |
754 RegisterCommand(1, 4, 123, "timeExC2", NULL); | |
755 RegisterCommand(1, 4, 124, "ExTimer", NULL); | |
756 RegisterCommand(1, 4, 125, "CmpExTimer", NULL); | |
757 RegisterCommand(1, 4, 126, "SetExTimer", NULL); | |
758 | |
759 RegisterCommand(1, 4, 130, "FlushClick", NULL); | |
760 RegisterCommand(1, 4, 131, "GetClick", NULL); | |
761 RegisterCommand(1, 4, 132, "WaitClick", NULL); | |
762 RegisterCommand(1, 4, 133, "GetCursorPos2", NULL); | |
763 RegisterCommand(1, 4, 134, "??? (unknown)", NULL); | |
764 RegisterCommand(1, 4, 135, "??? (unknown)", NULL); | |
765 RegisterCommand(1, 4, 136, "??? (unknown)", NULL); | |
766 RegisterCommand(1, 4, 137, "??? (unknown)", NULL); | |
767 RegisterCommand(1, 4, 138, "GetCursorPos2", NULL); | |
768 | |
769 RegisterCommand(1, 4, 151, "??? (unknown)", NULL); | |
770 | |
771 RegisterCommand(1, 4, 200, "KeyMouseOn", NULL); | |
772 RegisterCommand(1, 4, 201, "KeyMouseOff", NULL); | |
773 RegisterCommand(1, 4, 202, "GetCursorPos2", NULL); | |
774 RegisterCommand(1, 4, 203, "SetCursorPos", NULL); | |
775 RegisterCommand(1, 4, 204, "ShowCursor", NULL); | |
776 RegisterCommand(1, 4, 205, "HideCursor", NULL); | |
777 RegisterCommand(1, 4, 206, "GetMouseCursor", NULL); | |
778 RegisterCommand(1, 4, 207, "MouseCursor", NULL); | |
779 | |
780 RegisterCommand(1, 4, 320, "CallStackClear", NULL); | |
781 RegisterCommand(1, 4, 321, "CallStackNop", NULL); | |
782 RegisterCommand(1, 4, 322, "CallStackPop", NULL); | |
783 RegisterCommand(1, 4, 323, "CallStackSize", NULL); | |
784 RegisterCommand(1, 4, 324, "CallStackTrunc", NULL); | |
785 | |
786 RegisterCommand(1, 4, 330, "EnableSkipMode", NULL); | |
787 RegisterCommand(1, 4, 331, "DisableSkipMode", NULL); | |
788 RegisterCommand(1, 4, 332, "LocalSkipMode", NULL); | |
789 RegisterCommand(1, 4, 333, "SetLocalSkipMode", NULL); | |
790 RegisterCommand(1, 4, 334, "ClearLocalSkipMode", NULL); | |
791 | |
792 RegisterCommand(1, 4, 350, "CtrlKeySkip", NULL); | |
793 RegisterCommand(1, 4, 351, "CtrlKeySkipOn", NULL); | |
794 RegisterCommand(1, 4, 352, "CtrlKeySkipOff", NULL); | |
795 RegisterCommand(1, 4, 353, "CtrlPressed", NULL); | |
796 RegisterCommand(1, 4, 354, "ShiftPressed", NULL); | |
797 | |
798 RegisterCommand(1, 4, 364, "PauseCursor", NULL); | |
799 | |
800 RegisterCommand(1, 4, 400, "GetWindowPos", NULL); | |
801 RegisterCommand(1, 4, 401, "SetWindowPos", NULL); | |
802 RegisterCommand(1, 4, 402, "WindowResetPos", NULL); | |
803 RegisterCommand(1, 4, 403, "GetDefaultWindowPos", NULL); | |
804 RegisterCommand(1, 4, 404, "SetDefaultWindowPos", NULL); | |
805 RegisterCommand(1, 4, 405, "DefaultWindowResetPos", NULL); | |
806 | |
807 RegisterCommand(1, 4, 410, "GetWakuAll", NULL); | |
808 RegisterCommand(1, 4, 411, "SetWakuAll", NULL); | |
809 RegisterCommand(1, 4, 412, "GetWaku", NULL); | |
810 RegisterCommand(1, 4, 413, "SetWaku", NULL); | |
811 RegisterCommand(1, 4, 414, "GetWakuMod", NULL); | |
812 RegisterCommand(1, 4, 415, "SetWakuMod_dwm", NULL); | |
813 RegisterCommand(1, 4, 416, "SetWakuMod_ewm", NULL); | |
814 | |
815 RegisterCommand(1, 4, 420, "GetWindowAttr2", NULL); | |
816 RegisterCommand(1, 4, 421, "SetWindowAttr2", NULL); | |
817 | |
818 RegisterCommand(1, 4, 422, "GetWindowModAttr", NULL); | |
819 RegisterCommand(1, 4, 423, "SetWindowModAttr", NULL); | |
820 RegisterCommand(1, 4, 424, "GetWindowAttrMod", NULL); | |
821 RegisterCommand(1, 4, 425, "SetWindowAttrMod_sam0", NULL); | |
822 RegisterCommand(1, 4, 426, "SetWindowAttrMod_sam1", NULL); | |
823 RegisterCommand(1, 4, 427, "SetWindowAttrMod_sam2", NULL); | |
824 | |
825 RegisterCommand(1, 4, 430, "??? (unknown)", NULL); | |
826 RegisterCommand(1, 4, 431, "??? (unknown)", NULL); | |
827 RegisterCommand(1, 4, 432, "??? (unknown)", NULL); | |
828 RegisterCommand(1, 4, 435, "??? (unknown)", NULL); | |
829 RegisterCommand(1, 4, 436, "??? (unknown)", NULL); | |
830 RegisterCommand(1, 4, 437, "??? (unknown)", NULL); | |
831 RegisterCommand(1, 4, 440, "??? (unknown)", NULL); | |
832 RegisterCommand(1, 4, 441, "??? (unknown)", NULL); | |
833 RegisterCommand(1, 4, 442, "??? (unknown)", NULL); | |
834 RegisterCommand(1, 4, 445, "??? (unknown)", NULL); | |
835 RegisterCommand(1, 4, 446, "??? (unknown)", NULL); | |
836 RegisterCommand(1, 4, 447, "??? (unknown)", NULL); | |
837 RegisterCommand(1, 4, 450, "??? (unknown)", NULL); | |
838 RegisterCommand(1, 4, 451, "??? (unknown)", NULL); | |
839 RegisterCommand(1, 4, 452, "??? (unknown)", NULL); | |
840 RegisterCommand(1, 4, 455, "??? (unknown)", NULL); | |
841 RegisterCommand(1, 4, 456, "??? (unknown)", NULL); | |
842 RegisterCommand(1, 4, 457, "??? (unknown)", NULL); | |
843 | |
844 RegisterCommand(1, 4, 460, "EnableWindowAnm", NULL); | |
845 RegisterCommand(1, 4, 461, "DisableWindowAnm", NULL); | |
846 RegisterCommand(1, 4, 462, "GetOpenAnmMod", NULL); | |
847 RegisterCommand(1, 4, 463, "SetOpenAnmMod", NULL); | |
848 RegisterCommand(1, 4, 464, "GetOpenAnmTime", NULL); | |
849 RegisterCommand(1, 4, 465, "SetOpenAnmTime", NULL); | |
850 RegisterCommand(1, 4, 466, "GetCloseAnmMod", NULL); | |
851 RegisterCommand(1, 4, 467, "SetCloseAnmMod", NULL); | |
852 RegisterCommand(1, 4, 468, "GetCloseAnmTime", NULL); | |
853 RegisterCommand(1, 4, 469, "SetCloseAnmTime", NULL); | |
854 | |
855 RegisterCommand(1, 4, 500, "InitFrame", NULL); | |
856 RegisterCommand(1, 4, 501, "InitFrameLoop", NULL); | |
857 RegisterCommand(1, 4, 502, "InitFrameTurn", NULL); | |
858 RegisterCommand(1, 4, 503, "InitFrameAccel", NULL); | |
859 RegisterCommand(1, 4, 504, "InitFrameDecel", NULL); | |
860 RegisterCommand(1, 4, 510, "ReadFrame", NULL); | |
861 RegisterCommand(1, 4, 511, "FrameActive", NULL); | |
862 RegisterCommand(1, 4, 512, "AnyFrameActive", NULL); | |
863 RegisterCommand(1, 4, 513, "ClearFrame", NULL); | |
864 RegisterCommand(1, 4, 514, "ClearAllFrames", NULL); | |
865 RegisterCommand(1, 4, 520, "InitExFrame", NULL); | |
866 RegisterCommand(1, 4, 521, "InitExFrameLoop", NULL); | |
867 RegisterCommand(1, 4, 522, "InitExFrameTurn", NULL); | |
868 RegisterCommand(1, 4, 523, "InitExFrameAccel", NULL); | |
869 RegisterCommand(1, 4, 524, "InitExFrameDecel", NULL); | |
870 RegisterCommand(1, 4, 530, "ReadExFrame", NULL); | |
871 RegisterCommand(1, 4, 531, "ExFrameActive", NULL); | |
872 RegisterCommand(1, 4, 532, "AnyExFrameActive", NULL); | |
873 RegisterCommand(1, 4, 533, "ClearExFrame", NULL); | |
874 RegisterCommand(1, 4, 534, "ClearAllExFrames", NULL); | |
875 | |
876 RegisterCommand(1, 4, 600, "InitFrames", NULL); | |
877 RegisterCommand(1, 4, 601, "InitFramesLoop", NULL); | |
878 RegisterCommand(1, 4, 602, "InitFramesTurn", NULL); | |
879 RegisterCommand(1, 4, 603, "InitFramesAccel", NULL); | |
880 RegisterCommand(1, 4, 604, "InitFramesDecel", NULL); | |
881 RegisterCommand(1, 4, 610, "ReadFrames", NULL); | |
882 RegisterCommand(1, 4, 620, "InitExFrames", NULL); | |
883 RegisterCommand(1, 4, 621, "InitExFramesLoop", NULL); | |
884 RegisterCommand(1, 4, 622, "InitExFramesTurn", NULL); | |
885 RegisterCommand(1, 4, 623, "InitExFramesAccel", NULL); | |
886 RegisterCommand(1, 4, 624, "InitExFramesDecel", NULL); | |
887 RegisterCommand(1, 4, 630, "ReadExFrames", NULL); | |
888 | |
889 RegisterCommand(1, 4, 800, "index_series", NULL); | |
890 RegisterCommand(1, 4, 801, "??? (unknown)", NULL); | |
891 | |
892 RegisterCommand(1, 4, 1000, "rnd", NULL); | |
893 RegisterCommand(1, 4, 1001, "pcnt", NULL); | |
894 RegisterCommand(1, 4, 1002, "abs", NULL); | |
895 RegisterCommand(1, 4, 1003, "power", NULL); | |
896 RegisterCommand(1, 4, 1004, "sin", NULL); | |
897 RegisterCommand(1, 4, 1005, "modulus", NULL); | |
898 RegisterCommand(1, 4, 1006, "angle", NULL); | |
899 RegisterCommand(1, 4, 1007, "min", NULL); | |
900 RegisterCommand(1, 4, 1008, "max", NULL); | |
901 RegisterCommand(1, 4, 1009, "constrain", NULL); | |
902 RegisterCommand(1, 4, 1010, "cos", NULL); | |
903 RegisterCommand(1, 4, 1011, "sign", NULL); | |
904 RegisterCommand(1, 4, 1012, "??? (unknown)", NULL); | |
905 RegisterCommand(1, 4, 1013, "??? (unknown)", NULL); | |
906 | |
907 RegisterCommand(1, 4, 1100, "GetYear", NULL); | |
908 RegisterCommand(1, 4, 1101, "GetMonth", NULL); | |
909 RegisterCommand(1, 4, 1102, "GetDay", NULL); | |
910 RegisterCommand(1, 4, 1103, "GetDayOfWeek", NULL); | |
911 RegisterCommand(1, 4, 1104, "GetHour", NULL); | |
912 RegisterCommand(1, 4, 1105, "GetMinute", NULL); | |
913 RegisterCommand(1, 4, 1106, "GetSecond", NULL); | |
914 RegisterCommand(1, 4, 1107, "GetMs", NULL); | |
915 RegisterCommand(1, 4, 1110, "GetDate", NULL); | |
916 RegisterCommand(1, 4, 1111, "GetTime", NULL); | |
917 RegisterCommand(1, 4, 1112, "GetDateTime", NULL); | |
918 | |
919 RegisterCommand(1, 4, 1120, "SceneNum", NULL); | |
920 | |
921 RegisterCommand(1, 4, 1130, "DefaultGrp", NULL); | |
922 RegisterCommand(1, 4, 1131, "SetDefaultGrp", NULL); | |
923 RegisterCommand(1, 4, 1132, "DefaultBgr", NULL); | |
924 RegisterCommand(1, 4, 1133, "SetDefaultBgr", NULL); | |
925 | |
926 RegisterCommand(1, 4, 1200, "end", NULL); | |
927 RegisterCommand(1, 4, 1201, "MenuReturn", NULL); | |
928 RegisterCommand(1, 4, 1202, "MenuReturn2", NULL); | |
929 RegisterCommand(1, 4, 1203, "ReturnMenu", NULL); | |
930 RegisterCommand(1, 4, 1204, "ReturnPrevSelect", NULL); | |
931 RegisterCommand(1, 4, 1205, "ReturnPrevSelect2", NULL); | |
932 | |
933 RegisterCommand(1, 4, 1210, "ContextMenu", NULL); | |
934 RegisterCommand(1, 4, 1211, "EnableSyscom", NULL); | |
935 RegisterCommand(1, 4, 1212, "HideSyscom", NULL); | |
936 RegisterCommand(1, 4, 1213, "DisableSyscom", NULL); | |
937 RegisterCommand(1, 4, 1214, "SyscomEnabled", NULL); | |
938 RegisterCommand(1, 4, 1215, "InvokeSyscom", NULL); | |
939 RegisterCommand(1, 4, 1216, "ReadSyscom", NULL); | |
940 | |
941 RegisterCommand(1, 4, 1220, "??? (unknown)", NULL); | |
942 RegisterCommand(1, 4, 1221, "??? (unknown)", NULL); | |
943 RegisterCommand(1, 4, 1222, "??? (unknown)", NULL); | |
944 RegisterCommand(1, 4, 1230, "??? (unknown)", NULL); | |
945 RegisterCommand(1, 4, 1231, "??? (unknown)", NULL); | |
946 RegisterCommand(1, 4, 1232, "??? (unknown)", NULL); | |
947 RegisterCommand(1, 4, 1250, "??? (unknown)", NULL); | |
948 RegisterCommand(1, 4, 1251, "??? (unknown)", NULL); | |
949 RegisterCommand(1, 4, 1252, "??? (unknown)", NULL); | |
950 RegisterCommand(1, 4, 1253, "??? (unknown)", NULL); | |
951 RegisterCommand(1, 4, 1254, "??? (unknown)", NULL); | |
952 | |
953 RegisterCommand(1, 4, 1300, "GetName", NULL); | |
954 RegisterCommand(1, 4, 1301, "SetName", NULL); | |
955 RegisterCommand(1, 4, 1302, "nwSingle", NULL); | |
956 RegisterCommand(1, 4, 1303, "nwMulti", NULL); | |
957 RegisterCommand(1, 4, 1310, "GetLocalName", NULL); | |
958 RegisterCommand(1, 4, 1311, "SetLocalName", NULL); | |
959 RegisterCommand(1, 4, 1312, "nwSingleLocal", NULL); | |
960 RegisterCommand(1, 4, 1313, "nwMultiLocal", NULL); | |
961 | |
962 RegisterCommand(1, 4, 1409, "SaveExists", NULL); | |
963 RegisterCommand(1, 4, 1410, "SaveDate", NULL); | |
964 RegisterCommand(1, 4, 1411, "SaveTime", NULL); | |
965 RegisterCommand(1, 4, 1412, "SaveDateTime", NULL); | |
966 RegisterCommand(1, 4, 1413, "SaveInfo", NULL); | |
967 RegisterCommand(1, 4, 1414, "GetSaveFlag", NULL); | |
968 RegisterCommand(1, 4, 1421, "LatestSave", NULL); | |
643 | 969 |
644 RegisterCommand(1, 4, 1500, "cgGetTotal", (CmdImpl) &Grp::impl_cgGet); | 970 RegisterCommand(1, 4, 1500, "cgGetTotal", (CmdImpl) &Grp::impl_cgGet); |
645 RegisterCommand(1, 4, 1501, "cgGetViewed", (CmdImpl) &Grp::impl_cgGet); | 971 RegisterCommand(1, 4, 1501, "cgGetViewed", (CmdImpl) &Grp::impl_cgGet); |
646 RegisterCommand(1, 4, 1502, "cgGetViewedPcnt", (CmdImpl) &Grp::impl_cgGet); | 972 RegisterCommand(1, 4, 1502, "cgGetViewedPcnt", (CmdImpl) &Grp::impl_cgGet); |
647 RegisterCommand(1, 4, 1503, "cgGetFlag", (CmdImpl) &Grp::impl_cgStatus); | 973 RegisterCommand(1, 4, 1503, "cgGetFlag", (CmdImpl) &Grp::impl_cgStatus); |
648 RegisterCommand(1, 4, 1504, "cgStatus", (CmdImpl) &Grp::impl_cgStatus); | 974 RegisterCommand(1, 4, 1504, "cgStatus", (CmdImpl) &Grp::impl_cgStatus); |
649 | 975 RegisterCommand(1, 4, 1505, "??? (unknown)", NULL); |
650 RegisterCommand(1, 4, 0x6a4, "CreateInput", NULL); | 976 |
651 RegisterCommand(1, 4, 0x6ae, "SetInput", NULL); | 977 // Input |
652 | 978 RegisterCommand(1, 4, 1700, "CreateInput", NULL); |
979 RegisterCommand(1, 4, 1701, "CloseInput", NULL); | |
980 RegisterCommand(1, 4, 1702, "CloseAllInput", NULL); | |
981 RegisterCommand(1, 4, 1703, "FocusInput", NULL); | |
982 RegisterCommand(1, 4, 1710, "SetInput", NULL); | |
983 RegisterCommand(1, 4, 1711, "GetInput", NULL); | |
984 | |
985 RegisterCommand(1, 4, 2050, "SetCursorMono", NULL); | |
986 RegisterCommand(1, 4, 2000, "CursorMono", NULL); | |
987 RegisterCommand(1, 4, 2051, "SetSkipAnimations", NULL); | |
988 RegisterCommand(1, 4, 2001, "SkipAnimations", NULL); | |
989 RegisterCommand(1, 4, 2052, "SetLowPriority", NULL); | |
990 RegisterCommand(1, 4, 2002, "LowPriority", NULL); | |
991 RegisterCommand(1, 4, 2053, "SetConfirmSaveLoad", NULL); | |
992 RegisterCommand(1, 4, 2003, "ConfirmSaveLoad", NULL); | |
993 RegisterCommand(1, 4, 2054, "SetReduceDistortion", NULL); | |
994 RegisterCommand(1, 4, 2004, "ReduceDistortion", NULL); | |
995 RegisterCommand(1, 4, 2059, "SetSoundQuality", NULL); | |
996 RegisterCommand(1, 4, 2009, "SoundQuality", NULL); | |
997 RegisterCommand(1, 4, 2221, "SetGeneric1", NULL); | |
998 RegisterCommand(1, 4, 2620, "DefGeneric1", NULL); | |
999 RegisterCommand(1, 4, 2321, "Generic1", NULL); | |
1000 RegisterCommand(1, 4, 2222, "SetGeneric2", NULL); | |
1001 RegisterCommand(1, 4, 2322, "Generic2", NULL); | |
1002 RegisterCommand(1, 4, 2621, "DefGeneric2", NULL); | |
1003 RegisterCommand(1, 4, 2223, "SetMessageSpeed", NULL); | |
1004 RegisterCommand(1, 4, 2323, "MessageSpeed", NULL); | |
1005 RegisterCommand(1, 4, 2600, "DefMessageSpeed", NULL); | |
1006 RegisterCommand(1, 4, 2224, "SetMessageNoWait", NULL); | |
1007 RegisterCommand(1, 4, 2324, "MessageNoWait", NULL); | |
1008 RegisterCommand(1, 4, 2601, "DefMessageNoWait", NULL); | |
1009 RegisterCommand(1, 4, 2225, "SetKoeMode", NULL); | |
1010 RegisterCommand(1, 4, 2325, "KoeMode", NULL); | |
1011 RegisterCommand(1, 4, 2226, "SetBgmKoeFadeVol", NULL); | |
1012 RegisterCommand(1, 4, 2326, "BgmKoeFadeVol", NULL); | |
1013 RegisterCommand(1, 4, 2602, "DefBgmKoeFadeVol", NULL); | |
1014 RegisterCommand(1, 4, 2227, "SetBgmKoeFade", NULL); | |
1015 RegisterCommand(1, 4, 2327, "BgmKoeFade", NULL); | |
1016 RegisterCommand(1, 4, 2603, "DefBgmKoeFade", NULL); | |
1017 | |
1018 RegisterCommand(1, 4, 2230, "SetBgmVolMod", (CmdImpl) &Grp::impl_SetVolMod); | |
1019 RegisterCommand(1, 4, 2330, "BgmVolMod", (CmdImpl) &Grp::impl_GetVolMod); | |
1020 RegisterCommand(1, 4, 2231, "SetKoeVolMod", (CmdImpl) &Grp::impl_SetVolMod); | |
1021 RegisterCommand(1, 4, 2331, "KoeVolMod", (CmdImpl) &Grp::impl_GetVolMod); | |
1022 RegisterCommand(1, 4, 2232, "SetPCMVolMod", (CmdImpl) &Grp::impl_SetVolMod); | |
1023 RegisterCommand(1, 4, 2332, "PCMVolMod", (CmdImpl) &Grp::impl_GetVolMod); | |
1024 RegisterCommand(1, 4, 2233, "SetSeVolMod", (CmdImpl) &Grp::impl_SetVolMod); | |
1025 RegisterCommand(1, 4, 2333, "SeVolMod", (CmdImpl) &Grp::impl_GetVolMod); | |
1026 | |
1027 RegisterCommand(1, 4, 2240, "SetBgmEnabled", NULL); | |
1028 RegisterCommand(1, 4, 2340, "BgmEnabled", NULL); | |
1029 RegisterCommand(1, 4, 2241, "SetKoeEnabled", NULL); | |
1030 RegisterCommand(1, 4, 2341, "KoeEnabled", NULL); | |
1031 RegisterCommand(1, 4, 2242, "SetPcmEnabled", NULL); | |
1032 RegisterCommand(1, 4, 2342, "PcmEnabled", NULL); | |
1033 RegisterCommand(1, 4, 2243, "SetSeEnabled", NULL); | |
1034 RegisterCommand(1, 4, 2343, "SeEnabled", NULL); | |
1035 RegisterCommand(1, 4, 2250, "SetAutoMode", NULL); | |
1036 RegisterCommand(1, 4, 2350, "AutoMode", NULL); | |
1037 RegisterCommand(1, 4, 2604, "DefAutoMode", NULL); | |
1038 RegisterCommand(1, 4, 2251, "SetAutoCharTime", NULL); | |
1039 RegisterCommand(1, 4, 2351, "AutoCharTime", NULL); | |
1040 RegisterCommand(1, 4, 2605, "DefAutoCharTime", NULL); | |
1041 RegisterCommand(1, 4, 2252, "SetAutoBaseTime", NULL); | |
1042 RegisterCommand(1, 4, 2352, "AutoBaseTime", NULL); | |
1043 RegisterCommand(1, 4, 2606, "DefAutoBaseTime", NULL); | |
1044 RegisterCommand(1, 4, 2255, "SetFontQuality", NULL); | |
1045 RegisterCommand(1, 4, 2355, "FontQuality", NULL); | |
1046 RegisterCommand(1, 4, 2256, "SetFontWeight", NULL); | |
1047 RegisterCommand(1, 4, 2356, "FontWeight", NULL); | |
1048 RegisterCommand(1, 4, 2257, "SetFontShadow", NULL); | |
1049 RegisterCommand(1, 4, 2357, "FontShadow", NULL); | |
1050 RegisterCommand(1, 4, 2260, "SetWindowAttrR", NULL); | |
1051 RegisterCommand(1, 4, 2360, "WindowAttrR", NULL); | |
1052 RegisterCommand(1, 4, 2610, "DefWindowAttrR", NULL); | |
1053 RegisterCommand(1, 4, 2261, "SetWindowAttrG", NULL); | |
1054 RegisterCommand(1, 4, 2361, "WindowAttrG", NULL); | |
1055 RegisterCommand(1, 4, 2611, "DefWindowAttrG", NULL); | |
1056 RegisterCommand(1, 4, 2262, "SetWindowAttrB", NULL); | |
1057 RegisterCommand(1, 4, 2362, "WindowAttrB", NULL); | |
1058 RegisterCommand(1, 4, 2612, "DefWindowAttrB", NULL); | |
1059 RegisterCommand(1, 4, 2263, "SetWindowAttrA", NULL); | |
1060 RegisterCommand(1, 4, 2363, "WindowAttrA", NULL); | |
1061 RegisterCommand(1, 4, 2613, "DefWindowAttrA", NULL); | |
1062 RegisterCommand(1, 4, 2264, "SetWindowAttrF", NULL); | |
1063 RegisterCommand(1, 4, 2364, "WindowAttrF", NULL); | |
1064 RegisterCommand(1, 4, 2614, "DefWindowAttrF", NULL); | |
1065 RegisterCommand(1, 4, 2265, "SetWindowAttr_swaRGB", NULL); | |
1066 RegisterCommand(1, 4, 2365, "GetWindowAttr_gwaRGB", NULL); | |
1067 RegisterCommand(1, 4, 2615, "DefWindowAttr_dwaRGB", NULL); | |
1068 RegisterCommand(1, 4, 2266, "SetWindowAttr_swaRGBA", NULL); | |
1069 RegisterCommand(1, 4, 2366, "GetWindowAttr_gwaRGBA", NULL); | |
1070 RegisterCommand(1, 4, 2616, "DefWindowAttr_dwaRGBA", NULL); | |
1071 RegisterCommand(1, 4, 2267, "SetWindowAttr", NULL); | |
1072 RegisterCommand(1, 4, 2367, "GetWindowAttr", NULL); | |
1073 RegisterCommand(1, 4, 2617, "DefWindowAttr", NULL); | |
1074 RegisterCommand(1, 4, 2270, "SetShowObject1", NULL); | |
1075 RegisterCommand(1, 4, 2370, "ShowObject1", NULL); | |
1076 RegisterCommand(1, 4, 2271, "SetShowObject2", NULL); | |
1077 RegisterCommand(1, 4, 2371, "ShowObject2", NULL); | |
1078 RegisterCommand(1, 4, 2272, "SetShowWeather", NULL); | |
1079 RegisterCommand(1, 4, 2372, "ShowWeather", NULL); | |
1080 RegisterCommand(1, 4, 2273, "SetClassifyText", NULL); | |
1081 RegisterCommand(1, 4, 2373, "ClassifyText", NULL); | |
1082 RegisterCommand(1, 4, 2274, "SetUseKoe", NULL); | |
1083 RegisterCommand(1, 4, 2374, "UseKoe", NULL); | |
1084 RegisterCommand(1, 4, 2275, "SetScreenMode", NULL); | |
1085 RegisterCommand(1, 4, 2375, "ScreenMode", NULL); | |
1086 RegisterCommand(1, 4, 2276, "??? (setsyscom12?)", NULL); | |
1087 RegisterCommand(1, 4, 2622, "??? (unknown)", NULL); | |
1088 RegisterCommand(1, 4, 2623, "??? (unknown)", NULL); | |
1089 RegisterCommand(1, 4, 2624, "??? (unknown)", NULL); | |
1090 RegisterCommand(1, 4, 2625, "??? (unknown)", NULL); | |
1091 RegisterCommand(1, 4, 2626, "??? (unknown)", NULL); | |
1092 RegisterCommand(1, 4, 2627, "??? (unknown)", NULL); | |
1093 RegisterCommand(1, 4, 2628, "??? (unknown)", NULL); | |
1094 RegisterCommand(1, 4, 2629, "??? (unknown)", NULL); | |
1095 | |
1096 RegisterCommand(1, 4, 3000, "menu_save", NULL); | |
1097 RegisterCommand(1, 4, 3001, "menu_load", NULL); | |
1098 RegisterCommand(1, 4, 3002, "savemenu", NULL); | |
1099 RegisterCommand(1, 4, 3003, "loadmenu", NULL); | |
1100 RegisterCommand(1, 4, 3006, "save2", NULL); | |
1101 RegisterCommand(1, 4, 3007, "save", NULL); | |
1102 RegisterCommand(1, 4, 3008, "load2", NULL); | |
1103 RegisterCommand(1, 4, 3009, "load", NULL); | |
1104 RegisterCommand(1, 4, 3100, "menu_save_always", NULL); | |
1105 RegisterCommand(1, 4, 3101, "menu_load_always", NULL); | |
1106 RegisterCommand(1, 4, 3106, "save_always2", NULL); | |
1107 RegisterCommand(1, 4, 3107, "save_always", NULL); | |
1108 RegisterCommand(1, 4, 3108, "load_always2", NULL); | |
1109 RegisterCommand(1, 4, 3109, "load_always", NULL); | |
1110 | |
1111 RegisterCommand(1, 4, 3500, "Savepoint", NULL); | |
1112 RegisterCommand(1, 4, 3501, "EnableAutoSavepoints", NULL); | |
1113 RegisterCommand(1, 4, 3502, "DisableAutoSavepoints", NULL); | |
1114 RegisterCommand(1, 4, 3503, "??? (unknown)", NULL); | |
1115 | |
1116 | |
1117 // Os | |
1118 RegisterCommand(1, 5, 0, "shell", NULL); | |
1119 RegisterCommand(1, 5, 10, "launch", NULL); | |
1120 | |
1121 RegisterCommand(0, 5, 1, "goto", NULL); | |
1122 RegisterCommand(0, 5, 2, "goto_unless", NULL); | |
1123 RegisterCommand(0, 5, 5, "gosub", NULL); | |
1124 RegisterCommand(0, 5, 6, "gosub_if", NULL); | |
1125 RegisterCommand(0, 5, 7, "gosub_unless", NULL); | |
1126 RegisterCommand(0, 5, 10, "ret", NULL); | |
1127 RegisterCommand(0, 5, 11, "jump", NULL); | |
1128 RegisterCommand(0, 5, 12, "farcall", NULL); | |
1129 RegisterCommand(0, 5, 13, "rtl", NULL); | |
1130 | |
1131 | |
1132 // String | |
1133 RegisterCommand(1, 10, 0, "strcpy", NULL); | |
1134 RegisterCommand(1, 10, 1, "strclear", NULL); | |
1135 RegisterCommand(1, 10, 2, "strcat", NULL); | |
1136 RegisterCommand(1, 10, 3, "strlen", NULL); | |
1137 RegisterCommand(1, 10, 4, "strcmp", NULL); | |
1138 RegisterCommand(1, 10, 5, "strsub", NULL); | |
1139 RegisterCommand(1, 10, 6, "strrsub", NULL); | |
1140 RegisterCommand(1, 10, 7, "strcharlen", NULL); | |
1141 RegisterCommand(1, 10, 8, "strtrunc", NULL); | |
1142 RegisterCommand(1, 10, 10, "hantozen", NULL); | |
1143 RegisterCommand(1, 10, 11, "zentohan", NULL); | |
1144 RegisterCommand(1, 10, 12, "Uppercase", NULL); | |
1145 RegisterCommand(1, 10, 13, "Lowercase", NULL); | |
1146 RegisterCommand(1, 10, 14, "itoa_ws", NULL); | |
1147 RegisterCommand(1, 10, 15, "itoa_s", NULL); | |
1148 RegisterCommand(1, 10, 16, "itoa_w", NULL); | |
1149 RegisterCommand(1, 10, 17, "itoa", NULL); | |
1150 RegisterCommand(1, 10, 18, "atoi", NULL); | |
1151 RegisterCommand(1, 10, 19, "digits", NULL); | |
1152 RegisterCommand(1, 10, 20, "digit", NULL); | |
1153 RegisterCommand(1, 10, 30, "strpos", NULL); | |
1154 RegisterCommand(1, 10, 31, "strlpos", NULL); | |
1155 RegisterCommand(1, 10, 100, "intout/strout", NULL); | |
1156 RegisterCommand(1, 10, 200, "strused", NULL); | |
1157 | |
1158 | |
1159 // Block manipulation functions | |
1160 RegisterCommand(1, 11, 0, "setarray", NULL); | |
1161 RegisterCommand(1, 11, 1, "setrng", NULL); | |
1162 RegisterCommand(1, 11, 2, "cpyrng", NULL); | |
1163 RegisterCommand(1, 11, 3, "setarray_stepped", NULL); | |
1164 RegisterCommand(1, 11, 4, "setrng_stepped", NULL); | |
1165 RegisterCommand(1, 11, 5, "??? (unknown)", NULL); | |
1166 RegisterCommand(1, 11, 6, "cpyvars", NULL); | |
1167 | |
1168 RegisterCommand(1, 11, 100, "sum", NULL); | |
1169 RegisterCommand(1, 11, 101, "sums", NULL); | |
1170 | |
1171 | |
1172 // Layered shaking functions | |
1173 RegisterCommand(1, 12, 0, "ShakeLayersStop", NULL); | |
1174 | |
1175 RegisterCommand(1, 12, 1100, "ShakeLayers_shlud", NULL); | |
1176 RegisterCommand(1, 12, 1101, "ShakeLayers_shlrl", NULL); | |
1177 RegisterCommand(1, 12, 1102, "ShakeLayers2D", NULL); | |
1178 RegisterCommand(1, 12, 1200, "ShakeLayers_shlup", NULL); | |
1179 RegisterCommand(1, 12, 1201, "ShakeLayers_shldn", NULL); | |
1180 RegisterCommand(1, 12, 1202, "ShakeLayers_shlle", NULL); | |
1181 RegisterCommand(1, 12, 1203, "ShakeLayers_shlri", NULL); | |
1182 RegisterCommand(1, 12, 1300, "ShakeLayersSpec", NULL); | |
1183 | |
1184 RegisterCommand(1, 12, 3100, "ShakeLayersEx_xshlud", NULL); | |
1185 RegisterCommand(1, 12, 3101, "ShakeLayersEx_xshlrl", NULL); | |
1186 RegisterCommand(1, 12, 3102, "ShakeLayers2DEx", NULL); | |
1187 RegisterCommand(1, 12, 3200, "ShakeLayersEx_xshlup", NULL); | |
1188 RegisterCommand(1, 12, 3201, "ShakeLayersEx_xshldn", NULL); | |
1189 RegisterCommand(1, 12, 3202, "ShakeLayersEx_xshlle", NULL); | |
1190 RegisterCommand(1, 12, 3203, "ShakeLayersEx_xshlri", NULL); | |
1191 RegisterCommand(1, 12, 3300, "ShakeLayersSpecEx", NULL); | |
1192 | |
1193 // Shaking | |
1194 RegisterCommand(1, 13, 0, "ShakeStop", NULL); | |
1195 | |
1196 RegisterCommand(1, 13, 1100, "ShakeScreen", NULL); | |
1197 RegisterCommand(1, 13, 1101, "ShakeScreen", NULL); | |
1198 RegisterCommand(1, 13, 1102, "ShakeScreen2D", NULL); | |
1199 RegisterCommand(1, 13, 1200, "ShakeScreen", NULL); | |
1200 RegisterCommand(1, 13, 1201, "ShakeScreen", NULL); | |
1201 RegisterCommand(1, 13, 1202, "ShakeScreen", NULL); | |
1202 RegisterCommand(1, 13, 1203, "ShakeScreen", NULL); | |
1203 RegisterCommand(1, 13, 1300, "ShakeSpec", NULL); | |
1204 RegisterCommand(1, 13, 1400, "ShakeScreen", NULL); | |
1205 | |
1206 RegisterCommand(1, 13, 3100, "ShakeScreenEx", NULL); | |
1207 RegisterCommand(1, 13, 3101, "ShakeScreenEx", NULL); | |
1208 RegisterCommand(1, 13, 3102, "ShakeScreen2DEx", NULL); | |
1209 RegisterCommand(1, 13, 3200, "ShakeScreenEx", NULL); | |
1210 RegisterCommand(1, 13, 3201, "ShakeScreenEx", NULL); | |
1211 RegisterCommand(1, 13, 3202, "ShakeScreenEx", NULL); | |
1212 RegisterCommand(1, 13, 3203, "ShakeScreenEx", NULL); | |
1213 RegisterCommand(1, 13, 3300, "ShakeSpecEx", NULL); | |
1214 RegisterCommand(1, 13, 3400, "ShakeScreenEx", NULL); | |
1215 | |
1216 // Music | |
1217 RegisterCommand(1, 20, 0, "bgmLoop", (CmdImpl) &Grp::impl_bgmLoop); | |
1218 RegisterCommand(1, 20, 1, "bgmPlayEx", (CmdImpl) &Grp::impl_bgmLoop); //FIXME: wait | |
1219 RegisterCommand(1, 20, 2, "bgmPlay", (CmdImpl) &Grp::impl_bgmLoop); | |
1220 RegisterCommand(1, 20, 3, "bgmWait", NULL); | |
1221 RegisterCommand(1, 20, 4, "bgmPlaying", NULL); | |
1222 RegisterCommand(1, 20, 5, "bgmStop", (CmdImpl) &Grp::impl_bgmStop); | |
1223 RegisterCommand(1, 20, 6, "bgmStop2", NULL); | |
1224 RegisterCommand(1, 20, 7, "bgmStatus", NULL); | |
1225 RegisterCommand(1, 20, 8, "bgmRewind", NULL); | |
1226 RegisterCommand(1, 20, 9, "bgmStop3", NULL); | |
1227 RegisterCommand(1, 20, 10, "bgmStop4", NULL); | |
1228 RegisterCommand(1, 20, 11, "bgmVolume", NULL); | |
1229 RegisterCommand(1, 20, 12, "bgmSetVolume", NULL); | |
1230 RegisterCommand(1, 20, 13, "bgmUnMute", NULL); | |
1231 RegisterCommand(1, 20, 14, "bgmMute", NULL); | |
1232 RegisterCommand(1, 20, 105, "bgmFadeOut", (CmdImpl) &Grp::impl_bgmStop); | |
1233 RegisterCommand(1, 20, 106, "bgmFadeOut2", NULL); | |
1234 RegisterCommand(1, 20, 107, "bgmStatus2", NULL); | |
1235 RegisterCommand(1, 20, 200, "bgmTimer", NULL); | |
1236 | |
1237 // Sound effects | |
1238 RegisterCommand(1, 21, 0, "wavPlay", (CmdImpl) &Grp::impl_playWav); | |
1239 RegisterCommand(1, 21, 1, "wavPlayEx", (CmdImpl) &Grp::impl_playWav); | |
1240 RegisterCommand(1, 21, 2, "wavLoop", (CmdImpl) &Grp::impl_playWav); | |
1241 RegisterCommand(1, 21, 3, "wavWait", NULL); | |
1242 RegisterCommand(1, 21, 4, "wavPlaying", NULL); | |
1243 RegisterCommand(1, 21, 5, "wavStop", (CmdImpl) &Grp::impl_stopWav); | |
1244 RegisterCommand(1, 21, 7, "wavPlaying2", NULL); | |
1245 RegisterCommand(1, 21, 8, "wavRewind", NULL); | |
1246 RegisterCommand(1, 21, 9, "wavStop3", (CmdImpl) &Grp::impl_stopWav); | |
1247 RegisterCommand(1, 21, 10, "wavStop4", (CmdImpl) &Grp::impl_stopWav); | |
1248 RegisterCommand(1, 21, 11, "wavVolume", NULL); | |
1249 RegisterCommand(1, 21, 12, "wavSetVolume", NULL); | |
1250 RegisterCommand(1, 21, 13, "wavUnMute", NULL); | |
1251 RegisterCommand(1, 21, 14, "wavMute", NULL); | |
1252 RegisterCommand(1, 21, 20, "wavStopAll", (CmdImpl) &Grp::impl_stopWav); | |
1253 RegisterCommand(1, 21, 105, "wavFadeout", (CmdImpl) &Grp::impl_stopWav); | |
1254 RegisterCommand(1, 21, 106, "wavFadeOut2", NULL); | |
1255 | |
1256 RegisterCommand(1, 22, 0, "sePlay", (CmdImpl) &Grp::impl_playSE); | |
1257 | |
1258 // Voices | |
1259 RegisterCommand(1, 23, 0, "koePlay", (CmdImpl) &Grp::impl_koePlay); | |
1260 RegisterCommand(1, 23, 1, "koePlayEx", (CmdImpl) &Grp::impl_koePlay); //FIXME | |
1261 RegisterCommand(1, 23, 3, "koeWait", NULL); | |
1262 RegisterCommand(1, 23, 4, "koePlaying", NULL); | |
1263 RegisterCommand(1, 23, 5, "koeStop", NULL); | |
1264 RegisterCommand(1, 23, 6, "koeWaitC", NULL); | |
1265 RegisterCommand(1, 23, 7, "koePlayExC", (CmdImpl) &Grp::impl_koePlay); //FIXME | |
1266 RegisterCommand(1, 23, 8, "koeDoPlay", (CmdImpl) &Grp::impl_koePlay); //FIXME | |
1267 RegisterCommand(1, 23, 9, "koeDoPlayEx", (CmdImpl) &Grp::impl_koePlay); //FIXME | |
1268 RegisterCommand(1, 23, 10, "koeDoPlayExC", (CmdImpl) &Grp::impl_koePlay); //FIXME | |
1269 RegisterCommand(1, 23, 11, "koeVolume", NULL); | |
1270 RegisterCommand(1, 23, 12, "koeSetVolume", NULL); | |
1271 RegisterCommand(1, 23, 13, "koeUnMute", NULL); | |
1272 RegisterCommand(1, 23, 14, "koeMute", NULL); | |
1273 | |
1274 // Videos | |
1275 RegisterCommand(1, 26, 0, "movPlay", NULL); | |
1276 RegisterCommand(1, 26, 1, "movPlayEx", (CmdImpl) &Grp::impl_movPlay); | |
1277 RegisterCommand(1, 26, 2, "movLoop", NULL); | |
1278 RegisterCommand(1, 26, 3, "movWait", NULL); | |
1279 RegisterCommand(1, 26, 4, "movPlaying", NULL); | |
1280 RegisterCommand(1, 26, 5, "movStop", NULL); | |
1281 RegisterCommand(1, 26, 20, "movPlayExC", (CmdImpl) &Grp::impl_movPlay); | |
1282 | |
1283 // Graphic stack | |
1284 RegisterCommand(1, 30, 0, "stackClear", (CmdImpl) &Grp::impl_stackClear); | |
1285 RegisterCommand(1, 30, 1, "stackNop", NULL); | |
1286 RegisterCommand(1, 30, 2, "stackPop", NULL); | |
1287 RegisterCommand(1, 30, 3, "stackSize", NULL); | |
1288 RegisterCommand(1, 30, 4, "stackTrunc", NULL); | |
1289 | |
1290 // Screen settings | |
1291 RegisterCommand(1, 30, 20, "DrawAuto", NULL); | |
1292 RegisterCommand(1, 30, 21, "DrawSemiAuto", NULL); | |
1293 RegisterCommand(1, 30, 22, "DrawManual", NULL); | |
1294 | |
1295 RegisterCommand(1, 30, 30, "ModeToScreenSize", NULL); | |
1296 RegisterCommand(1, 30, 31, "GetDCPixel", NULL); | |
1297 | |
1298 RegisterCommand(1, 30, 40, "??? (Princess Bride)", NULL); | |
1299 | |
1300 RegisterCommand(1, 31, 0, "refresh", (CmdImpl) &Grp::impl_refresh); | |
1301 | |
1302 // Graphics | |
1303 RegisterCommand(1, 33, 15, "allocDC", NULL); | |
1304 RegisterCommand(1, 33, 16, "freeDC", NULL); | |
1305 RegisterCommand(1, 33, 20, "grpLoadMask", NULL); | |
1306 RegisterCommand(1, 33, 30, "grpTextout", NULL); | |
1307 RegisterCommand(1, 33, 31, "wipe", NULL); | |
1308 RegisterCommand(1, 33, 32, "shake", (CmdImpl) &Grp::impl_shake); | |
1309 RegisterCommand(1, 33, 50, "grpLoad", NULL); | |
1310 RegisterCommand(1, 33, 51, "grpMaskLoad", NULL); | |
1311 RegisterCommand(1, 33, 70, "grpBuffer", (CmdImpl) &Grp::impl_grpBuffer); | |
1312 RegisterCommand(1, 33, 71, "grpMaskBuffer", NULL); | |
1313 RegisterCommand(1, 33, 72, "grpDisplay", NULL); | |
1314 RegisterCommand(1, 33, 73, "grpOpenBG", (CmdImpl) &Grp::impl_grpOpen); | |
1315 RegisterCommand(1, 33, 74, "grpMaskOpen", NULL); | |
1316 RegisterCommand(1, 33, 75, "grpMulti", (CmdImpl) &Grp::impl_grpMulti); //FIXME: or not... | |
1317 RegisterCommand(1, 33, 76, "grpOpen", (CmdImpl) &Grp::impl_grpOpen); | |
1318 RegisterCommand(1, 33, 77, "grpMulti", NULL); | |
1319 RegisterCommand(1, 33, 100, "grpCopy", (CmdImpl) &Grp::impl_grpCopy); | |
1320 RegisterCommand(1, 33, 101, "grpMaskCopy", NULL); | |
1321 RegisterCommand(1, 33, 102, "grpMaskBlend", NULL); | |
1322 RegisterCommand(1, 33, 120, "grpCopyWithMask", NULL); | |
1323 RegisterCommand(1, 33, 121, "grpMaskCopyWithMask", NULL); | |
1324 RegisterCommand(1, 33, 140, "grpCopyInvMask", NULL); | |
1325 RegisterCommand(1, 33, 141, "grpMaskCopyInvMask", NULL); | |
1326 RegisterCommand(1, 33, 160, "grpRotate", NULL); | |
1327 RegisterCommand(1, 33, 161, "grpMaskRotate", NULL); | |
1328 RegisterCommand(1, 33, 162, "grpRotateAdd", NULL); | |
1329 RegisterCommand(1, 33, 163, "grpMaskRotateAdd", NULL); | |
1330 RegisterCommand(1, 33, 164, "grpRotateSub", NULL); | |
1331 RegisterCommand(1, 33, 165, "grpMaskRotateSub", NULL); | |
1332 RegisterCommand(1, 33, 200, "grpOutline", NULL); | |
1333 RegisterCommand(1, 33, 201, "grpFill", NULL); | |
1334 RegisterCommand(1, 33, 300, "grpInvert", NULL); | |
1335 RegisterCommand(1, 33, 301, "grpMono", NULL); | |
1336 RegisterCommand(1, 33, 302, "grpColour", NULL); | |
1337 RegisterCommand(1, 33, 303, "grpLight", NULL); | |
1338 RegisterCommand(1, 33, 400, "grpSwap", NULL); | |
1339 RegisterCommand(1, 33, 401, "grpStretchBlt", NULL); | |
1340 RegisterCommand(1, 33, 402, "grpZoom", NULL); // (258, 208, 401, 315, 0, 0, 639, 479, 1, 0, 0, 639, 479, 1750) XXX | |
1341 RegisterCommand(1, 33, 403, "grpFade", NULL); | |
1342 RegisterCommand(1, 33, 404, "grpFlash", NULL); | |
1343 RegisterCommand(1, 33, 406, "grpPan", (CmdImpl) &Grp::impl_grpPan); | |
1344 RegisterCommand(1, 33, 407, "grpShift", NULL); | |
1345 RegisterCommand(1, 33, 408, "grpSlide", NULL); | |
1346 RegisterCommand(1, 33, 409, "grpMaskStretchBlt", NULL); | |
1347 RegisterCommand(1, 33, 410, "grpNumber", NULL); | |
1348 RegisterCommand(1, 33, 411, "grpMaskNumber", NULL); | |
1349 RegisterCommand(1, 33, 500, "grpCMaskCopy", NULL); | |
1350 RegisterCommand(1, 33, 501, "grpAnd", NULL); | |
1351 RegisterCommand(1, 33, 502, "grpOr", NULL); | |
1352 RegisterCommand(1, 33, 600, "grpAdd", NULL); | |
1353 RegisterCommand(1, 33, 601, "grpMaskAdd", NULL); | |
1354 RegisterCommand(1, 33, 620, "grpAddWithMask", NULL); | |
1355 RegisterCommand(1, 33, 621, "grpMaskAddWithMask", NULL); | |
1356 RegisterCommand(1, 33, 640, "grpAddInvMask", NULL); | |
1357 RegisterCommand(1, 33, 641, "grpMaskAddInvMask", NULL); | |
1358 RegisterCommand(1, 33, 700, "grpSub", NULL); | |
1359 RegisterCommand(1, 33, 701, "grpMaskSub", NULL); | |
1360 RegisterCommand(1, 33, 720, "grpSubWithMask", NULL); | |
1361 RegisterCommand(1, 33, 721, "grpMaskSubWithMask", NULL); | |
1362 RegisterCommand(1, 33, 740, "grpSubInvMask", NULL); | |
1363 RegisterCommand(1, 33, 741, "grpMaskSubInvMask", NULL); | |
1364 RegisterCommand(1, 33, 1050, "recLoad", NULL); | |
1365 RegisterCommand(1, 33, 1051, "recMaskLoad", NULL); | |
1366 RegisterCommand(1, 33, 1052, "recDisplay", NULL); | |
1367 RegisterCommand(1, 33, 1053, "recOpenBg", (CmdImpl) &Grp::impl_grpOpen); | |
1368 RegisterCommand(1, 33, 1054, "recMaskOpen", NULL); | |
1369 RegisterCommand(1, 33, 1056, "recOpen", NULL); | |
1370 RegisterCommand(1, 33, 1055, "recMulti", NULL); | |
1371 RegisterCommand(1, 33, 1057, "recMulti", NULL); | |
1372 RegisterCommand(1, 33, 1100, "recCopy", (CmdImpl) &Grp::impl_recCopy); | |
1373 RegisterCommand(1, 33, 1101, "recMaskCopy", (CmdImpl) &Grp::impl_recCopy); //TODO: use source's alpha | |
1374 RegisterCommand(1, 33, 1102, "recMaskBlend", NULL); | |
1375 RegisterCommand(1, 33, 1120, "recCopyWithMask", NULL); | |
1376 RegisterCommand(1, 33, 1121, "recMaskCopyWithMask", NULL); | |
1377 RegisterCommand(1, 33, 1140, "recCopyInvMask", NULL); | |
1378 RegisterCommand(1, 33, 1141, "recMaskCopyInvMask", NULL); | |
1379 RegisterCommand(1, 33, 1160, "recRotate", NULL); | |
1380 RegisterCommand(1, 33, 1161, "recMaskRotate", NULL); | |
1381 RegisterCommand(1, 33, 1162, "recRotateAdd", NULL); | |
1382 RegisterCommand(1, 33, 1163, "recMaskRotateAdd", NULL); | |
1383 RegisterCommand(1, 33, 1164, "recRotateSub", NULL); | |
1384 RegisterCommand(1, 33, 1165, "recMaskRotateSub", NULL); | |
1385 RegisterCommand(1, 33, 1200, "recOutline", NULL); | |
1386 RegisterCommand(1, 33, 1201, "recFill", (CmdImpl) &Grp::impl_recFill); | |
1387 RegisterCommand(1, 33, 1300, "recInvert", NULL); | |
1388 RegisterCommand(1, 33, 1301, "recMono", NULL); | |
1389 RegisterCommand(1, 33, 1302, "recColour", NULL); | |
1390 RegisterCommand(1, 33, 1303, "recLight", NULL); | |
1391 RegisterCommand(1, 33, 1400, "recSwap", NULL); | |
1392 RegisterCommand(1, 33, 1401, "recStretchBlt", (CmdImpl) &Grp::impl_recCopy); | |
1393 RegisterCommand(1, 33, 1402, "recZoom", NULL); | |
1394 RegisterCommand(1, 33, 1403, "recFade", NULL); | |
1395 RegisterCommand(1, 33, 1404, "recFlash", NULL); | |
1396 RegisterCommand(1, 33, 1406, "recPan", NULL); | |
1397 RegisterCommand(1, 33, 1407, "recShift", NULL); | |
1398 RegisterCommand(1, 33, 1408, "recSlide", NULL); | |
1399 RegisterCommand(1, 33, 1409, "recMaskStretchBlt", NULL); | |
1400 RegisterCommand(1, 33, 1500, "recCMaskCopy", NULL); | |
1401 RegisterCommand(1, 33, 1501, "recAnd", NULL); | |
1402 RegisterCommand(1, 33, 1502, "recOr", NULL); | |
1403 RegisterCommand(1, 33, 1600, "recAdd", (CmdImpl) &Grp::impl_recAdd); | |
1404 RegisterCommand(1, 33, 1601, "recMaskAdd", NULL); | |
1405 RegisterCommand(1, 33, 1620, "recAddWithMask", NULL); | |
1406 RegisterCommand(1, 33, 1621, "recMaskAddWithMask", NULL); | |
1407 RegisterCommand(1, 33, 1640, "recAddInvMask", NULL); | |
1408 RegisterCommand(1, 33, 1641, "recMaskAddInvMask", NULL); | |
1409 RegisterCommand(1, 33, 1700, "recSub", NULL); | |
1410 RegisterCommand(1, 33, 1701, "recMaskSub", NULL); | |
1411 RegisterCommand(1, 33, 1720, "recSubWithMask", NULL); | |
1412 RegisterCommand(1, 33, 1721, "recMaskSubWithMask", NULL); | |
1413 RegisterCommand(1, 33, 1740, "recSubInvMask", NULL); | |
1414 RegisterCommand(1, 33, 1741, "recMaskSubInvMask", NULL); | |
1415 | |
1416 // SerialPDT | |
1417 RegisterCommand(1, 34, 2100, "snmPlay", (CmdImpl) &Grp::impl_snmPlay); | |
1418 RegisterCommand(1, 34, 2101, "snmPlayEx", (CmdImpl) &Grp::impl_snmPlay); | |
1419 RegisterCommand(1, 34, 2102, "snmLoop", NULL); | |
1420 RegisterCommand(1, 34, 2103, "snmPlayCmp", NULL); | |
1421 RegisterCommand(1, 34, 2104, "snmPlayCmpEx", NULL); | |
1422 RegisterCommand(1, 34, 2105, "snmLoopCmp", NULL); | |
1423 RegisterCommand(1, 34, 2106, "snmPlayNc", NULL); | |
1424 RegisterCommand(1, 34, 2107, "snmPlayNcEx", NULL); | |
1425 RegisterCommand(1, 34, 2108, "snmLoopNc", NULL); | |
1426 RegisterCommand(1, 34, 2109, "??? (undocumented)", NULL); | |
1427 RegisterCommand(1, 34, 2110, "snmStretch", NULL); | |
1428 RegisterCommand(1, 34, 2111, "snmStretchEx", NULL); | |
1429 RegisterCommand(1, 34, 2112, "snmStretchLoop", NULL); | |
1430 RegisterCommand(1, 34, 2113, "snmStretchCmp", NULL); | |
1431 RegisterCommand(1, 34, 2114, "snmStretchCmpEx", NULL); | |
1432 RegisterCommand(1, 34, 2115, "snmStretchLoopCmp", NULL); | |
1433 RegisterCommand(1, 34, 2116, "snmStretchNc", NULL); | |
1434 RegisterCommand(1, 34, 2117, "snmStretchNcEx", NULL); | |
1435 RegisterCommand(1, 34, 2118, "snmStretchLoopNc", NULL); | |
1436 RegisterCommand(1, 34, 2119, "??? (undocumented)", NULL); | |
1437 RegisterCommand(1, 34, 2120, "snmScroll", NULL); | |
1438 RegisterCommand(1, 34, 2121, "snmScrollEx", NULL); | |
1439 RegisterCommand(1, 34, 2122, "snmScrollLoop", NULL); | |
1440 | |
1441 RegisterCommand(1, 34, 3100, "snmBgPlay", (CmdImpl) &Grp::impl_snmPlay); | |
1442 RegisterCommand(1, 34, 3101, "snmBgPlayEx", NULL); | |
1443 RegisterCommand(1, 34, 3102, "snmBgLoop", NULL); | |
1444 RegisterCommand(1, 34, 3103, "snmBgPlayCmp", NULL); | |
1445 RegisterCommand(1, 34, 3104, "snmBgPlayCmpEx", NULL); | |
1446 RegisterCommand(1, 34, 3105, "snmBgLoopCmp", NULL); | |
1447 RegisterCommand(1, 34, 3106, "snmBgPlayNc", NULL); | |
1448 RegisterCommand(1, 34, 3107, "snmBgPlayNcEx", NULL); | |
1449 RegisterCommand(1, 34, 3108, "snmBgLoopNc", NULL); | |
1450 RegisterCommand(1, 34, 3109, "??? (undocumented)", NULL); | |
1451 RegisterCommand(1, 34, 3110, "snmBgStretch", NULL); | |
1452 RegisterCommand(1, 34, 3111, "snmBgStretchEx", NULL); | |
1453 RegisterCommand(1, 34, 3112, "snmBgStretchLoop", NULL); | |
1454 RegisterCommand(1, 34, 3113, "snmBgStretchCmp", NULL); | |
1455 RegisterCommand(1, 34, 3114, "snmBgStretchCmpEx", NULL); | |
1456 RegisterCommand(1, 34, 3115, "snmBgStretchLoopCmp", NULL); | |
1457 RegisterCommand(1, 34, 3116, "snmBgStretchNc", NULL); | |
1458 RegisterCommand(1, 34, 3117, "snmBgStretchNcEx", NULL); | |
1459 RegisterCommand(1, 34, 3118, "snmBgStretchLoopNc", NULL); | |
1460 RegisterCommand(1, 34, 3119, "??? (undocumented)", NULL); | |
1461 RegisterCommand(1, 34, 3120, "snmBgScroll", (CmdImpl) &Grp::impl_snmBgScroll); | |
1462 RegisterCommand(1, 34, 3121, "snmBgScrollEx", NULL); | |
1463 RegisterCommand(1, 34, 3122, "snmBgScrollLoop", NULL); | |
1464 | |
1465 // Obj | |
1466 RegisterCommand(1, 60, 2, "objCopyFgToBg", NULL); | |
1467 | |
1468 RegisterCommand(1, 61, 2, "objCopy", NULL); | |
1469 RegisterCommand(1, 61, 3, "objCopyToBg", NULL); | |
1470 RegisterCommand(1, 61, 4, "objWipeCopyOn", NULL); | |
1471 RegisterCommand(1, 61, 5, "objWipeCopyOff", NULL); | |
653 RegisterCommand(1, 61, 10, "objClear", (CmdImpl) &Grp::impl_objClear); | 1472 RegisterCommand(1, 61, 10, "objClear", (CmdImpl) &Grp::impl_objClear); |
654 RegisterCommand(1, 61, 11, "objDelete", (CmdImpl) &Grp::impl_objClear); | 1473 RegisterCommand(1, 61, 11, "objDelete", (CmdImpl) &Grp::impl_objClear); |
655 | 1474 RegisterCommand(1, 61, 14, "objSwap ??? (undocumented)", NULL); |
1475 | |
1476 // ObjBg | |
1477 RegisterCommand(1, 62, 2, "objBgCopyToFg", NULL); | |
1478 RegisterCommand(1, 62, 3, "objBgCopy", NULL); | |
1479 RegisterCommand(1, 62, 4, "objBgWipeCopyOn", NULL); | |
1480 RegisterCommand(1, 62, 5, "objBgWipeCopyOff", NULL); | |
1481 RegisterCommand(1, 62, 10, "objBgClear", (CmdImpl) &Grp::impl_objClear); | |
1482 RegisterCommand(1, 62, 11, "objBgDelete", (CmdImpl) &Grp::impl_objClear); | |
1483 RegisterCommand(1, 62, 14, "objSwap ??? (undocumented)", NULL); | |
1484 | |
1485 // Obj | |
656 RegisterCommand(1, 71, 1000, "objOfFile", (CmdImpl) &Grp::impl_createObj); | 1486 RegisterCommand(1, 71, 1000, "objOfFile", (CmdImpl) &Grp::impl_createObj); |
657 RegisterCommand(1, 71, 1003, "objOfFileGan", (CmdImpl) &Grp::impl_createObj); | 1487 RegisterCommand(1, 71, 1001, "objOfFile2", (CmdImpl) &Grp::impl_createObj); |
1488 RegisterCommand(1, 71, 1002, "objOfFile3", (CmdImpl) &Grp::impl_createObj); | |
1489 RegisterCommand(1, 71, 1003, "objOfFileGan/Anm", (CmdImpl) &Grp::impl_createObj); | |
658 RegisterCommand(1, 71, 1100, "objOfArea", (CmdImpl) &Grp::impl_createObj); | 1490 RegisterCommand(1, 71, 1100, "objOfArea", (CmdImpl) &Grp::impl_createObj); |
1491 RegisterCommand(1, 71, 1101, "objOfRect", NULL); | |
659 RegisterCommand(1, 71, 1200, "objOfText", (CmdImpl) &Grp::impl_createObj); | 1492 RegisterCommand(1, 71, 1200, "objOfText", (CmdImpl) &Grp::impl_createObj); |
660 RegisterCommand(1, 71, 1300, "objDriftOfFile", (CmdImpl) &Grp::impl_createObj); | 1493 RegisterCommand(1, 71, 1300, "objDriftOfFile", NULL); |
661 RegisterCommand(1, 71, 1400, "objOfDigits", (CmdImpl) &Grp::impl_createObj); | 1494 RegisterCommand(1, 71, 1400, "objOfDigits", (CmdImpl) &Grp::impl_createObj); |
662 | 1495 |
663 RegisterCommand(2, 71, 1000, "subObjOfFile", (CmdImpl) &Grp::impl_createObj); | 1496 RegisterCommand(2, 71, 1000, "subObjOfFile", (CmdImpl) &Grp::impl_createObj); |
1497 RegisterCommand(2, 71, 1001, "subObjOfFile2", (CmdImpl) &Grp::impl_createObj); | |
1498 RegisterCommand(2, 71, 1002, "subObjOfFile3", (CmdImpl) &Grp::impl_createObj); | |
664 RegisterCommand(2, 71, 1003, "subObjOfGan", (CmdImpl) &Grp::impl_createObj); | 1499 RegisterCommand(2, 71, 1003, "subObjOfGan", (CmdImpl) &Grp::impl_createObj); |
665 RegisterCommand(2, 71, 1100, "subObjOfArea", (CmdImpl) &Grp::impl_createObj); | 1500 RegisterCommand(2, 71, 1100, "subObjOfArea", (CmdImpl) &Grp::impl_createObj); |
1501 RegisterCommand(2, 71, 1101, "subObjOfRect", (CmdImpl) &Grp::impl_createObj); | |
666 RegisterCommand(2, 71, 1200, "subObjOfText", (CmdImpl) &Grp::impl_createObj); | 1502 RegisterCommand(2, 71, 1200, "subObjOfText", (CmdImpl) &Grp::impl_createObj); |
667 RegisterCommand(2, 71, 1300, "subObjDriftOfFile", (CmdImpl) &Grp::impl_createObj); | 1503 RegisterCommand(2, 71, 1300, "subObjDriftOfFile", NULL); |
668 RegisterCommand(2, 71, 1400, "subObjOfDigits", (CmdImpl) &Grp::impl_createObj); | 1504 RegisterCommand(2, 71, 1400, "subObjOfDigits", (CmdImpl) &Grp::impl_createObj); |
669 | 1505 |
1506 // ObjBg | |
670 //I suppose it's the same thing as createObj*, but I didn't see it in action. For now, mark it unhandled. | 1507 //I suppose it's the same thing as createObj*, but I didn't see it in action. For now, mark it unhandled. |
671 RegisterCommand(1, 72, 1000, "objBgOfFile", (CmdImpl) &Grp::impl_createObj); | 1508 RegisterCommand(1, 72, 1000, "objBgOfFile", (CmdImpl) &Grp::impl_createObj); |
1509 RegisterCommand(1, 72, 1001, "objBgOfFile2", NULL); | |
1510 RegisterCommand(1, 72, 1002, "objBgOfFile3", NULL); | |
1511 RegisterCommand(1, 72, 1003, "objBgOfFileGan/Anm", NULL); | |
1512 RegisterCommand(1, 72, 1100, "objBgOfArea", NULL); | |
1513 RegisterCommand(1, 72, 1101, "objBgOfRect", NULL); | |
1514 RegisterCommand(1, 72, 1200, "objBgOfText", NULL); | |
1515 RegisterCommand(1, 72, 1300, "objBgDriftOfFile", NULL); | |
1516 RegisterCommand(1, 72, 1400, "objBgOfDigits", NULL); | |
1517 | |
1518 RegisterCommand(2, 72, 1000, "objBgOfFile", NULL); | |
1519 RegisterCommand(2, 72, 1001, "objBgOfFile2", NULL); | |
1520 RegisterCommand(2, 72, 1002, "objBgOfFile3", NULL); | |
1521 RegisterCommand(2, 72, 1003, "objBgOfFileGan/Anm", NULL); | |
1522 RegisterCommand(2, 72, 1100, "objBgOfArea", NULL); | |
1523 RegisterCommand(2, 72, 1101, "objBgOfRect", NULL); | |
1524 RegisterCommand(2, 72, 1200, "objBgOfText", NULL); | |
1525 RegisterCommand(2, 72, 1300, "objBgDriftOfFile", NULL); | |
1526 RegisterCommand(2, 72, 1400, "objBgOfDigits", NULL); | |
1527 | |
1528 /*RegisterCommand(1, 72, 1000, "objBgOfFile", (CmdImpl) &Grp::impl_createObj); | |
672 RegisterCommand(1, 72, 1003, "objBgOfFileGan", (CmdImpl) &Grp::impl_createObj); | 1529 RegisterCommand(1, 72, 1003, "objBgOfFileGan", (CmdImpl) &Grp::impl_createObj); |
673 RegisterCommand(1, 72, 1100, "objBgOfArea", (CmdImpl) &Grp::impl_createObj); | 1530 RegisterCommand(1, 72, 1100, "objBgOfArea", (CmdImpl) &Grp::impl_createObj); |
674 RegisterCommand(1, 72, 1200, "objBgOfText", (CmdImpl) &Grp::impl_createObj); | 1531 RegisterCommand(1, 72, 1200, "objBgOfText", (CmdImpl) &Grp::impl_createObj); |
675 RegisterCommand(1, 72, 1300, "objBgDriftOfFile", (CmdImpl) &Grp::impl_createObj); | 1532 RegisterCommand(1, 72, 1300, "objBgDriftOfFile", (CmdImpl) &Grp::impl_createObj); |
676 RegisterCommand(1, 72, 1400, "objBgOfDigits", (CmdImpl) &Grp::impl_createObj); | 1533 RegisterCommand(1, 72, 1400, "objBgOfDigits", (CmdImpl) &Grp::impl_createObj); |
678 RegisterCommand(2, 72, 1000, "subObjBgOfFile", NULL);//FIXME | 1535 RegisterCommand(2, 72, 1000, "subObjBgOfFile", NULL);//FIXME |
679 RegisterCommand(2, 72, 1003, "subObjBgOfGan", NULL);//FIXME | 1536 RegisterCommand(2, 72, 1003, "subObjBgOfGan", NULL);//FIXME |
680 RegisterCommand(2, 72, 1100, "subObjBgOfArea", NULL);//FIXME | 1537 RegisterCommand(2, 72, 1100, "subObjBgOfArea", NULL);//FIXME |
681 RegisterCommand(2, 72, 1200, "subObjBgOfText", NULL);//FIXME | 1538 RegisterCommand(2, 72, 1200, "subObjBgOfText", NULL);//FIXME |
682 RegisterCommand(2, 72, 1300, "subObjBgDriftOfFile", NULL);//FIXME | 1539 RegisterCommand(2, 72, 1300, "subObjBgDriftOfFile", NULL);//FIXME |
683 RegisterCommand(2, 72, 1400, "subObjBgOfDigits", NULL);//FIXME; | 1540 RegisterCommand(2, 72, 1400, "subObjBgOfDigits", NULL);//FIXME;*/ |
684 | 1541 |
1542 // Gan | |
685 RegisterCommand(1, 73, 0, "ganStop?", NULL); //That's what xclannad says, but I'm not sure... | 1543 RegisterCommand(1, 73, 0, "ganStop?", NULL); //That's what xclannad says, but I'm not sure... |
686 RegisterCommand(1, 73, 1000, "ganStop", (CmdImpl) &Grp::impl_gan); //That's what rldev says | 1544 RegisterCommand(1, 73, 1000, "objStop (gan)", (CmdImpl) &Grp::impl_gan); //That's what rldev says |
687 RegisterCommand(1, 73, 3, "ganIsPlaying", (CmdImpl) &Grp::impl_gan); | 1545 RegisterCommand(1, 73, 3, "ganIsPlaying", (CmdImpl) &Grp::impl_gan); |
688 RegisterCommand(1, 73, 2003, "objPlay", (CmdImpl) &Grp::impl_gan); | 1546 |
689 RegisterCommand(1, 73, 1001, "ganLoop", (CmdImpl) &Grp::impl_gan); | 1547 RegisterCommand(1, 73, 1001, "ganLoop", (CmdImpl) &Grp::impl_gan); |
1548 RegisterCommand(1, 73, 1002, "ganRepeat", NULL); | |
690 RegisterCommand(1, 73, 1003, "ganPlay", (CmdImpl) &Grp::impl_gan); | 1549 RegisterCommand(1, 73, 1003, "ganPlay", (CmdImpl) &Grp::impl_gan); |
1550 RegisterCommand(1, 73, 1004, "ganOneShotRepeat", NULL); | |
691 RegisterCommand(1, 73, 1005, "ganPlayOnce", (CmdImpl) &Grp::impl_gan); | 1551 RegisterCommand(1, 73, 1005, "ganPlayOnce", (CmdImpl) &Grp::impl_gan); |
1552 RegisterCommand(1, 73, 1006, "ganPlayEx", NULL); | |
1553 RegisterCommand(1, 73, 1007, "ganPlayOnceEx", NULL); | |
1554 RegisterCommand(1, 73, 1008, "ganPlayBlink", NULL); | |
1555 RegisterCommand(1, 73, 1009, "ganPlayChew", NULL); | |
1556 | |
1557 RegisterCommand(1, 73, 2001, "objLoop (gan)", (CmdImpl) &Grp::impl_gan); | |
1558 RegisterCommand(1, 73, 2002, "objRepeat (gan)", NULL); | |
1559 RegisterCommand(1, 73, 2003, "objPlay (gan)", (CmdImpl) &Grp::impl_gan); | |
1560 RegisterCommand(1, 73, 2004, "objOneShotRepeat (gan)", NULL); | |
1561 RegisterCommand(1, 73, 2005, "objPlayOnce (gan)", (CmdImpl) &Grp::impl_gan); | |
1562 RegisterCommand(1, 73, 2006, "objPlayEx (gan)", NULL); | |
1563 RegisterCommand(1, 73, 2007, "objPlayOnceEx (gan)", NULL); | |
1564 RegisterCommand(1, 73, 2008, "objPlayBlink (gan)", NULL); | |
1565 RegisterCommand(1, 73, 2009, "objPlayChew (gan)", NULL); | |
1566 | |
692 RegisterCommand(1, 73, 3001, "ganLoop2", (CmdImpl) &Grp::impl_gan); | 1567 RegisterCommand(1, 73, 3001, "ganLoop2", (CmdImpl) &Grp::impl_gan); |
1568 RegisterCommand(1, 73, 3002, "ganRepeat2", NULL); | |
693 RegisterCommand(1, 73, 3003, "ganPlay2", (CmdImpl) &Grp::impl_gan); | 1569 RegisterCommand(1, 73, 3003, "ganPlay2", (CmdImpl) &Grp::impl_gan); |
1570 RegisterCommand(1, 73, 3004, "ganOneShotRepeat2", NULL); | |
694 RegisterCommand(1, 73, 3005, "ganPlayOnce2", (CmdImpl) &Grp::impl_gan); | 1571 RegisterCommand(1, 73, 3005, "ganPlayOnce2", (CmdImpl) &Grp::impl_gan); |
695 | 1572 RegisterCommand(1, 73, 3006, "ganPlayEx2", NULL); |
696 RegisterCommand(2, 73, 0, "ganSubStop?", NULL); //FIXME | 1573 RegisterCommand(1, 73, 3007, "ganPlayOnceEx2", NULL); |
697 RegisterCommand(2, 73, 1000, "ganSubStop", NULL); //FIXME | 1574 RegisterCommand(1, 73, 3008, "ganPlayBlink2", NULL); |
698 RegisterCommand(2, 73, 3, "ganSubIsPlaying", NULL); //FIXME | 1575 RegisterCommand(1, 73, 3009, "ganPlayChew2", NULL); |
699 RegisterCommand(2, 73, 2003, "objSubPlay", NULL); //FIXME | 1576 |
700 RegisterCommand(2, 73, 1001, "ganSubLoop", NULL); //FIXME | 1577 // FIXME |
701 RegisterCommand(2, 73, 1003, "ganSubPlay", NULL); //FIXME | 1578 RegisterCommand(2, 73, 0, "ganSubStop?", NULL); |
702 RegisterCommand(2, 73, 1005, "ganSubPlayOnce", NULL); //FIXME | 1579 RegisterCommand(2, 73, 1000, "ganSubStop", NULL); |
703 RegisterCommand(2, 73, 3001, "ganSubLoop2", (CmdImpl) &Grp::impl_gan); //FIXME | 1580 RegisterCommand(2, 73, 3, "ganSubIsPlaying", NULL); |
704 RegisterCommand(2, 73, 3003, "ganSubPlay2", NULL); //FIXME | 1581 RegisterCommand(2, 73, 2003, "objSubPlay", NULL); |
705 RegisterCommand(2, 73, 3005, "ganSubPlayOnce2", NULL); //FIXME | 1582 RegisterCommand(2, 73, 1001, "ganSubLoop", NULL); |
706 | 1583 RegisterCommand(2, 73, 1003, "ganSubPlay", NULL); |
707 | 1584 RegisterCommand(2, 73, 1005, "ganSubPlayOnce", NULL); |
1585 RegisterCommand(2, 73, 3001, "ganSubLoop2", (CmdImpl) &Grp::impl_gan); | |
1586 RegisterCommand(2, 73, 3003, "ganSubPlay2", NULL); | |
1587 RegisterCommand(2, 73, 3005, "ganSubPlayOnce2", NULL); | |
1588 | |
1589 // GanBg | |
1590 RegisterCommand(1, 74, 1000, "objBgStop (gan)", (CmdImpl) &Grp::impl_gan); | |
1591 | |
1592 RegisterCommand(1, 74, 1001, "ganBgLoop", (CmdImpl) &Grp::impl_gan); | |
1593 RegisterCommand(1, 74, 1003, "ganBgPlay", (CmdImpl) &Grp::impl_gan); | |
1594 RegisterCommand(1, 74, 1005, "ganBgPlayOnce", (CmdImpl) &Grp::impl_gan); | |
1595 RegisterCommand(1, 74, 1006, "ganBgPlayEx", NULL); | |
1596 RegisterCommand(1, 74, 1007, "ganBgPlayOnceEx", NULL); | |
1597 RegisterCommand(1, 74, 1008, "ganBgPlayBlink", NULL); | |
1598 | |
1599 RegisterCommand(1, 74, 2001, "objBgLoop (gan)", (CmdImpl) &Grp::impl_gan); | |
1600 RegisterCommand(1, 74, 2003, "objBgPlay (gan)", (CmdImpl) &Grp::impl_gan); | |
1601 RegisterCommand(1, 74, 2005, "objBgPlayOnce (gan)", (CmdImpl) &Grp::impl_gan); | |
1602 RegisterCommand(1, 74, 2006, "objBgPlayEx (gan)", NULL); | |
1603 RegisterCommand(1, 74, 2007, "objBgPlayOnceEx (gan)", NULL); | |
1604 RegisterCommand(1, 74, 2008, "objBgPlayBlink (gan)", NULL); | |
1605 | |
1606 RegisterCommand(1, 74, 3001, "ganBgLoop2", (CmdImpl) &Grp::impl_gan); | |
1607 RegisterCommand(1, 74, 3003, "ganBgPlay2", (CmdImpl) &Grp::impl_gan); | |
1608 RegisterCommand(1, 74, 3005, "ganBgPlayOnce2", (CmdImpl) &Grp::impl_gan); | |
1609 RegisterCommand(1, 74, 3006, "ganBgPlayEx2", NULL); | |
1610 RegisterCommand(1, 74, 3007, "ganBgPlayOnceEx2", NULL); | |
1611 RegisterCommand(1, 74, 3008, "ganBgPlayBlink2", NULL); | |
1612 | |
1613 // Obj | |
708 RegisterCommand(1, 81, 1000, "objMove", (CmdImpl) &Grp::impl_objSetPos); | 1614 RegisterCommand(1, 81, 1000, "objMove", (CmdImpl) &Grp::impl_objSetPos); |
709 RegisterCommand(1, 82, 1000, "objBgMove", (CmdImpl) &Grp::impl_objSetPos); | 1615 RegisterCommand(1, 82, 1000, "objBgMove", (CmdImpl) &Grp::impl_objSetPos); |
710 RegisterCommand(1, 81, 1001, "objLeft", (CmdImpl) &Grp::impl_objSetPos); | 1616 RegisterCommand(1, 81, 1001, "objLeft", (CmdImpl) &Grp::impl_objSetPos); |
711 RegisterCommand(1, 82, 1001, "objBgLeft", (CmdImpl) &Grp::impl_objSetPos); | 1617 RegisterCommand(1, 82, 1001, "objBgLeft", (CmdImpl) &Grp::impl_objSetPos); |
712 RegisterCommand(1, 81, 1002, "objTop", (CmdImpl) &Grp::impl_objSetPos); | 1618 RegisterCommand(1, 81, 1002, "objTop", (CmdImpl) &Grp::impl_objSetPos); |
721 RegisterCommand(1, 82, 1006, "objBgAdjust", NULL); //FIXME: (CmdImpl) &Grp::impl_objSetPos); | 1627 RegisterCommand(1, 82, 1006, "objBgAdjust", NULL); //FIXME: (CmdImpl) &Grp::impl_objSetPos); |
722 RegisterCommand(1, 81, 1007, "objAdjustX", NULL); | 1628 RegisterCommand(1, 81, 1007, "objAdjustX", NULL); |
723 RegisterCommand(1, 82, 1007, "objBgAdjustX", NULL); | 1629 RegisterCommand(1, 82, 1007, "objBgAdjustX", NULL); |
724 RegisterCommand(1, 81, 1008, "objAdjustY", NULL); | 1630 RegisterCommand(1, 81, 1008, "objAdjustY", NULL); |
725 RegisterCommand(1, 82, 1008, "objBgAdjustY", NULL); | 1631 RegisterCommand(1, 82, 1008, "objBgAdjustY", NULL); |
726 RegisterCommand(1, 81, 2006, "objAdjust2?", NULL); //FIXME: (CmdImpl) &Grp::impl_objSetPos); I don't know if it is usefull or properly implemented | 1632 RegisterCommand(1, 81, 1009, "objMono", NULL); |
727 RegisterCommand(1, 82, 2006, "objBgAdjust2?", NULL); //FIXME: (CmdImpl) &Grp::impl_objSetPos); See above | 1633 RegisterCommand(1, 82, 1009, "objBgMono", NULL); |
1634 RegisterCommand(1, 81, 1010, "objInvert", NULL); | |
1635 RegisterCommand(1, 82, 1010, "objBgInvert", NULL); | |
1636 RegisterCommand(1, 81, 1011, "objLight", NULL); | |
1637 RegisterCommand(1, 82, 1011, "objBgLight", NULL); | |
1638 RegisterCommand(1, 81, 1012, "objTint", NULL); | |
1639 RegisterCommand(1, 82, 1012, "objBgTint", NULL); | |
1640 RegisterCommand(1, 81, 1013, "objTintR", NULL); | |
1641 RegisterCommand(1, 82, 1013, "objBgTintR", NULL); | |
1642 RegisterCommand(1, 81, 1014, "objTintG", NULL); | |
1643 RegisterCommand(1, 82, 1014, "objBgTintG", NULL); | |
1644 RegisterCommand(1, 81, 1015, "objTintB", NULL); | |
1645 RegisterCommand(1, 82, 1015, "objBgTintB", NULL); | |
728 RegisterCommand(1, 81, 1016, "objColour", NULL); //FIXME: (CmdImpl) &Grp::impl_objColour); | 1646 RegisterCommand(1, 81, 1016, "objColour", NULL); //FIXME: (CmdImpl) &Grp::impl_objColour); |
729 RegisterCommand(1, 82, 1016, "objBgColour", NULL); //FIXME: (CmdImpl) &Grp::impl_objColour); | 1647 RegisterCommand(1, 82, 1016, "objBgColour", NULL); //FIXME: (CmdImpl) &Grp::impl_objColour); |
730 RegisterCommand(1, 81, 1017, "objColR", NULL); | 1648 RegisterCommand(1, 81, 1017, "objColR", NULL); |
731 RegisterCommand(1, 82, 1017, "objBgColR", NULL); | 1649 RegisterCommand(1, 82, 1017, "objBgColR", NULL); |
732 RegisterCommand(1, 81, 1018, "objColG", NULL); | 1650 RegisterCommand(1, 81, 1018, "objColG", NULL); |
739 RegisterCommand(1, 82, 1021, "objBgComposite", (CmdImpl) &Grp::impl_objComposite); | 1657 RegisterCommand(1, 82, 1021, "objBgComposite", (CmdImpl) &Grp::impl_objComposite); |
740 RegisterCommand(1, 81, 1024, "objSetText", (CmdImpl) &Grp::impl_objSetText); | 1658 RegisterCommand(1, 81, 1024, "objSetText", (CmdImpl) &Grp::impl_objSetText); |
741 RegisterCommand(1, 82, 1024, "objBgSetText", (CmdImpl) &Grp::impl_objSetText); | 1659 RegisterCommand(1, 82, 1024, "objBgSetText", (CmdImpl) &Grp::impl_objSetText); |
742 RegisterCommand(1, 81, 1025, "objTextOpts", (CmdImpl) &Grp::impl_objTextOpts); //FIXME: Incomplete | 1660 RegisterCommand(1, 81, 1025, "objTextOpts", (CmdImpl) &Grp::impl_objTextOpts); //FIXME: Incomplete |
743 RegisterCommand(1, 82, 1025, "objBgTextOpts", (CmdImpl) &Grp::impl_objTextOpts); | 1661 RegisterCommand(1, 82, 1025, "objBgTextOpts", (CmdImpl) &Grp::impl_objTextOpts); |
1662 RegisterCommand(1, 81, 1026, "objLayer", NULL); | |
1663 RegisterCommand(1, 82, 1026, "objBgLayer", NULL); | |
1664 RegisterCommand(1, 81, 1027, "objDepth", NULL); | |
1665 RegisterCommand(1, 82, 1027, "objBgDepth", NULL); | |
1666 RegisterCommand(1, 81, 1028, "objScrollRate", NULL); | |
1667 RegisterCommand(1, 82, 1028, "objBgScrollRate", NULL); | |
1668 RegisterCommand(1, 81, 1029, "objScrollRateX", NULL); | |
1669 RegisterCommand(1, 82, 1029, "objBgScrollRateX", NULL); | |
1670 RegisterCommand(1, 81, 1030, "objScrollRateY", NULL); | |
1671 RegisterCommand(1, 82, 1030, "objBgScrollRateY", NULL); | |
1672 RegisterCommand(1, 81, 1031, "objDriftOpts", NULL); //(CmdImpl) &Grp::impl_objDriftOpts); | |
1673 RegisterCommand(1, 82, 1031, "objBgDriftOpts", NULL); | |
744 RegisterCommand(1, 81, 1032, "objOrder", (CmdImpl) &Grp::impl_objOrder); | 1674 RegisterCommand(1, 81, 1032, "objOrder", (CmdImpl) &Grp::impl_objOrder); |
745 RegisterCommand(1, 82, 1032, "objBgOrder", (CmdImpl) &Grp::impl_objOrder); | 1675 RegisterCommand(1, 82, 1032, "objBgOrder", (CmdImpl) &Grp::impl_objOrder); |
1676 RegisterCommand(1, 81, 1033, "objQuarterView", NULL); | |
1677 RegisterCommand(1, 82, 1033, "objBgQuarterView", NULL); | |
746 RegisterCommand(1, 81, 1034, "objDispRect", (CmdImpl) &Grp::impl_objDispArea); | 1678 RegisterCommand(1, 81, 1034, "objDispRect", (CmdImpl) &Grp::impl_objDispArea); |
747 RegisterCommand(1, 82, 1034, "objBgDispRect", (CmdImpl) &Grp::impl_objDispArea); | 1679 RegisterCommand(1, 82, 1034, "objBgDispRect", (CmdImpl) &Grp::impl_objDispArea); |
1680 RegisterCommand(1, 81, 1035, "objDispCorner", NULL); | |
1681 RegisterCommand(1, 82, 1035, "objBgDispCorner", NULL); | |
1682 RegisterCommand(1, 81, 1036, "objAdjustVert", NULL); | |
1683 RegisterCommand(1, 82, 1036, "objBgAdjustVert", NULL); | |
748 RegisterCommand(1, 81, 1037, "objSetDigits", (CmdImpl) &Grp::impl_objSetDigits); | 1684 RegisterCommand(1, 81, 1037, "objSetDigits", (CmdImpl) &Grp::impl_objSetDigits); |
749 RegisterCommand(1, 82, 1037, "objBgSetDigits", (CmdImpl) &Grp::impl_objSetDigits); | 1685 RegisterCommand(1, 82, 1037, "objBgSetDigits", (CmdImpl) &Grp::impl_objSetDigits); |
750 RegisterCommand(1, 81, 1038, "objNumOpts", (CmdImpl) &Grp::impl_objNumOpts); | 1686 RegisterCommand(1, 81, 1038, "objNumOpts", (CmdImpl) &Grp::impl_objNumOpts); |
751 RegisterCommand(1, 82, 1038, "objBgNumOpts", (CmdImpl) &Grp::impl_objNumOpts); | 1687 RegisterCommand(1, 82, 1038, "objBgNumOpts", (CmdImpl) &Grp::impl_objNumOpts); |
752 RegisterCommand(1, 81, 1039, "objPattNo", (CmdImpl) &Grp::impl_objPattNo); | 1688 RegisterCommand(1, 81, 1039, "objPattNo", (CmdImpl) &Grp::impl_objPattNo); |
753 RegisterCommand(1, 82, 1039, "objBgPattNo", (CmdImpl) &Grp::impl_objPattNo); | 1689 RegisterCommand(1, 82, 1039, "objBgPattNo", (CmdImpl) &Grp::impl_objPattNo); |
1690 RegisterCommand(1, 81, 1041, "objAdjustAll", NULL); | |
1691 RegisterCommand(1, 82, 1041, "objBgAdjustAll", NULL); | |
1692 RegisterCommand(1, 81, 1042, "objAdjustAllX", NULL); | |
1693 RegisterCommand(1, 82, 1042, "objBgAdjustAllX", NULL); | |
1694 RegisterCommand(1, 81, 1043, "objAdjustAllY", NULL); | |
1695 RegisterCommand(1, 82, 1043, "objBgAdjustAllY", NULL); | |
754 RegisterCommand(1, 81, 1046, "objScale", (CmdImpl) &Grp::impl_objScale); | 1696 RegisterCommand(1, 81, 1046, "objScale", (CmdImpl) &Grp::impl_objScale); |
755 RegisterCommand(1, 82, 1046, "objBgScale", (CmdImpl) &Grp::impl_objScale); | 1697 RegisterCommand(1, 82, 1046, "objBgScale", (CmdImpl) &Grp::impl_objScale); |
756 RegisterCommand(1, 81, 1047, "objWidth", (CmdImpl) &Grp::impl_objWidth); | 1698 RegisterCommand(1, 81, 1047, "objWidth", (CmdImpl) &Grp::impl_objWidth); |
757 RegisterCommand(1, 82, 1047, "objBgWidth", (CmdImpl) &Grp::impl_objWidth); | 1699 RegisterCommand(1, 82, 1047, "objBgWidth", (CmdImpl) &Grp::impl_objWidth); |
758 RegisterCommand(1, 81, 1048, "objHeight", (CmdImpl) &Grp::impl_objHeight); | 1700 RegisterCommand(1, 81, 1048, "objHeight", (CmdImpl) &Grp::impl_objHeight); |
759 RegisterCommand(1, 82, 1048, "objBgHeight", (CmdImpl) &Grp::impl_objHeight); | 1701 RegisterCommand(1, 82, 1048, "objBgHeight", (CmdImpl) &Grp::impl_objHeight); |
760 RegisterCommand(1, 81, 1049, "objRotate", (CmdImpl) &Grp::impl_objRotate); | 1702 RegisterCommand(1, 81, 1049, "objRotate", (CmdImpl) &Grp::impl_objRotate); |
761 RegisterCommand(1, 82, 1049, "objBgRotate", (CmdImpl) &Grp::impl_objRotate); | 1703 RegisterCommand(1, 82, 1049, "objBgRotate", (CmdImpl) &Grp::impl_objRotate); |
1704 RegisterCommand(1, 81, 1050, "objRepOrigin", NULL); | |
1705 RegisterCommand(1, 82, 1050, "objBgRepOrigin", NULL); | |
1706 RegisterCommand(1, 81, 1051, "objRepOriginX", NULL); | |
1707 RegisterCommand(1, 82, 1051, "objBgRepOriginX", NULL); | |
1708 RegisterCommand(1, 81, 1052, "objRepOriginY", NULL); | |
1709 RegisterCommand(1, 82, 1052, "objBgRepOriginY", NULL); | |
1710 RegisterCommand(1, 81, 1053, "objOrigin", NULL); | |
1711 RegisterCommand(1, 82, 1053, "objBgOrigin", NULL); | |
1712 RegisterCommand(1, 81, 1054, "objOriginX", NULL); | |
1713 RegisterCommand(1, 82, 1054, "objBgOriginX", NULL); | |
1714 RegisterCommand(1, 81, 1055, "objOriginY", NULL); | |
1715 RegisterCommand(1, 82, 1055, "objBgOriginY", NULL); | |
1716 RegisterCommand(1, 81, 1056, "objFadeOpts", NULL); | |
1717 RegisterCommand(1, 82, 1056, "objBgFadeOpts", NULL); | |
1718 RegisterCommand(1, 81, 2006, "objAdjust2?", NULL); //FIXME: (CmdImpl) &Grp::impl_objSetPos); I don't know if it is usefull or properly implemented | |
1719 RegisterCommand(1, 82, 2006, "objBgAdjust2?", NULL); //FIXME: (CmdImpl) &Grp::impl_objSetPos); See above | |
762 | 1720 |
763 RegisterCommand(2, 81, 1000, "childObjMove", (CmdImpl) &Grp::impl_objSetPos); | 1721 RegisterCommand(2, 81, 1000, "childObjMove", (CmdImpl) &Grp::impl_objSetPos); |
764 RegisterCommand(2, 82, 1000, "childObjBgMove", (CmdImpl) &Grp::impl_objSetPos); | 1722 RegisterCommand(2, 82, 1000, "childObjBgMove", (CmdImpl) &Grp::impl_objSetPos); |
765 RegisterCommand(2, 81, 1001, "childObjLeft", NULL); | 1723 RegisterCommand(2, 81, 1001, "childObjLeft", NULL); |
766 RegisterCommand(2, 82, 1001, "childObjBgLeft", NULL); | 1724 RegisterCommand(2, 82, 1001, "childObjBgLeft", NULL); |
811 RegisterCommand(2, 81, 1047, "childObjWidth", NULL); | 1769 RegisterCommand(2, 81, 1047, "childObjWidth", NULL); |
812 RegisterCommand(2, 82, 1047, "childObjBgWidth", NULL); | 1770 RegisterCommand(2, 82, 1047, "childObjBgWidth", NULL); |
813 RegisterCommand(2, 81, 1049, "childObjRotate", NULL); | 1771 RegisterCommand(2, 81, 1049, "childObjRotate", NULL); |
814 RegisterCommand(2, 82, 1049, "childObjBgRotate", NULL); | 1772 RegisterCommand(2, 82, 1049, "childObjBgRotate", NULL); |
815 | 1773 |
1774 // Obj | |
816 RegisterCommand(1, 84, 1000, "objGetPos", (CmdImpl) &Grp::impl_objPosDims); | 1775 RegisterCommand(1, 84, 1000, "objGetPos", (CmdImpl) &Grp::impl_objPosDims); |
817 RegisterCommand(1, 84, 1100, "objGetDims", (CmdImpl) &Grp::impl_objPosDims); | 1776 RegisterCommand(1, 84, 1100, "objGetDims", (CmdImpl) &Grp::impl_objPosDims); |
818 | 1777 |
819 RegisterCommand(2, 84, 1000, "childObjGetPos", (CmdImpl) &Grp::impl_objPosDims); | 1778 RegisterCommand(2, 84, 1000, "childObjGetPos", (CmdImpl) &Grp::impl_objPosDims); |
820 RegisterCommand(2, 84, 1100, "childObjGetDims", (CmdImpl) &Grp::impl_objPosDims); | 1779 RegisterCommand(2, 84, 1100, "childObjGetDims", (CmdImpl) &Grp::impl_objPosDims); |
821 | 1780 |
822 RegisterCommand(1, 31, 0, "refresh", (CmdImpl) &Grp::impl_refresh); | 1781 // ObjRange |
823 | 1782 RegisterCommand(1, 90, 1000, "objRangeMove", NULL); |
824 RegisterCommand(1, 20, 0, "bgmLoop", (CmdImpl) &Grp::impl_bgmLoop); | 1783 RegisterCommand(1, 91, 1000, "objBgRangeMove", NULL); |
825 RegisterCommand(1, 20, 1, "bgmPlayEx", (CmdImpl) &Grp::impl_bgmLoop); //FIXME: wait | 1784 RegisterCommand(1, 90, 1001, "objRangeLeft", NULL); |
826 RegisterCommand(1, 20, 2, "bgmPlay", (CmdImpl) &Grp::impl_bgmLoop); | 1785 RegisterCommand(1, 91, 1001, "objBgRangeLeft", NULL); |
827 RegisterCommand(1, 20, 5, "bgmStop", (CmdImpl) &Grp::impl_bgmStop); | 1786 RegisterCommand(1, 90, 1002, "objRangeTop", NULL); |
828 RegisterCommand(1, 20, 105, "bgmFadeOut", (CmdImpl) &Grp::impl_bgmStop); | 1787 RegisterCommand(1, 91, 1002, "objBgRangeTop", NULL); |
829 | 1788 RegisterCommand(1, 90, 1003, "objRangeAlpha", NULL); |
830 RegisterCommand(1, 21, 0, "wavPlay", (CmdImpl) &Grp::impl_playWav); | 1789 RegisterCommand(1, 91, 1003, "objBgRangeAlpha", NULL); |
831 RegisterCommand(1, 21, 1, "wavPlayEx", (CmdImpl) &Grp::impl_playWav); | 1790 RegisterCommand(1, 90, 1004, "objRangeShow", NULL); |
832 RegisterCommand(1, 21, 2, "wavLoop", (CmdImpl) &Grp::impl_playWav); | 1791 RegisterCommand(1, 91, 1004, "objBgRangeShow", NULL); |
833 RegisterCommand(1, 21, 3, "wavWait", NULL); | 1792 RegisterCommand(1, 90, 1005, "objRangeDispArea", NULL); |
834 RegisterCommand(1, 21, 4, "wavPlaying", NULL); | 1793 RegisterCommand(1, 91, 1005, "objBgRangeDispArea", NULL); |
835 RegisterCommand(1, 21, 5, "wavStop", (CmdImpl) &Grp::impl_stopWav); | 1794 RegisterCommand(1, 90, 1006, "objRangeAdjust", NULL); |
836 RegisterCommand(1, 21, 105, "wavFadeout", (CmdImpl) &Grp::impl_stopWav); | 1795 RegisterCommand(1, 91, 1006, "objBgRangeAdjust", NULL); |
837 | 1796 RegisterCommand(1, 90, 1007, "objRangeAdjustX", NULL); |
838 RegisterCommand(1, 22, 0, "sePlay", (CmdImpl) &Grp::impl_playSE); | 1797 RegisterCommand(1, 91, 1007, "objBgRangeAdjustX", NULL); |
839 | 1798 RegisterCommand(1, 90, 1008, "objRangeAdjustY", NULL); |
840 RegisterCommand(1, 4, 2230, "SetBgmVolMod", (CmdImpl) &Grp::impl_SetVolMod); | 1799 RegisterCommand(1, 91, 1008, "objBgRangeAdjustY", NULL); |
841 RegisterCommand(1, 4, 2231, "SetKoeVolMod", (CmdImpl) &Grp::impl_SetVolMod); | 1800 RegisterCommand(1, 90, 1009, "objRangeMono", NULL); |
842 RegisterCommand(1, 4, 2232, "SetPCMVolMod", (CmdImpl) &Grp::impl_SetVolMod); | 1801 RegisterCommand(1, 91, 1009, "objBgRangeMono", NULL); |
843 RegisterCommand(1, 4, 2233, "SetSeVolMod", (CmdImpl) &Grp::impl_SetVolMod); | 1802 RegisterCommand(1, 90, 1010, "objRangeInvert", NULL); |
844 RegisterCommand(1, 4, 2330, "BgmVolMod", (CmdImpl) &Grp::impl_GetVolMod); | 1803 RegisterCommand(1, 91, 1010, "objBgRangeInvert", NULL); |
845 RegisterCommand(1, 4, 2331, "KoeVolMod", (CmdImpl) &Grp::impl_GetVolMod); | 1804 RegisterCommand(1, 90, 1011, "objRangeLight", NULL); |
846 RegisterCommand(1, 4, 2332, "PCMVolMod", (CmdImpl) &Grp::impl_GetVolMod); | 1805 RegisterCommand(1, 91, 1011, "objBgRangeLight", NULL); |
847 RegisterCommand(1, 4, 2333, "SeVolMod", (CmdImpl) &Grp::impl_GetVolMod); | 1806 RegisterCommand(1, 90, 1012, "objRangeTint", NULL); |
848 | 1807 RegisterCommand(1, 91, 1012, "objBgRangeTint", NULL); |
849 RegisterCommand(1, 23, 0, "koePlay", (CmdImpl) &Grp::impl_koePlay); | 1808 RegisterCommand(1, 90, 1013, "objRangeTintR", NULL); |
850 RegisterCommand(1, 23, 1, "koePlayEx", (CmdImpl) &Grp::impl_koePlay); //FIXME | 1809 RegisterCommand(1, 91, 1013, "objBgRangeTintR", NULL); |
851 RegisterCommand(1, 23, 7, "koePlayExC", (CmdImpl) &Grp::impl_koePlay); //FIXME | 1810 RegisterCommand(1, 90, 1014, "objRangeTintG", NULL); |
852 RegisterCommand(1, 23, 8, "koeDoPlay", (CmdImpl) &Grp::impl_koePlay); //FIXME | 1811 RegisterCommand(1, 91, 1014, "objBgRangeTintG", NULL); |
853 RegisterCommand(1, 23, 9, "koeDoPlayEx", (CmdImpl) &Grp::impl_koePlay); //FIXME | 1812 RegisterCommand(1, 90, 1015, "objRangeTintB", NULL); |
854 RegisterCommand(1, 23, 10, "koeDoPlayExC", (CmdImpl) &Grp::impl_koePlay); //FIXME | 1813 RegisterCommand(1, 91, 1015, "objBgRangeTintB", NULL); |
855 | 1814 RegisterCommand(1, 90, 1016, "objRangeColour", NULL); |
856 RegisterCommand(1, 26, 1, "movPlayEx", (CmdImpl) &Grp::impl_movPlay); | 1815 RegisterCommand(1, 91, 1016, "objBgRangeColour", NULL); |
857 RegisterCommand(1, 26, 20, "movPlayExC", (CmdImpl) &Grp::impl_movPlay); | 1816 RegisterCommand(1, 90, 1017, "objRangeColR", NULL); |
858 | 1817 RegisterCommand(1, 91, 1017, "objBgRangeColR", NULL); |
859 RegisterCommand(1, 61, 14, "objSwap?", NULL); | 1818 RegisterCommand(1, 90, 1018, "objRangeColG", NULL); |
860 RegisterCommand(1, 62, 14, "objSwap?", NULL); | 1819 RegisterCommand(1, 91, 1018, "objBgRangeColG", NULL); |
861 | 1820 RegisterCommand(1, 90, 1019, "objRangeColB", NULL); |
862 RegisterCommand(1, 4, 1211, "EnableSyscom", NULL); | 1821 RegisterCommand(1, 91, 1019, "objBgRangeColB", NULL); |
863 RegisterCommand(1, 4, 1212, "HideSyscom", NULL); | 1822 RegisterCommand(1, 90, 1020, "objRangeColLevel", NULL); |
864 RegisterCommand(1, 4, 1213, "DisableSyscom", NULL); | 1823 RegisterCommand(1, 91, 1020, "objBgRangeColLevel", NULL); |
1824 RegisterCommand(1, 90, 1021, "objRangeComposite", NULL); | |
1825 RegisterCommand(1, 91, 1021, "objBgRangeComposite", NULL); | |
1826 RegisterCommand(1, 90, 1024, "objRangeSetText", NULL); | |
1827 RegisterCommand(1, 91, 1024, "objBgRangeSetText", NULL); | |
1828 RegisterCommand(1, 90, 1025, "objRangeTextOpts", NULL); | |
1829 RegisterCommand(1, 91, 1025, "objBgRangeTextOpts", NULL); | |
1830 RegisterCommand(1, 90, 1026, "objRangeLayer", NULL); | |
1831 RegisterCommand(1, 91, 1026, "objBgRangeLayer", NULL); | |
1832 RegisterCommand(1, 90, 1027, "objRangeDepth", NULL); | |
1833 RegisterCommand(1, 91, 1027, "objBgRangeDepth", NULL); | |
1834 RegisterCommand(1, 90, 1028, "objRangeScrollRate", NULL); | |
1835 RegisterCommand(1, 91, 1028, "objBgRangeScrollRate", NULL); | |
1836 RegisterCommand(1, 90, 1029, "objRangeScrollRateX", NULL); | |
1837 RegisterCommand(1, 91, 1029, "objBgRangeScrollRateX", NULL); | |
1838 RegisterCommand(1, 90, 1030, "objRangeScrollRateY", NULL); | |
1839 RegisterCommand(1, 91, 1030, "objBgRangeScrollRateY", NULL); | |
1840 RegisterCommand(1, 90, 1031, "objRangeDriftOpts", NULL); | |
1841 RegisterCommand(1, 91, 1031, "objBgRangeDriftOpts", NULL); | |
1842 RegisterCommand(1, 90, 1032, "objRangeOrder", NULL); | |
1843 RegisterCommand(1, 91, 1032, "objBgRangeOrder", NULL); | |
1844 RegisterCommand(1, 90, 1033, "objRangeQuarterView", NULL); | |
1845 RegisterCommand(1, 91, 1033, "objBgRangeQuarterView", NULL); | |
1846 RegisterCommand(1, 90, 1034, "objRangeDispRect", NULL); | |
1847 RegisterCommand(1, 91, 1034, "objBgRangeDispRect", NULL); | |
1848 RegisterCommand(1, 90, 1035, "objRangeDispCorner", NULL); | |
1849 RegisterCommand(1, 91, 1035, "objBgRangeDispCorner", NULL); | |
1850 RegisterCommand(1, 90, 1036, "objRangeAdjustVert", NULL); | |
1851 RegisterCommand(1, 91, 1036, "objBgRangeAdjustVert", NULL); | |
1852 RegisterCommand(1, 90, 1037, "objRangeSetDigits", NULL); | |
1853 RegisterCommand(1, 91, 1037, "objBgRangeSetDigits", NULL); | |
1854 RegisterCommand(1, 90, 1038, "objRangeNumOpts", NULL); | |
1855 RegisterCommand(1, 91, 1038, "objBgRangeNumOpts", NULL); | |
1856 RegisterCommand(1, 90, 1039, "objRangePattNo", NULL); | |
1857 RegisterCommand(1, 91, 1039, "objBgRangePattNo", NULL); | |
1858 RegisterCommand(1, 90, 1041, "objRangeAdjustAll", NULL); | |
1859 RegisterCommand(1, 91, 1041, "objBgRangeAdjustAll", NULL); | |
1860 RegisterCommand(1, 90, 1042, "objRangeAdjustAllX", NULL); | |
1861 RegisterCommand(1, 91, 1042, "objBgRangeAdjustAllX", NULL); | |
1862 RegisterCommand(1, 90, 1043, "objRangeAdjustAllY", NULL); | |
1863 RegisterCommand(1, 91, 1043, "objBgRangeAdjustAllY", NULL); | |
1864 RegisterCommand(1, 90, 1046, "objRangeScale", NULL); | |
1865 RegisterCommand(1, 91, 1046, "objBgRangeScale", NULL); | |
1866 RegisterCommand(1, 90, 1047, "objRangeWidth", NULL); | |
1867 RegisterCommand(1, 91, 1047, "objBgRangeWidth", NULL); | |
1868 RegisterCommand(1, 90, 1048, "objRangeHeight", NULL); | |
1869 RegisterCommand(1, 91, 1048, "objBgRangeHeight", NULL); | |
1870 RegisterCommand(1, 90, 1049, "objRangeRotate", NULL); | |
1871 RegisterCommand(1, 91, 1049, "objBgRangeRotate", NULL); | |
1872 RegisterCommand(1, 90, 1050, "objRangeRepOrigin", NULL); | |
1873 RegisterCommand(1, 91, 1050, "objBgRangeRepOrigin", NULL); | |
1874 RegisterCommand(1, 90, 1051, "objRangeRepOriginX", NULL); | |
1875 RegisterCommand(1, 91, 1051, "objBgRangeRepOriginX", NULL); | |
1876 RegisterCommand(1, 90, 1052, "objRangeRepOriginY", NULL); | |
1877 RegisterCommand(1, 91, 1052, "objBgRangeRepOriginY", NULL); | |
1878 RegisterCommand(1, 90, 1053, "objRangeOrigin", NULL); | |
1879 RegisterCommand(1, 91, 1053, "objBgRangeOrigin", NULL); | |
1880 RegisterCommand(1, 90, 1054, "objRangeOriginX", NULL); | |
1881 RegisterCommand(1, 91, 1054, "objBgRangeOriginX", NULL); | |
1882 RegisterCommand(1, 90, 1055, "objRangeOriginY", NULL); | |
1883 RegisterCommand(1, 91, 1055, "objBgRangeOriginY", NULL); | |
1884 RegisterCommand(1, 90, 1056, "objRangeFadeOpts", NULL); | |
1885 RegisterCommand(1, 91, 1056, "objBgRangeFadeOpts", NULL); | |
1886 | |
1887 RegisterCommand(1, 255, 50, "??? (Clannad)", NULL); | |
1888 RegisterCommand(1, 255, 101, "__SaveBufferIdx", NULL); | |
865 | 1889 |
866 anm1 = NULL; | 1890 anm1 = NULL; |
867 anm2 = NULL; | 1891 anm2 = NULL; |
868 } | 1892 } |
869 | 1893 |