DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
snd.cpp
1#pragma helper_mask_gpr 0x30
2#pragma helper_mask_fpr 0x1000
3#pragma name_counter 348
4
5#include "common.h"
6
7#include <libpkt.h>
8#include <libvu0.h>
9
10#include <cmath>
11#include <cstdio>
12#include <cstring>
13
14#include "boxvu0.hpp"
15#include "camera.hpp"
16#include "dataread.hpp"
17#include "editatra.hpp"
18#include "mglib.hpp"
19#include "rect.hpp"
20#include "scriptinterpreter.hpp"
21#include "snd.hpp"
22#include "sound.hpp"
23#include "texture.hpp"
24
25/* The sound manager: BGM loading, playback and fading, and the SE table.
26 * CSound itself is in ps2/src/sound.cpp. */
27
35static void LoadSoundInfo(SND_INFO *info, char *script, int script_size);
36
44static void CommandREVERBE(void **arguments);
45
53static void CommandTABLE(void **arguments);
54
56static SND_SE_INFO *basic_se_info[2] = {geo, dun};
57
59static void (*CommandExe__3[2])(void **arguments) = {CommandREVERBE, CommandTABLE};
60
62static int linear__2 = 1;
63
65unsigned int *snd_read_buf;
66
68int bgm_off;
69
71int snd_id;
72
74int now_sound_set;
75
77int now_voice_set;
78
80int now_bgm_no;
81
83int now_bgm_play;
84
86int now_bgm_vol;
87
89int bgm_fade;
90
92float now_bgm_fade_vol;
93
95float bgm_fade_step;
96
98int bgm_fade_vol;
99
101int now_amb_no;
102
104int now_amb_vol;
105
107int now_amb_play;
108
110int now_sp_no;
111
113int se_table_no;
114
116int basic_se_table_no;
117
119int load_bgm_no;
120
122unsigned int *load_bgm_adr;
123
125int load_snd_set;
126
128unsigned int *load_snd_adr;
129
131int load_voice_set;
132
134unsigned int *load_voice_adr;
135
137int load_sp_no;
138
140unsigned int *load_sp_adr;
141
143int init_snd;
144
146char bgm_cfg_file[32];
147
149char snd_cfg_file[32];
150
152char voice_cfg_file[32];
153
155char sp_cfg_file[32];
156
158sceVu0FVECTOR camera_pos;
159
161sceVu0FVECTOR camera_dir;
162
164SND_SE_SEQ se_seq[32];
165
173static void SndSeSeqStep();
174
175EDIT_ELEMENT_ATRA *GetEditAtraData(int ground, int number) {
176 if (ground < 0 || ground >= 6) {
177 return 0;
178 }
179
180 if (number < 0 || number >= 100) {
181 return 0;
182 }
183
184 return &EditElementData[ground][number];
185}
186
187EDIT_PARTS_ATRA *GetEditAtraPartsData(int ground, int number) {
188 if (ground < 0 || ground >= 6) {
189 return 0;
190 }
191
192 if (number < 0 || number >= 24) {
193 return 0;
194 }
195
196 return &EditPartsData[ground].parts[number];
197}
198
199EDIT_ELEMENT_ATRA *GetEditAtraChipData(int ground, int number) {
200 return GetEditAtraData(ground, number + 40);
201}
202
203void LensFlare(CTexture *texture, float *position, unsigned char red, unsigned char green, unsigned char blue) {
204 sceVu0IVECTOR screen;
205
206 if (texture == 0) {
207 return;
208 }
209
210 int visible = MGRotTransPers2D(screen, position, 0);
211 int screen_x = screen[0];
212 int screen_y = screen[1];
213 float flare_offset[8] = {0.1f, 0.2f, 0.4f, 0.5f, 0.8f, 0.9f, 1.0f, 1.3f};
214 float flare_size[8] = {0.1f, 0.2f, 1.0f, 0.3f, 2.0f, 0.5f, 3.8f, 0.5f};
215
216 int size;
217 int x;
218 int y;
219 int i;
220
221 for (i = 0; i < 8; i++) {
222 float offset = flare_offset[i];
223 size = (int) (64.0f * flare_size[i]);
224 float dx = (float) (320 - screen_x);
225 dx *= offset;
226 x = (int) dx;
227 x += screen_x;
228 x -= size >> 1;
229 float dy = (float) (SCREEN_HALF_HEIGHT - screen_y);
230 dy *= offset;
231 y = (int) dy;
232 y += screen_y;
233 y -= size >> 1;
234
235 if (visible && 0 <= screen_x && screen_x < 640 && 0 <= screen_y && screen_y < 448) {
236 setbilinear(1);
237 set2DSprite(Vif1Packet, texture, CRect_i_(x, y, size, size), CRect_i_(0, 0, 0x40, 0x40));
238 }
239 }
240
241 if (visible && 0 <= screen_x && screen_x < 640 && 0 <= screen_y && screen_y < 448) {
242 int center_x = 0;
243 int center_y = 0;
244
245 if (!(screen_x < 320)) {
246 center_x = 320 - (screen_x - 320);
247 }
248
249 if (screen_x < 320) {
250 center_x = screen_x;
251 }
252
253 if (!(screen_y < SCREEN_HALF_HEIGHT)) {
254 center_y = SCREEN_HALF_HEIGHT - (screen_y - SCREEN_HALF_HEIGHT);
255 }
256
257 if (screen_y < SCREEN_HALF_HEIGHT) {
258 center_y = screen_y;
259 }
260
261 float level = (float) ((center_x + center_y) >> 1) / 2.7f;
262 int alpha = (int) level;
263 MGFillBox(CRect_i_(0, 0, 0x2800, (SCREEN_HALF_HEIGHT << 4)), red, green, blue, (unsigned char) (int) level);
264 }
265}
266
274void SndInit() {
275 if (init_snd == 0) {
276 CSnd.Init(0, 0, 0, 0);
277 init_snd = 1;
278 SndInitialize(4, 0x1E, 4, 5);
279 }
280}
281
282void SndInitialize(int unused0, int unused1, int unused2, int unused3) {
283 snd_read_buf = read_buffer;
284 SndBgmInit();
285 SndAmbientInit();
286 SndSeSeqInit();
287 now_sound_set = -1;
288 now_voice_set = -1;
289 snd_id = 0;
290 now_amb_no = -1;
291 now_amb_vol = -1;
292 now_sp_no = -1;
293 se_table_no = -1;
294 basic_se_table_no = -1;
295 load_bgm_no = -1;
296 load_bgm_adr = 0;
297 bgm_cfg_file[0] = 0;
298 load_snd_set = -1;
299 load_snd_adr = 0;
300 snd_cfg_file[0] = 0;
301 load_voice_set = -1;
302 load_voice_adr = 0;
303 voice_cfg_file[0] = 0;
304}
305
306void SndExit() {
307 CSnd.Stop(MIDI_PORT_BGM);
308 CSnd.Stop(MIDI_PORT_SE_TITLE);
309 CSnd.Stop(MIDI_PORT_AMBIENT);
310 CSnd.Stop(MIDI_PORT_SE_DEFAULT);
311 CSnd.Stop(MIDI_PORT_UNK_A);
312 CSnd.Stop(MIDI_PORT_UNK_D);
313 CSnd.Stop(MIDI_PORT_SE_SPECIAL);
314 CSnd.StopVoice(0);
315 CSnd.StopVoice(1);
316 SndSeSeqInit();
317 SndBgmInit();
318 SndAmbientInit();
319}
320
321void SndStep() {
322 SndBgmFadeInOut();
323 SndSeSeqStep();
324 CSnd.Step();
325}
326
327void SndInitSeTable() {
328 int i;
329 int j;
330
331 for (i = 0; i < 2800; i++) {
332 SND_SE_INFO *info = &se_info[i];
333
334 if (info->bank >= 0) {
335 info->vol_no = CSnd.GetSeNo(info->bank, info->prog);
336 }
337 }
338
339 for (j = 0; j < 100; j++) {
340 SND_SE_INFO *table = cap_se_info[j];
341
342 if (table == 0) {
343 continue;
344 }
345
346 for (i = 0; i < 100; i++) {
347 SND_SE_INFO *info = &table[i];
348
349 if (info->bank == -128) {
350 break;
351 }
352
353 if (info->bank >= 0) {
354 info->vol_no = CSnd.GetSeNo(info->bank, info->prog);
355 }
356 }
357 }
358
359 for (j = 0; j < 2; j++) {
360 SND_SE_INFO *table = basic_se_info[j];
361
362 if (table == 0) {
363 continue;
364 }
365
366 for (i = 0; i < 200; i++) {
367 SND_SE_INFO *info = &table[i];
368
369 if (info->bank == -128) {
370 break;
371 }
372
373 if (info->bank >= 0) {
374 info->vol_no = CSnd.GetSeNo(info->bank, info->prog);
375 }
376 }
377 }
378
379 for (j = 0; j < 10; j++) {
380 SND_SE_INFO *table = voice_info[j];
381
382 if (table == 0) {
383 continue;
384 }
385
386 for (i = 0; i < 100; i++) {
387 SND_SE_INFO *info = &table[i];
388
389 if (info->bank == -128) {
390 break;
391 }
392
393 if (info->bank >= 0) {
394 info->vol_no = CSnd.GetSeNo(info->bank, info->prog);
395 }
396 }
397 }
398
399 for (i = 0; i < 64; i++) {
400 SND_SE_INFO *info = &special_se_info[i];
401
402 if (info->bank == -128) {
403 break;
404 }
405
406 if (info->bank >= 0) {
407 info->vol_no = CSnd.GetSeNo(info->bank, info->prog);
408 }
409 }
410}
411
412void SndSetReadBuffer(unsigned int *buffer) {
413 int misalign = (int) buffer % 64;
414
415 if (misalign != 0) {
416 buffer = (unsigned int *) ((int) buffer + (64 - misalign));
417 }
418
419 snd_read_buf = buffer;
420}
421
429int SndSyncBG() {
430 if (SndBgmSyncBG()) {
431 return 1;
432 }
433
434 if (SndSoundSyncBG()) {
435 return 1;
436 }
437
438 if (SndSPSeSyncBG()) {
439 return 1;
440 }
441
442 return SndVoiceSyncBG() ? 1 : 0;
443}
444
445void SndSetCamera(CCamera *camera) {
446 camera->GetPos(camera_pos);
447 camera->GetDir(camera_dir);
448}
449
457void SndSetCamera(float *position, float *rotation) {
458 sceVu0CopyVector(camera_pos, position);
459 sceVu0CopyVector(camera_dir, rotation);
460}
461
469static void GetBGMFile(int set_no, char *archive_name, char *config_name) {
470 char name[16];
471
472 sprintf(name, "bgm%d", set_no);
473 sprintf(archive_name, "sound/bgm/%s.snd", name);
474 sprintf(config_name, "%s.txt", name);
475}
476
484static void SetBGMFile(int set_no, unsigned int *buffer, char *config_name) {
485 char base_name[64];
486 char *dst;
487 char c;
488 unsigned int *cfg_script;
489 int size;
490 SND_INFO info;
491
492 SndBgmStop();
493 CSnd.LoadSoundFileFromPack(config_name, buffer);
494 now_bgm_no = set_no;
495 now_bgm_play = 0;
496
497 dst = base_name;
498
499 while ((c = *config_name) != 0) {
500 if (c == '.') {
501 break;
502 }
503
504 *dst = c;
505 config_name++;
506 dst++;
507 }
508
509 *dst = 0;
510
511 strcat(base_name, ".cfg");
512 cfg_script = GetPackFile(buffer, base_name, &size);
513
514 if (cfg_script != 0) {
515 LoadSoundInfo(&info, (char *) cfg_script, size);
516 CSnd.SetReverb(0, info.reverb_mode, info.reverb_depth);
517 printf("core 0 rev = %d %d\n", info.reverb_mode, info.reverb_depth);
518 }
519}
520
521int SndBgmInit() {
522 now_bgm_no = -1;
523 now_bgm_play = 0;
524 now_bgm_vol = 0;
525 bgm_fade = 0;
526 bgm_fade_vol = 0;
527 bgm_fade_step = 0.0f;
528 now_bgm_fade_vol = 0.0f;
529 return 1;
530}
531
532#ifdef PAL
533void SndBgmDisable(int disable) {
534 bgm_off = disable;
535
536 if (disable != 0) {
537 SndBgmStop();
538 }
539}
540
541int SndGetBgmDisableFlag() {
542 return bgm_off;
543}
544#endif
545
546int SndBgmLoad(int set_no) {
547 char archive_name[128];
548 char config_name[16];
549
550 if (now_bgm_no == set_no) {
551 return 0;
552 }
553
554 GetBGMFile(set_no, archive_name, config_name);
555
556 if (LoadFile2(archive_name, snd_read_buf, 0, 0)) {
557 SetBGMFile(set_no, snd_read_buf, config_name);
558 return 1;
559 }
560
561 return 0;
562}
563
571int SndBgmLoadBG(int set_no, u_int *buffer, int *size) {
572 char archive_name[128];
573
574 if (size != 0) {
575 *size = 0;
576 }
577
578 if (now_bgm_no == set_no) {
579 return 0;
580 }
581
582 GetBGMFile(set_no, archive_name, bgm_cfg_file);
583 printf("%d\n", set_no);
584
585 if (LoadFileBG(archive_name, (u_long128 *) buffer, size)) {
586 load_bgm_no = set_no;
587 load_bgm_adr = buffer;
588 return 1;
589 }
590
591 return 0;
592}
593
594int SndBgmSyncBG() {
595 if (load_bgm_no < 0 || load_bgm_adr == 0) {
596 return 0;
597 }
598
599 if (ReadBGSync()) {
600 return 1;
601 }
602
603 SetBGMFile(load_bgm_no, load_bgm_adr, bgm_cfg_file);
604 load_bgm_no = -1;
605 load_bgm_adr = 0;
606 return 0;
607}
608
609void SndBgmPlay(int track_no) {
610 if (bgm_off == 0 && now_bgm_no >= 0 && now_bgm_play != 1) {
611 CSnd.SQ_Play(MIDI_PORT_BGM, track_no);
612 now_bgm_vol = SndGetDefaultBgmVol();
613 now_bgm_play = 1;
614 }
615}
616
617void SndBgmStop() {
618 if (now_bgm_no >= 0 && now_bgm_play != 0) {
619 CSnd.Stop(MIDI_PORT_BGM);
620 CSnd.StopVoice(0);
621 now_bgm_vol = 0;
622 now_bgm_play = 0;
623 }
624}
625
626#ifdef PAL
627void SndBgmPause() {
628 if (now_bgm_no >= 0 && now_bgm_play != 0) {
629 CSnd.Stop(MIDI_PORT_BGM);
630 now_bgm_play = 2;
631 }
632}
633#endif
634
635void SndBgmRePlay() {
636 if (now_bgm_no >= 0 && now_bgm_play == 2) {
637 CSnd.SQ_RePlay(MIDI_PORT_BGM);
638 now_bgm_play = 1;
639 }
640}
641
642void SndBgmFadeOutStop() {
643 float volume = SndGetBgmVol();
644 float step = volume / 10.0f;
645 int i;
646
647 for (i = 0; i < 10; i++) {
648 sceGsSyncV(0);
649 volume -= step;
650 SndSetBgmVol((int) volume);
651 SndStep();
652 }
653
654 SndBgmStop();
655}
656
657int SndBgmCheck() {
658 return now_bgm_play;
659}
660
661int SndGetBgmNo() {
662 return now_bgm_no;
663}
664
672void SndSetBgmVol(int volume) {
673 if (now_bgm_no >= 0 && now_bgm_vol != volume) {
674 if (volume < 0 || volume > 127) {
675 return;
676 }
677
678 if (now_bgm_play != 0) {
679 now_bgm_vol = volume;
680 CSnd.SetVol(MIDI_PORT_BGM, volume);
681 }
682 }
683}
684
692void SndSetBgmVolf(float volume) {
693 SndSetBgmVol((int) (volume * (float) SndGetDefaultBgmVol()));
694}
695
696int SndGetBgmVol() {
697 return now_bgm_vol;
698}
699
700int SndGetDefaultBgmVol() {
701 if (now_bgm_no < 0) {
702 return 0;
703 }
704
705 return CSnd.GetMidiState()->port[0].sequence[0]->volume;
706}
707
715void SndBgmFadeIn(int frames, int volume, int start_volume) {
716 if (frames > 0) {
717 if (volume < 0) {
718 volume = SndGetDefaultBgmVol();
719 }
720
721 bgm_fade_vol = volume;
722
723 if (start_volume < 0) {
724 start_volume = SndGetBgmVol();
725 }
726
727 if (start_volume != SndGetDefaultBgmVol()) {
728 now_bgm_fade_vol = (float) start_volume / (float) SndGetDefaultBgmVol();
729 bgm_fade = 1;
730 bgm_fade_step = ((float) bgm_fade_vol - now_bgm_fade_vol) / (float) frames;
731 }
732 }
733}
734
742void SndBgmFadeOut(int frames, int volume) {
743 if (frames > 0) {
744 bgm_fade_vol = volume;
745 now_bgm_fade_vol = (float) SndGetBgmVol();
746 bgm_fade = -1;
747 bgm_fade_step = ((float) bgm_fade_vol - now_bgm_fade_vol) / (float) frames;
748 }
749}
750
751void SndBgmFadeInOut() {
752 float step;
753
754 if (bgm_fade != 0) {
755 now_bgm_fade_vol += bgm_fade_step;
756 step = bgm_fade_step;
757
758 if ((step < 0.0f ? -step : step) < 0.0001f) {
759 bgm_fade = 0;
760 }
761
762 if (bgm_fade > 0) {
763 if (now_bgm_fade_vol >= (float) bgm_fade_vol) {
764 now_bgm_fade_vol = (float) bgm_fade_vol;
765 bgm_fade = 0;
766 }
767 } else if (now_bgm_fade_vol <= (float) bgm_fade_vol) {
768 now_bgm_fade_vol = (float) bgm_fade_vol;
769 bgm_fade = 0;
770 }
771
772 SndSetBgmVol((int) now_bgm_fade_vol);
773 }
774}
775
776int SndCheckFade() {
777 return bgm_fade == 0;
778}
779
789static SND_SE_INFO *GetSeInfo(int se_no) {
790 SND_SE_INFO *table;
791
792 if (se_no < 0 || se_no >= 2800) {
793 return 0;
794 }
795
796 if (basic_se_table_no >= 0 && se_no >= 100 && se_no < 300) {
797 return basic_se_info[basic_se_table_no] + (se_no - 100);
798 }
799
800 if (se_no >= 300 && se_no < 400 && se_table_no >= 0) {
801 table = cap_se_info[se_table_no];
802
803 if (table != 0) {
804 return table + (se_no - 300);
805 }
806 }
807
808 if (se_no >= 400 && se_no < 500 && now_voice_set >= 0) {
809 table = voice_info[now_voice_set];
810
811 if (table != 0) {
812 return table + (se_no - 400);
813 }
814 }
815
816 return &se_info[se_no];
817}
818
827static int GetPortNo(int se_no) {
828 SND_SE_INFO *info = GetSeInfo(se_no);
829
830 if (info->port >= 0) {
831 return info->port;
832 }
833
834 return MIDI_PORT_SE_DEFAULT;
835}
836
844static void GetSoundFile(int set_no, char *archive_name, char *config_name) {
845 char name[16];
846
847 sprintf(name, "snd%d", set_no);
848 sprintf(archive_name, "sound/set/%s.snd", name);
849 sprintf(config_name, "%s.txt", name);
850}
851
859static void SetSoundFile(int set_no, unsigned int *buffer, char *config_name) {
860 char base_name[64];
861 char *dst;
862 char c;
863 SND_INFO info;
864 unsigned int *cfg_script;
865 int size;
866
867 CSnd.LoadSoundFileFromPack(config_name, buffer);
868 CSnd.SetVol(MIDI_PORT_SE_TITLE, 0x100);
869 CSnd.SetVol(MIDI_PORT_SE_DEFAULT, 0x100);
870 CSnd.SetVol(MIDI_PORT_UNK_A, 0x100);
871 CSnd.SetVol(MIDI_PORT_UNK_D, 0x100);
872 CSnd.SetVol(MIDI_PORT_SE_SPECIAL, 0x100);
873 now_sound_set = set_no;
874 snd_id = 0;
875 now_amb_no = -1;
876 SndStopAllSe();
877
878 dst = base_name;
879
880 while ((c = *config_name) != 0) {
881 if (c == '.') {
882 break;
883 }
884
885 *dst = c;
886 config_name++;
887 dst++;
888 }
889
890 *dst = 0;
891
892 strcat(base_name, ".cfg");
893 cfg_script = GetPackFile(buffer, base_name, &size);
894
895 if (cfg_script != 0) {
896 LoadSoundInfo(&info, (char *) cfg_script, size);
897 CSnd.SetReverb(1, info.reverb_mode, info.reverb_depth);
898 basic_se_table_no = info.se_table;
899 se_table_no = info.se_table_type;
900 }
901}
902
903int SndGetNowSetNo() {
904 return now_sound_set;
905}
906
907void SndStopAllSe() {
908 CSnd.Stop(MIDI_PORT_SE_TITLE);
909 CSnd.Stop(MIDI_PORT_AMBIENT);
910 CSnd.Stop(MIDI_PORT_SE_DEFAULT);
911 CSnd.Stop(MIDI_PORT_UNK_A);
912 CSnd.Stop(MIDI_PORT_UNK_D);
913 CSnd.Stop(MIDI_PORT_SE_SPECIAL);
914 CSnd.Stop(MIDI_PORT_UNK_B);
915 SndAmbientInit();
916 CSnd.StopVoice(1);
917}
918
919int SndSoundLoad(int set_no) {
920 char archive_name[128];
921 char config_name[32];
922
923 if (now_sound_set == set_no) {
924 return 0;
925 }
926
927 GetSoundFile(set_no, archive_name, config_name);
928
929 if (LoadFile2(archive_name, snd_read_buf, 0, 0)) {
930 SetSoundFile(set_no, snd_read_buf, config_name);
931 return 1;
932 }
933
934 return 0;
935}
936
944int SndSoundLoadBG(int set_no, u_int *buffer, int *size) {
945 char archive_name[128];
946
947 if (size != 0) {
948 *size = 0;
949 }
950
951 if (now_sound_set == set_no) {
952 return 0;
953 }
954
955 GetSoundFile(set_no, archive_name, snd_cfg_file);
956
957 if (LoadFileBG(archive_name, (u_long128 *) buffer, size)) {
958 load_snd_set = set_no;
959 load_snd_adr = buffer;
960 return 1;
961 }
962
963 return 0;
964}
965
966int SndSoundSyncBG() {
967 if (load_snd_set < 0 || load_snd_adr == 0) {
968 return 0;
969 }
970
971 if (ReadBGSync()) {
972 return 1;
973 }
974
975 SetSoundFile(load_snd_set, load_snd_adr, snd_cfg_file);
976 load_snd_set = -1;
977 load_snd_adr = 0;
978 return 0;
979}
980
981void SndSePlay(int se_no, int vol, int voice) {
982 SND_SE_INFO *info = GetSeInfo(se_no);
983
984 if (info != 0) {
985 if (info->vol_no < 0) {
986 vol = 127;
987 }
988
989 int port = GetPortNo(se_no);
990 static int system_snd_id = (int) 0.0f;
991
992 if (vol < 0) {
993 CSnd.SE_Play(port, info->vol_no, voice);
994 } else {
995 CSnd.SE_Play(port, info->bank, info->prog, vol, voice);
996 }
997 }
998}
999
1007void SndSePlay(int se_no, float volume, float pan, int voice) {
1008 SND_SE_INFO *info = GetSeInfo(se_no);
1009
1010 if (info != 0) {
1011 int vol = SndGetVolf(se_no, volume);
1012 int hw_pan = SndGetPanf(pan);
1013
1014 if (info->vol_no < 0) {
1015 vol = 127;
1016 }
1017
1018 CSnd.SE_Play(GetPortNo(se_no), info->bank, info->prog, hw_pan, 127, vol, voice);
1019 }
1020}
1021
1022void SndSePlay(int se_no, float *position, float near, float far) {
1023 float volume;
1024 float pan;
1025
1026 if (near < 0.0f) {
1027 near = 20.0f;
1028 }
1029
1030 if (far < 0.0f) {
1031 far = 500.0f;
1032 }
1033
1034 SndGetVolPan(&volume, &pan, position, near, far);
1035 SndSePlay(se_no, volume, pan, 0);
1036}
1037
1045void SndSeStop(int se_no, int voice) {
1046 SND_SE_INFO *info = GetSeInfo(se_no);
1047
1048 if (info != 0) {
1049 CSnd.SE_Stop(GetPortNo(se_no), info->bank, info->prog, voice);
1050 }
1051}
1052
1053void SndSetSeVol(int se_no, int vol, int voice) {
1054 SND_SE_INFO *info;
1055
1056 if (vol < 0 || vol > 127) {
1057 return;
1058 }
1059
1060 info = GetSeInfo(se_no);
1061
1062 if (info != 0) {
1063 CSnd.SE_SetVol(GetPortNo(se_no), info->bank, info->prog, vol, voice);
1064 }
1065}
1066
1067int SndGetVolf(int se_no, float vol) {
1068 SND_SE_INFO *info = GetSeInfo(se_no);
1069 short *table;
1070 int level;
1071
1072 if (info == 0) {
1073 return 0;
1074 }
1075
1076 table = CSnd.GetSeInfTbl();
1077 level = 64;
1078
1079 if (info->vol_no >= 0) {
1080 level = table[info->vol_no * 2 + 1];
1081 }
1082
1083 level = (int) ((float) level * vol);
1084
1085 if (level < 0) {
1086 level = 0;
1087 }
1088
1089 if (level > 127) {
1090 level = 127;
1091 }
1092
1093 return level;
1094}
1095
1096int SndGetPanf(float pan) {
1097 if (pan < -1.0f) {
1098 pan = -1.0f;
1099 }
1100
1101 if (pan > 1.0f) {
1102 pan = 1.0f;
1103 }
1104
1105 return (int) (63.0f * pan) + 64;
1106}
1107
1108void SndSetSeVolf(int se_no, float vol, int voice) {
1109 if (GetSeInfo(se_no) != 0) {
1110 SndSetSeVol(se_no, SndGetVolf(se_no, vol), voice);
1111 }
1112}
1113
1114void SndSetSePanf(int se_no, float pan, int voice) {
1115 SND_SE_INFO *info = GetSeInfo(se_no);
1116
1117 if (info != 0) {
1118 int hw_pan = SndGetPanf(pan);
1119
1120 CSnd.SE_SetPan(GetPortNo(se_no), info->bank, info->prog, hw_pan, voice);
1121 }
1122}
1123
1124void SndPlayFootSound(int kind, int foot, float *position) {
1125 float volume;
1126 float pan;
1127 int se_no = kind * 4 + 500 + (foot > 0);
1128
1129 float near = 50.0f;
1130 float far = 300.0f;
1131 SndGetVolPan(&volume, &pan, position, near, far);
1132 SndSePlay(se_no, volume, pan, 0);
1133}
1134
1142void SndGetVolPan(float *vol, float *pan, float *pos, float near, float far) {
1143 sceVu0FVECTOR to_source;
1144 sceVu0FVECTOR right;
1145 float distance = DistVector(pos, camera_pos);
1146 float level = 1.0f - (distance - near) / (far - near);
1147 float side;
1148 float weight;
1149 int sign;
1150
1151 if (distance > far) {
1152 level = 0.0f;
1153 }
1154
1155 if (distance < near) {
1156 level = 1.0f;
1157 }
1158
1159 *vol = level;
1160 *pan = 0.0f;
1161
1162 sceVu0CopyVector(to_source, camera_dir);
1163 to_source[1] = 0.0f;
1164 sceVu0Normalize(to_source, to_source);
1165 right[0] = to_source[2];
1166 right[1] = 0.0f;
1167 right[2] = -to_source[0];
1168
1169 sceVu0SubVector(to_source, pos, camera_pos);
1170 to_source[1] = 0.0f;
1171 sceVu0Normalize(to_source, to_source);
1172 side = -sceVu0InnerProduct(to_source, right);
1173
1174 sign = 1;
1175
1176 if (side < 0.0f) {
1177 sign = -1;
1178 }
1179
1180 weight = side < 0.0f ? -side : side;
1181 weight *= weight;
1182 weight *= weight;
1183 *pan = 0.7f * ((float) sign * weight);
1184 level = *vol * (0.7f + 0.3f * (*pan < 0.0f ? -*pan : *pan));
1185 *vol = level;
1186 *vol *= 1.4f;
1187}
1188
1196static void InitSeSeq(SND_SE_SEQ *seq) {
1197 seq->se_no = -1;
1198}
1199
1209static SND_SE_SEQ *GetSeSeq(int *found, int se_no, int voice) {
1210 int i;
1211 SND_SE_SEQ *slot = 0;
1212
1213 *found = 0;
1214
1215 for (i = 0; i < 32; i++) {
1216 if (se_seq[i].se_no < 0) {
1217 slot = &se_seq[i];
1218 break;
1219 }
1220 }
1221
1222 if (se_no >= 0) {
1223 for (i = 0; i < 32; i++) {
1224 if (se_seq[i].se_no == se_no && se_seq[i].voice == voice) {
1225 *found = 1;
1226 return &se_seq[i];
1227 }
1228 }
1229 }
1230
1231 return slot;
1232}
1233
1234void SndSeSeqInit() {
1235 int i;
1236
1237 for (i = 0; i < 32; i++) {
1238 InitSeSeq(&se_seq[i]);
1239 }
1240}
1241
1242int SndSeSeqPlayStop(int se_no, int length, int voice) {
1243 int found;
1244 SND_SE_SEQ *slot = GetSeSeq(&found, se_no, voice);
1245
1246 if (slot == 0) {
1247 return 0;
1248 }
1249
1250 slot->se_no = se_no;
1251 slot->length = length;
1252
1253 if (found) {
1254 slot->step = 1;
1255 } else {
1256 slot->step = 0;
1257 }
1258
1259 slot->voice = voice;
1260 return 1;
1261}
1262
1263static void SndSeSeqStep() {
1264 int i;
1265
1266 for (i = 0; i < 32; i++) {
1267 SND_SE_SEQ *seq = &se_seq[i];
1268
1269 if (seq->se_no >= 0) {
1270 if (seq->step == 0) {
1271 SndSePlay(seq->se_no, -1, seq->voice);
1272 }
1273
1274 if (seq->step >= seq->length) {
1275 SndSeStop(seq->se_no, seq->voice);
1276 InitSeSeq(seq);
1277 }
1278
1279 seq->step++;
1280 }
1281 }
1282}
1283
1291void SndSeSeqAllStop() {
1292 SND_SE_SEQ *seq;
1293 int i;
1294
1295 for (i = 0; i < 32; i++) {
1296 seq = &se_seq[i];
1297
1298 if (seq->se_no >= 0) {
1299 SndSeStop(seq->se_no, seq->voice);
1300 InitSeSeq(seq);
1301 seq->step++;
1302 }
1303 }
1304}
1305
1306int SndAmbientInit() {
1307 now_amb_no = -1;
1308 now_amb_play = 0;
1309 now_amb_vol = 0;
1310 return 1;
1311}
1312
1313void SndAmbientPlay(int ambient_no) {
1314 if (now_amb_no != ambient_no || now_amb_play != 1) {
1315 SndAmbientStop();
1316 CSnd.SQ_Play(MIDI_PORT_AMBIENT, ambient_no);
1317 now_amb_no = ambient_no;
1318 now_amb_vol = SndGetAmbientDefaultVol();
1319 now_amb_play = 1;
1320 }
1321}
1322
1323void SndAmbientStop() {
1324 if (now_amb_no >= 0 && now_amb_play != 0) {
1325 CSnd.Stop(MIDI_PORT_AMBIENT);
1326 now_amb_play = 0;
1327 }
1328}
1329
1337void SndAmbientSetVol(int volume) {
1338 if (now_amb_no >= 0 && now_amb_vol != volume && volume >= 0) {
1339 if (volume > 127) {
1340 volume = 127;
1341 }
1342
1343 now_amb_vol = volume;
1344 CSnd.SetVol(MIDI_PORT_AMBIENT, volume);
1345 }
1346}
1347
1355void SndAmbientSetVolf(float volume) {
1356 if (now_amb_no >= 0) {
1357 int level = SndGetAmbientDefaultVol();
1358
1359 SndAmbientSetVol((int) ((float) level * volume));
1360 }
1361}
1362
1363int SndGetAmbientDefaultVol() {
1364 if (CSnd.GetMidiState()->port[2].sequence[now_amb_no] != 0) {
1365 return CSnd.GetMidiState()->port[2].sequence[now_amb_no]->volume;
1366 }
1367
1368 return 64;
1369}
1370
1378static void GetVoiceFile(int set_no, char *archive_name, char *config_name) {
1379 char name[16];
1380
1381 sprintf(name, "voice%d", set_no);
1382 sprintf(archive_name, "sound/voice/%s.snd", name);
1383 sprintf(config_name, "%s.txt", name);
1384}
1385
1393static void SetVoiceFile(int set_no, u_int *buffer, char *config_name) {
1394 CSnd.LoadSoundFileFromPack(config_name, buffer);
1395 CSnd.SetVol(MIDI_PORT_UNK_B, 0x100);
1396 now_voice_set = set_no;
1397}
1398
1399int SndVoiceLoad(int set_no) {
1400 char archive_name[128];
1401 char config_name[32];
1402
1403 if (now_voice_set == set_no) {
1404 return 0;
1405 }
1406
1407 GetVoiceFile(set_no, archive_name, config_name);
1408
1409 if (LoadFile2(archive_name, snd_read_buf, 0, 0)) {
1410 SetVoiceFile(set_no, snd_read_buf, config_name);
1411 return 1;
1412 }
1413
1414 return 0;
1415}
1416
1424int SndVoiceLoadBG(int set_no, u_int *buffer, int *size) {
1425 char archive_name[128];
1426
1427 if (size != 0) {
1428 *size = 0;
1429 }
1430
1431 if (now_voice_set == set_no) {
1432 return 0;
1433 }
1434
1435 GetVoiceFile(set_no, archive_name, voice_cfg_file);
1436
1437 if (LoadFileBG(archive_name, (u_long128 *) buffer, size)) {
1438 load_voice_set = set_no;
1439 load_voice_adr = buffer;
1440 return 1;
1441 }
1442
1443 return 0;
1444}
1445
1446int SndVoiceSyncBG() {
1447 if (load_voice_set < 0 || load_voice_adr == 0) {
1448 return 0;
1449 }
1450
1451 if (ReadBGSync()) {
1452 return 1;
1453 }
1454
1455 SetVoiceFile(load_voice_set, load_voice_adr, voice_cfg_file);
1456 load_voice_set = -1;
1457 load_voice_adr = 0;
1458 return 0;
1459}
1460
1469static SND_SE_INFO *GetSPInfo(int se_no) {
1470 if (se_no < 0 || se_no >= 64) {
1471 return 0;
1472 }
1473
1474 return &special_se_info[se_no];
1475}
1476
1484static void GetSPSeFile(int set_no, char *archive_name, char *config_name) {
1485 char name[16];
1486
1487 sprintf(name, "sp%d", set_no);
1488 sprintf(archive_name, "sound/special/%s.snd", name);
1489 sprintf(config_name, "%s.txt", name);
1490}
1491
1499static void SetSPSeFile(int set_no, u_int *buffer, char *config_name) {
1500 CSnd.LoadSoundFileFromPack(config_name, buffer);
1501 CSnd.SetVol(MIDI_PORT_SE_SPECIAL, 0x100);
1502 now_sp_no = set_no;
1503}
1504
1505int SndSPSeLoad(int set_no) {
1506 char archive_name[128];
1507 char config_name[32];
1508
1509 if (now_sp_no == set_no) {
1510 return 0;
1511 }
1512
1513 GetSPSeFile(set_no, archive_name, config_name);
1514
1515 if (LoadFile2(archive_name, snd_read_buf, 0, 0)) {
1516 SetSPSeFile(set_no, snd_read_buf, config_name);
1517 return 1;
1518 }
1519
1520 return 0;
1521}
1522
1523int SndSPSeLoadBG(int set_no, u_int *buffer, int *size) {
1524 char archive_name[128];
1525
1526 if (size != 0) {
1527 *size = 0;
1528 }
1529
1530 GetSPSeFile(set_no, archive_name, sp_cfg_file);
1531
1532 if (LoadFileBG(archive_name, (u_long128 *) buffer, size)) {
1533 load_sp_no = set_no;
1534 load_sp_adr = buffer;
1535 return 1;
1536 }
1537
1538 return 0;
1539}
1540
1548int SndSPSeSyncBG() {
1549 if (load_sp_no < 0 || load_sp_adr == 0) {
1550 return 0;
1551 }
1552
1553 if (ReadBGSync()) {
1554 return 1;
1555 }
1556
1557 SetSPSeFile(load_sp_no, load_sp_adr, sp_cfg_file);
1558 load_sp_no = -1;
1559 load_sp_adr = 0;
1560 return 0;
1561}
1562
1570void SndSPSePlay(int se_no, int vol) {
1571 SND_SE_INFO *info = GetSPInfo(se_no);
1572
1573 if (info != 0) {
1574 if (info->vol_no < 0) {
1575 vol = 64;
1576 }
1577
1578 if (vol < 0) {
1579 CSnd.SE_Play(MIDI_PORT_SE_SPECIAL, info->vol_no, 0);
1580 } else {
1581 CSnd.SE_Play(MIDI_PORT_SE_SPECIAL, info->bank, info->prog, vol, 0);
1582 }
1583 }
1584}
1585
1586void SndSPSeStop(int se_no) {
1587 SND_SE_INFO *info = GetSPInfo(se_no);
1588
1589 if (info != 0) {
1590 CSnd.SE_Stop(MIDI_PORT_SE_SPECIAL, info->bank, info->prog, 0);
1591 }
1592}
1593
1601void SndSetSPSeVolf(int se_no, float volume) {
1602 SND_SE_INFO *info = GetSPInfo(se_no);
1603
1604 if (info != 0) {
1605 short *table = CSnd.GetSeInfTbl();
1606 int level = table[info->vol_no * 2 + 1];
1607
1608 level = (int) ((float) level * volume);
1609
1610 if (level < 0) {
1611 level = 0;
1612 }
1613
1614 if (level > 127) {
1615 level = 127;
1616 }
1617
1618 CSnd.SE_SetVol(MIDI_PORT_SE_SPECIAL, info->bank, info->prog, level, 0);
1619 }
1620}
1621
1629void SndSetSPSePanf(int se_no, float pan) {
1630 if (pan < -1.0f) {
1631 pan = -1.0f;
1632 }
1633
1634 if (pan > 1.0f) {
1635 pan = 1.0f;
1636 }
1637
1638 SND_SE_INFO *info = GetSPInfo(se_no);
1639
1640 if (info != 0) {
1641 CSnd.SE_SetPan(MIDI_PORT_SE_SPECIAL, info->vol_no, (int) (63.0f * pan) + 64, 0);
1642 }
1643}
1644
1645// clang-format off
1646SND_SE_INFO se_info[2801] = {
1647 {122, 24, 0, 13, 0}, {122, 25, 0, 13, 0}, {122, 26, 0, 13, 0}, {-1, -1, 0, -1, 0},
1648 {-1, -1, 0, -1, 0}, {122, 29, 0, 13, 0}, {122, 30, 0, 13, 0}, {-1, -1, 0, -1, 0},
1649 {122, 32, 0, 13, 0}, {122, 33, 0, 13, 0}, {122, 34, 0, 13, 0}, {-1, -1, 0, -1, 0},
1650 {122, 36, 0, 13, 0}, {122, 37, 0, 13, 0}, {122, 38, 0, 13, 0}, {122, 39, 0, 13, 0},
1651 {-1, -1, 0, -1, 0}, {122, 41, 0, 13, 0}, {-1, -1, 0, -1, 0}, {122, 43, 0, 13, 0},
1652 {-1, -1, 0, -1, 0}, {122, 45, 0, 13, 0}, {122, 46, 0, 13, 0}, {122, 47, 0, 13, 0},
1653 {122, 48, 0, 13, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1654 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1655 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1656 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1657 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1658 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1659 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {16, 20, 1, 15, 0}, {16, 21, 1, 15, 0},
1660 {16, 22, 1, 15, 0}, {16, 23, 1, 15, 0}, {16, 24, 1, 15, 0}, {16, 25, 1, 15, 0},
1661 {16, 26, 1, 15, 0}, {16, 27, 1, 15, 0}, {16, 28, 1, 15, 0}, {16, 29, 1, 15, 0},
1662 {16, 30, 1, 15, 0}, {16, 31, 1, 15, 0}, {16, 32, 1, 15, 0}, {16, 33, 1, 15, 0},
1663 {16, 34, 1, 15, 0}, {16, 35, 1, 15, 0}, {16, 36, 1, 15, 0}, {16, 37, 1, 15, 0},
1664 {16, 38, 1, 15, 0}, {16, 39, 1, 15, 0}, {16, 40, 1, 15, 0}, {16, 41, 1, 15, 0},
1665 {16, 42, 1, 15, 0}, {16, 43, 1, 15, 0}, {16, 44, 1, 15, 0}, {16, 45, 1, 15, 0},
1666 {16, 46, 1, 15, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1667 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1668 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1669 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1670 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1671 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1672 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1673 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1674 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1675 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1676 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1677 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1678 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1679 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1680 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1681 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1682 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1683 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1684 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1685 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1686 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1687 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1688 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1689 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1690 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1691 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1692 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1693 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1694 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1695 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1696 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1697 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1698 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1699 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1700 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1701 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1702 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1703 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1704 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1705 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1706 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1707 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1708 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1709 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1710 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1711 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1712 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1713 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1714 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1715 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1716 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1717 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1718 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1719 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1720 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1721 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1722 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1723 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1724 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1725 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1726 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1727 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1728 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1729 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1730 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1731 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1732 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1733 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1734 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1735 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1736 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1737 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1738 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1739 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1740 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1741 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1742 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1743 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1744 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1745 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1746 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1747 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1748 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1749 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1750 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1751 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1752 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1753 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1754 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1755 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1756 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1757 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1758 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1759 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1760 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1761 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1762 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1763 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1764 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1765 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1766 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1767 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1768 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1769 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1770 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1771 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1772 {21, 20, 0, 14, 0}, {21, 21, 0, 14, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1773 {21, 24, 0, 14, 0}, {21, 25, 0, 14, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1774 {21, 28, 0, 14, 0}, {21, 29, 0, 14, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1775 {21, 32, 0, 14, 0}, {21, 33, 0, 14, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1776 {21, 36, 0, 14, 0}, {21, 37, 0, 14, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1777 {21, 40, 0, 14, 0}, {21, 41, 0, 14, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1778 {21, 44, 0, 14, 0}, {21, 45, 0, 14, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1779 {21, 48, 0, 14, 0}, {21, 49, 0, 14, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1780 {21, 52, 0, 14, 0}, {21, 53, 0, 14, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1781 {21, 56, 0, 14, 0}, {21, 57, 0, 14, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1782 {21, 60, 0, 14, 0}, {21, 61, 0, 14, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1783 {21, 64, 0, 14, 0}, {21, 65, 0, 14, 0}, {-1, -1, 0, -1, 0}, {21, 67, 0, 14, 0},
1784 {21, 68, 0, 14, 0}, {21, 69, 0, 14, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1785 {21, 72, 0, 14, 0}, {21, 73, 0, 14, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1786 {21, 76, 0, 14, 0}, {21, 77, 0, 14, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1787 {21, 80, 0, 14, 0}, {21, 81, 0, 14, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1788 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1789 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1790 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1791 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1792 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1793 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1794 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1795 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1796 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
1797 {-1, -1, 0, -1, 0}, {53, 20, 0, 10, 0}, {53, 21, 0, 10, 0}, {53, 22, 0, 10, 0},
1798 {53, 23, 0, 10, 0}, {53, 24, 0, 10, 0}, {53, 25, 0, 10, 0}, {53, 26, 0, 10, 0},
1799 {53, 27, 0, 10, 0}, {53, 28, 0, 10, 0}, {53, 29, 0, 10, 0}, {53, 30, 0, 10, 0},
1800 {53, 31, 0, 10, 0}, {53, 32, 0, 10, 0}, {53, 33, 0, 10, 0}, {53, 34, 0, 10, 0},
1801 {53, 35, 0, 10, 0}, {53, 36, 0, 10, 0}, {53, 37, 0, 10, 0}, {53, 38, 0, 10, 0},
1802 {54, 20, 0, 10, 0}, {54, 21, 0, 10, 0}, {54, 22, 0, 10, 0}, {54, 23, 0, 10, 0},
1803 {54, 24, 0, 10, 0}, {54, 25, 0, 10, 0}, {54, 26, 0, 10, 0}, {54, 27, 0, 10, 0},
1804 {54, 28, 0, 10, 0}, {54, 29, 0, 10, 0}, {54, 30, 0, 10, 0}, {54, 31, 0, 10, 0},
1805 {54, 32, 0, 10, 0}, {54, 33, 0, 10, 0}, {54, 34, 0, 10, 0}, {54, 35, 0, 10, 0},
1806 {54, 36, 0, 10, 0}, {54, 37, 0, 10, 0}, {54, 38, 0, 10, 0}, {55, 20, 0, 10, 0},
1807 {55, 21, 0, 10, 0}, {55, 22, 0, 10, 0}, {55, 23, 0, 10, 0}, {55, 24, 0, 10, 0},
1808 {55, 25, 0, 10, 0}, {55, 26, 0, 10, 0}, {55, 27, 0, 10, 0}, {55, 28, 0, 10, 0},
1809 {55, 29, 0, 10, 0}, {55, 30, 0, 10, 0}, {55, 31, 0, 10, 0}, {55, 32, 0, 10, 0},
1810 {55, 33, 0, 10, 0}, {55, 34, 0, 10, 0}, {55, 35, 0, 10, 0}, {55, 36, 0, 10, 0},
1811 {55, 37, 0, 10, 0}, {55, 38, 0, 10, 0}, {56, 20, 0, 10, 0}, {56, 21, 0, 10, 0},
1812 {56, 22, 0, 10, 0}, {56, 23, 0, 10, 0}, {56, 24, 0, 10, 0}, {56, 25, 0, 10, 0},
1813 {56, 26, 0, 10, 0}, {56, 27, 0, 10, 0}, {56, 28, 0, 10, 0}, {56, 29, 0, 10, 0},
1814 {56, 30, 0, 10, 0}, {56, 31, 0, 10, 0}, {56, 32, 0, 10, 0}, {56, 33, 0, 10, 0},
1815 {56, 34, 0, 10, 0}, {56, 35, 0, 10, 0}, {56, 36, 0, 10, 0}, {56, 37, 0, 10, 0},
1816 {56, 38, 0, 10, 0}, {57, 20, 0, 10, 0}, {57, 21, 0, 10, 0}, {57, 22, 0, 10, 0},
1817 {57, 23, 0, 10, 0}, {57, 24, 0, 10, 0}, {57, 25, 0, 10, 0}, {57, 26, 0, 10, 0},
1818 {57, 27, 0, 10, 0}, {57, 28, 0, 10, 0}, {57, 29, 0, 10, 0}, {57, 30, 0, 10, 0},
1819 {57, 31, 0, 10, 0}, {57, 32, 0, 10, 0}, {57, 33, 0, 10, 0}, {57, 34, 0, 10, 0},
1820 {57, 35, 0, 10, 0}, {57, 36, 0, 10, 0}, {57, 37, 0, 10, 0}, {57, 38, 0, 10, 0},
1821 {58, 20, 0, 10, 0}, {58, 21, 0, 10, 0}, {58, 22, 0, 10, 0}, {58, 23, 0, 10, 0},
1822 {58, 24, 0, 10, 0}, {58, 25, 0, 10, 0}, {58, 26, 0, 10, 0}, {58, 27, 0, 10, 0},
1823 {58, 28, 0, 10, 0}, {58, 29, 0, 10, 0}, {58, 30, 0, 10, 0}, {58, 31, 0, 10, 0},
1824 {58, 32, 0, 10, 0}, {58, 33, 0, 10, 0}, {58, 34, 0, 10, 0}, {58, 35, 0, 10, 0},
1825 {58, 36, 0, 10, 0}, {58, 37, 0, 10, 0}, {58, 38, 0, 10, 0}, {59, 20, 0, 10, 0},
1826 {59, 21, 0, 10, 0}, {59, 22, 0, 10, 0}, {59, 23, 0, 10, 0}, {59, 24, 0, 10, 0},
1827 {59, 25, 0, 10, 0}, {59, 26, 0, 10, 0}, {59, 27, 0, 10, 0}, {59, 28, 0, 10, 0},
1828 {59, 29, 0, 10, 0}, {59, 30, 0, 10, 0}, {59, 31, 0, 10, 0}, {59, 32, 0, 10, 0},
1829 {59, 33, 0, 10, 0}, {59, 34, 0, 10, 0}, {59, 35, 0, 10, 0}, {59, 36, 0, 10, 0},
1830 {59, 37, 0, 10, 0}, {59, 38, 0, 10, 0}, {60, 20, 0, 10, 0}, {60, 21, 0, 10, 0},
1831 {60, 22, 0, 10, 0}, {60, 23, 0, 10, 0}, {60, 24, 0, 10, 0}, {60, 25, 0, 10, 0},
1832 {60, 26, 0, 10, 0}, {60, 27, 0, 10, 0}, {60, 28, 0, 10, 0}, {60, 29, 0, 10, 0},
1833 {60, 30, 0, 10, 0}, {60, 31, 0, 10, 0}, {60, 32, 0, 10, 0}, {60, 33, 0, 10, 0},
1834 {60, 34, 0, 10, 0}, {60, 35, 0, 10, 0}, {60, 36, 0, 10, 0}, {60, 37, 0, 10, 0},
1835 {60, 38, 0, 10, 0}, {61, 20, 1, 10, 0}, {61, 21, 0, 10, 0}, {61, 22, 0, 10, 0},
1836 {61, 23, 0, 10, 0}, {61, 24, 0, 10, 0}, {61, 25, 0, 10, 0}, {61, 26, 0, 10, 0},
1837 {61, 27, 0, 10, 0}, {61, 28, 0, 10, 0}, {61, 29, 0, 10, 0}, {61, 30, 0, 10, 0},
1838 {61, 31, 0, 10, 0}, {61, 32, 0, 10, 0}, {61, 33, 0, 10, 0}, {61, 34, 0, 10, 0},
1839 {61, 35, 0, 10, 0}, {61, 36, 0, 10, 0}, {61, 37, 0, 10, 0}, {61, 38, 0, 10, 0},
1840 {62, 20, 0, 10, 0}, {62, 21, 0, 10, 0}, {62, 22, 0, 10, 0}, {62, 23, 0, 10, 0},
1841 {62, 24, 0, 10, 0}, {62, 25, 0, 10, 0}, {62, 26, 0, 10, 0}, {62, 27, 0, 10, 0},
1842 {62, 28, 0, 10, 0}, {62, 29, 0, 10, 0}, {62, 30, 0, 10, 0}, {62, 31, 0, 10, 0},
1843 {62, 32, 0, 10, 0}, {62, 33, 0, 10, 0}, {62, 34, 0, 10, 0}, {62, 35, 0, 10, 0},
1844 {62, 36, 0, 10, 0}, {62, 37, 0, 10, 0}, {62, 38, 0, 10, 0}, {63, 20, 0, 10, 0},
1845 {63, 21, 0, 10, 0}, {63, 22, 0, 10, 0}, {63, 23, 0, 10, 0}, {63, 24, 0, 10, 0},
1846 {63, 25, 0, 10, 0}, {63, 26, 0, 10, 0}, {63, 27, 0, 10, 0}, {63, 28, 0, 10, 0},
1847 {63, 29, 0, 10, 0}, {63, 30, 0, 10, 0}, {63, 31, 0, 10, 0}, {63, 32, 0, 10, 0},
1848 {63, 33, 0, 10, 0}, {63, 34, 0, 10, 0}, {63, 35, 0, 10, 0}, {63, 36, 0, 10, 0},
1849 {63, 37, 0, 10, 0}, {63, 38, 0, 10, 0}, {64, 20, 1, 10, 0}, {64, 21, 0, 10, 0},
1850 {64, 22, 0, 10, 0}, {64, 23, 0, 10, 0}, {64, 24, 0, 10, 0}, {64, 25, 0, 10, 0},
1851 {64, 26, 0, 10, 0}, {64, 27, 0, 10, 0}, {64, 28, 0, 10, 0}, {64, 29, 0, 10, 0},
1852 {64, 30, 0, 10, 0}, {64, 31, 0, 10, 0}, {64, 32, 0, 10, 0}, {64, 33, 0, 10, 0},
1853 {64, 34, 0, 10, 0}, {64, 35, 0, 10, 0}, {64, 36, 0, 10, 0}, {64, 37, 0, 10, 0},
1854 {64, 38, 0, 10, 0}, {65, 20, 0, 10, 0}, {65, 21, 0, 10, 0}, {65, 22, 0, 10, 0},
1855 {65, 23, 0, 10, 0}, {65, 24, 0, 10, 0}, {65, 25, 0, 10, 0}, {65, 26, 0, 10, 0},
1856 {65, 27, 0, 10, 0}, {65, 28, 0, 10, 0}, {65, 29, 0, 10, 0}, {65, 30, 0, 10, 0},
1857 {65, 31, 0, 10, 0}, {65, 32, 0, 10, 0}, {65, 33, 0, 10, 0}, {65, 34, 0, 10, 0},
1858 {65, 35, 0, 10, 0}, {65, 36, 0, 10, 0}, {65, 37, 0, 10, 0}, {65, 38, 0, 10, 0},
1859 {66, 20, 0, 10, 0}, {66, 21, 0, 10, 0}, {66, 22, 0, 10, 0}, {66, 23, 0, 10, 0},
1860 {66, 24, 0, 10, 0}, {66, 25, 0, 10, 0}, {66, 26, 0, 10, 0}, {66, 27, 0, 10, 0},
1861 {66, 28, 0, 10, 0}, {66, 29, 0, 10, 0}, {66, 30, 0, 10, 0}, {66, 31, 0, 10, 0},
1862 {66, 32, 0, 10, 0}, {66, 33, 0, 10, 0}, {66, 34, 0, 10, 0}, {66, 35, 0, 10, 0},
1863 {66, 36, 0, 10, 0}, {66, 37, 0, 10, 0}, {66, 38, 0, 10, 0}, {67, 20, 0, 10, 0},
1864 {67, 21, 0, 10, 0}, {67, 22, 0, 10, 0}, {67, 23, 0, 10, 0}, {67, 24, 0, 10, 0},
1865 {67, 25, 0, 10, 0}, {67, 26, 0, 10, 0}, {67, 27, 0, 10, 0}, {67, 28, 0, 10, 0},
1866 {67, 29, 0, 10, 0}, {67, 30, 0, 10, 0}, {67, 31, 0, 10, 0}, {67, 32, 0, 10, 0},
1867 {67, 33, 0, 10, 0}, {67, 34, 0, 10, 0}, {67, 35, 0, 10, 0}, {67, 36, 0, 10, 0},
1868 {67, 37, 0, 10, 0}, {67, 38, 0, 10, 0}, {68, 20, 0, 10, 0}, {68, 21, 0, 10, 0},
1869 {68, 22, 0, 10, 0}, {68, 23, 0, 10, 0}, {68, 24, 0, 10, 0}, {68, 25, 0, 10, 0},
1870 {68, 26, 0, 10, 0}, {68, 27, 0, 10, 0}, {68, 28, 0, 10, 0}, {68, 29, 0, 10, 0},
1871 {68, 30, 0, 10, 0}, {68, 31, 0, 10, 0}, {68, 32, 0, 10, 0}, {68, 33, 0, 10, 0},
1872 {68, 34, 0, 10, 0}, {68, 35, 0, 10, 0}, {68, 36, 0, 10, 0}, {68, 37, 0, 10, 0},
1873 {68, 38, 0, 10, 0}, {69, 20, 0, 10, 0}, {69, 21, 0, 10, 0}, {69, 22, 0, 10, 0},
1874 {69, 23, 0, 10, 0}, {69, 24, 0, 10, 0}, {69, 25, 0, 10, 0}, {69, 26, 0, 10, 0},
1875 {69, 27, 0, 10, 0}, {69, 28, 0, 10, 0}, {69, 29, 0, 10, 0}, {69, 30, 0, 10, 0},
1876 {69, 31, 0, 10, 0}, {69, 32, 0, 10, 0}, {69, 33, 0, 10, 0}, {69, 34, 0, 10, 0},
1877 {69, 35, 0, 10, 0}, {69, 36, 0, 10, 0}, {69, 37, 0, 10, 0}, {69, 38, 0, 10, 0},
1878 {70, 20, 0, 10, 0}, {70, 21, 0, 10, 0}, {70, 22, 0, 10, 0}, {70, 23, 0, 10, 0},
1879 {70, 24, 0, 10, 0}, {70, 25, 0, 10, 0}, {70, 26, 0, 10, 0}, {70, 27, 0, 10, 0},
1880 {70, 28, 0, 10, 0}, {70, 29, 0, 10, 0}, {70, 30, 0, 10, 0}, {70, 31, 0, 10, 0},
1881 {70, 32, 0, 10, 0}, {70, 33, 0, 10, 0}, {70, 34, 0, 10, 0}, {70, 35, 0, 10, 0},
1882 {70, 36, 0, 10, 0}, {70, 37, 0, 10, 0}, {70, 38, 0, 10, 0}, {71, 20, 0, 10, 0},
1883 {71, 21, 0, 10, 0}, {71, 22, 0, 10, 0}, {71, 23, 0, 10, 0}, {71, 24, 0, 10, 0},
1884 {71, 25, 0, 10, 0}, {71, 26, 0, 10, 0}, {71, 27, 0, 10, 0}, {71, 28, 0, 10, 0},
1885 {71, 29, 0, 10, 0}, {71, 30, 0, 10, 0}, {71, 31, 0, 10, 0}, {71, 32, 0, 10, 0},
1886 {71, 33, 0, 10, 0}, {71, 34, 0, 10, 0}, {71, 35, 0, 10, 0}, {71, 36, 0, 10, 0},
1887 {71, 37, 0, 10, 0}, {71, 38, 0, 10, 0}, {72, 20, 0, 10, 0}, {72, 21, 0, 10, 0},
1888 {72, 22, 0, 10, 0}, {72, 23, 0, 10, 0}, {72, 24, 0, 10, 0}, {72, 25, 0, 10, 0},
1889 {72, 26, 0, 10, 0}, {72, 27, 0, 10, 0}, {72, 28, 0, 10, 0}, {72, 29, 0, 10, 0},
1890 {72, 30, 0, 10, 0}, {72, 31, 0, 10, 0}, {72, 32, 0, 10, 0}, {72, 33, 0, 10, 0},
1891 {72, 34, 0, 10, 0}, {72, 35, 0, 10, 0}, {72, 36, 0, 10, 0}, {72, 37, 0, 10, 0},
1892 {72, 38, 0, 10, 0}, {73, 20, 0, 10, 0}, {73, 21, 0, 10, 0}, {73, 22, 0, 10, 0},
1893 {73, 23, 0, 10, 0}, {73, 24, 0, 10, 0}, {73, 25, 0, 10, 0}, {73, 26, 0, 10, 0},
1894 {73, 27, 0, 10, 0}, {73, 28, 0, 10, 0}, {73, 29, 0, 10, 0}, {73, 30, 0, 10, 0},
1895 {73, 31, 0, 10, 0}, {73, 32, 0, 10, 0}, {73, 33, 0, 10, 0}, {73, 34, 0, 10, 0},
1896 {73, 35, 0, 10, 0}, {73, 36, 0, 10, 0}, {73, 37, 0, 10, 0}, {73, 38, 0, 10, 0},
1897 {74, 20, 0, 10, 0}, {74, 21, 0, 10, 0}, {74, 22, 0, 10, 0}, {74, 23, 0, 10, 0},
1898 {74, 24, 0, 10, 0}, {74, 25, 0, 10, 0}, {74, 26, 0, 10, 0}, {74, 27, 0, 10, 0},
1899 {74, 28, 0, 10, 0}, {74, 29, 0, 10, 0}, {74, 30, 0, 10, 0}, {74, 31, 0, 10, 0},
1900 {74, 32, 0, 10, 0}, {74, 33, 0, 10, 0}, {74, 34, 0, 10, 0}, {74, 35, 0, 10, 0},
1901 {74, 36, 0, 10, 0}, {74, 37, 0, 10, 0}, {74, 38, 0, 10, 0}, {75, 20, 0, 10, 0},
1902 {75, 21, 0, 10, 0}, {75, 22, 0, 10, 0}, {75, 23, 0, 10, 0}, {75, 24, 0, 10, 0},
1903 {75, 25, 0, 10, 0}, {75, 26, 0, 10, 0}, {75, 27, 0, 10, 0}, {75, 28, 0, 10, 0},
1904 {75, 29, 0, 10, 0}, {75, 30, 0, 10, 0}, {75, 31, 0, 10, 0}, {75, 32, 0, 10, 0},
1905 {75, 33, 0, 10, 0}, {75, 34, 0, 10, 0}, {75, 35, 0, 10, 0}, {75, 36, 0, 10, 0},
1906 {75, 37, 0, 10, 0}, {75, 38, 0, 10, 0}, {76, 20, 0, 10, 0}, {76, 21, 0, 10, 0},
1907 {76, 22, 0, 10, 0}, {76, 23, 0, 10, 0}, {76, 24, 0, 10, 0}, {76, 25, 0, 10, 0},
1908 {76, 26, 0, 10, 0}, {76, 27, 0, 10, 0}, {76, 28, 0, 10, 0}, {76, 29, 0, 10, 0},
1909 {76, 30, 0, 10, 0}, {76, 31, 0, 10, 0}, {76, 32, 0, 10, 0}, {76, 33, 0, 10, 0},
1910 {76, 34, 0, 10, 0}, {76, 35, 0, 10, 0}, {76, 36, 0, 10, 0}, {76, 37, 0, 10, 0},
1911 {76, 38, 0, 10, 0}, {77, 20, 1, 10, 0}, {77, 21, 0, 10, 0}, {77, 22, 0, 10, 0},
1912 {77, 23, 0, 10, 0}, {77, 24, 0, 10, 0}, {77, 25, 0, 10, 0}, {77, 26, 0, 10, 0},
1913 {77, 27, 0, 10, 0}, {77, 28, 0, 10, 0}, {77, 29, 0, 10, 0}, {77, 30, 0, 10, 0},
1914 {77, 31, 0, 10, 0}, {77, 32, 0, 10, 0}, {77, 33, 0, 10, 0}, {77, 34, 0, 10, 0},
1915 {77, 35, 0, 10, 0}, {77, 36, 0, 10, 0}, {77, 37, 0, 10, 0}, {77, 38, 0, 10, 0},
1916 {78, 20, 0, 10, 0}, {78, 21, 0, 10, 0}, {78, 22, 0, 10, 0}, {78, 23, 0, 10, 0},
1917 {78, 24, 0, 10, 0}, {78, 25, 0, 10, 0}, {78, 26, 0, 10, 0}, {78, 27, 0, 10, 0},
1918 {78, 28, 0, 10, 0}, {78, 29, 0, 10, 0}, {78, 30, 0, 10, 0}, {78, 31, 0, 10, 0},
1919 {78, 32, 0, 10, 0}, {78, 33, 0, 10, 0}, {78, 34, 0, 10, 0}, {78, 35, 0, 10, 0},
1920 {78, 36, 0, 10, 0}, {78, 37, 0, 10, 0}, {78, 38, 0, 10, 0}, {79, 20, 0, 10, 0},
1921 {79, 21, 0, 10, 0}, {79, 22, 0, 10, 0}, {79, 23, 0, 10, 0}, {79, 24, 0, 10, 0},
1922 {79, 25, 0, 10, 0}, {79, 26, 0, 10, 0}, {79, 27, 0, 10, 0}, {79, 28, 0, 10, 0},
1923 {79, 29, 0, 10, 0}, {79, 30, 0, 10, 0}, {79, 31, 0, 10, 0}, {79, 32, 0, 10, 0},
1924 {79, 33, 0, 10, 0}, {79, 34, 0, 10, 0}, {79, 35, 0, 10, 0}, {79, 36, 0, 10, 0},
1925 {79, 37, 0, 10, 0}, {79, 38, 0, 10, 0}, {80, 20, 0, 10, 0}, {80, 21, 0, 10, 0},
1926 {80, 22, 0, 10, 0}, {80, 23, 0, 10, 0}, {80, 24, 0, 10, 0}, {80, 25, 0, 10, 0},
1927 {80, 26, 0, 10, 0}, {80, 27, 0, 10, 0}, {80, 28, 0, 10, 0}, {80, 29, 0, 10, 0},
1928 {80, 30, 0, 10, 0}, {80, 31, 0, 10, 0}, {80, 32, 0, 10, 0}, {80, 33, 0, 10, 0},
1929 {80, 34, 0, 10, 0}, {80, 35, 0, 10, 0}, {80, 36, 0, 10, 0}, {80, 37, 0, 10, 0},
1930 {80, 38, 0, 10, 0}, {81, 20, 1, 10, 0}, {81, 21, 0, 10, 0}, {81, 22, 0, 10, 0},
1931 {81, 23, 0, 10, 0}, {81, 24, 0, 10, 0}, {81, 25, 0, 10, 0}, {81, 26, 0, 10, 0},
1932 {81, 27, 0, 10, 0}, {81, 28, 0, 10, 0}, {81, 29, 0, 10, 0}, {81, 30, 0, 10, 0},
1933 {81, 31, 0, 10, 0}, {81, 32, 0, 10, 0}, {81, 33, 0, 10, 0}, {81, 34, 0, 10, 0},
1934 {81, 35, 0, 10, 0}, {81, 36, 0, 10, 0}, {81, 37, 0, 10, 0}, {81, 38, 0, 10, 0},
1935 {82, 20, 0, 10, 0}, {82, 21, 0, 10, 0}, {82, 22, 0, 10, 0}, {82, 23, 0, 10, 0},
1936 {82, 24, 0, 10, 0}, {82, 25, 0, 10, 0}, {82, 26, 0, 10, 0}, {82, 27, 0, 10, 0},
1937 {82, 28, 0, 10, 0}, {82, 29, 0, 10, 0}, {82, 30, 0, 10, 0}, {82, 31, 0, 10, 0},
1938 {82, 32, 0, 10, 0}, {82, 33, 0, 10, 0}, {82, 34, 0, 10, 0}, {82, 35, 0, 10, 0},
1939 {82, 36, 0, 10, 0}, {82, 37, 0, 10, 0}, {82, 38, 0, 10, 0}, {83, 20, 0, 10, 0},
1940 {83, 21, 0, 10, 0}, {83, 22, 0, 10, 0}, {83, 23, 0, 10, 0}, {83, 24, 0, 10, 0},
1941 {83, 25, 0, 10, 0}, {83, 26, 0, 10, 0}, {83, 27, 0, 10, 0}, {83, 28, 0, 10, 0},
1942 {83, 29, 0, 10, 0}, {83, 30, 0, 10, 0}, {83, 31, 0, 10, 0}, {83, 32, 0, 10, 0},
1943 {83, 33, 0, 10, 0}, {83, 34, 0, 10, 0}, {83, 35, 0, 10, 0}, {83, 36, 0, 10, 0},
1944 {83, 37, 0, 10, 0}, {83, 38, 0, 10, 0}, {84, 20, 1, 10, 0}, {84, 21, 0, 10, 0},
1945 {84, 22, 0, 10, 0}, {84, 23, 0, 10, 0}, {84, 24, 0, 10, 0}, {84, 25, 0, 10, 0},
1946 {84, 26, 0, 10, 0}, {84, 27, 0, 10, 0}, {84, 28, 0, 10, 0}, {84, 29, 0, 10, 0},
1947 {84, 30, 0, 10, 0}, {84, 31, 0, 10, 0}, {84, 32, 0, 10, 0}, {84, 33, 0, 10, 0},
1948 {84, 34, 0, 10, 0}, {84, 35, 0, 10, 0}, {84, 36, 0, 10, 0}, {84, 37, 0, 10, 0},
1949 {84, 38, 0, 10, 0}, {85, 20, 0, 10, 0}, {85, 21, 0, 10, 0}, {85, 22, 0, 10, 0},
1950 {85, 23, 0, 10, 0}, {85, 24, 0, 10, 0}, {85, 25, 0, 10, 0}, {85, 26, 0, 10, 0},
1951 {85, 27, 0, 10, 0}, {85, 28, 0, 10, 0}, {85, 29, 0, 10, 0}, {85, 30, 0, 10, 0},
1952 {85, 31, 0, 10, 0}, {85, 32, 0, 10, 0}, {85, 33, 0, 10, 0}, {85, 34, 0, 10, 0},
1953 {85, 35, 0, 10, 0}, {85, 36, 0, 10, 0}, {85, 37, 0, 10, 0}, {85, 38, 0, 10, 0},
1954 {86, 20, 0, 10, 0}, {86, 21, 0, 10, 0}, {86, 22, 0, 10, 0}, {86, 23, 0, 10, 0},
1955 {86, 24, 0, 10, 0}, {86, 25, 0, 10, 0}, {86, 26, 0, 10, 0}, {86, 27, 0, 10, 0},
1956 {86, 28, 0, 10, 0}, {86, 29, 0, 10, 0}, {86, 30, 0, 10, 0}, {86, 31, 0, 10, 0},
1957 {86, 32, 0, 10, 0}, {86, 33, 0, 10, 0}, {86, 34, 0, 10, 0}, {86, 35, 0, 10, 0},
1958 {86, 36, 0, 10, 0}, {86, 37, 0, 10, 0}, {86, 38, 0, 10, 0}, {87, 20, 0, 10, 0},
1959 {87, 21, 0, 10, 0}, {87, 22, 0, 10, 0}, {87, 23, 0, 10, 0}, {87, 24, 0, 10, 0},
1960 {87, 25, 0, 10, 0}, {87, 26, 0, 10, 0}, {87, 27, 0, 10, 0}, {87, 28, 0, 10, 0},
1961 {87, 29, 0, 10, 0}, {87, 30, 0, 10, 0}, {87, 31, 0, 10, 0}, {87, 32, 0, 10, 0},
1962 {87, 33, 0, 10, 0}, {87, 34, 0, 10, 0}, {87, 35, 0, 10, 0}, {87, 36, 0, 10, 0},
1963 {87, 37, 0, 10, 0}, {87, 38, 0, 10, 0}, {88, 20, 0, 10, 0}, {88, 21, 0, 10, 0},
1964 {88, 22, 0, 10, 0}, {88, 23, 0, 10, 0}, {88, 24, 0, 10, 0}, {88, 25, 0, 10, 0},
1965 {88, 26, 0, 10, 0}, {88, 27, 0, 10, 0}, {88, 28, 0, 10, 0}, {88, 29, 0, 10, 0},
1966 {88, 30, 0, 10, 0}, {88, 31, 0, 10, 0}, {88, 32, 0, 10, 0}, {88, 33, 0, 10, 0},
1967 {88, 34, 0, 10, 0}, {88, 35, 0, 10, 0}, {88, 36, 0, 10, 0}, {88, 37, 0, 10, 0},
1968 {88, 38, 0, 10, 0}, {89, 20, 0, 10, 0}, {89, 21, 0, 10, 0}, {89, 22, 0, 10, 0},
1969 {89, 23, 0, 10, 0}, {89, 24, 0, 10, 0}, {89, 25, 0, 10, 0}, {89, 26, 0, 10, 0},
1970 {89, 27, 0, 10, 0}, {89, 28, 0, 10, 0}, {89, 29, 0, 10, 0}, {89, 30, 0, 10, 0},
1971 {89, 31, 0, 10, 0}, {89, 32, 0, 10, 0}, {89, 33, 0, 10, 0}, {89, 34, 0, 10, 0},
1972 {89, 35, 0, 10, 0}, {89, 36, 0, 10, 0}, {89, 37, 0, 10, 0}, {89, 38, 0, 10, 0},
1973 {90, 20, 0, 10, 0}, {90, 21, 0, 10, 0}, {90, 22, 0, 10, 0}, {90, 23, 0, 10, 0},
1974 {90, 24, 0, 10, 0}, {90, 25, 0, 10, 0}, {90, 26, 0, 10, 0}, {90, 27, 0, 10, 0},
1975 {90, 28, 0, 10, 0}, {90, 29, 0, 10, 0}, {90, 30, 0, 10, 0}, {90, 31, 0, 10, 0},
1976 {90, 32, 0, 10, 0}, {90, 33, 0, 10, 0}, {90, 34, 0, 10, 0}, {90, 35, 0, 10, 0},
1977 {90, 36, 0, 10, 0}, {90, 37, 0, 10, 0}, {90, 38, 0, 10, 0}, {91, 20, 0, 10, 0},
1978 {91, 21, 0, 10, 0}, {91, 22, 0, 10, 0}, {91, 23, 0, 10, 0}, {91, 24, 0, 10, 0},
1979 {91, 25, 0, 10, 0}, {91, 26, 0, 10, 0}, {91, 27, 0, 10, 0}, {91, 28, 0, 10, 0},
1980 {91, 29, 0, 10, 0}, {91, 30, 0, 10, 0}, {91, 31, 0, 10, 0}, {91, 32, 0, 10, 0},
1981 {91, 33, 0, 10, 0}, {91, 34, 0, 10, 0}, {91, 35, 0, 10, 0}, {91, 36, 0, 10, 0},
1982 {91, 37, 0, 10, 0}, {91, 38, 0, 10, 0}, {92, 20, 1, 10, 0}, {92, 21, 0, 10, 0},
1983 {92, 22, 0, 10, 0}, {92, 23, 0, 10, 0}, {92, 24, 0, 10, 0}, {92, 25, 0, 10, 0},
1984 {92, 26, 0, 10, 0}, {92, 27, 0, 10, 0}, {92, 28, 0, 10, 0}, {92, 29, 0, 10, 0},
1985 {92, 30, 0, 10, 0}, {92, 31, 0, 10, 0}, {92, 32, 0, 10, 0}, {92, 33, 0, 10, 0},
1986 {92, 34, 0, 10, 0}, {92, 35, 0, 10, 0}, {92, 36, 0, 10, 0}, {92, 37, 0, 10, 0},
1987 {92, 38, 0, 10, 0}, {93, 20, 0, 10, 0}, {93, 21, 0, 10, 0}, {93, 22, 0, 10, 0},
1988 {93, 23, 0, 10, 0}, {93, 24, 0, 10, 0}, {93, 25, 0, 10, 0}, {93, 26, 0, 10, 0},
1989 {93, 27, 0, 10, 0}, {93, 28, 0, 10, 0}, {93, 29, 0, 10, 0}, {93, 30, 0, 10, 0},
1990 {93, 31, 0, 10, 0}, {93, 32, 0, 10, 0}, {93, 33, 0, 10, 0}, {93, 34, 0, 10, 0},
1991 {93, 35, 0, 10, 0}, {93, 36, 0, 10, 0}, {93, 37, 0, 10, 0}, {93, 38, 0, 10, 0},
1992 {94, 20, 0, 10, 0}, {94, 21, 0, 10, 0}, {94, 22, 0, 10, 0}, {94, 23, 0, 10, 0},
1993 {94, 24, 0, 10, 0}, {94, 25, 0, 10, 0}, {94, 26, 0, 10, 0}, {94, 27, 0, 10, 0},
1994 {94, 28, 0, 10, 0}, {94, 29, 0, 10, 0}, {94, 30, 0, 10, 0}, {94, 31, 0, 10, 0},
1995 {94, 32, 0, 10, 0}, {94, 33, 0, 10, 0}, {94, 34, 0, 10, 0}, {94, 35, 0, 10, 0},
1996 {94, 36, 0, 10, 0}, {94, 37, 0, 10, 0}, {94, 38, 0, 10, 0}, {95, 20, 0, 10, 0},
1997 {95, 21, 0, 10, 0}, {95, 22, 0, 10, 0}, {95, 23, 0, 10, 0}, {95, 24, 0, 10, 0},
1998 {95, 25, 0, 10, 0}, {95, 26, 0, 10, 0}, {95, 27, 0, 10, 0}, {95, 28, 0, 10, 0},
1999 {95, 29, 0, 10, 0}, {95, 30, 0, 10, 0}, {95, 31, 0, 10, 0}, {95, 32, 0, 10, 0},
2000 {95, 33, 0, 10, 0}, {95, 34, 0, 10, 0}, {95, 35, 0, 10, 0}, {95, 36, 0, 10, 0},
2001 {95, 37, 0, 10, 0}, {95, 38, 0, 10, 0}, {96, 20, 0, 10, 0}, {96, 21, 0, 10, 0},
2002 {96, 22, 0, 10, 0}, {96, 23, 0, 10, 0}, {96, 24, 0, 10, 0}, {96, 25, 0, 10, 0},
2003 {96, 26, 0, 10, 0}, {96, 27, 0, 10, 0}, {96, 28, 0, 10, 0}, {96, 29, 0, 10, 0},
2004 {96, 30, 0, 10, 0}, {96, 31, 0, 10, 0}, {96, 32, 0, 10, 0}, {96, 33, 0, 10, 0},
2005 {96, 34, 0, 10, 0}, {96, 35, 0, 10, 0}, {96, 36, 0, 10, 0}, {96, 37, 0, 10, 0},
2006 {96, 38, 0, 10, 0}, {97, 20, 0, 10, 0}, {97, 21, 0, 10, 0}, {97, 22, 0, 10, 0},
2007 {97, 23, 0, 10, 0}, {97, 24, 0, 10, 0}, {97, 25, 0, 10, 0}, {97, 26, 0, 10, 0},
2008 {97, 27, 0, 10, 0}, {97, 28, 0, 10, 0}, {97, 29, 0, 10, 0}, {97, 30, 0, 10, 0},
2009 {97, 31, 0, 10, 0}, {97, 32, 0, 10, 0}, {97, 33, 0, 10, 0}, {97, 34, 0, 10, 0},
2010 {97, 35, 0, 10, 0}, {97, 36, 0, 10, 0}, {97, 37, 0, 10, 0}, {97, 38, 0, 10, 0},
2011 {98, 20, 0, 10, 0}, {98, 21, 0, 10, 0}, {98, 22, 0, 10, 0}, {98, 23, 0, 10, 0},
2012 {98, 24, 0, 10, 0}, {98, 25, 0, 10, 0}, {98, 26, 0, 10, 0}, {98, 27, 0, 10, 0},
2013 {98, 28, 0, 10, 0}, {98, 29, 0, 10, 0}, {98, 30, 0, 10, 0}, {98, 31, 0, 10, 0},
2014 {98, 32, 0, 10, 0}, {98, 33, 0, 10, 0}, {98, 34, 0, 10, 0}, {98, 35, 0, 10, 0},
2015 {98, 36, 0, 10, 0}, {98, 37, 0, 10, 0}, {98, 38, 0, 10, 0}, {99, 20, 0, 10, 0},
2016 {99, 21, 0, 10, 0}, {99, 22, 0, 10, 0}, {99, 23, 0, 10, 0}, {99, 24, 0, 10, 0},
2017 {99, 25, 0, 10, 0}, {99, 26, 0, 10, 0}, {99, 27, 0, 10, 0}, {99, 28, 0, 10, 0},
2018 {99, 29, 0, 10, 0}, {99, 30, 0, 10, 0}, {99, 31, 0, 10, 0}, {99, 32, 0, 10, 0},
2019 {99, 33, 0, 10, 0}, {99, 34, 0, 10, 0}, {99, 35, 0, 10, 0}, {99, 36, 0, 10, 0},
2020 {99, 37, 0, 10, 0}, {99, 38, 0, 10, 0}, {100, 20, 0, 10, 0}, {100, 21, 0, 10, 0},
2021 {100, 22, 0, 10, 0}, {100, 23, 0, 10, 0}, {100, 24, 0, 10, 0}, {100, 25, 0, 10, 0},
2022 {100, 26, 0, 10, 0}, {100, 27, 0, 10, 0}, {100, 28, 0, 10, 0}, {100, 29, 0, 10, 0},
2023 {100, 30, 0, 10, 0}, {100, 31, 0, 10, 0}, {100, 32, 0, 10, 0}, {100, 33, 0, 10, 0},
2024 {100, 34, 0, 10, 0}, {100, 35, 0, 10, 0}, {100, 36, 0, 10, 0}, {100, 37, 0, 10, 0},
2025 {100, 38, 0, 10, 0}, {101, 20, 0, 10, 0}, {101, 21, 0, 10, 0}, {101, 22, 0, 10, 0},
2026 {101, 23, 0, 10, 0}, {101, 24, 0, 10, 0}, {101, 25, 0, 10, 0}, {101, 26, 0, 10, 0},
2027 {101, 27, 0, 10, 0}, {101, 28, 0, 10, 0}, {101, 29, 0, 10, 0}, {101, 30, 0, 10, 0},
2028 {101, 31, 0, 10, 0}, {101, 32, 0, 10, 0}, {101, 33, 0, 10, 0}, {101, 34, 0, 10, 0},
2029 {101, 35, 0, 10, 0}, {101, 36, 0, 10, 0}, {101, 37, 0, 10, 0}, {101, 38, 0, 10, 0},
2030 {102, 20, 0, 10, 0}, {102, 21, 0, 10, 0}, {102, 22, 0, 10, 0}, {102, 23, 0, 10, 0},
2031 {102, 24, 0, 10, 0}, {102, 25, 0, 10, 0}, {102, 26, 0, 10, 0}, {102, 27, 0, 10, 0},
2032 {102, 28, 0, 10, 0}, {102, 29, 0, 10, 0}, {102, 30, 0, 10, 0}, {102, 31, 0, 10, 0},
2033 {102, 32, 0, 10, 0}, {102, 33, 0, 10, 0}, {102, 34, 0, 10, 0}, {102, 35, 0, 10, 0},
2034 {102, 36, 0, 10, 0}, {102, 37, 0, 10, 0}, {102, 38, 0, 10, 0}, {103, 20, 0, 10, 0},
2035 {103, 21, 0, 10, 0}, {103, 22, 0, 10, 0}, {103, 23, 0, 10, 0}, {103, 24, 0, 10, 0},
2036 {103, 25, 0, 10, 0}, {103, 26, 0, 10, 0}, {103, 27, 0, 10, 0}, {103, 28, 0, 10, 0},
2037 {103, 29, 0, 10, 0}, {103, 30, 0, 10, 0}, {103, 31, 0, 10, 0}, {103, 32, 0, 10, 0},
2038 {103, 33, 0, 10, 0}, {103, 34, 0, 10, 0}, {103, 35, 0, 10, 0}, {103, 36, 0, 10, 0},
2039 {103, 37, 0, 10, 0}, {103, 38, 0, 10, 0}, {104, 20, 0, 10, 0}, {104, 21, 0, 10, 0},
2040 {104, 22, 0, 10, 0}, {104, 23, 0, 10, 0}, {104, 24, 0, 10, 0}, {104, 25, 0, 10, 0},
2041 {104, 26, 0, 10, 0}, {104, 27, 0, 10, 0}, {104, 28, 0, 10, 0}, {104, 29, 0, 10, 0},
2042 {104, 30, 0, 10, 0}, {104, 31, 0, 10, 0}, {104, 32, 0, 10, 0}, {104, 33, 0, 10, 0},
2043 {104, 34, 0, 10, 0}, {104, 35, 0, 10, 0}, {104, 36, 0, 10, 0}, {104, 37, 0, 10, 0},
2044 {104, 38, 0, 10, 0}, {53, 50, 0, 10, 0}, {53, 51, 0, 10, 0}, {53, 52, 0, 10, 0},
2045 {53, 53, 0, 10, 0}, {53, 54, 0, 10, 0}, {53, 55, 0, 10, 0}, {53, 56, 0, 10, 0},
2046 {53, 57, 0, 10, 0}, {53, 58, 0, 10, 0}, {53, 59, 0, 10, 0}, {53, 60, 0, 10, 0},
2047 {53, 61, 0, 10, 0}, {53, 62, 0, 10, 0}, {53, 63, 0, 10, 0}, {53, 64, 0, 10, 0},
2048 {53, 65, 0, 10, 0}, {53, 66, 0, 10, 0}, {53, 67, 0, 10, 0}, {53, 68, 0, 10, 0},
2049 {53, 80, 0, 10, 0}, {53, 81, 0, 10, 0}, {53, 82, 0, 10, 0}, {53, 83, 0, 10, 0},
2050 {53, 84, 0, 10, 0}, {53, 85, 0, 10, 0}, {53, 86, 0, 10, 0}, {53, 87, 0, 10, 0},
2051 {53, 88, 0, 10, 0}, {53, 89, 0, 10, 0}, {53, 90, 0, 10, 0}, {53, 91, 0, 10, 0},
2052 {53, 92, 0, 10, 0}, {53, 93, 0, 10, 0}, {53, 94, 0, 10, 0}, {53, 95, 0, 10, 0},
2053 {53, 96, 0, 10, 0}, {53, 97, 0, 10, 0}, {53, 98, 0, 10, 0}, {107, 20, 0, 10, 0},
2054 {107, 21, 0, 10, 0}, {107, 22, 0, 10, 0}, {107, 23, 0, 10, 0}, {107, 24, 0, 10, 0},
2055 {107, 25, 0, 10, 0}, {107, 26, 0, 10, 0}, {107, 27, 0, 10, 0}, {107, 28, 0, 10, 0},
2056 {107, 29, 0, 10, 0}, {107, 30, 0, 10, 0}, {107, 31, 0, 10, 0}, {107, 32, 0, 10, 0},
2057 {107, 33, 0, 10, 0}, {107, 34, 0, 10, 0}, {107, 35, 0, 10, 0}, {107, 36, 0, 10, 0},
2058 {107, 37, 0, 10, 0}, {107, 38, 0, 10, 0}, {108, 20, 0, 10, 0}, {108, 21, 0, 10, 0},
2059 {108, 22, 0, 10, 0}, {108, 23, 0, 10, 0}, {108, 24, 0, 10, 0}, {108, 25, 0, 10, 0},
2060 {108, 26, 0, 10, 0}, {108, 27, 0, 10, 0}, {108, 28, 0, 10, 0}, {108, 29, 0, 10, 0},
2061 {108, 30, 0, 10, 0}, {108, 31, 0, 10, 0}, {108, 32, 0, 10, 0}, {108, 33, 0, 10, 0},
2062 {108, 34, 0, 10, 0}, {108, 35, 0, 10, 0}, {108, 36, 0, 10, 0}, {108, 37, 0, 10, 0},
2063 {108, 38, 0, 10, 0}, {109, 20, 0, 10, 0}, {109, 21, 0, 10, 0}, {109, 22, 0, 10, 0},
2064 {109, 23, 0, 10, 0}, {109, 24, 0, 10, 0}, {109, 25, 0, 10, 0}, {109, 26, 0, 10, 0},
2065 {109, 27, 0, 10, 0}, {109, 28, 0, 10, 0}, {109, 29, 0, 10, 0}, {109, 30, 0, 10, 0},
2066 {109, 31, 0, 10, 0}, {109, 32, 0, 10, 0}, {109, 33, 0, 10, 0}, {109, 34, 0, 10, 0},
2067 {109, 35, 0, 10, 0}, {109, 36, 0, 10, 0}, {109, 37, 0, 10, 0}, {109, 38, 0, 10, 0},
2068 {110, 20, 1, 10, 0}, {110, 21, 0, 10, 0}, {110, 22, 0, 10, 0}, {110, 23, 0, 10, 0},
2069 {110, 24, 0, 10, 0}, {110, 25, 0, 10, 0}, {110, 26, 0, 10, 0}, {110, 27, 0, 10, 0},
2070 {110, 28, 0, 10, 0}, {110, 29, 0, 10, 0}, {110, 30, 0, 10, 0}, {110, 31, 0, 10, 0},
2071 {110, 32, 0, 10, 0}, {110, 33, 0, 10, 0}, {110, 34, 0, 10, 0}, {110, 35, 0, 10, 0},
2072 {110, 36, 0, 10, 0}, {110, 37, 0, 10, 0}, {110, 38, 0, 10, 0}, {111, 20, 0, 10, 0},
2073 {111, 21, 0, 10, 0}, {111, 22, 0, 10, 0}, {111, 23, 0, 10, 0}, {111, 24, 0, 10, 0},
2074 {111, 25, 0, 10, 0}, {111, 26, 0, 10, 0}, {111, 27, 0, 10, 0}, {111, 28, 0, 10, 0},
2075 {111, 29, 0, 10, 0}, {111, 30, 0, 10, 0}, {111, 31, 0, 10, 0}, {111, 32, 0, 10, 0},
2076 {111, 33, 0, 10, 0}, {111, 34, 0, 10, 0}, {111, 35, 0, 10, 0}, {111, 36, 0, 10, 0},
2077 {111, 37, 0, 10, 0}, {111, 38, 0, 10, 0}, {112, 20, 0, 10, 0}, {112, 21, 0, 10, 0},
2078 {112, 22, 0, 10, 0}, {112, 23, 0, 10, 0}, {112, 24, 0, 10, 0}, {112, 25, 0, 10, 0},
2079 {112, 26, 0, 10, 0}, {112, 27, 0, 10, 0}, {112, 28, 0, 10, 0}, {112, 29, 0, 10, 0},
2080 {112, 30, 0, 10, 0}, {112, 31, 0, 10, 0}, {112, 32, 0, 10, 0}, {112, 33, 0, 10, 0},
2081 {112, 34, 0, 10, 0}, {112, 35, 0, 10, 0}, {112, 36, 0, 10, 0}, {112, 37, 0, 10, 0},
2082 {112, 38, 0, 10, 0}, {113, 20, 0, 10, 0}, {113, 21, 0, 10, 0}, {113, 22, 0, 10, 0},
2083 {113, 23, 0, 10, 0}, {113, 24, 0, 10, 0}, {113, 25, 0, 10, 0}, {113, 26, 0, 10, 0},
2084 {113, 27, 0, 10, 0}, {113, 28, 0, 10, 0}, {113, 29, 0, 10, 0}, {113, 30, 0, 10, 0},
2085 {113, 31, 0, 10, 0}, {113, 32, 0, 10, 0}, {113, 33, 0, 10, 0}, {113, 34, 0, 10, 0},
2086 {113, 35, 0, 10, 0}, {113, 36, 0, 10, 0}, {113, 37, 0, 10, 0}, {113, 38, 0, 10, 0},
2087 {114, 20, 0, 10, 0}, {114, 21, 0, 10, 0}, {114, 22, 0, 10, 0}, {114, 23, 0, 10, 0},
2088 {114, 24, 0, 10, 0}, {114, 25, 0, 10, 0}, {114, 26, 0, 10, 0}, {114, 27, 0, 10, 0},
2089 {114, 28, 0, 10, 0}, {114, 29, 0, 10, 0}, {114, 30, 0, 10, 0}, {114, 31, 0, 10, 0},
2090 {114, 32, 0, 10, 0}, {114, 33, 0, 10, 0}, {114, 34, 0, 10, 0}, {114, 35, 0, 10, 0},
2091 {114, 36, 0, 10, 0}, {114, 37, 0, 10, 0}, {114, 38, 0, 10, 0}, {115, 20, 1, 10, 0},
2092 {115, 21, 0, 10, 0}, {115, 22, 0, 10, 0}, {115, 23, 0, 10, 0}, {115, 24, 0, 10, 0},
2093 {115, 25, 0, 10, 0}, {115, 26, 0, 10, 0}, {115, 27, 0, 10, 0}, {115, 28, 0, 10, 0},
2094 {115, 29, 0, 10, 0}, {115, 30, 0, 10, 0}, {115, 31, 0, 10, 0}, {115, 32, 0, 10, 0},
2095 {115, 33, 0, 10, 0}, {115, 34, 0, 10, 0}, {115, 35, 0, 10, 0}, {115, 36, 0, 10, 0},
2096 {115, 37, 0, 10, 0}, {115, 38, 0, 10, 0}, {116, 20, 1, 10, 0}, {116, 21, 0, 10, 0},
2097 {116, 22, 0, 10, 0}, {116, 23, 1, 10, 0}, {116, 24, 0, 10, 0}, {116, 25, 0, 10, 0},
2098 {116, 26, 0, 10, 0}, {116, 27, 0, 10, 0}, {116, 28, 0, 10, 0}, {116, 29, 0, 10, 0},
2099 {116, 30, 0, 10, 0}, {116, 31, 0, 10, 0}, {116, 32, 0, 10, 0}, {116, 33, 0, 10, 0},
2100 {116, 34, 0, 10, 0}, {116, 35, 0, 10, 0}, {116, 36, 0, 10, 0}, {116, 37, 0, 10, 0},
2101 {116, 38, 0, 10, 0}, {117, 20, 0, 10, 0}, {117, 21, 0, 10, 0}, {117, 22, 0, 10, 0},
2102 {117, 23, 0, 10, 0}, {117, 24, 0, 10, 0}, {117, 25, 0, 10, 0}, {117, 26, 0, 10, 0},
2103 {117, 27, 0, 10, 0}, {117, 28, 0, 10, 0}, {117, 29, 0, 10, 0}, {117, 30, 0, 10, 0},
2104 {117, 31, 0, 10, 0}, {117, 32, 0, 10, 0}, {117, 33, 0, 10, 0}, {117, 34, 0, 10, 0},
2105 {117, 35, 0, 10, 0}, {117, 36, 0, 10, 0}, {117, 37, 0, 10, 0}, {117, 38, 0, 10, 0},
2106 {118, 20, 0, 10, 0}, {118, 21, 1, 10, 0}, {118, 22, 1, 10, 0}, {118, 23, 0, 10, 0},
2107 {118, 24, 0, 10, 0}, {118, 25, 0, 10, 0}, {118, 26, 0, 10, 0}, {118, 27, 0, 10, 0},
2108 {118, 28, 0, 10, 0}, {118, 29, 0, 10, 0}, {118, 30, 0, 10, 0}, {118, 31, 0, 10, 0},
2109 {118, 32, 0, 10, 0}, {118, 33, 0, 10, 0}, {118, 34, 0, 10, 0}, {118, 35, 0, 10, 0},
2110 {118, 36, 0, 10, 0}, {118, 37, 0, 10, 0}, {118, 38, 0, 10, 0}, {119, 20, 0, 10, 0},
2111 {119, 21, 0, 10, 0}, {119, 22, 0, 10, 0}, {119, 23, 0, 10, 0}, {119, 24, 0, 10, 0},
2112 {119, 25, 0, 10, 0}, {119, 26, 0, 10, 0}, {119, 27, 0, 10, 0}, {119, 28, 0, 10, 0},
2113 {119, 29, 0, 10, 0}, {119, 30, 0, 10, 0}, {119, 31, 0, 10, 0}, {119, 32, 0, 10, 0},
2114 {119, 33, 0, 10, 0}, {119, 34, 0, 10, 0}, {119, 35, 0, 10, 0}, {119, 36, 0, 10, 0},
2115 {119, 37, 1, 10, 0}, {119, 38, 0, 10, 0}, {58, 50, 0, 10, 0}, {58, 51, 0, 10, 0},
2116 {58, 52, 0, 10, 0}, {58, 53, 0, 10, 0}, {58, 54, 0, 10, 0}, {58, 55, 0, 10, 0},
2117 {58, 56, 0, 10, 0}, {58, 57, 0, 10, 0}, {58, 58, 0, 10, 0}, {58, 59, 0, 10, 0},
2118 {58, 60, 0, 10, 0}, {58, 61, 0, 10, 0}, {58, 62, 0, 10, 0}, {58, 63, 0, 10, 0},
2119 {58, 64, 0, 10, 0}, {58, 65, 0, 10, 0}, {58, 66, 0, 10, 0}, {58, 67, 0, 10, 0},
2120 {58, 68, 0, 10, 0}, {63, 50, 0, 10, 0}, {63, 51, 0, 10, 0}, {63, 52, 0, 10, 0},
2121 {63, 53, 0, 10, 0}, {63, 54, 0, 10, 0}, {63, 55, 0, 10, 0}, {63, 56, 0, 10, 0},
2122 {63, 57, 0, 10, 0}, {63, 58, 0, 10, 0}, {63, 59, 0, 10, 0}, {63, 60, 0, 10, 0},
2123 {63, 61, 0, 10, 0}, {63, 62, 0, 10, 0}, {63, 63, 0, 10, 0}, {63, 64, 0, 10, 0},
2124 {63, 65, 0, 10, 0}, {63, 66, 0, 10, 0}, {63, 67, 0, 10, 0}, {63, 68, 0, 10, 0},
2125 {63, 80, 0, 10, 0}, {63, 81, 0, 10, 0}, {63, 82, 0, 10, 0}, {63, 83, 0, 10, 0},
2126 {63, 84, 0, 10, 0}, {63, 85, 0, 10, 0}, {63, 86, 0, 10, 0}, {63, 87, 0, 10, 0},
2127 {63, 88, 0, 10, 0}, {63, 89, 0, 10, 0}, {63, 90, 0, 10, 0}, {63, 91, 0, 10, 0},
2128 {63, 92, 0, 10, 0}, {63, 93, 0, 10, 0}, {63, 94, 0, 10, 0}, {63, 95, 0, 10, 0},
2129 {63, 96, 0, 10, 0}, {63, 97, 0, 10, 0}, {63, 98, 0, 10, 0}, {64, 50, 1, 10, 0},
2130 {64, 51, 0, 10, 0}, {64, 52, 0, 10, 0}, {64, 53, 0, 10, 0}, {64, 54, 0, 10, 0},
2131 {64, 55, 0, 10, 0}, {64, 56, 0, 10, 0}, {64, 57, 0, 10, 0}, {64, 58, 0, 10, 0},
2132 {64, 59, 0, 10, 0}, {64, 60, 0, 10, 0}, {64, 61, 0, 10, 0}, {64, 62, 0, 10, 0},
2133 {64, 63, 0, 10, 0}, {64, 64, 0, 10, 0}, {64, 65, 0, 10, 0}, {64, 66, 0, 10, 0},
2134 {64, 67, 0, 10, 0}, {64, 68, 0, 10, 0}, {72, 50, 0, 10, 0}, {72, 51, 0, 10, 0},
2135 {72, 52, 0, 10, 0}, {72, 53, 0, 10, 0}, {72, 54, 0, 10, 0}, {72, 55, 0, 10, 0},
2136 {72, 56, 0, 10, 0}, {72, 57, 0, 10, 0}, {72, 58, 0, 10, 0}, {72, 59, 0, 10, 0},
2137 {72, 60, 0, 10, 0}, {72, 61, 0, 10, 0}, {72, 62, 0, 10, 0}, {72, 63, 0, 10, 0},
2138 {72, 64, 0, 10, 0}, {72, 65, 0, 10, 0}, {72, 66, 0, 10, 0}, {72, 67, 0, 10, 0},
2139 {72, 68, 0, 10, 0}, {75, 50, 0, 10, 0}, {75, 51, 0, 10, 0}, {75, 52, 0, 10, 0},
2140 {75, 53, 0, 10, 0}, {75, 54, 0, 10, 0}, {75, 55, 0, 10, 0}, {75, 56, 0, 10, 0},
2141 {75, 57, 0, 10, 0}, {75, 58, 0, 10, 0}, {75, 59, 0, 10, 0}, {75, 60, 0, 10, 0},
2142 {75, 61, 0, 10, 0}, {75, 62, 0, 10, 0}, {75, 63, 0, 10, 0}, {75, 64, 0, 10, 0},
2143 {75, 65, 0, 10, 0}, {75, 66, 0, 10, 0}, {75, 67, 0, 10, 0}, {75, 68, 0, 10, 0},
2144 {76, 50, 0, 10, 0}, {76, 51, 0, 10, 0}, {76, 52, 0, 10, 0}, {76, 53, 0, 10, 0},
2145 {76, 54, 0, 10, 0}, {76, 55, 0, 10, 0}, {76, 56, 0, 10, 0}, {76, 57, 0, 10, 0},
2146 {76, 58, 0, 10, 0}, {76, 59, 0, 10, 0}, {76, 60, 0, 10, 0}, {76, 61, 0, 10, 0},
2147 {76, 62, 0, 10, 0}, {76, 63, 0, 10, 0}, {76, 64, 0, 10, 0}, {76, 65, 0, 10, 0},
2148 {76, 66, 0, 10, 0}, {76, 67, 0, 10, 0}, {76, 68, 0, 10, 0}, {82, 50, 0, 10, 0},
2149 {82, 51, 0, 10, 0}, {82, 52, 0, 10, 0}, {82, 53, 0, 10, 0}, {82, 54, 0, 10, 0},
2150 {82, 55, 0, 10, 0}, {82, 56, 0, 10, 0}, {82, 57, 0, 10, 0}, {82, 58, 0, 10, 0},
2151 {82, 59, 0, 10, 0}, {82, 60, 0, 10, 0}, {82, 61, 0, 10, 0}, {82, 62, 0, 10, 0},
2152 {82, 63, 0, 10, 0}, {82, 64, 0, 10, 0}, {82, 65, 0, 10, 0}, {82, 66, 0, 10, 0},
2153 {82, 67, 0, 10, 0}, {82, 68, 0, 10, 0}, {82, 80, 0, 10, 0}, {82, 81, 0, 10, 0},
2154 {82, 82, 0, 10, 0}, {82, 83, 0, 10, 0}, {82, 84, 0, 10, 0}, {82, 85, 0, 10, 0},
2155 {82, 86, 0, 10, 0}, {82, 87, 0, 10, 0}, {82, 88, 0, 10, 0}, {82, 89, 0, 10, 0},
2156 {82, 90, 0, 10, 0}, {82, 91, 0, 10, 0}, {82, 92, 0, 10, 0}, {82, 93, 0, 10, 0},
2157 {82, 94, 0, 10, 0}, {82, 95, 0, 10, 0}, {82, 96, 0, 10, 0}, {82, 97, 0, 10, 0},
2158 {82, 98, 0, 10, 0}, {83, 50, 0, 10, 0}, {83, 51, 0, 10, 0}, {83, 52, 0, 10, 0},
2159 {83, 53, 0, 10, 0}, {83, 54, 0, 10, 0}, {83, 55, 0, 10, 0}, {83, 56, 0, 10, 0},
2160 {83, 57, 0, 10, 0}, {83, 58, 0, 10, 0}, {83, 59, 0, 10, 0}, {83, 60, 0, 10, 0},
2161 {83, 61, 0, 10, 0}, {83, 62, 0, 10, 0}, {83, 63, 0, 10, 0}, {83, 64, 0, 10, 0},
2162 {83, 65, 0, 10, 0}, {83, 66, 0, 10, 0}, {83, 67, 0, 10, 0}, {83, 68, 0, 10, 0},
2163 {84, 50, 0, 10, 0}, {84, 51, 0, 10, 0}, {84, 52, 0, 10, 0}, {84, 53, 0, 10, 0},
2164 {84, 54, 0, 10, 0}, {84, 55, 0, 10, 0}, {84, 56, 0, 10, 0}, {84, 57, 0, 10, 0},
2165 {84, 58, 0, 10, 0}, {84, 59, 0, 10, 0}, {84, 60, 0, 10, 0}, {84, 61, 0, 10, 0},
2166 {84, 62, 0, 10, 0}, {84, 63, 0, 10, 0}, {84, 64, 0, 10, 0}, {84, 65, 0, 10, 0},
2167 {84, 66, 0, 10, 0}, {84, 67, 0, 10, 0}, {84, 68, 0, 10, 0}, {95, 50, 0, 10, 0},
2168 {95, 51, 0, 10, 0}, {95, 52, 0, 10, 0}, {95, 53, 0, 10, 0}, {95, 54, 0, 10, 0},
2169 {95, 55, 0, 10, 0}, {95, 56, 0, 10, 0}, {95, 57, 0, 10, 0}, {95, 58, 0, 10, 0},
2170 {95, 59, 0, 10, 0}, {95, 60, 0, 10, 0}, {95, 61, 0, 10, 0}, {95, 62, 0, 10, 0},
2171 {95, 63, 0, 10, 0}, {95, 64, 0, 10, 0}, {95, 65, 0, 10, 0}, {95, 66, 0, 10, 0},
2172 {95, 67, 0, 10, 0}, {95, 68, 0, 10, 0}, {111, 50, 0, 10, 0}, {111, 51, 0, 10, 0},
2173 {111, 52, 0, 10, 0}, {111, 53, 0, 10, 0}, {111, 54, 0, 10, 0}, {111, 55, 0, 10, 0},
2174 {111, 56, 0, 10, 0}, {111, 57, 0, 10, 0}, {111, 58, 0, 10, 0}, {111, 59, 0, 10, 0},
2175 {111, 60, 0, 10, 0}, {111, 61, 0, 10, 0}, {111, 62, 0, 10, 0}, {111, 63, 0, 10, 0},
2176 {111, 64, 0, 10, 0}, {111, 65, 0, 10, 0}, {111, 66, 0, 10, 0}, {111, 67, 0, 10, 0},
2177 {111, 68, 0, 10, 0}, {111, 80, 0, 10, 0}, {111, 81, 0, 10, 0}, {111, 82, 0, 10, 0},
2178 {111, 83, 0, 10, 0}, {111, 84, 0, 10, 0}, {111, 85, 0, 10, 0}, {111, 86, 0, 10, 0},
2179 {111, 87, 0, 10, 0}, {111, 88, 0, 10, 0}, {111, 89, 0, 10, 0}, {111, 90, 0, 10, 0},
2180 {111, 91, 0, 10, 0}, {111, 92, 0, 10, 0}, {111, 93, 0, 10, 0}, {111, 94, 0, 10, 0},
2181 {111, 95, 0, 10, 0}, {111, 96, 0, 10, 0}, {111, 97, 0, 10, 0}, {111, 98, 0, 10, 0},
2182 {86, 50, 0, 10, 0}, {86, 51, 0, 10, 0}, {86, 52, 0, 10, 0}, {86, 53, 0, 10, 0},
2183 {86, 54, 0, 10, 0}, {86, 55, 0, 10, 0}, {86, 56, 0, 10, 0}, {86, 57, 0, 10, 0},
2184 {86, 58, 0, 10, 0}, {86, 59, 0, 10, 0}, {86, 60, 0, 10, 0}, {86, 61, 0, 10, 0},
2185 {86, 62, 0, 10, 0}, {86, 63, 0, 10, 0}, {86, 64, 0, 10, 0}, {86, 65, 0, 10, 0},
2186 {86, 66, 0, 10, 0}, {86, 67, 0, 10, 0}, {86, 68, 0, 10, 0}, {86, 80, 0, 10, 0},
2187 {86, 81, 0, 10, 0}, {86, 82, 0, 10, 0}, {86, 83, 0, 10, 0}, {86, 84, 0, 10, 0},
2188 {86, 85, 0, 10, 0}, {86, 86, 0, 10, 0}, {86, 87, 0, 10, 0}, {86, 88, 0, 10, 0},
2189 {86, 89, 0, 10, 0}, {86, 90, 0, 10, 0}, {86, 91, 0, 10, 0}, {86, 92, 0, 10, 0},
2190 {86, 93, 0, 10, 0}, {86, 94, 0, 10, 0}, {86, 95, 0, 10, 0}, {86, 96, 0, 10, 0},
2191 {86, 97, 0, 10, 0}, {86, 98, 0, 10, 0}, {87, 50, 0, 10, 0}, {87, 51, 0, 10, 0},
2192 {87, 52, 0, 10, 0}, {87, 53, 0, 10, 0}, {87, 54, 0, 10, 0}, {87, 55, 0, 10, 0},
2193 {87, 56, 0, 10, 0}, {87, 57, 0, 10, 0}, {87, 58, 0, 10, 0}, {87, 59, 0, 10, 0},
2194 {87, 60, 0, 10, 0}, {87, 61, 0, 10, 0}, {87, 62, 0, 10, 0}, {87, 63, 0, 10, 0},
2195 {87, 64, 0, 10, 0}, {87, 65, 0, 10, 0}, {87, 66, 0, 10, 0}, {87, 67, 0, 10, 0},
2196 {87, 68, 0, 10, 0}, {87, 80, 0, 10, 0}, {87, 81, 0, 10, 0}, {87, 82, 0, 10, 0},
2197 {87, 83, 0, 10, 0}, {87, 84, 0, 10, 0}, {87, 85, 0, 10, 0}, {87, 86, 0, 10, 0},
2198 {87, 87, 0, 10, 0}, {87, 88, 0, 10, 0}, {87, 89, 0, 10, 0}, {87, 90, 0, 10, 0},
2199 {87, 91, 0, 10, 0}, {87, 92, 0, 10, 0}, {87, 93, 0, 10, 0}, {87, 94, 0, 10, 0},
2200 {87, 95, 0, 10, 0}, {87, 96, 0, 10, 0}, {87, 97, 0, 10, 0}, {87, 98, 0, 10, 0},
2201 {90, 50, 0, 10, 0}, {90, 51, 0, 10, 0}, {90, 52, 0, 10, 0}, {90, 53, 0, 10, 0},
2202 {90, 54, 0, 10, 0}, {90, 55, 0, 10, 0}, {90, 56, 0, 10, 0}, {90, 57, 0, 10, 0},
2203 {90, 58, 0, 10, 0}, {90, 59, 0, 10, 0}, {90, 60, 0, 10, 0}, {90, 61, 0, 10, 0},
2204 {90, 62, 0, 10, 0}, {90, 63, 0, 10, 0}, {90, 64, 0, 10, 0}, {90, 65, 0, 10, 0},
2205 {90, 66, 0, 10, 0}, {90, 67, 0, 10, 0}, {90, 68, 0, 10, 0}, {91, 50, 0, 10, 0},
2206 {91, 51, 0, 10, 0}, {91, 52, 0, 10, 0}, {91, 53, 0, 10, 0}, {91, 54, 0, 10, 0},
2207 {91, 55, 0, 10, 0}, {91, 56, 0, 10, 0}, {91, 57, 0, 10, 0}, {91, 58, 0, 10, 0},
2208 {91, 59, 0, 10, 0}, {91, 60, 0, 10, 0}, {91, 61, 0, 10, 0}, {91, 62, 0, 10, 0},
2209 {91, 63, 0, 10, 0}, {91, 64, 0, 10, 0}, {91, 65, 0, 10, 0}, {91, 66, 0, 10, 0},
2210 {91, 67, 0, 10, 0}, {91, 68, 0, 10, 0}, {83, 80, 0, 10, 0}, {83, 81, 0, 10, 0},
2211 {83, 82, 0, 10, 0}, {83, 83, 0, 10, 0}, {83, 84, 0, 10, 0}, {83, 85, 0, 10, 0},
2212 {83, 86, 0, 10, 0}, {83, 87, 0, 10, 0}, {83, 88, 0, 10, 0}, {83, 89, 0, 10, 0},
2213 {83, 90, 0, 10, 0}, {83, 91, 0, 10, 0}, {83, 92, 0, 10, 0}, {83, 93, 0, 10, 0},
2214 {83, 94, 0, 10, 0}, {83, 95, 0, 10, 0}, {83, 96, 0, 10, 0}, {83, 97, 0, 10, 0},
2215 {83, 98, 0, 10, 0}, {54, 50, 0, 10, 0}, {54, 51, 0, 10, 0}, {54, 52, 0, 10, 0},
2216 {54, 53, 0, 10, 0}, {54, 54, 0, 10, 0}, {54, 55, 0, 10, 0}, {54, 56, 0, 10, 0},
2217 {54, 57, 0, 10, 0}, {54, 58, 0, 10, 0}, {54, 59, 0, 10, 0}, {54, 60, 0, 10, 0},
2218 {54, 61, 0, 10, 0}, {54, 62, 0, 10, 0}, {54, 63, 0, 10, 0}, {54, 64, 0, 10, 0},
2219 {54, 65, 0, 10, 0}, {54, 66, 0, 10, 0}, {54, 67, 0, 10, 0}, {54, 68, 0, 10, 0},
2220 {54, 80, 0, 10, 0}, {54, 81, 0, 10, 0}, {54, 82, 0, 10, 0}, {54, 83, 0, 10, 0},
2221 {54, 84, 0, 10, 0}, {54, 85, 0, 10, 0}, {54, 86, 0, 10, 0}, {54, 87, 0, 10, 0},
2222 {54, 88, 0, 10, 0}, {54, 89, 0, 10, 0}, {54, 90, 0, 10, 0}, {54, 91, 0, 10, 0},
2223 {54, 92, 0, 10, 0}, {54, 93, 0, 10, 0}, {54, 94, 0, 10, 0}, {54, 95, 0, 10, 0},
2224 {54, 96, 0, 10, 0}, {54, 97, 0, 10, 0}, {54, 98, 0, 10, 0}, {55, 50, 0, 10, 0},
2225 {55, 51, 0, 10, 0}, {55, 52, 0, 10, 0}, {55, 53, 0, 10, 0}, {55, 54, 0, 10, 0},
2226 {55, 55, 0, 10, 0}, {55, 56, 0, 10, 0}, {55, 57, 0, 10, 0}, {55, 58, 0, 10, 0},
2227 {55, 59, 0, 10, 0}, {55, 60, 0, 10, 0}, {55, 61, 0, 10, 0}, {55, 62, 0, 10, 0},
2228 {55, 63, 0, 10, 0}, {55, 64, 0, 10, 0}, {55, 65, 0, 10, 0}, {55, 66, 0, 10, 0},
2229 {55, 67, 0, 10, 0}, {55, 68, 0, 10, 0}, {57, 50, 0, 10, 0}, {57, 51, 0, 10, 0},
2230 {57, 52, 0, 10, 0}, {57, 53, 0, 10, 0}, {57, 54, 0, 10, 0}, {57, 55, 0, 10, 0},
2231 {57, 56, 0, 10, 0}, {57, 57, 0, 10, 0}, {57, 58, 0, 10, 0}, {57, 59, 0, 10, 0},
2232 {57, 60, 0, 10, 0}, {57, 61, 0, 10, 0}, {57, 62, 0, 10, 0}, {57, 63, 0, 10, 0},
2233 {57, 64, 0, 10, 0}, {57, 65, 0, 10, 0}, {57, 66, 0, 10, 0}, {57, 67, 0, 10, 0},
2234 {57, 68, 0, 10, 0}, {59, 50, 0, 10, 0}, {59, 51, 0, 10, 0}, {59, 52, 0, 10, 0},
2235 {59, 53, 0, 10, 0}, {59, 54, 0, 10, 0}, {59, 55, 0, 10, 0}, {59, 56, 0, 10, 0},
2236 {59, 57, 1, 10, 0}, {59, 58, 0, 10, 0}, {59, 59, 0, 10, 0}, {59, 60, 0, 10, 0},
2237 {59, 61, 0, 10, 0}, {59, 62, 0, 10, 0}, {59, 63, 0, 10, 0}, {59, 64, 0, 10, 0},
2238 {59, 65, 0, 10, 0}, {59, 66, 0, 10, 0}, {59, 67, 0, 10, 0}, {59, 68, 0, 10, 0},
2239 {62, 50, 0, 10, 0}, {62, 51, 0, 10, 0}, {62, 52, 0, 10, 0}, {62, 53, 0, 10, 0},
2240 {62, 54, 0, 10, 0}, {62, 55, 1, 10, 0}, {62, 56, 0, 10, 0}, {62, 57, 0, 10, 0},
2241 {62, 58, 0, 10, 0}, {62, 59, 0, 10, 0}, {62, 60, 0, 10, 0}, {62, 61, 0, 10, 0},
2242 {62, 62, 0, 10, 0}, {62, 63, 0, 10, 0}, {62, 64, 0, 10, 0}, {62, 65, 0, 10, 0},
2243 {62, 66, 0, 10, 0}, {62, 67, 0, 10, 0}, {62, 68, 0, 10, 0}, {62, 80, 1, 10, 0},
2244 {62, 81, 0, 10, 0}, {62, 82, 0, 10, 0}, {62, 83, 0, 10, 0}, {62, 84, 0, 10, 0},
2245 {62, 85, 0, 10, 0}, {62, 86, 1, 10, 0}, {62, 87, 0, 10, 0}, {62, 88, 0, 10, 0},
2246 {62, 89, 0, 10, 0}, {62, 90, 0, 10, 0}, {62, 91, 0, 10, 0}, {62, 92, 0, 10, 0},
2247 {62, 93, 0, 10, 0}, {62, 94, 0, 10, 0}, {62, 95, 0, 10, 0}, {62, 96, 0, 10, 0},
2248 {62, 97, 0, 10, 0}, {62, 98, 0, 10, 0}, {64, 80, 0, 10, 0}, {64, 81, 0, 10, 0},
2249 {64, 82, 0, 10, 0}, {64, 83, 0, 10, 0}, {64, 84, 0, 10, 0}, {64, 85, 0, 10, 0},
2250 {64, 86, 0, 10, 0}, {64, 87, 0, 10, 0}, {64, 88, 0, 10, 0}, {64, 89, 0, 10, 0},
2251 {64, 90, 0, 10, 0}, {64, 91, 0, 10, 0}, {64, 92, 0, 10, 0}, {64, 93, 0, 10, 0},
2252 {64, 94, 0, 10, 0}, {64, 95, 0, 10, 0}, {64, 96, 0, 10, 0}, {64, 97, 0, 10, 0},
2253 {64, 98, 0, 10, 0}, {105, 20, 0, 10, 0}, {105, 21, 0, 10, 0}, {105, 22, 0, 10, 0},
2254 {105, 23, 0, 10, 0}, {105, 24, 0, 10, 0}, {105, 25, 0, 10, 0}, {105, 26, 0, 10, 0},
2255 {105, 27, 0, 10, 0}, {105, 28, 0, 10, 0}, {105, 29, 0, 10, 0}, {105, 30, 0, 10, 0},
2256 {105, 31, 0, 10, 0}, {105, 32, 0, 10, 0}, {105, 33, 0, 10, 0}, {105, 34, 0, 10, 0},
2257 {105, 35, 0, 10, 0}, {105, 36, 0, 10, 0}, {105, 37, 0, 10, 0}, {105, 38, 0, 10, 0},
2258 {105, 50, 0, 10, 0}, {105, 51, 0, 10, 0}, {105, 52, 0, 10, 0}, {105, 53, 0, 10, 0},
2259 {105, 54, 0, 10, 0}, {105, 55, 0, 10, 0}, {105, 56, 0, 10, 0}, {105, 57, 0, 10, 0},
2260 {105, 58, 0, 10, 0}, {105, 59, 0, 10, 0}, {105, 60, 0, 10, 0}, {105, 61, 0, 10, 0},
2261 {105, 62, 0, 10, 0}, {105, 63, 0, 10, 0}, {105, 64, 0, 10, 0}, {105, 65, 0, 10, 0},
2262 {105, 66, 0, 10, 0}, {105, 67, 0, 10, 0}, {105, 68, 0, 10, 0}, {105, 80, 0, 10, 0},
2263 {105, 81, 0, 10, 0}, {105, 82, 0, 10, 0}, {105, 83, 0, 10, 0}, {105, 84, 0, 10, 0},
2264 {105, 85, 0, 10, 0}, {105, 86, 0, 10, 0}, {105, 87, 0, 10, 0}, {105, 88, 0, 10, 0},
2265 {105, 89, 0, 10, 0}, {105, 90, 0, 10, 0}, {105, 91, 0, 10, 0}, {105, 92, 0, 10, 0},
2266 {105, 93, 0, 10, 0}, {105, 94, 0, 10, 0}, {105, 95, 0, 10, 0}, {105, 96, 0, 10, 0},
2267 {105, 97, 0, 10, 0}, {105, 98, 0, 10, 0}, {106, 20, 0, 10, 0}, {106, 21, 0, 10, 0},
2268 {106, 22, 0, 10, 0}, {106, 23, 0, 10, 0}, {106, 24, 0, 10, 0}, {106, 25, 0, 10, 0},
2269 {106, 26, 0, 10, 0}, {106, 27, 0, 10, 0}, {106, 28, 0, 10, 0}, {106, 29, 0, 10, 0},
2270 {106, 30, 0, 10, 0}, {106, 31, 0, 10, 0}, {106, 32, 0, 10, 0}, {106, 33, 0, 10, 0},
2271 {106, 34, 0, 10, 0}, {106, 35, 0, 10, 0}, {106, 36, 0, 10, 0}, {106, 37, 0, 10, 0},
2272 {106, 38, 0, 10, 0}, {106, 50, 0, 10, 0}, {106, 51, 0, 10, 0}, {106, 52, 0, 10, 0},
2273 {106, 53, 0, 10, 0}, {106, 54, 0, 10, 0}, {106, 55, 0, 10, 0}, {106, 56, 0, 10, 0},
2274 {106, 57, 0, 10, 0}, {106, 58, 0, 10, 0}, {106, 59, 0, 10, 0}, {106, 60, 0, 10, 0},
2275 {106, 61, 0, 10, 0}, {106, 62, 0, 10, 0}, {106, 63, 0, 10, 0}, {106, 64, 0, 10, 0},
2276 {106, 65, 0, 10, 0}, {106, 66, 0, 10, 0}, {106, 67, 0, 10, 0}, {106, 68, 0, 10, 0},
2277 {88, 50, 0, 10, 0}, {88, 51, 0, 10, 0}, {88, 52, 0, 10, 0}, {88, 53, 0, 10, 0},
2278 {88, 54, 0, 10, 0}, {88, 55, 0, 10, 0}, {88, 56, 0, 10, 0}, {88, 57, 0, 10, 0},
2279 {88, 58, 0, 10, 0}, {88, 59, 0, 10, 0}, {88, 60, 0, 10, 0}, {88, 61, 0, 10, 0},
2280 {88, 62, 0, 10, 0}, {88, 63, 0, 10, 0}, {88, 64, 0, 10, 0}, {88, 65, 0, 10, 0},
2281 {88, 66, 0, 10, 0}, {88, 67, 0, 10, 0}, {88, 68, 0, 10, 0}, {89, 50, 0, 10, 0},
2282 {89, 51, 0, 10, 0}, {89, 52, 0, 10, 0}, {89, 53, 0, 10, 0}, {89, 54, 0, 10, 0},
2283 {89, 55, 0, 10, 0}, {89, 56, 0, 10, 0}, {89, 57, 0, 10, 0}, {89, 58, 0, 10, 0},
2284 {89, 59, 0, 10, 0}, {89, 60, 0, 10, 0}, {89, 61, 0, 10, 0}, {89, 62, 0, 10, 0},
2285 {89, 63, 0, 10, 0}, {89, 64, 0, 10, 0}, {89, 65, 0, 10, 0}, {89, 66, 0, 10, 0},
2286 {89, 67, 0, 10, 0}, {89, 68, 0, 10, 0}, {120, 20, 0, 10, 0}, {120, 21, 0, 10, 0},
2287 {120, 22, 0, 10, 0}, {120, 23, 0, 10, 0}, {120, 24, 0, 10, 0}, {120, 25, 0, 10, 0},
2288 {120, 26, 0, 10, 0}, {120, 27, 0, 10, 0}, {120, 28, 0, 10, 0}, {120, 29, 0, 10, 0},
2289 {120, 30, 0, 10, 0}, {120, 31, 0, 10, 0}, {120, 32, 0, 10, 0}, {120, 33, 0, 10, 0},
2290 {120, 34, 0, 10, 0}, {120, 35, 0, 10, 0}, {120, 36, 0, 10, 0}, {120, 37, 0, 10, 0},
2291 {120, 38, 1, 10, 0}, {121, 20, 0, 10, 0}, {121, 21, 0, 10, 0}, {121, 22, 0, 10, 0},
2292 {121, 23, 0, 10, 0}, {121, 24, 0, 10, 0}, {121, 25, 0, 10, 0}, {121, 26, 0, 10, 0},
2293 {121, 27, 1, 10, 0}, {121, 28, 1, 10, 0}, {121, 29, 0, 10, 0}, {121, 30, 0, 10, 0},
2294 {121, 31, 0, 10, 0}, {121, 32, 0, 10, 0}, {121, 33, 0, 10, 0}, {121, 34, 0, 10, 0},
2295 {121, 35, 0, 10, 0}, {121, 36, 0, 10, 0}, {121, 37, 0, 10, 0}, {121, 38, 0, 10, 0},
2296 {121, 39, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2297 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2298 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2299 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2300 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2301 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2302 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2303 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2304 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2305 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2306 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2307 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2308 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2309 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2310 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2311 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2312 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2313 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2314 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2315 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2316 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2317 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2318 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2319 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2320 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2321 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2322 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2323 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2324 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2325 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2326 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2327 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2328 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2329 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2330 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2331 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2332 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2333 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2334 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2335 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2336 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2337 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2338 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2339 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2340 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2341 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2342 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2343 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2344 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2345 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2346 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2347 {-1, -1, 0, -1, 0},
2348};
2349// clang-format on
2350
2351// clang-format off
2352SND_SE_INFO geo[199] = {
2353 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2354 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2355 {38, 38, 0, 14, 0}, {38, 39, 0, 14, 0}, {38, 40, 0, 14, 0}, {38, 41, 0, 14, 0},
2356 {38, 42, 0, 14, 0}, {38, 43, 0, 14, 0}, {38, 44, 0, 14, 0}, {38, 45, 0, 14, 0},
2357 {38, 46, 0, 14, 0}, {38, 47, 0, 14, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2358 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2359 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {38, 56, 0, 14, 0}, {38, 57, 0, 14, 0},
2360 {38, 58, 0, 14, 0}, {38, 59, 0, 14, 0}, {38, 60, 0, 14, 0}, {38, 61, 0, 14, 0},
2361 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2362 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2363 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2364 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2365 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2366 {-1, -1, 0, -1, 0}, {38, 63, 0, 14, 0}, {38, 64, 0, 14, 0}, {38, 65, 0, 14, 0},
2367 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2368 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2369 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2370 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2371 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2372 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2373 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2374 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2375 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2376 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2377 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2378 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2379 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2380 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2381 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2382 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2383 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2384 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2385 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2386 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2387 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2388 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2389 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2390 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2391 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2392 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2393 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2394 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2395 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2396 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2397 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2398 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2399 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2400 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2401 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2402 {38, 66, 0, 14, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2403};
2404// clang-format on
2405
2406// clang-format off
2407SND_SE_INFO dun[199] = {
2408 {-1, -1, 0, -1, 0}, {30, 21, 0, 14, 0}, {30, 22, 0, 14, 0}, {30, 23, 0, 14, 0},
2409 {30, 24, 0, 14, 0}, {30, 25, 0, 14, 0}, {-1, -1, 0, -1, 0}, {30, 27, 0, 14, 0},
2410 {30, 28, 0, 14, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {30, 31, 0, 14, 0},
2411 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2412 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {30, 38, 0, 14, 0}, {30, 39, 0, 14, 0},
2413 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {30, 43, 0, 14, 0},
2414 {30, 44, 0, 14, 0}, {30, 45, 0, 14, 0}, {30, 46, 0, 14, 0}, {30, 47, 0, 14, 0},
2415 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2416 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2417 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2418 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2419 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2420 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {36, 20, 0, 14, 0}, {36, 21, 0, 14, 0},
2421 {-1, -1, 0, -1, 0}, {36, 23, 0, 14, 0}, {36, 24, 0, 14, 0}, {36, 25, 0, 14, 0},
2422 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {36, 89, 0, 14, 0},
2423 {36, 90, 0, 14, 0}, {36, 91, 0, 14, 0}, {36, 92, 0, 14, 0}, {-1, -1, 0, -1, 0},
2424 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2425 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2426 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2427 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2428 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2429 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2430 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2431 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2432 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2433 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2434 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {38, 36, 0, 14, 0}, {38, 37, 0, 14, 0},
2435 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {38, 40, 0, 14, 0}, {38, 41, 0, 14, 0},
2436 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2437 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2438 {-1, -1, 0, -1, 0}, {38, 51, 0, 14, 0}, {38, 52, 0, 14, 0}, {38, 53, 0, 14, 0},
2439 {38, 54, 0, 14, 0}, {38, 55, 0, 14, 0}, {38, 56, 0, 14, 0}, {-1, -1, 0, -1, 0},
2440 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2441 {38, 62, 0, 14, 0}, {44, 23, 0, 14, 0}, {44, 24, 0, 14, 0}, {-1, -1, 0, -1, 0},
2442 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2443 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2444 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2445 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2446 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2447 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2448 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2449 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2450 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2451 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2452 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2453 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2454 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2455 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2456 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2457 {38, 66, 0, 14, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2458};
2459// clang-format on
2460
2461// clang-format off
2463SND_SE_INFO cap0[92] = {
2464 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2465 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2466 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2467 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2468 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2469 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 23, 0, 10, 0},
2470 {44, 24, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2471 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2472 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2473 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2474 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2475 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2476 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2477 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2478 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2479 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2480 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2481 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2482 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 74, 0, 10, 0}, {44, 75, 0, 10, 0},
2483 {44, 76, 0, 10, 0}, {44, 77, 1, 10, 0}, {44, 78, 0, 10, 0}, {44, 79, 0, 10, 0},
2484 {44, 80, 0, 10, 0}, {44, 81, 1, 10, 0}, {44, 82, 0, 10, 0}, {44, 83, 0, 10, 0},
2485 {44, 84, 1, 10, 0}, {44, 85, 0, 10, 0}, {-1, -1, 0, -1, 0}, {44, 87, 0, 10, 0},
2486 {44, 88, 0, 10, 0}, {44, 89, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2487};
2488// clang-format on
2489
2490// clang-format off
2492SND_SE_INFO cap1[73] = {
2493 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2494 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2495 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2496 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2497 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2498 {44, 82, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2499 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2500 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2501 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2502 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2503 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2504 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2505 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2506 {-1, -1, 0, -1, 0}, {45, 53, 0, 10, 0}, {45, 54, 0, 10, 0}, {45, 55, 1, 10, 0},
2507 {45, 56, 0, 10, 0}, {45, 57, 1, 10, 0}, {-1, -1, 0, -1, 0}, {45, 59, 0, 10, 0},
2508 {45, 60, 1, 10, 0}, {45, 61, 0, 10, 0}, {45, 62, 0, 10, 0}, {45, 63, 0, 10, 0},
2509 {45, 64, 0, 10, 0}, {45, 65, 0, 10, 0}, {45, 66, 0, 10, 0}, {45, 67, 0, 10, 0},
2510 {45, 68, 0, 10, 0}, {45, 69, 0, 10, 0}, {45, 70, 0, 10, 0}, {-1, -1, 0, -1, 0},
2511 {-128, -128, -128, -128, 0},
2512};
2513// clang-format on
2514
2515// clang-format off
2517SND_SE_INFO cap2[101] = {
2518 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2519 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2520 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2521 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2522 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2523 {44, 82, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2524 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2525 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2526 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2527 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2528 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2529 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2530 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {45, 100, 0, 10, 0}, {45, 101, 0, 10, 0},
2531 {45, 102, 0, 10, 0}, {-1, -1, 0, -1, 0}, {45, 104, 0, 10, 0}, {45, 105, 0, 10, 0},
2532 {45, 106, 0, 10, 0}, {45, 107, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2533 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2534 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2535 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2536 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2537 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2538 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2539 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {45, 87, 1, 10, 0},
2540 {45, 88, 0, 10, 0}, {45, 89, 0, 10, 0}, {45, 90, 0, 10, 0}, {45, 91, 0, 10, 0},
2541 {45, 92, 0, 10, 0}, {45, 93, 0, 10, 0}, {-1, -1, 0, -1, 0}, {45, 95, 1, 10, 0},
2542 {45, 96, 0, 10, 0}, {45, 97, 0, 10, 0}, {45, 98, 0, 10, 0}, {45, 99, 0, 10, 0},
2543 {-128, -128, -128, -128, 0},
2544};
2545// clang-format on
2546
2547// clang-format off
2549SND_SE_INFO cap3[44] = {
2550 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2551 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2552 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2553 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2554 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2555 {44, 82, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 23, 0, 10, 0},
2556 {44, 24, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2557 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2558 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {45, 34, 0, 10, 0}, {45, 35, 0, 10, 0},
2559 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {45, 39, 0, 10, 0},
2560 {-1, -1, 0, -1, 0}, {45, 41, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2561};
2562// clang-format on
2563
2564// clang-format off
2566SND_SE_INFO cap4[36] = {
2567 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2568 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2569 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2570 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2571 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2572 {44, 82, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2573 {-1, -1, 0, -1, 0}, {46, 25, 0, 10, 0}, {46, 26, 0, 10, 0}, {46, 27, 0, 10, 0},
2574 {-1, -1, 0, -1, 0}, {45, 29, 0, 10, 0}, {45, 30, 1, 10, 0}, {45, 31, 0, 10, 0},
2575 {45, 32, 0, 10, 0}, {46, 29, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2576};
2577// clang-format on
2578
2579// clang-format off
2581SND_SE_INFO cap10[85] = {
2582 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2583 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2584 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2585 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2586 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2587 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2588 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2589 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2590 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2591 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2592 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2593 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2594 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {46, 50, 0, 10, 0}, {46, 51, 0, 10, 0},
2595 {46, 52, 0, 10, 0}, {46, 53, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2596 {46, 56, 1, 10, 0}, {46, 57, 0, 10, 0}, {46, 58, 0, 10, 0}, {-1, -1, 0, -1, 0},
2597 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2598 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2599 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2600 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2601 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2602 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 82, 0, 10, 0}, {-1, -1, 0, -1, 0},
2603 {-128, -128, -128, -128, 0},
2604};
2605// clang-format on
2606
2607// clang-format off
2609SND_SE_INFO cap11[101] = {
2610 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2611 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2612 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2613 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2614 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2615 {44, 82, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2616 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2617 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2618 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2619 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2620 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2621 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2622 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {45, 100, 0, 10, 0}, {45, 101, 0, 10, 0},
2623 {45, 102, 0, 10, 0}, {-1, -1, 0, -1, 0}, {45, 104, 0, 10, 0}, {45, 105, 0, 10, 0},
2624 {45, 106, 0, 10, 0}, {45, 107, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2625 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2626 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2627 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2628 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2629 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2630 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2631 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {45, 87, 1, 10, 0},
2632 {45, 88, 0, 10, 0}, {45, 89, 0, 10, 0}, {45, 90, 0, 10, 0}, {45, 91, 0, 10, 0},
2633 {45, 92, 0, 10, 0}, {45, 93, 0, 10, 0}, {-1, -1, 0, -1, 0}, {45, 95, 1, 10, 0},
2634 {45, 96, 0, 10, 0}, {45, 97, 0, 10, 0}, {45, 98, 0, 10, 0}, {45, 99, 0, 10, 0},
2635 {-128, -128, -128, -128, 0},
2636};
2637// clang-format on
2638
2639// clang-format off
2641SND_SE_INFO cap12[31] = {
2642 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2643 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2644 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 110, 1, 10, 0}, {-1, -1, 0, -1, 0},
2645 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2646 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2647 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2648 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {45, 26, 0, 10, 0}, {-1, -1, 0, -1, 0},
2649 {45, 28, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2650};
2651// clang-format on
2652
2653// clang-format off
2655SND_SE_INFO cap13[28] = {
2656 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 110, 1, 10, 0}, {-1, -1, 0, -1, 0},
2657 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2658 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2659 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2660 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2661 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {45, 23, 0, 10, 0},
2662 {45, 24, 0, 10, 0}, {45, 25, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2663};
2664// clang-format on
2665
2666// clang-format off
2668SND_SE_INFO cap14[36] = {
2669 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2670 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2671 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2672 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2673 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2674 {44, 82, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2675 {-1, -1, 0, -1, 0}, {46, 25, 0, 10, 0}, {46, 26, 0, 10, 0}, {46, 27, 0, 10, 0},
2676 {-1, -1, 0, -1, 0}, {45, 29, 0, 10, 0}, {45, 30, 1, 10, 0}, {45, 31, 0, 10, 0},
2677 {45, 32, 0, 10, 0}, {46, 29, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2678};
2679// clang-format on
2680
2681// clang-format off
2683SND_SE_INFO cap15[14] = {
2684 {44, 108, 1, 10, 0}, {44, 109, 0, 10, 0}, {44, 110, 1, 10, 0}, {44, 111, 0, 10, 0},
2685 {44, 112, 0, 10, 0}, {44, 113, 0, 10, 0}, {44, 114, 0, 10, 0}, {44, 115, 0, 10, 0},
2686 {44, 116, 0, 10, 0}, {44, 117, 0, 10, 0}, {44, 118, 0, 10, 0}, {44, 119, 0, 10, 0},
2687 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2688};
2689// clang-format on
2690
2691// clang-format off
2693SND_SE_INFO cap16[92] = {
2694 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2695 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2696 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2697 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2698 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2699 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 23, 0, 10, 0},
2700 {44, 24, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2701 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2702 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2703 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2704 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2705 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2706 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2707 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2708 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2709 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2710 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2711 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2712 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 74, 0, 10, 0}, {44, 75, 0, 10, 0},
2713 {44, 76, 0, 10, 0}, {44, 77, 1, 10, 0}, {44, 78, 0, 10, 0}, {44, 79, 0, 10, 0},
2714 {44, 80, 0, 10, 0}, {44, 81, 1, 10, 0}, {44, 82, 0, 10, 0}, {44, 83, 0, 10, 0},
2715 {44, 84, 1, 10, 0}, {44, 85, 0, 10, 0}, {-1, -1, 0, -1, 0}, {44, 87, 0, 10, 0},
2716 {44, 88, 0, 10, 0}, {44, 89, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2717};
2718// clang-format on
2719
2720// clang-format off
2722SND_SE_INFO cap17[11] = {
2723 {44, 100, 1, 10, 0}, {44, 101, 0, 10, 0}, {44, 102, 0, 10, 0}, {44, 103, 0, 10, 0},
2724 {44, 104, 0, 10, 0}, {44, 105, 0, 10, 0}, {44, 106, 0, 10, 0}, {44, 107, 0, 10, 0},
2725 {44, 108, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2726};
2727// clang-format on
2728
2729// clang-format off
2731SND_SE_INFO cap20[76] = {
2732 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2733 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2734 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2735 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2736 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2737 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2738 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2739 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2740 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2741 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2742 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2743 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2744 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2745 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2746 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2747 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2748 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2749 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2750 {-1, -1, 0, -1, 0}, {44, 73, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2751};
2752// clang-format on
2753
2754// clang-format off
2756SND_SE_INFO cap21[2] = {
2757 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2758};
2759// clang-format on
2760
2761// clang-format off
2763SND_SE_INFO cap22[95] = {
2764 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2765 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2766 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2767 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2768 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2769 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2770 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2771 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2772 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2773 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2774 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2775 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2776 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2777 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2778 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2779 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2780 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2781 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2782 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2783 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2784 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2785 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 86, 0, 10, 0}, {44, 87, 0, 10, 0},
2786 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 90, 0, 10, 0}, {44, 91, 0, 10, 0},
2787 {44, 92, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2788};
2789// clang-format on
2790
2791// clang-format off
2793SND_SE_INFO cap25[29] = {
2794 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2795 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2796 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2797 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2798 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2799 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2800 {-1, -1, 0, -1, 0}, {44, 25, 0, 10, 0}, {44, 26, 0, 10, 0}, {-1, -1, 0, -1, 0},
2801 {-128, -128, -128, -128, 0},
2802};
2803// clang-format on
2804
2805// clang-format off
2807SND_SE_INFO cap26[2] = {
2808 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2809};
2810// clang-format on
2811
2812// clang-format off
2814SND_SE_INFO cap27[101] = {
2815 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2816 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2817 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2818 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2819 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2820 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2821 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2822 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2823 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2824 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2825 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2826 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2827 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2828 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2829 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2830 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2831 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2832 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2833 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2834 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2835 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2836 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2837 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2838 {-1, -1, 0, -1, 0}, {44, 93, 0, 10, 0}, {44, 94, 0, 10, 0}, {44, 95, 0, 10, 0},
2839 {44, 96, 0, 10, 0}, {44, 97, 1, 10, 0}, {44, 98, 0, 10, 0}, {44, 99, 0, 10, 0},
2840 {-128, -128, -128, -128, 0},
2841};
2842// clang-format on
2843
2844// clang-format off
2846SND_SE_INFO cap30[2] = {
2847 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2848};
2849// clang-format on
2850
2851// clang-format off
2853SND_SE_INFO cap31[15] = {
2854 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2855 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2856 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2857 {45, 112, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2858};
2859// clang-format on
2860
2861// clang-format off
2863SND_SE_INFO cap32[95] = {
2864 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2865 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2866 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2867 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2868 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2869 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2870 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2871 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2872 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2873 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2874 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2875 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2876 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2877 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2878 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2879 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2880 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2881 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2882 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2883 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2884 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2885 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 86, 0, 10, 0}, {44, 87, 0, 10, 0},
2886 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 90, 0, 10, 0}, {44, 91, 0, 10, 0},
2887 {44, 92, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2888};
2889// clang-format on
2890
2891// clang-format off
2893SND_SE_INFO cap35[2] = {
2894 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2895};
2896// clang-format on
2897
2898// clang-format off
2900SND_SE_INFO cap36[2] = {
2901 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2902};
2903// clang-format on
2904
2905// clang-format off
2907SND_SE_INFO cap37[95] = {
2908 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2909 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2910 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2911 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2912 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2913 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2914 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2915 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2916 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2917 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2918 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2919 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2920 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2921 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2922 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2923 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2924 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2925 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2926 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2927 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2928 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2929 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 86, 0, 10, 0}, {44, 87, 0, 10, 0},
2930 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 90, 0, 10, 0}, {44, 91, 0, 10, 0},
2931 {44, 92, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2932};
2933// clang-format on
2934
2935// clang-format off
2937SND_SE_INFO cap40[32] = {
2938 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2939 {46, 23, 0, 10, 0}, {46, 24, 1, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2940 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2941 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2942 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2943 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2944 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2945 {-1, -1, 0, -1, 0}, {46, 29, 1, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2946};
2947// clang-format on
2948
2949// clang-format off
2951SND_SE_INFO cap41[2] = {
2952 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2953};
2954// clang-format on
2955
2956// clang-format off
2958SND_SE_INFO cap42[95] = {
2959 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2960 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2961 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2962 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2963 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2964 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2965 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2966 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2967 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2968 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2969 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2970 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2971 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2972 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2973 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2974 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2975 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2976 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2977 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2978 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2979 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
2980 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 86, 0, 10, 0}, {44, 87, 0, 10, 0},
2981 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 90, 0, 10, 0}, {44, 91, 0, 10, 0},
2982 {44, 92, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2983};
2984// clang-format on
2985
2986// clang-format off
2988SND_SE_INFO cap45[2] = {
2989 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2990};
2991// clang-format on
2992
2993// clang-format off
2995SND_SE_INFO cap46[2] = {
2996 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
2997};
2998// clang-format on
2999
3000// clang-format off
3002SND_SE_INFO cap47[95] = {
3003 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3004 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3005 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3006 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3007 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3008 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3009 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3010 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3011 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3012 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3013 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3014 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3015 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3016 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3017 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3018 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3019 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3020 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3021 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3022 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3023 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3024 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 86, 0, 10, 0}, {44, 87, 0, 10, 0},
3025 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 90, 0, 10, 0}, {44, 91, 0, 10, 0},
3026 {44, 92, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3027};
3028// clang-format on
3029
3030// clang-format off
3032SND_SE_INFO cap50[43] = {
3033 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3034 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3035 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3036 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {47, 75, 0, 10, 0},
3037 {47, 76, 0, 10, 0}, {47, 77, 0, 10, 0}, {47, 78, 0, 10, 0}, {47, 79, 0, 10, 0},
3038 {47, 80, 0, 10, 0}, {47, 81, 0, 10, 0}, {47, 82, 0, 10, 0}, {47, 83, 0, 10, 0},
3039 {47, 84, 0, 10, 0}, {47, 85, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3040 {47, 88, 0, 10, 0}, {47, 89, 0, 10, 0}, {47, 90, 0, 10, 0}, {47, 91, 0, 10, 0},
3041 {47, 92, 0, 10, 0}, {47, 93, 0, 10, 0}, {47, 94, 0, 10, 0}, {-1, -1, 0, -1, 0},
3042 {47, 96, 0, 10, 0}, {47, 97, 0, 10, 0}, {-1, -1, 0, -1, 0}, {47, 99, 0, 10, 0},
3043 {47, 100, 1, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3044};
3045// clang-format on
3046
3047// clang-format off
3049SND_SE_INFO cap51[75] = {
3050 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3051 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3052 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3053 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3054 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3055 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3056 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3057 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3058 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3059 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3060 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3061 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3062 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3063 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3064 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3065 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3066 {47, 64, 0, 10, 0}, {47, 65, 0, 10, 0}, {47, 66, 0, 10, 0}, {47, 67, 0, 10, 0},
3067 {47, 68, 0, 10, 0}, {47, 69, 0, 10, 0}, {47, 70, 1, 10, 0}, {47, 71, 0, 10, 0},
3068 {47, 72, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3069};
3070// clang-format on
3071
3072// clang-format off
3074SND_SE_INFO cap52[79] = {
3075 {47, 23, 0, 10, 0}, {47, 24, 1, 10, 0}, {47, 25, 0, 10, 0}, {47, 26, 0, 10, 0},
3076 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3077 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3078 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3079 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3080 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3081 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3082 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3083 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3084 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3085 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3086 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3087 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3088 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3089 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3090 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3091 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3092 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3093 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 74, 0, 10, 0}, {44, 75, 0, 10, 0},
3094 {44, 76, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3095};
3096// clang-format on
3097
3098// clang-format off
3100SND_SE_INFO cap53[22] = {
3101 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3102 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3103 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3104 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {47, 105, 0, 10, 0},
3105 {47, 106, 0, 10, 0}, {47, 107, 0, 10, 0}, {47, 108, 0, 10, 0}, {47, 109, 0, 10, 0},
3106 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3107};
3108// clang-format on
3109
3110// clang-format off
3112SND_SE_INFO cap54[35] = {
3113 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3114 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3115 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3116 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3117 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3118 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3119 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3120 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3121 {47, 32, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3122};
3123// clang-format on
3124
3125// clang-format off
3127SND_SE_INFO cap55[47] = {
3128 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3129 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3130 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3131 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3132 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3133 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3134 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3135 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3136 {-1, -1, 0, -1, 0}, {47, 33, 0, 10, 0}, {47, 34, 0, 10, 0}, {47, 35, 0, 10, 0},
3137 {47, 36, 0, 10, 0}, {47, 37, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3138 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {47, 42, 0, 10, 0}, {47, 43, 0, 10, 0},
3139 {47, 44, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3140};
3141// clang-format on
3142
3143// clang-format off
3145SND_SE_INFO cap56[55] = {
3146 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3147 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3148 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3149 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3150 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3151 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3152 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3153 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3154 {-1, -1, 0, -1, 0}, {47, 33, 0, 10, 0}, {47, 34, 0, 10, 0}, {47, 35, 0, 10, 0},
3155 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3156 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {47, 42, 0, 10, 0}, {47, 43, 0, 10, 0},
3157 {-1, -1, 0, -1, 0}, {47, 45, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3158 {47, 48, 0, 10, 0}, {47, 49, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3159 {47, 52, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3160};
3161// clang-format on
3162
3163// clang-format off
3165SND_SE_INFO cap57[79] = {
3166 {44, 108, 1, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3167 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3168 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3169 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3170 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3171 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3172 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3173 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3174 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3175 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3176 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3177 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3178 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3179 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3180 {47, 56, 0, 10, 0}, {47, 57, 1, 10, 0}, {47, 58, 0, 10, 0}, {47, 59, 0, 10, 0},
3181 {47, 60, 0, 10, 0}, {47, 61, 0, 10, 0}, {47, 62, 0, 10, 0}, {-1, -1, 0, -1, 0},
3182 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3183 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3184 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 74, 0, 10, 0}, {44, 75, 0, 10, 0},
3185 {44, 76, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3186};
3187// clang-format on
3188
3189// clang-format off
3191SND_SE_INFO cap58[99] = {
3192 {44, 108, 1, 10, 0}, {-1, -1, 0, -1, 0}, {44, 110, 1, 10, 0}, {-1, -1, 0, -1, 0},
3193 {-1, -1, 0, -1, 0}, {44, 113, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3194 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3195 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3196 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3197 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3198 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3199 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3200 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3201 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3202 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3203 {-1, -1, 0, -1, 0}, {45, 45, 0, 10, 0}, {47, 25, 0, 10, 0}, {-1, -1, 0, -1, 0},
3204 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3205 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3206 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3207 {45, 60, 0, 10, 0}, {-1, -1, 0, -1, 0}, {45, 62, 0, 10, 0}, {45, 63, 0, 10, 0},
3208 {45, 64, 0, 10, 0}, {45, 65, 0, 10, 0}, {45, 66, 0, 10, 0}, {-1, -1, 0, -1, 0},
3209 {45, 68, 0, 10, 0}, {45, 69, 0, 10, 0}, {45, 70, 0, 10, 0}, {-1, -1, 0, -1, 0},
3210 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 74, 0, 10, 0}, {44, 75, 0, 10, 0},
3211 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3212 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3213 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3214 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3215 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {44, 95, 0, 10, 0},
3216 {44, 96, 0, 10, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3217};
3218// clang-format on
3219
3220// clang-format off
3222SND_SE_INFO cap59[2] = {
3223 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3224};
3225// clang-format on
3226
3227// clang-format off
3229SND_SE_INFO cap60[2] = {
3230 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3231};
3232// clang-format on
3233
3234// clang-format off
3236SND_SE_INFO cap61[2] = {
3237 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3238};
3239// clang-format on
3240
3241// clang-format off
3243SND_SE_INFO cap62[2] = {
3244 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3245};
3246// clang-format on
3247
3248// clang-format off
3250SND_SE_INFO cap63[2] = {
3251 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3252};
3253// clang-format on
3254
3255// clang-format off
3257SND_SE_INFO cap64[2] = {
3258 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3259};
3260// clang-format on
3261
3262// clang-format off
3264SND_SE_INFO cap65[2] = {
3265 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3266};
3267// clang-format on
3268
3269// clang-format off
3270SND_SE_INFO *cap_se_info[101] = {
3271 cap0, cap1, cap2, cap3, cap4, 0, 0, 0,
3272 0, 0, cap10, cap11, cap12, cap13, cap14, cap15,
3273 cap16, cap17, 0, 0, cap20, cap21, cap22, 0,
3274 0, cap25, cap26, cap27, 0, 0, cap30, cap31,
3275 cap32, 0, 0, cap35, cap36, cap37, 0, 0,
3276 cap40, cap41, cap42, 0, 0, cap45, cap46, cap47,
3277 0, 0, cap50, cap51, cap52, cap53, cap54, cap55,
3278 cap56, cap57, cap58, cap59, cap60, cap61, cap62, cap63,
3279 cap64, cap65, 0, 0, 0, 0, 0, 0,
3280 0, 0, 0, 0, 0, 0, 0, 0,
3281 0, 0, 0, 0, 0, 0, 0, 0,
3282 0, 0, 0, 0, 0, 0, 0, 0,
3283 0, 0, 0, 0, 0,
3284};
3285// clang-format on
3286
3287// clang-format off
3289SND_SE_INFO voice0[54] = {
3290 {23, 20, 0, 11, 0}, {23, 21, 0, 11, 0}, {23, 22, 0, 11, 0}, {23, 23, 0, 11, 0},
3291 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3292 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3293 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3294 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3295 {23, 40, 0, 11, 0}, {23, 41, 0, 11, 0}, {23, 42, 0, 11, 0}, {23, 43, 0, 11, 0},
3296 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3297 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {23, 50, 0, 11, 0}, {23, 51, 0, 11, 0},
3298 {23, 52, 0, 11, 0}, {23, 53, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3299 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3300 {23, 60, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3301 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3302 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {23, 70, 0, 11, 0}, {23, 71, 0, 11, 0},
3303 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3304};
3305// clang-format on
3306
3307// clang-format off
3309SND_SE_INFO voice1[54] = {
3310 {24, 20, 0, 11, 0}, {24, 21, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3311 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3312 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3313 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3314 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3315 {24, 40, 0, 11, 0}, {24, 41, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3316 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3317 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {24, 50, 0, 11, 0}, {24, 51, 0, 11, 0},
3318 {24, 52, 0, 11, 0}, {24, 53, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3319 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3320 {24, 60, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3321 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3322 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {24, 70, 0, 11, 0}, {24, 71, 0, 11, 0},
3323 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3324};
3325// clang-format on
3326
3327// clang-format off
3329SND_SE_INFO voice2[54] = {
3330 {25, 20, 0, 11, 0}, {-1, -1, 0, -1, 0}, {25, 22, 0, 11, 0}, {25, 23, 0, 11, 0},
3331 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3332 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3333 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3334 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3335 {25, 40, 0, 11, 0}, {25, 41, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3336 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3337 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {25, 50, 0, 11, 0}, {25, 51, 0, 11, 0},
3338 {25, 52, 0, 11, 0}, {25, 53, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3339 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3340 {25, 60, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3341 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3342 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {25, 70, 0, 11, 0}, {25, 71, 0, 11, 0},
3343 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3344};
3345// clang-format on
3346
3347// clang-format off
3349SND_SE_INFO voice3[54] = {
3350 {26, 20, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {26, 23, 1, 11, 0},
3351 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3352 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3353 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3354 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3355 {26, 40, 0, 11, 0}, {26, 41, 0, 11, 0}, {26, 42, 0, 11, 0}, {26, 43, 0, 11, 0},
3356 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3357 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {26, 50, 0, 11, 0}, {26, 51, 0, 11, 0},
3358 {26, 52, 0, 11, 0}, {26, 53, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3359 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3360 {26, 60, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3361 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3362 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {26, 70, 0, 11, 0}, {26, 71, 0, 11, 0},
3363 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3364};
3365// clang-format on
3366
3367// clang-format off
3369SND_SE_INFO voice4[54] = {
3370 {27, 20, 0, 11, 0}, {27, 21, 0, 11, 0}, {27, 22, 1, 11, 0}, {-1, -1, 0, -1, 0},
3371 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3372 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3373 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3374 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3375 {27, 40, 0, 11, 0}, {27, 41, 0, 11, 0}, {27, 42, 0, 11, 0}, {-1, -1, 0, -1, 0},
3376 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3377 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {27, 50, 0, 11, 0}, {27, 51, 0, 11, 0},
3378 {27, 52, 0, 11, 0}, {27, 53, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3379 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3380 {27, 60, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3381 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3382 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {27, 70, 0, 11, 0}, {27, 71, 0, 11, 0},
3383 {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3384};
3385// clang-format on
3386
3387// clang-format off
3389SND_SE_INFO voice5[64] = {
3390 {28, 20, 1, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3391 {28, 24, 1, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3392 {-1, -1, 0, -1, 0}, {28, 29, 0, 11, 0}, {28, 30, 0, 11, 0}, {-1, -1, 0, -1, 0},
3393 {-1, -1, 0, -1, 0}, {28, 33, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3394 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3395 {28, 40, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3396 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3397 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {28, 50, 0, 11, 0}, {28, 51, 0, 11, 0},
3398 {28, 52, 0, 11, 0}, {28, 53, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3399 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3400 {28, 60, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3401 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3402 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {28, 70, 0, 11, 0}, {28, 71, 0, 11, 0},
3403 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3404 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3405 {28, 80, 1, 11, 0}, {28, 81, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3406};
3407// clang-format on
3408
3409// clang-format off
3411SND_SE_INFO voice6[7] = {
3412 {29, 20, 0, 11, 0}, {29, 21, 0, 11, 0}, {29, 22, 0, 11, 0}, {29, 23, 0, 11, 0},
3413 {29, 24, 0, 11, 0}, {-1, -1, 0, -1, 0}, {-128, -128, -128, -128, 0},
3414};
3415// clang-format on
3416
3417// clang-format off
3418SND_SE_INFO *voice_info[11] = {
3419 voice0, voice1, voice2, voice3, voice4, voice5, voice6, 0,
3420 0, 0, 0,
3421};
3422// clang-format on
3423
3424// clang-format off
3425SND_SE_INFO special_se_info[65] = {
3426 {-1, -1, 0, -1, 0}, {124, 20, 0, 12, 0}, {124, 21, 0, 12, 0}, {124, 22, 0, 12, 0},
3427 {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0}, {124, 25, 0, 12, 0}, {-1, -1, 0, -1, 0},
3428 {124, 27, 0, 12, 0}, {124, 28, 0, 12, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3429 {124, 31, 0, 12, 0}, {124, 32, 0, 12, 0}, {124, 33, 0, 12, 0}, {124, 34, 0, 12, 0},
3430 {124, 35, 0, 12, 0}, {124, 36, 0, 12, 0}, {124, 37, 0, 12, 0}, {124, 38, 0, 12, 0},
3431 {124, 39, 0, 12, 0}, {124, 40, 0, 12, 0}, {-1, -1, 0, -1, 0}, {-1, -1, 0, -1, 0},
3432 {-1, -1, 0, -1, 0}, {124, 44, 0, 12, 0}, {124, 45, 0, 12, 0}, {124, 46, 0, 12, 0},
3433 {124, 47, 0, 12, 0}, {124, 48, 0, 12, 0}, {124, 49, 0, 12, 0}, {124, 50, 0, 12, 0},
3434 {124, 51, 0, 12, 0}, {124, 52, 0, 12, 0}, {124, 53, 1, 12, 0}, {124, 54, 0, 12, 0},
3435 {124, 55, 0, 12, 0}, {124, 56, 1, 12, 0}, {124, 57, 0, 12, 0}, {124, 58, 0, 12, 0},
3436 {124, 59, 0, 12, 0}, {124, 60, 0, 12, 0}, {-1, -1, 0, -1, 0}, {124, 62, 0, 12, 0},
3437 {-1, -1, 0, -1, 0}, {124, 64, 0, 12, 0}, {124, 65, 0, 12, 0}, {124, 66, 0, 12, 0},
3438 {124, 67, 0, 12, 0}, {-1, -1, 0, -1, 0}, {124, 69, 0, 12, 0}, {124, 70, 0, 12, 0},
3439 {124, 71, 0, 12, 0}, {124, 72, 0, 12, 0}, {124, 73, 0, 12, 0}, {124, 74, 0, 12, 0},
3440 {124, 75, 0, 12, 0}, {124, 76, 0, 12, 0}, {124, 77, 0, 12, 0}, {124, 78, 0, 12, 0},
3441 {124, 79, 0, 12, 0}, {124, 80, 1, 12, 0}, {124, 81, 1, 12, 0}, {-1, -1, 0, -1, 0},
3442 {-128, -128, -128, -128, 0},
3443};
3444// clang-format on
3445
3446TAG_PARAM Command__3[2] = {
3447 {"REVERBE", {1, 1, -1}},
3448 {"TABLE", {1, 1, -1}},
3449};
3450
3451int se_list;
3452
3453SND_INFO *SoundInfo;
3454
3462void LoadSoundInfo(SND_INFO *info, char *script, int script_size) {
3463 u8 *clear;
3464 u8 *data = (u8 *) script;
3465 clear = (u8 *) info;
3466 memset(info, 0, sizeof(SND_INFO));
3467
3468 for (u_int i = 0; i < sizeof(SND_INFO); i++) {
3469 *clear++ = 0;
3470 }
3471
3472 se_list = 0;
3473 SoundInfo = info;
3474 CScriptInterpreter interpreter;
3475 interpreter.SetScript((char *) data, script_size);
3476 interpreter.SetTAG((TAG_PARAM *) Command__3, 2);
3477
3478 for (;;) {
3479 int tag = interpreter.GetNextTAG();
3480
3481 if (tag < 0) {
3482 break;
3483 }
3484
3485 CommandExe__3[tag](interpreter.arguments);
3486 }
3487}
3488
3489static void CommandREVERBE(void **arguments) {
3490 SoundInfo->reverb_mode = *(s32 *) arguments[0];
3491 SoundInfo->reverb_depth = *(s32 *) arguments[1];
3492}
3493
3494static void CommandTABLE(void **arguments) {
3495 SoundInfo->se_table = *(s32 *) arguments[0];
3496 SoundInfo->se_table_type = *(s32 *) arguments[1];
3497}
3498
3499void setbilinear(int on) {
3500 linear__2 = on;
3501}
3502
3503void setAlphaFlag(sceVif1Packet *packet, sceGsAlpha *alpha) {
3504 sceGifTag tag;
3505
3506 *(u_long128 *) &tag = 0;
3507 tag.EOP = 1;
3508 tag.NREG = 1;
3509 tag.REGS0 = SCE_GIF_PACKED_AD;
3510
3511 sceVif1PkCnt(packet, 0);
3512 sceVif1PkOpenDirectCode(packet, 0);
3513 sceVif1PkOpenGifTag(packet, *(u_long128 *) &tag);
3514 sceVif1PkAddGsAD(packet, SCE_GS_ALPHA_1, *(u_long *) alpha);
3515 sceVif1PkCloseGifTag(packet);
3516 sceVif1PkCloseDirectCode(packet);
3517}
3518
3519void set2DSprite(sceVif1Packet *packet, CTexture *texture, const CRect_i_ &screen, int u, int v) {
3520 sceGsTest test;
3521 sceGsZbuf zbuf;
3522 float q;
3523
3524 if (texture == 0) {
3525 return;
3526 }
3527
3528 q = 1.0f;
3529 sceVif1PkCnt(packet, 0);
3530 sceVif1PkOpenDirectCode(packet, 0);
3531 sceVif1PkOpenGifTag(packet, *(u_long128 *) &GiftagAD);
3532 sceVif1PkAddGsAD(packet, SCE_GS_TEX1_1, ((u_long) linear__2 << 5) | 0x41);
3533 sceVif1PkAddGsAD(packet, SCE_GS_PRIM, SCE_GS_SET_PRIM(SCE_GS_PRIM_SPRITE, 0, 1, 0, 1, 0, 1, 0, 0));
3534 test = mgPixelTest;
3535 test.bits.ate = 0;
3536 test.bits.aref = 0;
3537 test.bits.atst = SCE_GS_ALWAYS;
3538 test.bits.zte = 1;
3539 test.bits.ztst = SCE_GS_ALWAYS;
3540 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &test);
3541 zbuf = mgZBuffer;
3542 zbuf.bits.zmsk = 1;
3543 sceVif1PkAddGsAD(packet, SCE_GS_ZBUF_1, *(u_long *) &zbuf);
3544 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(0x80, 0x80, 0x80, 0x80, *(u_int *) &q));
3545 sceVif1PkAddGsAD(packet, SCE_GS_TEX0_1, texture->tex0);
3546 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV(u << 4, v << 4));
3547 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2((screen.x << 4) + 27648, (screen.y << 3) + GS_Y_OFFSET, 0, 0));
3548 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV((u + screen.width) << 4, (v + screen.height) << 4));
3549 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(((screen.x + screen.width) << 4) + 27647, ((screen.y + screen.height) << 3) + GS_Y_OFFSET, 0, 0));
3550 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &mgPixelTest);
3551 sceVif1PkAddGsAD(packet, SCE_GS_ZBUF_1, *(u_long *) &mgZBuffer);
3552 sceVif1PkCloseGifTag(packet);
3553 sceVif1PkCloseDirectCode(packet);
3554}
3555
3556void set2DSprite(sceVif1Packet *packet, CTexture *texture, const CRect_i_ &screen, const CRect_i_ &texel) {
3557 sceGsTest test;
3558 sceGsZbuf zbuf;
3559 float q;
3560
3561 if (texture == 0) {
3562 return;
3563 }
3564
3565 q = 1.0f;
3566 sceVif1PkCnt(packet, 0);
3567 sceVif1PkOpenDirectCode(packet, 0);
3568 sceVif1PkOpenGifTag(packet, *(u_long128 *) &GiftagAD);
3569 sceVif1PkAddGsAD(packet, SCE_GS_TEX1_1, ((u_long) linear__2 << 5) | 0x41);
3570 sceVif1PkAddGsAD(packet, SCE_GS_PRIM, SCE_GS_SET_PRIM(SCE_GS_PRIM_SPRITE, 0, 1, 0, 1, 1, 1, 0, 0));
3571 test = mgPixelTest;
3572 test.bits.ate = 0;
3573 test.bits.aref = 0;
3574 test.bits.atst = SCE_GS_ALWAYS;
3575 test.bits.zte = 1;
3576 test.bits.ztst = SCE_GS_ALWAYS;
3577 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &test);
3578 zbuf = mgZBuffer;
3579 zbuf.bits.zmsk = 1;
3580 sceVif1PkAddGsAD(packet, SCE_GS_ZBUF_1, *(u_long *) &zbuf);
3581 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(0x80, 0x80, 0x80, 0x80, *(u_int *) &q));
3582 sceVif1PkAddGsAD(packet, SCE_GS_TEX0_1, texture->tex0);
3583 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV(texel.x << 4, texel.y << 4));
3584 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2((screen.x << 4) + 27648, (screen.y << 3) + GS_Y_OFFSET, 0, 0));
3585 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV((texel.x + texel.width) << 4, (texel.y + texel.height) << 4));
3586 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(((screen.x + screen.width) << 4) + 27647, ((screen.y + screen.height) << 3) + GS_Y_OFFSET, 0, 0));
3587 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &mgPixelTest);
3588 sceVif1PkAddGsAD(packet, SCE_GS_ZBUF_1, *(u_long *) &mgZBuffer);
3589 sceVif1PkCloseGifTag(packet);
3590 sceVif1PkCloseDirectCode(packet);
3591}
3592
3593void set2DSprite(sceVif1Packet *packet, CTexture *texture, const CRect_i_ &screen, const CRect_i_ &texel, unsigned char alpha) {
3594 sceGsTest test;
3595 sceGsZbuf zbuf;
3596 float q;
3597
3598 if (texture == 0) {
3599 return;
3600 }
3601
3602 q = 1.0f;
3603 sceVif1PkCnt(packet, 0);
3604 sceVif1PkOpenDirectCode(packet, 0);
3605 sceVif1PkOpenGifTag(packet, *(u_long128 *) &GiftagAD);
3606 sceVif1PkAddGsAD(packet, SCE_GS_TEX1_1, ((u_long) linear__2 << 5) | 0x41);
3607 sceVif1PkAddGsAD(packet, SCE_GS_PRIM, SCE_GS_SET_PRIM(SCE_GS_PRIM_SPRITE, 0, 1, 0, 1, 1, 1, 0, 0));
3608 test = mgPixelTest;
3609 test.bits.ate = 0;
3610 test.bits.aref = 0;
3611 test.bits.atst = SCE_GS_ALWAYS;
3612 test.bits.zte = 1;
3613 test.bits.ztst = SCE_GS_ALWAYS;
3614 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &test);
3615 zbuf = mgZBuffer;
3616 zbuf.bits.zmsk = 1;
3617 sceVif1PkAddGsAD(packet, SCE_GS_ZBUF_1, *(u_long *) &zbuf);
3618 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(0x80, 0x80, 0x80, alpha, *(u_int *) &q));
3619 sceVif1PkAddGsAD(packet, SCE_GS_TEX0_1, texture->tex0);
3620 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV(texel.x << 4, texel.y << 4));
3621 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2((screen.x << 4) + 27648, (screen.y << 3) + GS_Y_OFFSET, 0, 0));
3622 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV((texel.x + texel.width) << 4, (texel.y + texel.height) << 4));
3623 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(((screen.x + screen.width) << 4) + 27647, ((screen.y + screen.height) << 3) + GS_Y_OFFSET, 0, 0));
3624 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &mgPixelTest);
3625 sceVif1PkAddGsAD(packet, SCE_GS_ZBUF_1, *(u_long *) &mgZBuffer);
3626 sceVif1PkCloseGifTag(packet);
3627 sceVif1PkCloseDirectCode(packet);
3628}
3629
3630void set2DSprite(sceVif1Packet *packet, CTexture *texture, const CRect_i_ &screen, const CRect_i_ &texel, unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha) {
3631 sceGsTest test;
3632 sceGsZbuf zbuf;
3633 float q;
3634
3635 if (texture == 0) {
3636 return;
3637 }
3638
3639 q = 1.0f;
3640 sceVif1PkCnt(packet, 0);
3641 sceVif1PkOpenDirectCode(packet, 0);
3642 sceVif1PkOpenGifTag(packet, *(u_long128 *) &GiftagAD);
3643 sceVif1PkAddGsAD(packet, SCE_GS_TEX1_1, ((u_long) linear__2 << 5) | 0x41);
3644 sceVif1PkAddGsAD(packet, SCE_GS_PRIM, SCE_GS_SET_PRIM(SCE_GS_PRIM_SPRITE, 0, 1, 0, 1, 1, 1, 0, 0));
3645 test = mgPixelTest;
3646 test.bits.ate = 0;
3647 test.bits.aref = 0;
3648 test.bits.atst = SCE_GS_ALWAYS;
3649 test.bits.zte = 1;
3650 test.bits.ztst = SCE_GS_ALWAYS;
3651 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &test);
3652 zbuf = mgZBuffer;
3653 zbuf.bits.zmsk = 1;
3654 sceVif1PkAddGsAD(packet, SCE_GS_ZBUF_1, *(u_long *) &zbuf);
3655 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(red, green, blue, alpha, *(u_int *) &q));
3656 sceVif1PkAddGsAD(packet, SCE_GS_TEX0_1, texture->tex0);
3657 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV(texel.x << 4, texel.y << 4));
3658 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2((screen.x << 4) + 27648, (screen.y << 3) + GS_Y_OFFSET, 0, 0));
3659 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV((texel.x + texel.width) << 4, (texel.y + texel.height) << 4));
3660 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(((screen.x + screen.width) << 4) + 27647, ((screen.y + screen.height) << 3) + GS_Y_OFFSET, 0, 0));
3661 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &mgPixelTest);
3662 sceVif1PkAddGsAD(packet, SCE_GS_ZBUF_1, *(u_long *) &mgZBuffer);
3663 sceVif1PkCloseGifTag(packet);
3664 sceVif1PkCloseDirectCode(packet);
3665}
3666
3667void set2DSprite(sceVif1Packet *packet, CTexture *texture, const CRect_i_ &screen, const CRect_i_ &texel, spRGBA *top_left, spRGBA *top_right, spRGBA *bottom_left, spRGBA *bottom_right, int mode) {
3668 sceGsTest test;
3669 sceGsZbuf zbuf;
3670 float q;
3671
3672 if (texture == 0) {
3673 return;
3674 }
3675
3676 q = 1.0f;
3677 sceVif1PkCnt(packet, 0);
3678 sceVif1PkOpenDirectCode(packet, 0);
3679 sceVif1PkOpenGifTag(packet, *(u_long128 *) &GiftagAD);
3680 sceVif1PkAddGsAD(packet, SCE_GS_TEX1_1, ((u_long) linear__2 << 5) | 0x41);
3681 sceVif1PkAddGsAD(packet, SCE_GS_PRIM, SCE_GS_SET_PRIM(4, 1, 1, 0, 1, 0, 1, 0, 0));
3682 test = mgPixelTest;
3683 test.bits.ate = 0;
3684 test.bits.aref = 0;
3685 test.bits.atst = SCE_GS_ALWAYS;
3686 test.bits.zte = 1;
3687 test.bits.ztst = SCE_GS_ALWAYS;
3688 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &test);
3689 zbuf = mgZBuffer;
3690 zbuf.bits.zmsk = 1;
3691 sceVif1PkAddGsAD(packet, SCE_GS_ZBUF_1, *(u_long *) &zbuf);
3692 sceVif1PkAddGsAD(packet, SCE_GS_TEX0_1, texture->tex0);
3693
3694 if (mode != 0) {
3695 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(top_left->r, top_left->g, top_left->b, top_left->a, *(u_int *) &q));
3696 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV(texel.x << 4, texel.y << 4));
3697 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2((screen.x << 4) + 27648, (screen.y << 3) + GS_Y_OFFSET, 0, 0));
3698 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(top_right->r, top_right->g, top_right->b, top_right->a, *(u_int *) &q));
3699 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV((texel.x + texel.width) << 4, texel.y << 4));
3700 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(((screen.x + screen.width) << 4) + 27647, (screen.y << 3) + GS_Y_OFFSET, 0, 0));
3701 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(bottom_left->r, bottom_left->g, bottom_left->b, bottom_left->a, *(u_int *) &q));
3702 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV(texel.x << 4, (texel.y + texel.height) << 4));
3703 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2((screen.x << 4) + 27648, ((screen.y + screen.height) << 3) + GS_Y_OFFSET, 0, 0));
3704 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(bottom_right->r, bottom_right->g, bottom_right->b, bottom_right->a, *(u_int *) &q));
3705 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV((texel.x + texel.width) << 4, (texel.y + texel.height) << 4));
3706 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(((screen.x + screen.width) << 4) + 27647, ((screen.y + screen.height) << 3) + GS_Y_OFFSET, 0, 0));
3707 } else {
3708 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(top_right->r, top_right->g, top_right->b, top_right->a, *(u_int *) &q));
3709 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV((texel.x + texel.width) << 4, texel.y << 4));
3710 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(((screen.x + screen.width) << 4) + 27647, (screen.y << 3) + GS_Y_OFFSET, 0, 0));
3711 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(top_left->r, top_left->g, top_left->b, top_left->a, *(u_int *) &q));
3712 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV(texel.x << 4, texel.y << 4));
3713 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2((screen.x << 4) + 27648, (screen.y << 3) + GS_Y_OFFSET, 0, 0));
3714 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(bottom_right->r, bottom_right->g, bottom_right->b, bottom_right->a, *(u_int *) &q));
3715 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV((texel.x + texel.width) << 4, (texel.y + texel.height) << 4));
3716 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(((screen.x + screen.width) << 4) + 27647, ((screen.y + screen.height) << 3) + GS_Y_OFFSET, 0, 0));
3717 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(bottom_left->r, bottom_left->g, bottom_left->b, bottom_left->a, *(u_int *) &q));
3718 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV(texel.x << 4, (texel.y + texel.height) << 4));
3719 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2((screen.x << 4) + 27648, ((screen.y + screen.height) << 3) + GS_Y_OFFSET, 0, 0));
3720 }
3721
3722 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &mgPixelTest);
3723 sceVif1PkAddGsAD(packet, SCE_GS_ZBUF_1, *(u_long *) &mgZBuffer);
3724 sceVif1PkCloseGifTag(packet);
3725 sceVif1PkCloseDirectCode(packet);
3726}
3727
3728void set3DColSprite(sceVif1Packet *packet, int *top_left, int *top_right, int *bottom_left, int *bottom_right, spRGBA *top_left_colour, spRGBA *top_right_colour, spRGBA *bottom_left_colour, spRGBA *bottom_right_colour) {
3729 float q = 1.0f;
3730
3731 sceVif1PkCnt(packet, 0);
3732 sceVif1PkOpenDirectCode(packet, 0);
3733 sceVif1PkOpenGifTag(packet, *(u_long128 *) &GiftagAD);
3734 sceVif1PkAddGsAD(packet, SCE_GS_PRIM, SCE_GS_SET_PRIM(4, 1, 0, 0, 1, 0, 1, 0, 0));
3735 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(top_left_colour->r, top_left_colour->g, top_left_colour->b, top_left_colour->a, *(u_int *) &q));
3736 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(top_left[0], top_left[1], top_left[2], 0));
3737 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(top_right_colour->r, top_right_colour->g, top_right_colour->b, top_right_colour->a, *(u_int *) &q));
3738 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(top_right[0], top_right[1], top_right[2], 0));
3739 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(bottom_left_colour->r, bottom_left_colour->g, bottom_left_colour->b, bottom_left_colour->a, *(u_int *) &q));
3740 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(bottom_left[0], bottom_left[1], bottom_left[2], 0));
3741 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(bottom_right_colour->r, bottom_right_colour->g, bottom_right_colour->b, bottom_right_colour->a, *(u_int *) &q));
3742 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(bottom_right[0], bottom_right[1], bottom_right[2], 0));
3743 sceVif1PkCloseGifTag(packet);
3744 sceVif1PkCloseDirectCode(packet);
3745}
3746
3747void set3DSprite(sceVif1Packet *packet, CTexture *texture, const CRect_i_ &source, int *top_left, int *top_right, int *bottom_left, int *bottom_right, unsigned char alpha) {
3748 spRGBA colour = {0x80, 0x80, 0x80, 0};
3749
3750 colour.a = alpha;
3751 set3DSprite(packet, texture, source, top_left, top_right, bottom_left, bottom_right, &colour);
3752}
3753
3761void set3DSprite(sceVif1Packet *packet, CTexture *texture, const CRect_i_ &source, int *top_left, int *top_right, int *bottom_left, int *bottom_right, spRGBA *colour) {
3762 float q;
3763
3764 if (texture == 0) {
3765 return;
3766 }
3767
3768 q = 1.0f;
3769 sceVif1PkCnt(packet, 0);
3770 sceVif1PkOpenDirectCode(packet, 0);
3771 sceVif1PkOpenGifTag(packet, *(u_long128 *) &GiftagAD);
3772 sceVif1PkAddGsAD(packet, SCE_GS_TEX1_1, SCE_GS_SET_TEX1(1, 0, 1, 1, 0, 0, 0));
3773 sceVif1PkAddGsAD(packet, SCE_GS_PRIM, SCE_GS_SET_PRIM(4, 0, 1, 0, 1, 0, 1, 0, 0));
3774 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(colour->r, colour->g, colour->b, colour->a, *(u_int *) &q));
3775 sceVif1PkAddGsAD(packet, SCE_GS_TEX0_1, texture->tex0);
3776 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV(source.x << 4, source.y << 4));
3777 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(top_left[0], top_left[1], top_left[2], 0));
3778 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV((source.x + source.width) << 4, source.y << 4));
3779 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(top_right[0], top_right[1], top_right[2], 0));
3780 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV(source.x << 4, (source.y + source.height) << 4));
3781 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(bottom_left[0], bottom_left[1], bottom_left[2], 0));
3782 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV((source.x + source.width) << 4, (source.y + source.height) << 4));
3783 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(bottom_right[0], bottom_right[1], bottom_right[2], 0));
3784 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &mgPixelTest);
3785 sceVif1PkCloseGifTag(packet);
3786 sceVif1PkCloseDirectCode(packet);
3787}
3788
3796void set3DSprite(sceVif1Packet *packet, CTexture *texture, const CRect_i_ &source, int *top_left, int *bottom_right, spRGBA *colour) {
3797 float q;
3798
3799 if (texture == 0) {
3800 return;
3801 }
3802
3803 q = 1.0f;
3804 sceVif1PkCnt(packet, 0);
3805 sceVif1PkOpenDirectCode(packet, 0);
3806 sceVif1PkOpenGifTag(packet, *(u_long128 *) &GiftagAD);
3807 sceVif1PkAddGsAD(packet, SCE_GS_TEX1_1, SCE_GS_SET_TEX1(1, 0, 1, 1, 0, 0, 0));
3808 sceVif1PkAddGsAD(packet, SCE_GS_PRIM, SCE_GS_SET_PRIM(SCE_GS_PRIM_SPRITE, 0, 1, 0, 1, 0, 1, 0, 0));
3809 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(colour->r, colour->g, colour->b, colour->a, *(u_int *) &q));
3810 sceVif1PkAddGsAD(packet, SCE_GS_TEX0_1, texture->tex0);
3811 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV(source.x << 4, source.y << 4));
3812 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(top_left[0], top_left[1], top_left[2], 0));
3813 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV((source.x + source.width) << 4, (source.y + source.height) << 4));
3814 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(bottom_right[0], bottom_right[1], bottom_right[2], 0));
3815 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &mgPixelTest);
3816 sceVif1PkCloseGifTag(packet);
3817 sceVif1PkCloseDirectCode(packet);
3818}
3819
3827void set3DSpriteFog(sceVif1Packet *packet, CTexture *texture, const CRect_i_ &source, int *top_left, int *top_right, int *bottom_left, int *bottom_right, unsigned char alpha) {
3828 float q;
3829
3830 if (texture == 0) {
3831 return;
3832 }
3833
3834 q = 1.0f;
3835 sceVif1PkCnt(packet, 0);
3836 sceVif1PkOpenDirectCode(packet, 0);
3837 sceVif1PkOpenGifTag(packet, *(u_long128 *) &GiftagAD);
3838 sceVif1PkAddGsAD(packet, SCE_GS_TEX1_1, SCE_GS_SET_TEX1(1, 0, 1, 1, 0, 0, 0));
3839 sceVif1PkAddGsAD(packet, SCE_GS_PRIM, SCE_GS_SET_PRIM(4, 0, 1, 1, 1, 0, 1, 0, 0));
3840 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(0x80, 0x80, 0x80, alpha, *(u_int *) &q));
3841 sceVif1PkAddGsAD(packet, SCE_GS_TEX0_1, texture->tex0);
3842 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV(source.x << 4, source.y << 4));
3843 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(top_left[0], top_left[1], top_left[2], top_left[3]));
3844 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV((source.x + source.width) << 4, source.y << 4));
3845 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(top_right[0], top_right[1], top_right[2], top_right[3]));
3846 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV(source.x << 4, (source.y + source.height) << 4));
3847 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(bottom_left[0], bottom_left[1], bottom_left[2], bottom_left[3]));
3848 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV((source.x + source.width) << 4, (source.y + source.height) << 4));
3849 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(bottom_right[0], bottom_right[1], bottom_right[2], bottom_right[3]));
3850 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &mgPixelTest);
3851 sceVif1PkCloseGifTag(packet);
3852 sceVif1PkCloseDirectCode(packet);
3853}
3854
3862void set3DSpriteFog(sceVif1Packet *packet, CTexture *texture, const CRect_i_ &source, int *top_left, int *bottom_right, spRGBA *colour) {
3863 float q;
3864
3865 if (texture == 0) {
3866 return;
3867 }
3868
3869 q = 1.0f;
3870 sceVif1PkCnt(packet, 0);
3871 sceVif1PkOpenDirectCode(packet, 0);
3872 sceVif1PkOpenGifTag(packet, *(u_long128 *) &GiftagAD);
3873 sceVif1PkAddGsAD(packet, SCE_GS_TEX1_1, SCE_GS_SET_TEX1(1, 0, 1, 1, 0, 0, 0));
3874 sceVif1PkAddGsAD(packet, SCE_GS_PRIM, SCE_GS_SET_PRIM(SCE_GS_PRIM_SPRITE, 0, 1, 1, 1, 0, 1, 0, 0));
3875 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(colour->r, colour->g, colour->b, colour->a, *(u_int *) &q));
3876 sceVif1PkAddGsAD(packet, SCE_GS_TEX0_1, texture->tex0);
3877 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV(source.x << 4, source.y << 4));
3878 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(top_left[0], top_left[1], top_left[2], top_left[3]));
3879 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV((source.x + source.width) << 4, (source.y + source.height) << 4));
3880 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(bottom_right[0], bottom_right[1], bottom_right[2], bottom_right[3]));
3881 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &mgPixelTest);
3882 sceVif1PkCloseGifTag(packet);
3883 sceVif1PkCloseDirectCode(packet);
3884}
3885
3886void setColSprite(sceVif1Packet *packet, int *top_left, int *top_right, int *bottom_left, int *bottom_right, unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha) {
3887 float q = 1.0f;
3888
3889 sceVif1PkCnt(packet, 0);
3890 sceVif1PkOpenDirectCode(packet, 0);
3891 sceVif1PkOpenGifTag(packet, *(u_long128 *) &GiftagAD);
3892 sceVif1PkAddGsAD(packet, SCE_GS_TEX1_1, SCE_GS_SET_TEX1(1, 0, 1, 1, 0, 0, 0));
3893 sceVif1PkAddGsAD(packet, SCE_GS_PRIM, SCE_GS_SET_PRIM(4, 0, 0, 0, 1, 0, 0, 0, 0));
3894 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(red, green, blue, alpha, *(u_int *) &q));
3895 sceVif1PkAddGsAD(packet, SCE_GS_XYZ2, (u_long) top_left[0] | ((u_long) top_left[1] << 16) | ((u_long) top_left[2] << 32));
3896 sceVif1PkAddGsAD(packet, SCE_GS_XYZ2, (u_long) top_right[0] | ((u_long) top_right[1] << 16) | ((u_long) top_right[2] << 32));
3897 sceVif1PkAddGsAD(packet, SCE_GS_XYZ2, (u_long) bottom_left[0] | ((u_long) bottom_left[1] << 16) | ((u_long) bottom_left[2] << 32));
3898 sceVif1PkAddGsAD(packet, SCE_GS_XYZ2, (u_long) bottom_right[0] | ((u_long) bottom_right[1] << 16) | ((u_long) bottom_right[2] << 32));
3899 sceVif1PkCloseGifTag(packet);
3900 sceVif1PkCloseDirectCode(packet);
3901
3902 sceVif1PkCnt(packet, 0);
3903 sceVif1PkOpenDirectCode(packet, 0);
3904 sceVif1PkOpenGifTag(packet, *(u_long128 *) &GiftagAD);
3905 sceVif1PkAddGsAD(packet, SCE_GS_TEXFLUSH, 0);
3906 sceVif1PkCloseGifTag(packet);
3907 sceVif1PkCloseDirectCode(packet);
3908}
3909
3910void set2DSpriteC4(sceVif1Packet *packet, const CRect_i_ &screen, spRGBA *top_left, spRGBA *top_right, spRGBA *bottom_left, spRGBA *bottom_right) {
3911 sceGsTest test;
3912 sceGsZbuf zbuf;
3913 float q = 1.0f;
3914
3915 sceVif1PkCnt(packet, 0);
3916 sceVif1PkOpenDirectCode(packet, 0);
3917 sceVif1PkOpenGifTag(packet, *(u_long128 *) &GiftagAD);
3918 sceVif1PkAddGsAD(packet, SCE_GS_TEX1_1, SCE_GS_SET_TEX1(1, 0, 1, 1, 0, 0, 0));
3919 sceVif1PkAddGsAD(packet, SCE_GS_PRIM, SCE_GS_SET_PRIM(4, 1, 0, 0, 1, 0, 0, 0, 0));
3920 test = mgPixelTest;
3921 test.bits.ate = 0;
3922 test.bits.aref = 0;
3923 test.bits.atst = SCE_GS_ALWAYS;
3924 test.bits.zte = 1;
3925 test.bits.ztst = SCE_GS_ALWAYS;
3926 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &test);
3927 zbuf = mgZBuffer;
3928 zbuf.bits.zmsk = 1;
3929 sceVif1PkAddGsAD(packet, SCE_GS_ZBUF_1, *(u_long *) &zbuf);
3930 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(top_left->r, top_left->g, top_left->b, top_left->a, *(u_int *) &q));
3931 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2((screen.x << 4) + 27648, (screen.y << 3) + GS_Y_OFFSET, 0, 0));
3932 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(top_right->r, top_right->g, top_right->b, top_right->a, *(u_int *) &q));
3933 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(((screen.x + screen.width) << 4) + 27647, (screen.y << 3) + GS_Y_OFFSET, 0, 0));
3934 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(bottom_left->r, bottom_left->g, bottom_left->b, bottom_left->a, *(u_int *) &q));
3935 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2((screen.x << 4) + 27648, ((screen.y + screen.height) << 3) + GS_Y_OFFSET, 0, 0));
3936 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(bottom_right->r, bottom_right->g, bottom_right->b, bottom_right->a, *(u_int *) &q));
3937 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(((screen.x + screen.width) << 4) + 27647, ((screen.y + screen.height) << 3) + GS_Y_OFFSET, 0, 0));
3938 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &mgPixelTest);
3939 sceVif1PkAddGsAD(packet, SCE_GS_ZBUF_1, *(u_long *) &mgZBuffer);
3940 sceVif1PkCloseGifTag(packet);
3941 sceVif1PkCloseDirectCode(packet);
3942}
3943
3944void set2DSprite(sceVif1Packet *packet, CTexture *texture, const CRect_i_ &screen, const CRect_i_ &texel, int pivot_x, int pivot_y, float angle) {
3945 float x[4];
3946 float y[4];
3947 sceGsTest test;
3948 sceGsZbuf zbuf;
3949 float q;
3950 int i;
3951
3952 if (texture == 0) {
3953 return;
3954 }
3955
3956 q = 1.0f;
3957 sceVif1PkCnt(packet, 0);
3958 sceVif1PkOpenDirectCode(packet, 0);
3959 sceVif1PkOpenGifTag(packet, *(u_long128 *) &GiftagAD);
3960 sceVif1PkAddGsAD(packet, SCE_GS_TEX1_1, ((u_long) linear__2 << 5) | 0x41);
3961 sceVif1PkAddGsAD(packet, SCE_GS_PRIM, SCE_GS_SET_PRIM(4, 0, 1, 0, 1, 1, 1, 0, 0));
3962 test = mgPixelTest;
3963 test.bits.ate = 0;
3964 test.bits.aref = 0;
3965 test.bits.atst = SCE_GS_ALWAYS;
3966 test.bits.zte = 1;
3967 test.bits.ztst = SCE_GS_ALWAYS;
3968 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &test);
3969 zbuf = mgZBuffer;
3970 zbuf.bits.zmsk = 1;
3971
3972 x[0] = x[2] = -pivot_x;
3973 x[1] = x[3] = (screen.x + screen.width + 1) - (screen.x + pivot_x);
3974 y[0] = y[1] = -pivot_y;
3975 y[2] = y[3] = (screen.y + screen.height + 1) - (screen.y + pivot_y);
3976
3977 for (i = 0; i < 4; i++) {
3978 float turned_x = y[i] * cosf(angle) + x[i] * sinf(angle);
3979 float turned_y = x[i] * cosf(angle) - y[i] * sinf(angle);
3980
3981 x[i] = (((int) turned_x + screen.x) << 4) + 27648;
3982 y[i] = (((int) turned_y + screen.y) << 3) + GS_Y_OFFSET;
3983 }
3984
3985 sceVif1PkAddGsAD(packet, SCE_GS_ZBUF_1, *(u_long *) &zbuf);
3986 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(0x80, 0x80, 0x80, 0x80, *(u_int *) &q));
3987 sceVif1PkAddGsAD(packet, SCE_GS_TEX0_1, texture->tex0);
3988 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV(texel.x << 4, texel.y << 4));
3989 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(x[0], y[0], 0, 0));
3990 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV((texel.x + screen.width) << 4, texel.y << 4));
3991 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(x[1], y[1], 0, 0));
3992 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV(texel.x << 4, (texel.y + texel.height) << 4));
3993 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(x[2], y[2], 0, 0));
3994 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV((texel.x + texel.width) << 4, (texel.y + texel.height) << 4));
3995 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(x[3], y[3], 0, 0));
3996 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &mgPixelTest);
3997 sceVif1PkAddGsAD(packet, SCE_GS_ZBUF_1, *(u_long *) &mgZBuffer);
3998 sceVif1PkCloseGifTag(packet);
3999 sceVif1PkCloseDirectCode(packet);
4000}
4001
4002void set2DSpriteRot(sceVif1Packet *packet, CTexture *texture, const CRect_i_ &screen, const CRect_i_ &texel, int pivot_x, int pivot_y, float angle, unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha) {
4003 float x[4];
4004 float y[4];
4005 sceGsTest test;
4006 sceGsZbuf zbuf;
4007 float q;
4008 int i;
4009
4010 q = 1.0f;
4011 sceVif1PkCnt(packet, 0);
4012 sceVif1PkOpenDirectCode(packet, 0);
4013 sceVif1PkOpenGifTag(packet, *(u_long128 *) &GiftagAD);
4014 sceVif1PkAddGsAD(packet, SCE_GS_TEX1_1, ((u_long) linear__2 << 5) | 0x41);
4015 sceVif1PkAddGsAD(packet, SCE_GS_PRIM, SCE_GS_SET_PRIM(4, 0, 1, 0, 1, 1, 1, 0, 0));
4016 test = mgPixelTest;
4017 test.bits.ate = 0;
4018 test.bits.aref = 0;
4019 test.bits.atst = SCE_GS_ALWAYS;
4020 test.bits.zte = 1;
4021 test.bits.ztst = SCE_GS_ALWAYS;
4022 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &test);
4023 zbuf = mgZBuffer;
4024 zbuf.bits.zmsk = 1;
4025
4026 x[0] = x[2] = pivot_x * -16;
4027 x[1] = x[3] = ((screen.width - pivot_x) << 4) - 1;
4028 y[0] = y[1] = pivot_y * -16;
4029 y[2] = y[3] = ((screen.height - pivot_y) << 4) - 1;
4030
4031 for (i = 0; i < 4; i++) {
4032 float turned_x = -y[i] * sinf(angle) - x[i] * cosf(angle);
4033 float turned_y = -x[i] * sinf(angle) + y[i] * cosf(angle);
4034
4035 x[i] = (int) turned_x + (screen.x << 4) + 27648;
4036 y[i] = (int) (0.5f * turned_y) + (screen.y << 3) + GS_Y_OFFSET;
4037 }
4038
4039 sceVif1PkAddGsAD(packet, SCE_GS_ZBUF_1, *(u_long *) &zbuf);
4040 sceVif1PkAddGsAD(packet, SCE_GS_RGBAQ, SCE_GS_SET_RGBAQ(red, green, blue, alpha, *(u_int *) &q));
4041 sceVif1PkAddGsAD(packet, SCE_GS_TEX0_1, texture->tex0);
4042 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV(texel.x << 4, texel.y << 4));
4043 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(x[0], y[0], 0, 0));
4044 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV((texel.x + screen.width) << 4, texel.y << 4));
4045 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(x[1], y[1], 0, 0));
4046 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV(texel.x << 4, (texel.y + texel.height) << 4));
4047 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(x[2], y[2], 0, 0));
4048 sceVif1PkAddGsAD(packet, SCE_GS_UV, SCE_GS_SET_UV((texel.x + texel.width) << 4, (texel.y + texel.height) << 4));
4049 sceVif1PkAddGsAD(packet, SCE_GS_XYZF2, SCE_GS_SET_XYZF2(x[3], y[3], 0, 0));
4050 sceVif1PkAddGsAD(packet, SCE_GS_TEST_1, *(u_long *) &mgPixelTest);
4051 sceVif1PkAddGsAD(packet, SCE_GS_ZBUF_1, *(u_long *) &mgZBuffer);
4052 sceVif1PkCloseGifTag(packet);
4053 sceVif1PkCloseDirectCode(packet);
4054}
4055
4063void set2DSprite(sceVif1Packet *packet, CTexture *texture, RECT *screen, RECT *texel, unsigned char alpha) {
4064 set2DSprite(packet, texture, CRect_i_(screen->x, screen->y, screen->width, screen->height), CRect_i_(texel->x, texel->y, texel->width, texel->height), alpha);
4065}
void GetPos(float *pos)
Definition camera.cpp:230
void GetDir(float *dir)
Definition camera.cpp:147
s32 x
Definition rect.hpp:18
s32 width
Definition rect.hpp:20
s32 height
Definition rect.hpp:21
s32 y
Definition rect.hpp:19
void SetScript(char *script, int script_size)
void SetTAG(TAG_PARAM *tags, int count)
void StopVoice(int core)
Definition sound.cpp:69
int Init(int mode0, int mode1, int depth0, int depth1)
Definition sound.cpp:372
void SE_Play(int port, int bank, int program, int pan, int velocity, int volume, int voice)
Definition sound.cpp:579
int LoadSoundFileFromPack(char *name, unsigned int *pack)
Definition sound.cpp:186
void SE_SetPan(int port, int bank, int program, int pan, int voice)
Definition sound.cpp:679
void Step()
Definition sound.cpp:814
void SetVol(int port, int volume)
Definition sound.cpp:983
void SE_SetVol(int port, int bank, int program, int volume, int voice)
Definition sound.cpp:643
void SQ_RePlay(int port)
Definition sound.cpp:574
void Stop(int port)
Definition sound.cpp:978
short * GetSeInfTbl()
Definition sound.cpp:49
void SE_Stop(int port, int bank, int program, int voice)
Definition sound.cpp:719
void SQ_Play(int port, int seq_no)
Definition sound.cpp:495
void SetReverb(int core, int mode, int depth)
Definition sound.cpp:74
int GetSeNo(int bank, int program)
Definition sound.cpp:53
MIDI_STATE * GetMidiState()
Definition sound.cpp:45
u_long tex0
Definition texture.hpp:57
EDIT_PARTS_ATRA parts[25]
MIDI_SEQUENCE * sequence[10]
Definition sound.hpp:62
MIDI_PORT port[8]
Definition sound.hpp:74
Definition title.cpp:61
s32 width
Definition rect.hpp:36
s32 height
Definition rect.hpp:37
int y
Definition title.cpp:63
int x
Definition title.cpp:62
s32 se_table_type
Definition snd.hpp:753
s32 reverb_depth
Definition snd.hpp:751
s32 se_table
Definition snd.hpp:752
s32 reverb_mode
Definition snd.hpp:750
s16 vol_no
Definition snd.hpp:729
s16 step
Definition snd.hpp:742
s16 voice
Definition snd.hpp:743
s16 se_no
Definition snd.hpp:740
s16 length
Definition snd.hpp:741
u8 b
Definition rect.hpp:48
u8 g
Definition rect.hpp:47
u8 a
Definition rect.hpp:49
u8 r
Definition rect.hpp:46