| 1 | #cxx . . $ `<file>/src/pt2_pattern_viewer.c`/include <stdint.h> |
| 2 | #include "pt2_tables.h"cxx . . $ `<file>/src/pt2_tables.h`/ |
| 3 | #include "pt2_textout.h"cxx . . $ `<file>/src/pt2_textout.h`/ |
| 4 | #include "pt2_structs.h"cxx . . $ `<file>/src/pt2_structs.h`/ |
| 5 | #include "pt2_config.h"cxx . . $ `<file>/src/pt2_config.h`/ |
| 6 | #include "pt2_visuals.h"cxx . . $ `<file>/src/pt2_visuals.h`/ |
| 7 | |
| 8 | #define MIDDLE_ROWcxx . . $ `src/pt2_pattern_viewer.c:8:9`! 7 |
| 9 | #define VISIBLE_ROWScxx . . $ `src/pt2_pattern_viewer.c:9:9`! 15 |
| 10 | |
| 11 | static const char emptyDottedEffectcxx . . $ emptyDottedEffect.[4] = { 0x02, 0x02, 0x02, 0x00 }; |
| 12 | static const char emptyDottedSamplecxx . . $ emptyDottedSample.[3] = { 0x02, 0x02, 0x00 }; |
| 13 | |
| 14 | static int32_tcxx . . $ int32_t# periodToNotecxx . . $ periodToNote(7864480464b09eea).(int32_tcxx . . $ int32_t# period) // 0 = no note, 1 = illegal note, 2..37 = note |
| 15 | { |
| 16 | if (period == 0) |
| 17 | return 0; |
| 18 | |
| 19 | int32_tcxx . . $ int32_t# beg = 0; |
| 20 | int32_tcxx . . $ int32_t# end = 36 - 1; |
| 21 | |
| 22 | // do binary search |
| 23 | while (beg <= end) |
| 24 | { |
| 25 | const int32_tcxx . . $ int32_t# mid = (beg + end) >> 1; |
| 26 | |
| 27 | int32_tcxx . . $ int32_t# tableVal = periodTablecxx . . $ periodTable.[mid]; |
| 28 | if (period == tableVal) |
| 29 | return 2+mid; |
| 30 | |
| 31 | if (period < tableVal) |
| 32 | beg = mid+1; |
| 33 | else |
| 34 | end = mid-1; |
| 35 | } |
| 36 | |
| 37 | return 1; // illegal note |
| 38 | } |
| 39 | |
| 40 | static void drawPatternNormalcxx . . $ drawPatternNormal(49f6e7a06ebc5aa8).(void) |
| 41 | { |
| 42 | const char **noteNames; |
| 43 | if (configcxx . . $ config..accidentalcxx . . $ config_t#accidental.) |
| 44 | noteNames = (const char **)noteNames2cxx . . $ noteNames2.; |
| 45 | else |
| 46 | noteNames = (const char **)noteNames1cxx . . $ noteNames1.; |
| 47 | |
| 48 | note_tcxx . . $ note_t# *patt = songcxx . . $ song.->patternscxx . . $ module_t#patterns.[songcxx . . $ song.->currPatterncxx . . $ module_t#currPattern.]; |
| 49 | int32_tcxx . . $ int32_t# row = songcxx . . $ song.->currRowcxx . . $ module_t#currRow. - MIDDLE_ROWcxx . . $ `src/pt2_pattern_viewer.c:8:9`!; |
| 50 | int32_tcxx . . $ int32_t# y = 140; |
| 51 | |
| 52 | for (int32_tcxx . . $ int32_t# i = 0; i < VISIBLE_ROWScxx . . $ `src/pt2_pattern_viewer.c:9:9`!; i++, y += 7, row++) |
| 53 | { |
| 54 | if (row < 0 || row >= MOD_ROWScxx . . $ `src/pt2_header.h:73:9`!) |
| 55 | { |
| 56 | // clear empty rows outside of pattern data |
| 57 | fillRectcxx . . $ fillRect(6fb2c7d311165c4f).(8, y, FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!*2, FONT_CHAR_Hcxx . . $ `src/pt2_header.h:71:9`!, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 58 | fillRectcxx . . $ fillRect(6fb2c7d311165c4f).(32+(0*72), y, FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!*8, FONT_CHAR_Hcxx . . $ `src/pt2_header.h:71:9`!, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 59 | fillRectcxx . . $ fillRect(6fb2c7d311165c4f).(32+(1*72), y, FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!*8, FONT_CHAR_Hcxx . . $ `src/pt2_header.h:71:9`!, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 60 | fillRectcxx . . $ fillRect(6fb2c7d311165c4f).(32+(2*72), y, FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!*8, FONT_CHAR_Hcxx . . $ `src/pt2_header.h:71:9`!, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 61 | fillRectcxx . . $ fillRect(6fb2c7d311165c4f).(32+(3*72), y, FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!*8, FONT_CHAR_Hcxx . . $ `src/pt2_header.h:71:9`!, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 62 | } |
| 63 | else |
| 64 | { |
| 65 | if (i == MIDDLE_ROWcxx . . $ `src/pt2_pattern_viewer.c:8:9`!) // middle row has twice as tall glyphs |
| 66 | { |
| 67 | y++; |
| 68 | printTwoDecimalsBigBgcxx . . $ printTwoDecimalsBigBg(a9b0a938867453dc).(8, y, row, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENTXTcxx . . $ PAL_GENTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENBKGcxx . . $ PAL_GENBKG.]); |
| 69 | |
| 70 | note_tcxx . . $ note_t# *note = patt + (row << 2); |
| 71 | int32_tcxx . . $ int32_t# x = 32; |
| 72 | for (int32_tcxx . . $ int32_t# j = 0; j < PAULA_VOICEScxx . . $ `src/pt2_paula.h:13:9`!; j++, note++) |
| 73 | { |
| 74 | textOutBigBgcxx . . $ textOutBigBg(14940e7ead0326d3).(x, y, noteNames[periodToNotecxx . . $ periodToNote(7864480464b09eea).(note->periodcxx . . $ note_t#period.)], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENTXTcxx . . $ PAL_GENTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENBKGcxx . . $ PAL_GENBKG.]); |
| 75 | x += 8*3; |
| 76 | |
| 77 | char smpChar = (configcxx . . $ config..blankZeroFlagcxx . . $ config_t#blankZeroFlag. && !(note->samplecxx . . $ note_t#sample. & 0xF0)) ? ' ' : hexTablecxx . . $ hexTable.[note->samplecxx . . $ note_t#sample. >> 4]; |
| 78 | charOutBigBgcxx . . $ charOutBigBg(585309c1ae331a9b).(x, y, smpChar, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENTXTcxx . . $ PAL_GENTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENBKGcxx . . $ PAL_GENBKG.]); |
| 79 | x += 8; |
| 80 | |
| 81 | printOneHexBigBgcxx . . $ printOneHexBigBg(a9b0a938867453dc).(x, y, note->samplecxx . . $ note_t#sample. & 0x0F, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENTXTcxx . . $ PAL_GENTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENBKGcxx . . $ PAL_GENBKG.]); |
| 82 | x += 8; |
| 83 | |
| 84 | printOneHexBigBgcxx . . $ printOneHexBigBg(a9b0a938867453dc).(x, y, note->commandcxx . . $ note_t#command., videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENTXTcxx . . $ PAL_GENTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENBKGcxx . . $ PAL_GENBKG.]); |
| 85 | x += 8; |
| 86 | |
| 87 | printTwoHexBigBgcxx . . $ printTwoHexBigBg(a9b0a938867453dc).(x, y, note->paramcxx . . $ note_t#param., videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENTXTcxx . . $ PAL_GENTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENBKGcxx . . $ PAL_GENBKG.]); |
| 88 | x += (8*2)+8; |
| 89 | } |
| 90 | y += 6; |
| 91 | } |
| 92 | else // non-middle rows |
| 93 | { |
| 94 | printTwoDecimalsBgcxx . . $ printTwoDecimalsBg(a9b0a938867453dc).(8, y, row, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_PATTXTcxx . . $ PAL_PATTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 95 | |
| 96 | note_tcxx . . $ note_t# *note = patt + (row << 2); |
| 97 | int32_tcxx . . $ int32_t# x = 32; |
| 98 | for (int32_tcxx . . $ int32_t# j = 0; j < PAULA_VOICEScxx . . $ `src/pt2_paula.h:13:9`!; j++, note++) |
| 99 | { |
| 100 | textOutBgcxx . . $ textOutBg(14940e7ead0326d3).(x, y, noteNames[periodToNotecxx . . $ periodToNote(7864480464b09eea).(note->periodcxx . . $ note_t#period.)], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_PATTXTcxx . . $ PAL_PATTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 101 | x += 8*3; |
| 102 | |
| 103 | char smpChar = (configcxx . . $ config..blankZeroFlagcxx . . $ config_t#blankZeroFlag. && !(note->samplecxx . . $ note_t#sample. & 0xF0)) ? ' ' : hexTablecxx . . $ hexTable.[note->samplecxx . . $ note_t#sample. >> 4]; |
| 104 | charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x, y, smpChar, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_PATTXTcxx . . $ PAL_PATTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 105 | x += 8; |
| 106 | |
| 107 | printOneHexBgcxx . . $ printOneHexBg(a9b0a938867453dc).(x , y, note->samplecxx . . $ note_t#sample. & 0x0F, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_PATTXTcxx . . $ PAL_PATTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 108 | x += 8; |
| 109 | |
| 110 | printOneHexBgcxx . . $ printOneHexBg(a9b0a938867453dc).(x, y, note->commandcxx . . $ note_t#command., videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_PATTXTcxx . . $ PAL_PATTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 111 | x += 8; |
| 112 | |
| 113 | printTwoHexBgcxx . . $ printTwoHexBg(a9b0a938867453dc).(x, y, note->paramcxx . . $ note_t#param., videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_PATTXTcxx . . $ PAL_PATTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 114 | x += (8*2)+8; |
| 115 | } |
| 116 | } |
| 117 | } |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | static void drawPatternDottedcxx . . $ drawPatternDotted(49f6e7a06ebc5aa8).(void) |
| 122 | { |
| 123 | const char **noteNames; |
| 124 | if (configcxx . . $ config..accidentalcxx . . $ config_t#accidental.) |
| 125 | noteNames = (const char **)noteNames4cxx . . $ noteNames4.; |
| 126 | else |
| 127 | noteNames = (const char **)noteNames3cxx . . $ noteNames3.; |
| 128 | |
| 129 | note_tcxx . . $ note_t# *patt = songcxx . . $ song.->patternscxx . . $ module_t#patterns.[songcxx . . $ song.->currPatterncxx . . $ module_t#currPattern.]; |
| 130 | int32_tcxx . . $ int32_t# row = songcxx . . $ song.->currRowcxx . . $ module_t#currRow. - MIDDLE_ROWcxx . . $ `src/pt2_pattern_viewer.c:8:9`!; |
| 131 | int32_tcxx . . $ int32_t# y = 140; |
| 132 | |
| 133 | for (int32_tcxx . . $ int32_t# i = 0; i < VISIBLE_ROWScxx . . $ `src/pt2_pattern_viewer.c:9:9`!; i++, y += 7, row++) |
| 134 | { |
| 135 | if (row < 0 || row >= MOD_ROWScxx . . $ `src/pt2_header.h:73:9`!) |
| 136 | { |
| 137 | // clear empty rows outside of pattern data |
| 138 | fillRectcxx . . $ fillRect(6fb2c7d311165c4f).(8, y, FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!*2, FONT_CHAR_Hcxx . . $ `src/pt2_header.h:71:9`!, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 139 | fillRectcxx . . $ fillRect(6fb2c7d311165c4f).(32+(0*72), y, FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!*8, FONT_CHAR_Hcxx . . $ `src/pt2_header.h:71:9`!, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 140 | fillRectcxx . . $ fillRect(6fb2c7d311165c4f).(32+(1*72), y, FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!*8, FONT_CHAR_Hcxx . . $ `src/pt2_header.h:71:9`!, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 141 | fillRectcxx . . $ fillRect(6fb2c7d311165c4f).(32+(2*72), y, FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!*8, FONT_CHAR_Hcxx . . $ `src/pt2_header.h:71:9`!, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 142 | fillRectcxx . . $ fillRect(6fb2c7d311165c4f).(32+(3*72), y, FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!*8, FONT_CHAR_Hcxx . . $ `src/pt2_header.h:71:9`!, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 143 | } |
| 144 | else |
| 145 | { |
| 146 | if (i == MIDDLE_ROWcxx . . $ `src/pt2_pattern_viewer.c:8:9`!) // middle row has twice as tall glyphs |
| 147 | { |
| 148 | y++; |
| 149 | printTwoDecimalsBigBgcxx . . $ printTwoDecimalsBigBg(a9b0a938867453dc).(8, y, row, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENTXTcxx . . $ PAL_GENTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENBKGcxx . . $ PAL_GENBKG.]); |
| 150 | |
| 151 | note_tcxx . . $ note_t# *note = patt + (row << 2); |
| 152 | int32_tcxx . . $ int32_t# x = 32; |
| 153 | for (int32_tcxx . . $ int32_t# j = 0; j < PAULA_VOICEScxx . . $ `src/pt2_paula.h:13:9`!; j++, note++) |
| 154 | { |
| 155 | textOutBigBgcxx . . $ textOutBigBg(14940e7ead0326d3).(x, y, noteNames[periodToNotecxx . . $ periodToNote(7864480464b09eea).(note->periodcxx . . $ note_t#period.)], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENTXTcxx . . $ PAL_GENTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENBKGcxx . . $ PAL_GENBKG.]); |
| 156 | x += 8*3; |
| 157 | |
| 158 | if (note->samplecxx . . $ note_t#sample. == 0) |
| 159 | { |
| 160 | textOutBigBgcxx . . $ textOutBigBg(14940e7ead0326d3).(x, y, emptyDottedSamplecxx . . $ emptyDottedSample., videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENTXTcxx . . $ PAL_GENTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENBKGcxx . . $ PAL_GENBKG.]); |
| 161 | x += 8*2; |
| 162 | } |
| 163 | else |
| 164 | { |
| 165 | char smpChar = (note->samplecxx . . $ note_t#sample. & 0xF0) ? hexTablecxx . . $ hexTable.[note->samplecxx . . $ note_t#sample. >> 4] : 0x02; |
| 166 | charOutBigBgcxx . . $ charOutBigBg(585309c1ae331a9b).(x, y, smpChar, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENTXTcxx . . $ PAL_GENTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENBKGcxx . . $ PAL_GENBKG.]); |
| 167 | x += 8; |
| 168 | printOneHexBigBgcxx . . $ printOneHexBigBg(a9b0a938867453dc).(x, y, note->samplecxx . . $ note_t#sample. & 0x0F, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENTXTcxx . . $ PAL_GENTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENBKGcxx . . $ PAL_GENBKG.]); |
| 169 | x += 8; |
| 170 | } |
| 171 | |
| 172 | if (note->commandcxx . . $ note_t#command. == 0 && note->paramcxx . . $ note_t#param. == 0) |
| 173 | { |
| 174 | textOutBigBgcxx . . $ textOutBigBg(14940e7ead0326d3).(x, y, emptyDottedEffectcxx . . $ emptyDottedEffect., videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENTXTcxx . . $ PAL_GENTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENBKGcxx . . $ PAL_GENBKG.]); |
| 175 | x += (8*3)+8; |
| 176 | } |
| 177 | else |
| 178 | { |
| 179 | printOneHexBigBgcxx . . $ printOneHexBigBg(a9b0a938867453dc).(x, y, note->commandcxx . . $ note_t#command., videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENTXTcxx . . $ PAL_GENTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENBKGcxx . . $ PAL_GENBKG.]); |
| 180 | x += 8; |
| 181 | printTwoHexBigBgcxx . . $ printTwoHexBigBg(a9b0a938867453dc).(x, y, note->paramcxx . . $ note_t#param., videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENTXTcxx . . $ PAL_GENTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENBKGcxx . . $ PAL_GENBKG.]); |
| 182 | x += (8*2)+8; |
| 183 | } |
| 184 | } |
| 185 | y += 6; |
| 186 | } |
| 187 | else // non-middle rows |
| 188 | { |
| 189 | printTwoDecimalsBgcxx . . $ printTwoDecimalsBg(a9b0a938867453dc).(8, y, row, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_PATTXTcxx . . $ PAL_PATTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 190 | |
| 191 | // pattern data |
| 192 | note_tcxx . . $ note_t# *note = patt + (row << 2); |
| 193 | int32_tcxx . . $ int32_t# x = 32; |
| 194 | for (int32_tcxx . . $ int32_t# j = 0; j < PAULA_VOICEScxx . . $ `src/pt2_paula.h:13:9`!; j++, note++) |
| 195 | { |
| 196 | textOutBgcxx . . $ textOutBg(14940e7ead0326d3).(x, y, noteNames[periodToNotecxx . . $ periodToNote(7864480464b09eea).(note->periodcxx . . $ note_t#period.)], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_PATTXTcxx . . $ PAL_PATTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 197 | x += 8*3; |
| 198 | |
| 199 | if (note->samplecxx . . $ note_t#sample. == 0) |
| 200 | { |
| 201 | textOutBgcxx . . $ textOutBg(14940e7ead0326d3).(x, y, emptyDottedSamplecxx . . $ emptyDottedSample., videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_PATTXTcxx . . $ PAL_PATTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 202 | x += 8*2; |
| 203 | } |
| 204 | else |
| 205 | { |
| 206 | char smpChar = (note->samplecxx . . $ note_t#sample. & 0xF0) ? hexTablecxx . . $ hexTable.[note->samplecxx . . $ note_t#sample. >> 4] : 0x02; |
| 207 | charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x, y, smpChar, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_PATTXTcxx . . $ PAL_PATTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 208 | x += 8; |
| 209 | printOneHexBgcxx . . $ printOneHexBg(a9b0a938867453dc).(x, y, note->samplecxx . . $ note_t#sample. & 0x0F, videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_PATTXTcxx . . $ PAL_PATTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 210 | x += 8; |
| 211 | } |
| 212 | |
| 213 | if (note->commandcxx . . $ note_t#command. == 0 && note->paramcxx . . $ note_t#param. == 0) |
| 214 | { |
| 215 | textOutBgcxx . . $ textOutBg(14940e7ead0326d3).(x, y, emptyDottedEffectcxx . . $ emptyDottedEffect., videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_PATTXTcxx . . $ PAL_PATTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 216 | x += (8*3)+8; |
| 217 | } |
| 218 | else |
| 219 | { |
| 220 | printOneHexBgcxx . . $ printOneHexBg(a9b0a938867453dc).(x, y, note->commandcxx . . $ note_t#command., videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_PATTXTcxx . . $ PAL_PATTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 221 | x += 8; |
| 222 | printTwoHexBgcxx . . $ printTwoHexBg(a9b0a938867453dc).(x, y, note->paramcxx . . $ note_t#param., videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_PATTXTcxx . . $ PAL_PATTXT.], videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BACKGRDcxx . . $ PAL_BACKGRD.]); |
| 223 | x += (8*2)+8; |
| 224 | } |
| 225 | } |
| 226 | } |
| 227 | } |
| 228 | } |
| 229 | } |
| 230 | |
| 231 | void redrawPatterncxx . . $ redrawPattern(49f6e7a06ebc5aa8).(void) |
| 232 | { |
| 233 | if (configcxx . . $ config..pattDotscxx . . $ config_t#pattDots.) |
| 234 | drawPatternDottedcxx . . $ drawPatternDotted(49f6e7a06ebc5aa8).(); |
| 235 | else |
| 236 | drawPatternNormalcxx . . $ drawPatternNormal(49f6e7a06ebc5aa8).(); |
| 237 | } |