Nathan MONNIER
/
Projet_S3
Projet_S3
char.h@5:10349dda4f42, 2016-11-25 (annotated)
- Committer:
- dujardin
- Date:
- Fri Nov 25 14:55:07 2016 +0000
- Revision:
- 5:10349dda4f42
- Parent:
- 0:3cb0bc1eb7fa
- Child:
- 6:edb27e228558
panneau les duj 11 2016
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dujardin | 0:3cb0bc1eb7fa | 1 | // on utilise char rouge charr(x,y, char ) |
dujardin | 0:3cb0bc1eb7fa | 2 | |
dujardin | 5:10349dda4f42 | 3 | void chart( int px , int py , char ch ) |
dujardin | 5:10349dda4f42 | 4 | { // couleur atr atb atv sur fond ancien |
dujardin | 5:10349dda4f42 | 5 | if ( ch == 'D' ) |
dujardin | 5:10349dda4f42 | 6 | { |
dujardin | 5:10349dda4f42 | 7 | pix( px+ 0 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 8 | pix( px+ 1 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 9 | pix( px+ 2 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 10 | pix( px+ 3 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 11 | pix( px+ 0 , py + 1 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 12 | pix( px+ 4 , py + 1 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 13 | pix( px+ 0 , py + 2 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 14 | pix( px+ 4 , py + 2 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 15 | pix( px+ 0 , py + 3 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 16 | pix( px+ 4 , py + 3 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 17 | pix( px+ 0 , py + 4 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 18 | pix( px+ 4 , py + 4 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 19 | pix( px+ 0 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 20 | pix( px+ 1 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 21 | pix( px+ 2 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 22 | pix( px+ 3 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 23 | } |
dujardin | 5:10349dda4f42 | 24 | |
dujardin | 5:10349dda4f42 | 25 | if ( ch == 'R' ) |
dujardin | 5:10349dda4f42 | 26 | { |
dujardin | 5:10349dda4f42 | 27 | pix( px+ 0 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 28 | pix( px+ 1 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 29 | pix( px+ 2 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 30 | pix( px+ 3 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 31 | pix( px+ 0 , py + 1 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 32 | pix( px+ 4 , py + 1 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 33 | pix( px+ 0 , py + 2 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 34 | pix( px+ 1 , py + 2 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 35 | pix( px+ 2 , py + 2 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 36 | pix( px+ 3 , py + 2 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 37 | pix( px+ 0 , py + 3 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 38 | pix( px+ 4 , py + 3 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 39 | pix( px+ 0 , py + 4 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 40 | pix( px+ 4 , py + 4 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 41 | pix( px+ 0 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 42 | pix( px+ 4 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 43 | |
dujardin | 5:10349dda4f42 | 44 | } |
dujardin | 5:10349dda4f42 | 45 | if ( ch == 'U' ) |
dujardin | 5:10349dda4f42 | 46 | { |
dujardin | 5:10349dda4f42 | 47 | pix( px+ 0 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 48 | pix( px+ 4 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 49 | pix( px+ 0 , py + 1 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 50 | pix( px+ 4 , py + 1 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 51 | pix( px+ 0 , py + 2 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 52 | pix( px+ 4 , py + 2 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 53 | pix( px+ 0 , py + 3 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 54 | pix( px+ 4 , py + 3 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 55 | pix( px+ 0 , py + 4 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 56 | pix( px+ 4 , py + 4 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 57 | pix( px+ 1 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 58 | pix( px+ 2 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 59 | pix( px+ 3 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 60 | } |
dujardin | 5:10349dda4f42 | 61 | if ( ch == 'C' ) |
dujardin | 5:10349dda4f42 | 62 | { |
dujardin | 5:10349dda4f42 | 63 | pix( px+ 1 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 64 | pix( px+ 2 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 65 | pix( px+ 3 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 66 | pix( px+ 0 , py + 1 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 67 | pix( px+ 4 , py + 1 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 68 | pix( px+ 0 , py + 2 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 69 | pix( px+ 0 , py + 3 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 70 | pix( px+ 0 , py + 4 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 71 | pix( px+ 4 , py + 4 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 72 | pix( px+ 1 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 73 | pix( px+ 2 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 74 | pix( px+ 3 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 75 | } |
dujardin | 5:10349dda4f42 | 76 | |
dujardin | 5:10349dda4f42 | 77 | if ( ch == 'G' ) |
dujardin | 5:10349dda4f42 | 78 | { |
dujardin | 5:10349dda4f42 | 79 | pix( px+ 1 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 80 | pix( px+ 2 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 81 | pix( px+ 3 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 82 | pix( px+ 0 , py + 1 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 83 | pix( px+ 4 , py + 1 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 84 | pix( px+ 0 , py + 2 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 85 | pix( px+ 0 , py + 3 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 86 | pix( px+ 2 , py + 3 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 87 | pix( px+ 3 , py + 3 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 88 | pix( px+ 4 , py + 3 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 89 | pix( px+ 0 , py + 4 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 90 | pix( px+ 4 , py + 4 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 91 | pix( px+ 1 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 92 | pix( px+ 2 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 93 | pix( px+ 3 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 94 | } |
dujardin | 5:10349dda4f42 | 95 | if ( ch == 'E' ) |
dujardin | 5:10349dda4f42 | 96 | { |
dujardin | 5:10349dda4f42 | 97 | pix( px+ 0 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 98 | pix( px+ 1 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 99 | pix( px+ 2 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 100 | pix( px+ 3 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 101 | pix( px+ 4 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 102 | pix( px+ 0 , py + 1 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 103 | pix( px+ 0 , py + 2 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 104 | pix( px+ 0 , py + 3 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 105 | pix( px+ 1 , py + 3 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 106 | pix( px+ 2 , py + 3 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 107 | pix( px+ 3 , py + 3 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 108 | pix( px+ 0 , py + 4 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 109 | pix( px+ 0 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 110 | pix( px+ 1 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 111 | pix( px+ 2 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 112 | pix( px+ 3 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 113 | pix( px+ 4 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 114 | } |
dujardin | 5:10349dda4f42 | 115 | if ( ch == 'I' ) |
dujardin | 5:10349dda4f42 | 116 | { |
dujardin | 5:10349dda4f42 | 117 | pix( px+ 0 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 118 | pix( px+ 1 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 119 | pix( px+ 2 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 120 | pix( px+ 3 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 121 | pix( px+ 4 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 122 | pix( px+ 2 , py + 1 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 123 | pix( px+ 2 , py + 2 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 124 | pix( px+ 2 , py + 3 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 125 | pix( px+ 2 , py + 4 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 126 | pix( px+ 0 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 127 | pix( px+ 1 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 128 | pix( px+ 2 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 129 | pix( px+ 3 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 130 | pix( px+ 4 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 131 | } |
dujardin | 5:10349dda4f42 | 132 | if ( ch == 'T' ) |
dujardin | 5:10349dda4f42 | 133 | { |
dujardin | 5:10349dda4f42 | 134 | pix( px+ 0 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 135 | pix( px+ 1 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 136 | pix( px+ 2 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 137 | pix( px+ 3 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 138 | pix( px+ 4 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 139 | pix( px+ 2 , py + 1 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 140 | pix( px+ 2 , py + 2 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 141 | pix( px+ 2 , py + 3 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 142 | pix( px+ 2 , py + 4 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 143 | pix( px+ 2 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 144 | } |
dujardin | 5:10349dda4f42 | 145 | if ( ch == 'Y' ) |
dujardin | 5:10349dda4f42 | 146 | { |
dujardin | 5:10349dda4f42 | 147 | pix( px+ 0 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 148 | pix( px+ 4 , py + 0 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 149 | pix( px+ 1 , py + 1 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 150 | pix( px+ 3 , py + 1 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 151 | pix( px+ 2 , py + 2 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 152 | pix( px+ 2 , py + 3 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 153 | pix( px+ 2 , py + 4 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 154 | pix( px+ 2 , py + 5 , atr , atv, atb ); |
dujardin | 5:10349dda4f42 | 155 | } |
dujardin | 5:10349dda4f42 | 156 | } |
dujardin | 5:10349dda4f42 | 157 | |
dujardin | 0:3cb0bc1eb7fa | 158 | void charr( int px , int py , char ch ) |
dujardin | 5:10349dda4f42 | 159 | { |
dujardin | 0:3cb0bc1eb7fa | 160 | if ( ch == 'x' ) |
dujardin | 0:3cb0bc1eb7fa | 161 | { |
dujardin | 0:3cb0bc1eb7fa | 162 | pix( px+ 0 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 163 | pix( px+ 1 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 164 | pix( px+ 2 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 165 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 166 | pix( px+ 4 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 167 | |
dujardin | 0:3cb0bc1eb7fa | 168 | pix( px+ 0 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 169 | pix( px+ 1 , py + 1 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 170 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 171 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 172 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 173 | |
dujardin | 0:3cb0bc1eb7fa | 174 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 175 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 176 | pix( px+ 2 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 177 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 178 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 179 | |
dujardin | 0:3cb0bc1eb7fa | 180 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 181 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 182 | pix( px+ 2 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 183 | pix( px+ 3 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 184 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 185 | |
dujardin | 0:3cb0bc1eb7fa | 186 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 187 | pix( px+ 1 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 188 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 189 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 190 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 191 | |
dujardin | 0:3cb0bc1eb7fa | 192 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 193 | pix( px+ 1 , py + 5 , 0, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 194 | pix( px+ 2 , py + 5 , 0, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 195 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 196 | pix( px+ 4 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 197 | |
dujardin | 0:3cb0bc1eb7fa | 198 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 199 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 200 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 201 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 202 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 203 | } |
dujardin | 0:3cb0bc1eb7fa | 204 | |
dujardin | 0:3cb0bc1eb7fa | 205 | if ( ch == 0 ) |
dujardin | 0:3cb0bc1eb7fa | 206 | { |
dujardin | 0:3cb0bc1eb7fa | 207 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 208 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 209 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 210 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 211 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 212 | |
dujardin | 0:3cb0bc1eb7fa | 213 | pix( px+ 0 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 214 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 215 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 216 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 217 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 218 | |
dujardin | 0:3cb0bc1eb7fa | 219 | pix( px+ 0 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 220 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 221 | pix( px+ 2 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 222 | pix( px+ 3 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 223 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 224 | |
dujardin | 0:3cb0bc1eb7fa | 225 | pix( px+ 0 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 226 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 227 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 228 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 229 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 230 | |
dujardin | 0:3cb0bc1eb7fa | 231 | pix( px+ 0 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 232 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 233 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 234 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 235 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 236 | |
dujardin | 0:3cb0bc1eb7fa | 237 | pix( px+ 0 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 238 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 239 | pix( px+ 2 , py + 5 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 240 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 241 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 242 | |
dujardin | 0:3cb0bc1eb7fa | 243 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 244 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 245 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 246 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 247 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 248 | } |
dujardin | 0:3cb0bc1eb7fa | 249 | |
dujardin | 0:3cb0bc1eb7fa | 250 | if ( ch == 1 ) |
dujardin | 0:3cb0bc1eb7fa | 251 | { |
dujardin | 0:3cb0bc1eb7fa | 252 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 253 | pix( px+ 1 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 254 | pix( px+ 2 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 255 | pix( px+ 3 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 256 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 257 | |
dujardin | 0:3cb0bc1eb7fa | 258 | pix( px+ 0 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 259 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 260 | pix( px+ 2 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 261 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 262 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 263 | |
dujardin | 0:3cb0bc1eb7fa | 264 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 265 | pix( px+ 1 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 266 | pix( px+ 2 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 267 | pix( px+ 3 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 268 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 269 | |
dujardin | 0:3cb0bc1eb7fa | 270 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 271 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 272 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 273 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 274 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 275 | |
dujardin | 0:3cb0bc1eb7fa | 276 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 277 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 278 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 279 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 280 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 281 | |
dujardin | 0:3cb0bc1eb7fa | 282 | pix( px+ 0 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 283 | pix( px+ 1 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 284 | pix( px+ 2 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 285 | pix( px+ 3 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 286 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 287 | |
dujardin | 0:3cb0bc1eb7fa | 288 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 289 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 290 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 291 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 292 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 293 | } |
dujardin | 0:3cb0bc1eb7fa | 294 | |
dujardin | 0:3cb0bc1eb7fa | 295 | if ( ch == 2 ) |
dujardin | 0:3cb0bc1eb7fa | 296 | { |
dujardin | 0:3cb0bc1eb7fa | 297 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 298 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 299 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 300 | pix( px+ 3 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 301 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 302 | |
dujardin | 0:3cb0bc1eb7fa | 303 | pix( px+ 0 , py + 1 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 304 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 305 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 306 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 307 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 308 | |
dujardin | 0:3cb0bc1eb7fa | 309 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 310 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 311 | pix( px+ 2 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 312 | pix( px+ 3 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 313 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 314 | |
dujardin | 0:3cb0bc1eb7fa | 315 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 316 | pix( px+ 1 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 317 | pix( px+ 2 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 318 | pix( px+ 3 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 319 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 320 | |
dujardin | 0:3cb0bc1eb7fa | 321 | pix( px+ 0 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 322 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 323 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 324 | pix( px+ 3 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 325 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 326 | |
dujardin | 0:3cb0bc1eb7fa | 327 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 328 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 329 | pix( px+ 2 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 330 | pix( px+ 3 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 331 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 332 | |
dujardin | 0:3cb0bc1eb7fa | 333 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 334 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 335 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 336 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 337 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 338 | } |
dujardin | 0:3cb0bc1eb7fa | 339 | |
dujardin | 0:3cb0bc1eb7fa | 340 | if ( ch == 3 ) |
dujardin | 0:3cb0bc1eb7fa | 341 | { |
dujardin | 0:3cb0bc1eb7fa | 342 | pix( px+ 0 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 343 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 344 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 345 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 346 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 347 | |
dujardin | 0:3cb0bc1eb7fa | 348 | pix( px+ 0 , py + 1 , 0, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 349 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 350 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 351 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 352 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 353 | |
dujardin | 0:3cb0bc1eb7fa | 354 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 355 | pix( px+ 1 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 356 | pix( px+ 2 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 357 | pix( px+ 3 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 358 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 359 | |
dujardin | 0:3cb0bc1eb7fa | 360 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 361 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 362 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 363 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 364 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 365 | |
dujardin | 0:3cb0bc1eb7fa | 366 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 367 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 368 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 369 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 370 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 371 | |
dujardin | 0:3cb0bc1eb7fa | 372 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 373 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 374 | pix( px+ 2 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 375 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 376 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 377 | |
dujardin | 0:3cb0bc1eb7fa | 378 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 379 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 380 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 381 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 382 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 383 | } |
dujardin | 0:3cb0bc1eb7fa | 384 | |
dujardin | 0:3cb0bc1eb7fa | 385 | if ( ch == 4 ) |
dujardin | 0:3cb0bc1eb7fa | 386 | { |
dujardin | 0:3cb0bc1eb7fa | 387 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 388 | pix( px+ 1 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 389 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 390 | pix( px+ 3 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 391 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 392 | |
dujardin | 0:3cb0bc1eb7fa | 393 | pix( px+ 0 , py + 1 , 0, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 394 | pix( px+ 1 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 395 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 396 | pix( px+ 3 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 397 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 398 | |
dujardin | 0:3cb0bc1eb7fa | 399 | pix( px+ 0 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 400 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 401 | pix( px+ 2 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 402 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 403 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 404 | |
dujardin | 0:3cb0bc1eb7fa | 405 | pix( px+ 0 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 406 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 407 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 408 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 409 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 410 | |
dujardin | 0:3cb0bc1eb7fa | 411 | pix( px+ 0 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 412 | pix( px+ 1 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 413 | pix( px+ 2 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 414 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 415 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 416 | |
dujardin | 0:3cb0bc1eb7fa | 417 | pix( px+ 0 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 418 | pix( px+ 1 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 419 | pix( px+ 2 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 420 | pix( px+ 3 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 421 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 422 | |
dujardin | 0:3cb0bc1eb7fa | 423 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 424 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 425 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 426 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 427 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 428 | } |
dujardin | 0:3cb0bc1eb7fa | 429 | |
dujardin | 0:3cb0bc1eb7fa | 430 | if ( ch == 5 ) |
dujardin | 0:3cb0bc1eb7fa | 431 | { |
dujardin | 0:3cb0bc1eb7fa | 432 | pix( px+ 0 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 433 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 434 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 435 | pix( px+ 3 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 436 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 437 | |
dujardin | 0:3cb0bc1eb7fa | 438 | pix( px+ 0 , py + 1 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 439 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 440 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 441 | pix( px+ 3 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 442 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 443 | |
dujardin | 0:3cb0bc1eb7fa | 444 | pix( px+ 0 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 445 | pix( px+ 1 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 446 | pix( px+ 2 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 447 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 448 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 449 | |
dujardin | 0:3cb0bc1eb7fa | 450 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 451 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 452 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 453 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 454 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 455 | |
dujardin | 0:3cb0bc1eb7fa | 456 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 457 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 458 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 459 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 460 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 461 | |
dujardin | 0:3cb0bc1eb7fa | 462 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 463 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 464 | pix( px+ 2 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 465 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 466 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 467 | |
dujardin | 0:3cb0bc1eb7fa | 468 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 469 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 470 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 471 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 472 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 473 | } |
dujardin | 0:3cb0bc1eb7fa | 474 | |
dujardin | 0:3cb0bc1eb7fa | 475 | if ( ch == 6 ) |
dujardin | 0:3cb0bc1eb7fa | 476 | { |
dujardin | 5:10349dda4f42 | 477 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 478 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 479 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 480 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 481 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 482 | |
dujardin | 0:3cb0bc1eb7fa | 483 | pix( px+ 0 , py + 1 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 484 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 485 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 486 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 487 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 488 | |
dujardin | 0:3cb0bc1eb7fa | 489 | pix( px+ 0 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 490 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 491 | pix( px+ 2 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 492 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 493 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 494 | |
dujardin | 0:3cb0bc1eb7fa | 495 | pix( px+ 0 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 496 | pix( px+ 1 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 497 | pix( px+ 2 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 498 | pix( px+ 3 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 499 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 500 | |
dujardin | 0:3cb0bc1eb7fa | 501 | pix( px+ 0 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 502 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 503 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 504 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 505 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 506 | |
dujardin | 0:3cb0bc1eb7fa | 507 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 508 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 509 | pix( px+ 2 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 510 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 511 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 512 | |
dujardin | 0:3cb0bc1eb7fa | 513 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 514 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 515 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 516 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 517 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 518 | } |
dujardin | 0:3cb0bc1eb7fa | 519 | |
dujardin | 0:3cb0bc1eb7fa | 520 | if ( ch == 7 ) |
dujardin | 0:3cb0bc1eb7fa | 521 | { |
dujardin | 0:3cb0bc1eb7fa | 522 | pix( px+ 0 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 523 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 524 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 525 | pix( px+ 3 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 526 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 527 | |
dujardin | 0:3cb0bc1eb7fa | 528 | pix( px+ 0 , py + 1 , 0, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 529 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 530 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 531 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 532 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 533 | |
dujardin | 0:3cb0bc1eb7fa | 534 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 535 | pix( px+ 1 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 536 | pix( px+ 2 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 537 | pix( px+ 3 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 538 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 539 | |
dujardin | 0:3cb0bc1eb7fa | 540 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 541 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 542 | pix( px+ 2 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 543 | pix( px+ 3 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 544 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 545 | |
dujardin | 0:3cb0bc1eb7fa | 546 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 547 | pix( px+ 1 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 548 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 549 | pix( px+ 3 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 550 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 551 | |
dujardin | 0:3cb0bc1eb7fa | 552 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 553 | pix( px+ 1 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 554 | pix( px+ 2 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 555 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 556 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 557 | |
dujardin | 0:3cb0bc1eb7fa | 558 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 559 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 560 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 561 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 562 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 563 | } |
dujardin | 0:3cb0bc1eb7fa | 564 | |
dujardin | 0:3cb0bc1eb7fa | 565 | if ( ch == 8 ) |
dujardin | 0:3cb0bc1eb7fa | 566 | { |
dujardin | 0:3cb0bc1eb7fa | 567 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 568 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 569 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 570 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 571 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 572 | |
dujardin | 0:3cb0bc1eb7fa | 573 | pix( px+ 0 , py + 1 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 574 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 575 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 576 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 577 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 578 | |
dujardin | 0:3cb0bc1eb7fa | 579 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 580 | pix( px+ 1 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 581 | pix( px+ 2 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 582 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 583 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 584 | |
dujardin | 0:3cb0bc1eb7fa | 585 | pix( px+ 0 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 586 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 587 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 588 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 589 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 590 | |
dujardin | 0:3cb0bc1eb7fa | 591 | pix( px+ 0 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 592 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 593 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 594 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 595 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 596 | |
dujardin | 0:3cb0bc1eb7fa | 597 | pix( px+ 0 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 598 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 599 | pix( px+ 2 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 600 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 601 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 602 | |
dujardin | 0:3cb0bc1eb7fa | 603 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 604 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 605 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 606 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 607 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 608 | } |
dujardin | 0:3cb0bc1eb7fa | 609 | |
dujardin | 0:3cb0bc1eb7fa | 610 | if ( ch == 9 ) |
dujardin | 0:3cb0bc1eb7fa | 611 | { |
dujardin | 0:3cb0bc1eb7fa | 612 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 613 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 614 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 615 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 616 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 617 | |
dujardin | 0:3cb0bc1eb7fa | 618 | pix( px+ 0 , py + 1 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 619 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 620 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 621 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 622 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 623 | |
dujardin | 0:3cb0bc1eb7fa | 624 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 625 | pix( px+ 1 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 626 | pix( px+ 2 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 627 | pix( px+ 3 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 628 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 629 | |
dujardin | 0:3cb0bc1eb7fa | 630 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 631 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 632 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 633 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 634 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 635 | |
dujardin | 0:3cb0bc1eb7fa | 636 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 637 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 638 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 639 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 640 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 641 | |
dujardin | 0:3cb0bc1eb7fa | 642 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 643 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 644 | pix( px+ 2 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 645 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 646 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 647 | |
dujardin | 0:3cb0bc1eb7fa | 648 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 649 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 650 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 651 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 652 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 653 | } |
dujardin | 0:3cb0bc1eb7fa | 654 | } |
dujardin | 0:3cb0bc1eb7fa | 655 | |
dujardin | 0:3cb0bc1eb7fa | 656 | |
dujardin | 0:3cb0bc1eb7fa | 657 | |
dujardin | 5:10349dda4f42 | 658 | void ptnum2(int px , int py , int num ) |
dujardin | 0:3cb0bc1eb7fa | 659 | { |
dujardin | 0:3cb0bc1eb7fa | 660 | int dix ; |
dujardin | 0:3cb0bc1eb7fa | 661 | int un ; |
dujardin | 0:3cb0bc1eb7fa | 662 | if ( num > 99 ) num = 99 ; |
dujardin | 0:3cb0bc1eb7fa | 663 | dix = num / 10 ; |
dujardin | 0:3cb0bc1eb7fa | 664 | un = num - 10*dix; |
dujardin | 0:3cb0bc1eb7fa | 665 | charr ( px , py , dix ); |
dujardin | 5:10349dda4f42 | 666 | charr ( px + 5 , py , un ); |
dujardin | 0:3cb0bc1eb7fa | 667 | } |
dujardin | 5:10349dda4f42 | 668 | |
dujardin | 5:10349dda4f42 | 669 | void ptint( int py , int num ) |
dujardin | 5:10349dda4f42 | 670 | { int px = 1; |
dujardin | 5:10349dda4f42 | 671 | int rest ; |
dujardin | 5:10349dda4f42 | 672 | int dmil ; |
dujardin | 5:10349dda4f42 | 673 | int mil; |
dujardin | 5:10349dda4f42 | 674 | int cent; |
dujardin | 5:10349dda4f42 | 675 | int dix ; |
dujardin | 5:10349dda4f42 | 676 | int un ; |
dujardin | 5:10349dda4f42 | 677 | dmil = num /10000; |
dujardin | 5:10349dda4f42 | 678 | rest = num - 10000*dmil; |
dujardin | 5:10349dda4f42 | 679 | mil = rest/1000; |
dujardin | 5:10349dda4f42 | 680 | rest = rest - 1000*mil; |
dujardin | 5:10349dda4f42 | 681 | cent = rest/100; |
dujardin | 5:10349dda4f42 | 682 | rest = rest - 100*cent; |
dujardin | 5:10349dda4f42 | 683 | dix = rest/10; |
dujardin | 5:10349dda4f42 | 684 | un = rest - 10*dix; |
dujardin | 5:10349dda4f42 | 685 | charr ( px , py , dmil ); |
dujardin | 5:10349dda4f42 | 686 | charr ( px + 5 , py , mil ); |
dujardin | 5:10349dda4f42 | 687 | charr ( px + 10, py , cent ); |
dujardin | 5:10349dda4f42 | 688 | charr ( px + 15, py , dix ); |
dujardin | 5:10349dda4f42 | 689 | charr ( px + 20, py , un ); |
dujardin | 5:10349dda4f42 | 690 | } |
dujardin | 5:10349dda4f42 | 691 | |
dujardin | 5:10349dda4f42 | 692 | |
dujardin | 0:3cb0bc1eb7fa | 693 |