dujardin stephane
/
duj401_projets
projets de S3 S4 année 21 22
char.h@10:6f9340af7926, 2021-09-14 (annotated)
- Committer:
- dujardin
- Date:
- Tue Sep 14 13:45:11 2021 +0000
- Revision:
- 10:6f9340af7926
- Parent:
- 6:edb27e228558
version du n14 septembre ( ecart infime)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dujardin | 0:3cb0bc1eb7fa | 1 | |
dujardin | 6:edb27e228558 | 2 | void clown() // a éteindre |
dujardin | 6:edb27e228558 | 3 | { |
dujardin | 6:edb27e228558 | 4 | pix(13,14,0,0,7); pix(14,14,0,0,7); pix(18,14,0,0,7); pix(19,14,0,0,7); |
dujardin | 6:edb27e228558 | 5 | pix(13,15,7,0,0); pix(14,15,7,0,0); pix(18,15,7,0,0); pix(19,15,7,0,0); |
dujardin | 6:edb27e228558 | 6 | pix(16,16,0,5,0); |
dujardin | 6:edb27e228558 | 7 | pix(16,17,0,5,0); |
dujardin | 6:edb27e228558 | 8 | pix(14,18,2,0,2);pix(15,18,7,0,0);pix(16,18,7,0,0);pix(17,18,7,0,0);pix(18,18,2,0,2); |
dujardin | 6:edb27e228558 | 9 | pix(15,19,4,0,4);pix(16,19,4,0,4);pix(17,19,4,0,4); |
dujardin | 6:edb27e228558 | 10 | } |
dujardin | 5:10349dda4f42 | 11 | |
dujardin | 0:3cb0bc1eb7fa | 12 | void charr( int px , int py , char ch ) |
dujardin | 6:edb27e228558 | 13 | { |
dujardin | 6:edb27e228558 | 14 | |
dujardin | 6:edb27e228558 | 15 | if ( ch == 'y' ) // a faire br bb bv sur tous les lignes avec 5 |
dujardin | 6:edb27e228558 | 16 | { |
dujardin | 6:edb27e228558 | 17 | pix( px+ 0 , py + 0 , br , bv , bb ); |
dujardin | 6:edb27e228558 | 18 | pix( px+ 1 , py + 0 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 19 | pix( px+ 2 , py + 0 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 20 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 21 | pix( px+ 4 , py + 0 , br , bv , bb ); |
dujardin | 6:edb27e228558 | 22 | |
dujardin | 6:edb27e228558 | 23 | pix( px+ 0 , py + 1 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 24 | pix( px+ 1 , py + 1 , br, bv , bb ); |
dujardin | 6:edb27e228558 | 25 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 26 | pix( px+ 3 , py + 1 , br , bv , bb ); |
dujardin | 6:edb27e228558 | 27 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 28 | |
dujardin | 6:edb27e228558 | 29 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 30 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 31 | pix( px+ 2 , py + 2 , br , bv , bb ); |
dujardin | 6:edb27e228558 | 32 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 33 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 34 | |
dujardin | 6:edb27e228558 | 35 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 36 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 37 | pix( px+ 2 , py + 3 , br , bv , bb ); |
dujardin | 6:edb27e228558 | 38 | pix( px+ 3 , py + 3 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 39 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 40 | |
dujardin | 6:edb27e228558 | 41 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 42 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 43 | pix( px+ 2 , py + 4 , br , bv , bb ); |
dujardin | 6:edb27e228558 | 44 | pix( px+ 3 , py + 4 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 45 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 46 | |
dujardin | 6:edb27e228558 | 47 | pix( px+ 0 , py + 5 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 48 | pix( px+ 1 , py + 5 , 0, 0 , 0 ); |
dujardin | 6:edb27e228558 | 49 | pix( px+ 2 , py + 5 , br, bv , bb ); |
dujardin | 6:edb27e228558 | 50 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 51 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 52 | |
dujardin | 6:edb27e228558 | 53 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 54 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 55 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 56 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 57 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 58 | } |
dujardin | 6:edb27e228558 | 59 | |
dujardin | 0:3cb0bc1eb7fa | 60 | if ( ch == 'x' ) |
dujardin | 0:3cb0bc1eb7fa | 61 | { |
dujardin | 0:3cb0bc1eb7fa | 62 | pix( px+ 0 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 63 | pix( px+ 1 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 64 | pix( px+ 2 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 65 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 66 | pix( px+ 4 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 67 | |
dujardin | 0:3cb0bc1eb7fa | 68 | pix( px+ 0 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 69 | pix( px+ 1 , py + 1 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 70 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 71 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 72 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 73 | |
dujardin | 0:3cb0bc1eb7fa | 74 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 75 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 76 | pix( px+ 2 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 77 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 78 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 79 | |
dujardin | 0:3cb0bc1eb7fa | 80 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 81 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 82 | pix( px+ 2 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 83 | pix( px+ 3 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 84 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 85 | |
dujardin | 0:3cb0bc1eb7fa | 86 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 87 | pix( px+ 1 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 88 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 89 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 90 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 91 | |
dujardin | 0:3cb0bc1eb7fa | 92 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 93 | pix( px+ 1 , py + 5 , 0, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 94 | pix( px+ 2 , py + 5 , 0, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 95 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 96 | pix( px+ 4 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 97 | |
dujardin | 0:3cb0bc1eb7fa | 98 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 99 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 100 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 101 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 102 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 103 | } |
dujardin | 0:3cb0bc1eb7fa | 104 | |
dujardin | 0:3cb0bc1eb7fa | 105 | if ( ch == 0 ) |
dujardin | 0:3cb0bc1eb7fa | 106 | { |
dujardin | 0:3cb0bc1eb7fa | 107 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 108 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 109 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 110 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 111 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 112 | |
dujardin | 0:3cb0bc1eb7fa | 113 | pix( px+ 0 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 114 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 115 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 116 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 117 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 118 | |
dujardin | 0:3cb0bc1eb7fa | 119 | pix( px+ 0 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 120 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 121 | pix( px+ 2 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 122 | pix( px+ 3 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 123 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 124 | |
dujardin | 0:3cb0bc1eb7fa | 125 | pix( px+ 0 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 126 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 127 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 128 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 129 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 130 | |
dujardin | 0:3cb0bc1eb7fa | 131 | pix( px+ 0 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 132 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 133 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 134 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 135 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 136 | |
dujardin | 0:3cb0bc1eb7fa | 137 | pix( px+ 0 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 138 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 139 | pix( px+ 2 , py + 5 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 140 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 141 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 142 | |
dujardin | 0:3cb0bc1eb7fa | 143 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 144 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 145 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 146 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 147 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 148 | } |
dujardin | 0:3cb0bc1eb7fa | 149 | |
dujardin | 0:3cb0bc1eb7fa | 150 | if ( ch == 1 ) |
dujardin | 0:3cb0bc1eb7fa | 151 | { |
dujardin | 0:3cb0bc1eb7fa | 152 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 153 | pix( px+ 1 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 154 | pix( px+ 2 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 155 | pix( px+ 3 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 156 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 157 | |
dujardin | 0:3cb0bc1eb7fa | 158 | pix( px+ 0 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 159 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 160 | pix( px+ 2 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 161 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 162 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 163 | |
dujardin | 0:3cb0bc1eb7fa | 164 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 165 | pix( px+ 1 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 166 | pix( px+ 2 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 167 | pix( px+ 3 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 168 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 169 | |
dujardin | 0:3cb0bc1eb7fa | 170 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 171 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 172 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 173 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 174 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 175 | |
dujardin | 0:3cb0bc1eb7fa | 176 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 177 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 178 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 179 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 180 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 181 | |
dujardin | 0:3cb0bc1eb7fa | 182 | pix( px+ 0 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 183 | pix( px+ 1 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 184 | pix( px+ 2 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 185 | pix( px+ 3 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 186 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 187 | |
dujardin | 0:3cb0bc1eb7fa | 188 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 189 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 190 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 191 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 192 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 193 | } |
dujardin | 0:3cb0bc1eb7fa | 194 | |
dujardin | 0:3cb0bc1eb7fa | 195 | if ( ch == 2 ) |
dujardin | 0:3cb0bc1eb7fa | 196 | { |
dujardin | 0:3cb0bc1eb7fa | 197 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 198 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 199 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 200 | pix( px+ 3 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 201 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 202 | |
dujardin | 0:3cb0bc1eb7fa | 203 | pix( px+ 0 , py + 1 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 204 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 205 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 206 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 207 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 208 | |
dujardin | 0:3cb0bc1eb7fa | 209 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 210 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 211 | pix( px+ 2 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 212 | pix( px+ 3 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 213 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 214 | |
dujardin | 0:3cb0bc1eb7fa | 215 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 216 | pix( px+ 1 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 217 | pix( px+ 2 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 218 | pix( px+ 3 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 219 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 220 | |
dujardin | 0:3cb0bc1eb7fa | 221 | pix( px+ 0 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 222 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 223 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 224 | pix( px+ 3 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 225 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 226 | |
dujardin | 0:3cb0bc1eb7fa | 227 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 228 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 229 | pix( px+ 2 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 230 | pix( px+ 3 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 231 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 232 | |
dujardin | 0:3cb0bc1eb7fa | 233 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 234 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 235 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 236 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 237 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 238 | } |
dujardin | 0:3cb0bc1eb7fa | 239 | |
dujardin | 0:3cb0bc1eb7fa | 240 | if ( ch == 3 ) |
dujardin | 0:3cb0bc1eb7fa | 241 | { |
dujardin | 0:3cb0bc1eb7fa | 242 | pix( px+ 0 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 243 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 244 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 245 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 246 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 247 | |
dujardin | 0:3cb0bc1eb7fa | 248 | pix( px+ 0 , py + 1 , 0, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 249 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 250 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 251 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 252 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 253 | |
dujardin | 0:3cb0bc1eb7fa | 254 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 255 | pix( px+ 1 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 256 | pix( px+ 2 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 257 | pix( px+ 3 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 258 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 259 | |
dujardin | 0:3cb0bc1eb7fa | 260 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 261 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 262 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 263 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 264 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 265 | |
dujardin | 0:3cb0bc1eb7fa | 266 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 267 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 268 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 269 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 270 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 271 | |
dujardin | 0:3cb0bc1eb7fa | 272 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 273 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 274 | pix( px+ 2 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 275 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 276 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 277 | |
dujardin | 0:3cb0bc1eb7fa | 278 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 279 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 280 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 281 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 282 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 283 | } |
dujardin | 0:3cb0bc1eb7fa | 284 | |
dujardin | 0:3cb0bc1eb7fa | 285 | if ( ch == 4 ) |
dujardin | 0:3cb0bc1eb7fa | 286 | { |
dujardin | 0:3cb0bc1eb7fa | 287 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 288 | pix( px+ 1 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 289 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 290 | pix( px+ 3 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 291 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 292 | |
dujardin | 0:3cb0bc1eb7fa | 293 | pix( px+ 0 , py + 1 , 0, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 294 | pix( px+ 1 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 295 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 296 | pix( px+ 3 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 297 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 298 | |
dujardin | 0:3cb0bc1eb7fa | 299 | pix( px+ 0 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 300 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 301 | pix( px+ 2 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 302 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 303 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 304 | |
dujardin | 0:3cb0bc1eb7fa | 305 | pix( px+ 0 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 306 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 307 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 308 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 309 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 310 | |
dujardin | 0:3cb0bc1eb7fa | 311 | pix( px+ 0 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 312 | pix( px+ 1 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 313 | pix( px+ 2 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 314 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 315 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 316 | |
dujardin | 0:3cb0bc1eb7fa | 317 | pix( px+ 0 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 318 | pix( px+ 1 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 319 | pix( px+ 2 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 320 | pix( px+ 3 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 321 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 322 | |
dujardin | 0:3cb0bc1eb7fa | 323 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 324 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 325 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 326 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 327 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 328 | } |
dujardin | 0:3cb0bc1eb7fa | 329 | |
dujardin | 0:3cb0bc1eb7fa | 330 | if ( ch == 5 ) |
dujardin | 0:3cb0bc1eb7fa | 331 | { |
dujardin | 0:3cb0bc1eb7fa | 332 | pix( px+ 0 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 333 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 334 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 335 | pix( px+ 3 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 336 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 337 | |
dujardin | 0:3cb0bc1eb7fa | 338 | pix( px+ 0 , py + 1 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 339 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 340 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 341 | pix( px+ 3 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 342 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 343 | |
dujardin | 0:3cb0bc1eb7fa | 344 | pix( px+ 0 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 345 | pix( px+ 1 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 346 | pix( px+ 2 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 347 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 348 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 349 | |
dujardin | 0:3cb0bc1eb7fa | 350 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 351 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 352 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 353 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 354 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 355 | |
dujardin | 0:3cb0bc1eb7fa | 356 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 357 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 358 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 359 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 360 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 361 | |
dujardin | 0:3cb0bc1eb7fa | 362 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 363 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 364 | pix( px+ 2 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 365 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 366 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 367 | |
dujardin | 0:3cb0bc1eb7fa | 368 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 369 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 370 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 371 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 372 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 373 | } |
dujardin | 0:3cb0bc1eb7fa | 374 | |
dujardin | 0:3cb0bc1eb7fa | 375 | if ( ch == 6 ) |
dujardin | 0:3cb0bc1eb7fa | 376 | { |
dujardin | 6:edb27e228558 | 377 | pix( px+ 0 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 378 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 379 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 380 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 381 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 382 | |
dujardin | 0:3cb0bc1eb7fa | 383 | pix( px+ 0 , py + 1 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 384 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 385 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 386 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 387 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 388 | |
dujardin | 0:3cb0bc1eb7fa | 389 | pix( px+ 0 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 390 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 391 | pix( px+ 2 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 392 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 393 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 394 | |
dujardin | 0:3cb0bc1eb7fa | 395 | pix( px+ 0 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 396 | pix( px+ 1 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 397 | pix( px+ 2 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 398 | pix( px+ 3 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 399 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 400 | |
dujardin | 0:3cb0bc1eb7fa | 401 | pix( px+ 0 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 402 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 403 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 404 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 405 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 406 | |
dujardin | 0:3cb0bc1eb7fa | 407 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 408 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 409 | pix( px+ 2 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 410 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 411 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 412 | |
dujardin | 0:3cb0bc1eb7fa | 413 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 414 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 415 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 416 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 417 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 418 | } |
dujardin | 0:3cb0bc1eb7fa | 419 | |
dujardin | 0:3cb0bc1eb7fa | 420 | if ( ch == 7 ) |
dujardin | 0:3cb0bc1eb7fa | 421 | { |
dujardin | 0:3cb0bc1eb7fa | 422 | pix( px+ 0 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 423 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 424 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 425 | pix( px+ 3 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 426 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 427 | |
dujardin | 0:3cb0bc1eb7fa | 428 | pix( px+ 0 , py + 1 , 0, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 429 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 430 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 431 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 432 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 433 | |
dujardin | 0:3cb0bc1eb7fa | 434 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 435 | pix( px+ 1 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 436 | pix( px+ 2 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 437 | pix( px+ 3 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 438 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 439 | |
dujardin | 0:3cb0bc1eb7fa | 440 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 441 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 442 | pix( px+ 2 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 443 | pix( px+ 3 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 444 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 445 | |
dujardin | 0:3cb0bc1eb7fa | 446 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 447 | pix( px+ 1 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 448 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 449 | pix( px+ 3 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 450 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 451 | |
dujardin | 0:3cb0bc1eb7fa | 452 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 453 | pix( px+ 1 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 454 | pix( px+ 2 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 455 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 456 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 457 | |
dujardin | 0:3cb0bc1eb7fa | 458 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 459 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 460 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 461 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 462 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 463 | } |
dujardin | 0:3cb0bc1eb7fa | 464 | |
dujardin | 0:3cb0bc1eb7fa | 465 | if ( ch == 8 ) |
dujardin | 0:3cb0bc1eb7fa | 466 | { |
dujardin | 0:3cb0bc1eb7fa | 467 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 468 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 469 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 470 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 471 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 472 | |
dujardin | 0:3cb0bc1eb7fa | 473 | pix( px+ 0 , py + 1 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 474 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 475 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 476 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 477 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 478 | |
dujardin | 0:3cb0bc1eb7fa | 479 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 480 | pix( px+ 1 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 481 | pix( px+ 2 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 482 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 483 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 484 | |
dujardin | 0:3cb0bc1eb7fa | 485 | pix( px+ 0 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 486 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 487 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 488 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 489 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 490 | |
dujardin | 0:3cb0bc1eb7fa | 491 | pix( px+ 0 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 492 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 493 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 494 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 495 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 496 | |
dujardin | 0:3cb0bc1eb7fa | 497 | pix( px+ 0 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 498 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 499 | pix( px+ 2 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 500 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 501 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 502 | |
dujardin | 0:3cb0bc1eb7fa | 503 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 504 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 505 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 506 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 507 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 508 | } |
dujardin | 0:3cb0bc1eb7fa | 509 | |
dujardin | 0:3cb0bc1eb7fa | 510 | if ( ch == 9 ) |
dujardin | 0:3cb0bc1eb7fa | 511 | { |
dujardin | 0:3cb0bc1eb7fa | 512 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 513 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 514 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 515 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 516 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 517 | |
dujardin | 0:3cb0bc1eb7fa | 518 | pix( px+ 0 , py + 1 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 519 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 520 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 521 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 522 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 523 | |
dujardin | 0:3cb0bc1eb7fa | 524 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 525 | pix( px+ 1 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 526 | pix( px+ 2 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 527 | pix( px+ 3 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 528 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 529 | |
dujardin | 0:3cb0bc1eb7fa | 530 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 531 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 532 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 533 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 534 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 535 | |
dujardin | 0:3cb0bc1eb7fa | 536 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 537 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 538 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 539 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 540 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 541 | |
dujardin | 0:3cb0bc1eb7fa | 542 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 543 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 544 | pix( px+ 2 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 545 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 546 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 547 | |
dujardin | 0:3cb0bc1eb7fa | 548 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 549 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 550 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 551 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 552 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 553 | } |
dujardin | 0:3cb0bc1eb7fa | 554 | } |
dujardin | 0:3cb0bc1eb7fa | 555 | |
dujardin | 0:3cb0bc1eb7fa | 556 | |
dujardin | 0:3cb0bc1eb7fa | 557 | |
dujardin | 6:edb27e228558 | 558 | void ptnum(int px , int py , int num ) |
dujardin | 0:3cb0bc1eb7fa | 559 | { |
dujardin | 0:3cb0bc1eb7fa | 560 | int dix ; |
dujardin | 0:3cb0bc1eb7fa | 561 | int un ; |
dujardin | 0:3cb0bc1eb7fa | 562 | if ( num > 99 ) num = 99 ; |
dujardin | 0:3cb0bc1eb7fa | 563 | dix = num / 10 ; |
dujardin | 0:3cb0bc1eb7fa | 564 | un = num - 10*dix; |
dujardin | 0:3cb0bc1eb7fa | 565 | charr ( px , py , dix ); |
dujardin | 6:edb27e228558 | 566 | charr ( px + 5 , py , un ); |
dujardin | 6:edb27e228558 | 567 | //charr('e'); |
dujardin | 6:edb27e228558 | 568 | } |