Nathan MONNIER
/
Projet_S3
Projet_S3
char.h@14:5b7129157c7b, 2022-03-26 (annotated)
- Committer:
- nmonnier
- Date:
- Sat Mar 26 14:58:31 2022 +0000
- Revision:
- 14:5b7129157c7b
- Parent:
- 11:45d8d1f609a8
Last version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nmonnier | 14:5b7129157c7b | 1 | void brik(int X, int Y, int vie){ |
nmonnier | 14:5b7129157c7b | 2 | int i, j; |
nmonnier | 14:5b7129157c7b | 3 | int couleur[3]; |
nmonnier | 14:5b7129157c7b | 4 | if(vie>0){ |
nmonnier | 14:5b7129157c7b | 5 | switch(vie){ |
nmonnier | 14:5b7129157c7b | 6 | case 2: |
nmonnier | 14:5b7129157c7b | 7 | couleur[0]=0;couleur[1]=0;couleur[2]=5; |
nmonnier | 14:5b7129157c7b | 8 | break; |
nmonnier | 14:5b7129157c7b | 9 | case 1: |
nmonnier | 14:5b7129157c7b | 10 | couleur[0]=0;couleur[1]=5;couleur[2]=0; |
nmonnier | 14:5b7129157c7b | 11 | break; |
nmonnier | 14:5b7129157c7b | 12 | case 3: |
nmonnier | 14:5b7129157c7b | 13 | couleur[0]=5;couleur[1]=0;couleur[2]=0; |
nmonnier | 14:5b7129157c7b | 14 | break; |
nmonnier | 14:5b7129157c7b | 15 | } |
nmonnier | 14:5b7129157c7b | 16 | for(i=0;i<4;i++){ |
nmonnier | 14:5b7129157c7b | 17 | for(j=0;j<2;j++){ |
nmonnier | 14:5b7129157c7b | 18 | pix(X+i,Y+j,couleur[0],couleur[1],couleur[2]); |
nmonnier | 14:5b7129157c7b | 19 | } |
nmonnier | 14:5b7129157c7b | 20 | } |
nmonnier | 14:5b7129157c7b | 21 | } |
nmonnier | 14:5b7129157c7b | 22 | } |
nmonnier | 14:5b7129157c7b | 23 | |
nmonnier | 14:5b7129157c7b | 24 | void raquette(int X, int Y){ |
nmonnier | 14:5b7129157c7b | 25 | int i, j; |
nmonnier | 14:5b7129157c7b | 26 | for(i=0;i<8;i++){ |
nmonnier | 14:5b7129157c7b | 27 | for(j=0;j<2;j++){ |
nmonnier | 14:5b7129157c7b | 28 | pix(X+i,Y+j,2,2,2); |
nmonnier | 14:5b7129157c7b | 29 | } |
nmonnier | 14:5b7129157c7b | 30 | } |
nmonnier | 14:5b7129157c7b | 31 | } |
nmonnier | 14:5b7129157c7b | 32 | |
nmonnier | 11:45d8d1f609a8 | 33 | void octahedron(int X, int Y, char qR, char qV, char qB){ |
nmonnier | 11:45d8d1f609a8 | 34 | pix(X,Y-5,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 35 | |
nmonnier | 11:45d8d1f609a8 | 36 | pix(X,Y-4,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 37 | pix(X+1,Y-4,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 38 | pix(X-1,Y-4,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 39 | |
nmonnier | 11:45d8d1f609a8 | 40 | pix(X+1,Y-3,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 41 | pix(X+2,Y-3,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 42 | pix(X-1,Y-3,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 43 | pix(X-2,Y-3,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 44 | |
nmonnier | 11:45d8d1f609a8 | 45 | pix(X-2,Y-2,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 46 | pix(X-3,Y-2,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 47 | pix(X+3,Y-2,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 48 | pix(X+2,Y-2,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 49 | |
nmonnier | 11:45d8d1f609a8 | 50 | pix(X-3,Y-1,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 51 | pix(X-4,Y-1,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 52 | pix(X+3,Y-1,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 53 | pix(X+4,Y-1,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 54 | |
nmonnier | 11:45d8d1f609a8 | 55 | pix(X,Y,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 56 | pix(X-5,Y,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 57 | pix(X-4,Y,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 58 | pix(X-3,Y,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 59 | pix(X-2,Y,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 60 | pix(X-1,Y,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 61 | pix(X+1,Y,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 62 | pix(X+2,Y,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 63 | pix(X+3,Y,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 64 | pix(X+4,Y,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 65 | pix(X+5,Y,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 66 | |
nmonnier | 11:45d8d1f609a8 | 67 | pix(X,Y+5,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 68 | |
nmonnier | 11:45d8d1f609a8 | 69 | pix(X,Y+4,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 70 | pix(X+1,Y+4,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 71 | pix(X-1,Y+4,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 72 | |
nmonnier | 11:45d8d1f609a8 | 73 | pix(X+1,Y+3,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 74 | pix(X+2,Y+3,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 75 | pix(X-1,Y+3,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 76 | pix(X-2,Y+3,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 77 | |
nmonnier | 11:45d8d1f609a8 | 78 | pix(X-2,Y+2,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 79 | pix(X-3,Y+2,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 80 | pix(X+3,Y+2,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 81 | pix(X+2,Y+2,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 82 | |
nmonnier | 11:45d8d1f609a8 | 83 | pix(X-3,Y+1,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 84 | pix(X-4,Y+1,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 85 | pix(X+3,Y+1,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 86 | pix(X+4,Y+1,qR,qV,qB); |
nmonnier | 11:45d8d1f609a8 | 87 | } |
nmonnier | 11:45d8d1f609a8 | 88 | |
nmonnier | 11:45d8d1f609a8 | 89 | void Extra_T(int X, int Y, char qr, char qv, char qb){ |
nmonnier | 11:45d8d1f609a8 | 90 | pix(X+2,Y,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 91 | pix(X+3,Y,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 92 | |
nmonnier | 11:45d8d1f609a8 | 93 | pix(X+1,Y+1,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 94 | pix(X+2,Y+1,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 95 | pix(X+3,Y+1,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 96 | pix(X+4,Y+1,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 97 | |
nmonnier | 11:45d8d1f609a8 | 98 | pix(X,Y+2,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 99 | pix(X+2,Y+2,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 100 | pix(X+3,Y+2,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 101 | pix(X+5,Y+2,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 102 | |
nmonnier | 11:45d8d1f609a8 | 103 | pix(X,Y+3,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 104 | pix(X+1,Y+3,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 105 | pix(X+2,Y+3,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 106 | pix(X+3,Y+3,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 107 | pix(X+4,Y+3,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 108 | pix(X+5,Y+3,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 109 | |
nmonnier | 11:45d8d1f609a8 | 110 | pix(X,Y+4,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 111 | pix(X+5,Y+4,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 112 | |
nmonnier | 11:45d8d1f609a8 | 113 | pix(X+1,Y+5,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 114 | pix(X+4,Y+5,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 115 | } |
dujardin | 0:3cb0bc1eb7fa | 116 | |
dujardin | 6:edb27e228558 | 117 | void clown() // a éteindre |
dujardin | 6:edb27e228558 | 118 | { |
dujardin | 6:edb27e228558 | 119 | 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 | 120 | 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 | 121 | pix(16,16,0,5,0); |
dujardin | 6:edb27e228558 | 122 | pix(16,17,0,5,0); |
dujardin | 6:edb27e228558 | 123 | 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 | 124 | pix(15,19,4,0,4);pix(16,19,4,0,4);pix(17,19,4,0,4); |
dujardin | 6:edb27e228558 | 125 | } |
nmonnier | 11:45d8d1f609a8 | 126 | |
nmonnier | 11:45d8d1f609a8 | 127 | void line_v( int X, char qr , char qv , char qb ){ |
nmonnier | 11:45d8d1f609a8 | 128 | int i; |
nmonnier | 11:45d8d1f609a8 | 129 | for(i=0;i<32;i++){ |
nmonnier | 11:45d8d1f609a8 | 130 | pix(X,i,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 131 | } |
nmonnier | 11:45d8d1f609a8 | 132 | } |
nmonnier | 11:45d8d1f609a8 | 133 | |
nmonnier | 11:45d8d1f609a8 | 134 | void line_h( int Y, char qr , char qv , char qb ){ |
nmonnier | 11:45d8d1f609a8 | 135 | int i; |
nmonnier | 11:45d8d1f609a8 | 136 | for(i=0;i<32;i++){ |
nmonnier | 11:45d8d1f609a8 | 137 | pix(i,Y,qr,qv,qb); |
nmonnier | 11:45d8d1f609a8 | 138 | } |
nmonnier | 11:45d8d1f609a8 | 139 | } |
dujardin | 5:10349dda4f42 | 140 | |
dujardin | 0:3cb0bc1eb7fa | 141 | void charr( int px , int py , char ch ) |
dujardin | 6:edb27e228558 | 142 | { |
dujardin | 6:edb27e228558 | 143 | |
dujardin | 6:edb27e228558 | 144 | if ( ch == 'y' ) // a faire br bb bv sur tous les lignes avec 5 |
dujardin | 6:edb27e228558 | 145 | { |
dujardin | 6:edb27e228558 | 146 | pix( px+ 0 , py + 0 , br , bv , bb ); |
dujardin | 6:edb27e228558 | 147 | pix( px+ 1 , py + 0 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 148 | pix( px+ 2 , py + 0 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 149 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 150 | pix( px+ 4 , py + 0 , br , bv , bb ); |
dujardin | 6:edb27e228558 | 151 | |
dujardin | 6:edb27e228558 | 152 | pix( px+ 0 , py + 1 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 153 | pix( px+ 1 , py + 1 , br, bv , bb ); |
dujardin | 6:edb27e228558 | 154 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 155 | pix( px+ 3 , py + 1 , br , bv , bb ); |
dujardin | 6:edb27e228558 | 156 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 157 | |
dujardin | 6:edb27e228558 | 158 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 159 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 160 | pix( px+ 2 , py + 2 , br , bv , bb ); |
dujardin | 6:edb27e228558 | 161 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 162 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 163 | |
dujardin | 6:edb27e228558 | 164 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 165 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 166 | pix( px+ 2 , py + 3 , br , bv , bb ); |
dujardin | 6:edb27e228558 | 167 | pix( px+ 3 , py + 3 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 168 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 169 | |
dujardin | 6:edb27e228558 | 170 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 171 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 172 | pix( px+ 2 , py + 4 , br , bv , bb ); |
dujardin | 6:edb27e228558 | 173 | pix( px+ 3 , py + 4 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 174 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 175 | |
dujardin | 6:edb27e228558 | 176 | pix( px+ 0 , py + 5 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 177 | pix( px+ 1 , py + 5 , 0, 0 , 0 ); |
dujardin | 6:edb27e228558 | 178 | pix( px+ 2 , py + 5 , br, bv , bb ); |
dujardin | 6:edb27e228558 | 179 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 180 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 181 | |
dujardin | 6:edb27e228558 | 182 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 183 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 184 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 185 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 186 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 6:edb27e228558 | 187 | } |
dujardin | 6:edb27e228558 | 188 | |
dujardin | 0:3cb0bc1eb7fa | 189 | if ( ch == 'x' ) |
dujardin | 0:3cb0bc1eb7fa | 190 | { |
dujardin | 0:3cb0bc1eb7fa | 191 | pix( px+ 0 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 192 | pix( px+ 1 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 193 | pix( px+ 2 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 194 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 195 | pix( px+ 4 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 196 | |
dujardin | 0:3cb0bc1eb7fa | 197 | pix( px+ 0 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 198 | pix( px+ 1 , py + 1 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 199 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 200 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 201 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 202 | |
dujardin | 0:3cb0bc1eb7fa | 203 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 204 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 205 | pix( px+ 2 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 206 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 207 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 208 | |
dujardin | 0:3cb0bc1eb7fa | 209 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 210 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 211 | pix( px+ 2 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 212 | pix( px+ 3 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 213 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 214 | |
dujardin | 0:3cb0bc1eb7fa | 215 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 216 | pix( px+ 1 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 217 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 218 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 219 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 220 | |
dujardin | 0:3cb0bc1eb7fa | 221 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 222 | pix( px+ 1 , py + 5 , 0, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 223 | pix( px+ 2 , py + 5 , 0, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 224 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 225 | pix( px+ 4 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 226 | |
dujardin | 0:3cb0bc1eb7fa | 227 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 228 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 229 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 230 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 231 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 232 | } |
dujardin | 0:3cb0bc1eb7fa | 233 | |
dujardin | 0:3cb0bc1eb7fa | 234 | if ( ch == 0 ) |
dujardin | 0:3cb0bc1eb7fa | 235 | { |
dujardin | 0:3cb0bc1eb7fa | 236 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 237 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 238 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 239 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 240 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 241 | |
dujardin | 0:3cb0bc1eb7fa | 242 | pix( px+ 0 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 243 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 244 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 245 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 246 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 247 | |
dujardin | 0:3cb0bc1eb7fa | 248 | pix( px+ 0 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 249 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 250 | pix( px+ 2 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 251 | pix( px+ 3 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 252 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 253 | |
dujardin | 0:3cb0bc1eb7fa | 254 | pix( px+ 0 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 255 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 256 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 257 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 258 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 259 | |
dujardin | 0:3cb0bc1eb7fa | 260 | pix( px+ 0 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 261 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 262 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 263 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 264 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 265 | |
dujardin | 0:3cb0bc1eb7fa | 266 | pix( px+ 0 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 267 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 268 | pix( px+ 2 , py + 5 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 269 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 270 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 271 | |
dujardin | 0:3cb0bc1eb7fa | 272 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 273 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 274 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 275 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 276 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 277 | } |
dujardin | 0:3cb0bc1eb7fa | 278 | |
dujardin | 0:3cb0bc1eb7fa | 279 | if ( ch == 1 ) |
dujardin | 0:3cb0bc1eb7fa | 280 | { |
dujardin | 0:3cb0bc1eb7fa | 281 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 282 | pix( px+ 1 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 283 | pix( px+ 2 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 284 | pix( px+ 3 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 285 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 286 | |
dujardin | 0:3cb0bc1eb7fa | 287 | pix( px+ 0 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 288 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 289 | pix( px+ 2 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 290 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 291 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 292 | |
dujardin | 0:3cb0bc1eb7fa | 293 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 294 | pix( px+ 1 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 295 | pix( px+ 2 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 296 | pix( px+ 3 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 297 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 298 | |
dujardin | 0:3cb0bc1eb7fa | 299 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 300 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 301 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 302 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 303 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 304 | |
dujardin | 0:3cb0bc1eb7fa | 305 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 306 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 307 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 308 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 309 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 310 | |
dujardin | 0:3cb0bc1eb7fa | 311 | pix( px+ 0 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 312 | pix( px+ 1 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 313 | pix( px+ 2 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 314 | pix( px+ 3 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 315 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 316 | |
dujardin | 0:3cb0bc1eb7fa | 317 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 318 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 319 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 320 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 321 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 322 | } |
dujardin | 0:3cb0bc1eb7fa | 323 | |
dujardin | 0:3cb0bc1eb7fa | 324 | if ( ch == 2 ) |
dujardin | 0:3cb0bc1eb7fa | 325 | { |
dujardin | 0:3cb0bc1eb7fa | 326 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 327 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 328 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 329 | pix( px+ 3 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 330 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 331 | |
dujardin | 0:3cb0bc1eb7fa | 332 | pix( px+ 0 , py + 1 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 333 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 334 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 335 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 336 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 337 | |
dujardin | 0:3cb0bc1eb7fa | 338 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 339 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 340 | pix( px+ 2 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 341 | pix( px+ 3 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 342 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 343 | |
dujardin | 0:3cb0bc1eb7fa | 344 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 345 | pix( px+ 1 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 346 | pix( px+ 2 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 347 | pix( px+ 3 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 348 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 349 | |
dujardin | 0:3cb0bc1eb7fa | 350 | pix( px+ 0 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 351 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 352 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 353 | pix( px+ 3 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 354 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 355 | |
dujardin | 0:3cb0bc1eb7fa | 356 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 357 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 358 | pix( px+ 2 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 359 | pix( px+ 3 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 360 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 361 | |
dujardin | 0:3cb0bc1eb7fa | 362 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 363 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 364 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 365 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 366 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 367 | } |
dujardin | 0:3cb0bc1eb7fa | 368 | |
dujardin | 0:3cb0bc1eb7fa | 369 | if ( ch == 3 ) |
dujardin | 0:3cb0bc1eb7fa | 370 | { |
dujardin | 0:3cb0bc1eb7fa | 371 | pix( px+ 0 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 372 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 373 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 374 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 375 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 376 | |
dujardin | 0:3cb0bc1eb7fa | 377 | pix( px+ 0 , py + 1 , 0, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 378 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 379 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 380 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 381 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 382 | |
dujardin | 0:3cb0bc1eb7fa | 383 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 384 | pix( px+ 1 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 385 | pix( px+ 2 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 386 | pix( px+ 3 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 387 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 388 | |
dujardin | 0:3cb0bc1eb7fa | 389 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 390 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 391 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 392 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 393 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 394 | |
dujardin | 0:3cb0bc1eb7fa | 395 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 396 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 397 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 398 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 399 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 400 | |
dujardin | 0:3cb0bc1eb7fa | 401 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 402 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 403 | pix( px+ 2 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 404 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 405 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 406 | |
dujardin | 0:3cb0bc1eb7fa | 407 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 408 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 409 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 410 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 411 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 412 | } |
dujardin | 0:3cb0bc1eb7fa | 413 | |
dujardin | 0:3cb0bc1eb7fa | 414 | if ( ch == 4 ) |
dujardin | 0:3cb0bc1eb7fa | 415 | { |
dujardin | 0:3cb0bc1eb7fa | 416 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 417 | pix( px+ 1 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 418 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 419 | pix( px+ 3 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 420 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 421 | |
dujardin | 0:3cb0bc1eb7fa | 422 | pix( px+ 0 , py + 1 , 0, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 423 | pix( px+ 1 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 424 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 425 | pix( px+ 3 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 426 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 427 | |
dujardin | 0:3cb0bc1eb7fa | 428 | pix( px+ 0 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 429 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 430 | pix( px+ 2 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 431 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 432 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 433 | |
dujardin | 0:3cb0bc1eb7fa | 434 | pix( px+ 0 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 435 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 436 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 437 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 438 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 439 | |
dujardin | 0:3cb0bc1eb7fa | 440 | pix( px+ 0 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 441 | pix( px+ 1 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 442 | pix( px+ 2 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 443 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 444 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 445 | |
dujardin | 0:3cb0bc1eb7fa | 446 | pix( px+ 0 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 447 | pix( px+ 1 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 448 | pix( px+ 2 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 449 | pix( px+ 3 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 450 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 451 | |
dujardin | 0:3cb0bc1eb7fa | 452 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 453 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 454 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 455 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 456 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 457 | } |
dujardin | 0:3cb0bc1eb7fa | 458 | |
dujardin | 0:3cb0bc1eb7fa | 459 | if ( ch == 5 ) |
dujardin | 0:3cb0bc1eb7fa | 460 | { |
dujardin | 0:3cb0bc1eb7fa | 461 | pix( px+ 0 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 462 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 463 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 464 | pix( px+ 3 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 465 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 466 | |
dujardin | 0:3cb0bc1eb7fa | 467 | pix( px+ 0 , py + 1 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 468 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 469 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 470 | pix( px+ 3 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 471 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 472 | |
dujardin | 0:3cb0bc1eb7fa | 473 | pix( px+ 0 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 474 | pix( px+ 1 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 475 | pix( px+ 2 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 476 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 477 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 478 | |
dujardin | 0:3cb0bc1eb7fa | 479 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 480 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 481 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 482 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 483 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 484 | |
dujardin | 0:3cb0bc1eb7fa | 485 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 486 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 487 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 488 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 489 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 490 | |
dujardin | 0:3cb0bc1eb7fa | 491 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 492 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 493 | pix( px+ 2 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 494 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 495 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 496 | |
dujardin | 0:3cb0bc1eb7fa | 497 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 498 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 499 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 500 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 501 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 502 | } |
dujardin | 0:3cb0bc1eb7fa | 503 | |
dujardin | 0:3cb0bc1eb7fa | 504 | if ( ch == 6 ) |
dujardin | 0:3cb0bc1eb7fa | 505 | { |
dujardin | 6:edb27e228558 | 506 | pix( px+ 0 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 507 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 508 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 509 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 510 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 511 | |
dujardin | 0:3cb0bc1eb7fa | 512 | pix( px+ 0 , py + 1 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 513 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 514 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 515 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 516 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 517 | |
dujardin | 0:3cb0bc1eb7fa | 518 | pix( px+ 0 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 519 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 520 | pix( px+ 2 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 521 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 522 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 523 | |
dujardin | 0:3cb0bc1eb7fa | 524 | pix( px+ 0 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 525 | pix( px+ 1 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 526 | pix( px+ 2 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 527 | pix( px+ 3 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 528 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 529 | |
dujardin | 0:3cb0bc1eb7fa | 530 | pix( px+ 0 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 531 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 532 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 533 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 534 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 535 | |
dujardin | 0:3cb0bc1eb7fa | 536 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 537 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 538 | pix( px+ 2 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 539 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 540 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 541 | |
dujardin | 0:3cb0bc1eb7fa | 542 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 543 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 544 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 545 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 546 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 547 | } |
dujardin | 0:3cb0bc1eb7fa | 548 | |
dujardin | 0:3cb0bc1eb7fa | 549 | if ( ch == 7 ) |
dujardin | 0:3cb0bc1eb7fa | 550 | { |
dujardin | 0:3cb0bc1eb7fa | 551 | pix( px+ 0 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 552 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 553 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 554 | pix( px+ 3 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 555 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 556 | |
dujardin | 0:3cb0bc1eb7fa | 557 | pix( px+ 0 , py + 1 , 0, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 558 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 559 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 560 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 561 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 562 | |
dujardin | 0:3cb0bc1eb7fa | 563 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 564 | pix( px+ 1 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 565 | pix( px+ 2 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 566 | pix( px+ 3 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 567 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 568 | |
dujardin | 0:3cb0bc1eb7fa | 569 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 570 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 571 | pix( px+ 2 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 572 | pix( px+ 3 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 573 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 574 | |
dujardin | 0:3cb0bc1eb7fa | 575 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 576 | pix( px+ 1 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 577 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 578 | pix( px+ 3 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 579 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 580 | |
dujardin | 0:3cb0bc1eb7fa | 581 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 582 | pix( px+ 1 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 583 | pix( px+ 2 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 584 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 585 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 586 | |
dujardin | 0:3cb0bc1eb7fa | 587 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 588 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 589 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 590 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 591 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 592 | } |
dujardin | 0:3cb0bc1eb7fa | 593 | |
dujardin | 0:3cb0bc1eb7fa | 594 | if ( ch == 8 ) |
dujardin | 0:3cb0bc1eb7fa | 595 | { |
dujardin | 0:3cb0bc1eb7fa | 596 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 597 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 598 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 599 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 600 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 601 | |
dujardin | 0:3cb0bc1eb7fa | 602 | pix( px+ 0 , py + 1 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 603 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 604 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 605 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 606 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 607 | |
dujardin | 0:3cb0bc1eb7fa | 608 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 609 | pix( px+ 1 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 610 | pix( px+ 2 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 611 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 612 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 613 | |
dujardin | 0:3cb0bc1eb7fa | 614 | pix( px+ 0 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 615 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 616 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 617 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 618 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 619 | |
dujardin | 0:3cb0bc1eb7fa | 620 | pix( px+ 0 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 621 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 622 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 623 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 624 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 625 | |
dujardin | 0:3cb0bc1eb7fa | 626 | pix( px+ 0 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 627 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 628 | pix( px+ 2 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 629 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 630 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 631 | |
dujardin | 0:3cb0bc1eb7fa | 632 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 633 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 634 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 635 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 636 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 637 | } |
dujardin | 0:3cb0bc1eb7fa | 638 | |
dujardin | 0:3cb0bc1eb7fa | 639 | if ( ch == 9 ) |
dujardin | 0:3cb0bc1eb7fa | 640 | { |
dujardin | 0:3cb0bc1eb7fa | 641 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 642 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 643 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 644 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 645 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 646 | |
dujardin | 0:3cb0bc1eb7fa | 647 | pix( px+ 0 , py + 1 , 5, 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 648 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 649 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 650 | pix( px+ 3 , py + 1 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 651 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 652 | |
dujardin | 0:3cb0bc1eb7fa | 653 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 654 | pix( px+ 1 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 655 | pix( px+ 2 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 656 | pix( px+ 3 , py + 2 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 657 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 658 | |
dujardin | 0:3cb0bc1eb7fa | 659 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 660 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 661 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 662 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 663 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 664 | |
dujardin | 0:3cb0bc1eb7fa | 665 | pix( px+ 0 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 666 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 667 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 668 | pix( px+ 3 , py + 4 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 669 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 670 | |
dujardin | 0:3cb0bc1eb7fa | 671 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 672 | pix( px+ 1 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 673 | pix( px+ 2 , py + 5 , 5 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 674 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 675 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 676 | |
dujardin | 0:3cb0bc1eb7fa | 677 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 678 | pix( px+ 1 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 679 | pix( px+ 2 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 680 | pix( px+ 3 , py + 6 , 0 , 0 , 0 ); |
dujardin | 0:3cb0bc1eb7fa | 681 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 682 | } |
nmonnier | 14:5b7129157c7b | 683 | |
nmonnier | 14:5b7129157c7b | 684 | if ( ch == 'L' ) |
nmonnier | 14:5b7129157c7b | 685 | { |
nmonnier | 14:5b7129157c7b | 686 | pix( px+ 0 , py + 0 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 687 | pix( px+ 1 , py + 0 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 688 | pix( px+ 2 , py + 0 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 689 | pix( px+ 3 , py + 0 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 690 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 691 | |
nmonnier | 14:5b7129157c7b | 692 | pix( px+ 0 , py + 1 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 693 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 694 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 695 | pix( px+ 3 , py + 1 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 696 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 697 | |
nmonnier | 14:5b7129157c7b | 698 | pix( px+ 0 , py + 2 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 699 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 700 | pix( px+ 2 , py + 2 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 701 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 702 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 703 | |
nmonnier | 14:5b7129157c7b | 704 | pix( px+ 0 , py + 3 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 705 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 706 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 707 | pix( px+ 3 , py + 3 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 708 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 709 | |
nmonnier | 14:5b7129157c7b | 710 | pix( px+ 0 , py + 4 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 711 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 712 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 713 | pix( px+ 3 , py + 4 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 714 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 715 | |
nmonnier | 14:5b7129157c7b | 716 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 717 | pix( px+ 1 , py + 5 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 718 | pix( px+ 2 , py + 5 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 719 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 720 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 721 | |
nmonnier | 14:5b7129157c7b | 722 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 723 | pix( px+ 1 , py + 6 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 724 | pix( px+ 2 , py + 6 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 725 | pix( px+ 3 , py + 6 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 726 | pix( px+ 4 , py + 6 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 727 | } |
nmonnier | 14:5b7129157c7b | 728 | |
nmonnier | 14:5b7129157c7b | 729 | if ( ch == 'O' ) |
nmonnier | 14:5b7129157c7b | 730 | { |
nmonnier | 14:5b7129157c7b | 731 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 732 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 733 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 734 | pix( px+ 3 , py + 0 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 735 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 736 | |
nmonnier | 14:5b7129157c7b | 737 | pix( px+ 0 , py + 1 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 738 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 739 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 740 | pix( px+ 3 , py + 1 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 741 | pix( px+ 4 , py + 1 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 742 | |
nmonnier | 14:5b7129157c7b | 743 | pix( px+ 0 , py + 2 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 744 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 745 | pix( px+ 2 , py + 2 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 746 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 747 | pix( px+ 4 , py + 2 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 748 | |
nmonnier | 14:5b7129157c7b | 749 | pix( px+ 0 , py + 3 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 750 | pix( px+ 1 , py + 3 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 751 | pix( px+ 2 , py + 3 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 752 | pix( px+ 3 , py + 3 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 753 | pix( px+ 4 , py + 3 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 754 | |
nmonnier | 14:5b7129157c7b | 755 | pix( px+ 0 , py + 4 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 756 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 757 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 758 | pix( px+ 3 , py + 4 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 759 | pix( px+ 4 , py + 4 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 760 | |
nmonnier | 14:5b7129157c7b | 761 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 762 | pix( px+ 1 , py + 5 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 763 | pix( px+ 2 , py + 5 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 764 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 765 | pix( px+ 4 , py + 5 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 766 | |
nmonnier | 14:5b7129157c7b | 767 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 768 | pix( px+ 1 , py + 6 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 769 | pix( px+ 2 , py + 6 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 770 | pix( px+ 3 , py + 6 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 771 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 772 | } |
nmonnier | 14:5b7129157c7b | 773 | |
nmonnier | 14:5b7129157c7b | 774 | if ( ch == 'S' ) |
nmonnier | 14:5b7129157c7b | 775 | { |
nmonnier | 14:5b7129157c7b | 776 | pix( px+ 0 , py + 0 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 777 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 778 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 779 | pix( px+ 3 , py + 0 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 780 | pix( px+ 4 , py + 0 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 781 | |
nmonnier | 14:5b7129157c7b | 782 | pix( px+ 0 , py + 1 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 783 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 784 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 785 | pix( px+ 3 , py + 1 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 786 | pix( px+ 4 , py + 1 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 787 | |
nmonnier | 14:5b7129157c7b | 788 | pix( px+ 0 , py + 2 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 789 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 790 | pix( px+ 2 , py + 2 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 791 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 792 | pix( px+ 4 , py + 2 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 793 | |
nmonnier | 14:5b7129157c7b | 794 | pix( px+ 0 , py + 3 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 795 | pix( px+ 1 , py + 3 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 796 | pix( px+ 2 , py + 3 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 797 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 798 | pix( px+ 4 , py + 3 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 799 | |
nmonnier | 14:5b7129157c7b | 800 | pix( px+ 0 , py + 4 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 801 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 802 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 803 | pix( px+ 3 , py + 4 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 804 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 805 | |
nmonnier | 14:5b7129157c7b | 806 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 807 | pix( px+ 1 , py + 5 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 808 | pix( px+ 2 , py + 5 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 809 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 810 | pix( px+ 4 , py + 5 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 811 | |
nmonnier | 14:5b7129157c7b | 812 | pix( px+ 0 , py + 6 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 813 | pix( px+ 1 , py + 6 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 814 | pix( px+ 2 , py + 6 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 815 | pix( px+ 3 , py + 6 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 816 | pix( px+ 4 , py + 6 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 817 | } |
nmonnier | 14:5b7129157c7b | 818 | |
nmonnier | 14:5b7129157c7b | 819 | if ( ch == 'E' ) |
nmonnier | 14:5b7129157c7b | 820 | { |
nmonnier | 14:5b7129157c7b | 821 | pix( px+ 0 , py + 0 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 822 | pix( px+ 1 , py + 0 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 823 | pix( px+ 2 , py + 0 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 824 | pix( px+ 3 , py + 0 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 825 | pix( px+ 4 , py + 0 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 826 | |
nmonnier | 14:5b7129157c7b | 827 | pix( px+ 0 , py + 1 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 828 | pix( px+ 1 , py + 1 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 829 | pix( px+ 2 , py + 1 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 830 | pix( px+ 3 , py + 1 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 831 | pix( px+ 4 , py + 1 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 832 | |
nmonnier | 14:5b7129157c7b | 833 | pix( px+ 0 , py + 2 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 834 | pix( px+ 1 , py + 2 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 835 | pix( px+ 2 , py + 2 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 836 | pix( px+ 3 , py + 2 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 837 | pix( px+ 4 , py + 2 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 838 | |
nmonnier | 14:5b7129157c7b | 839 | pix( px+ 0 , py + 3 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 840 | pix( px+ 1 , py + 3 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 841 | pix( px+ 2 , py + 3 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 842 | pix( px+ 3 , py + 3 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 843 | pix( px+ 4 , py + 3 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 844 | |
nmonnier | 14:5b7129157c7b | 845 | pix( px+ 0 , py + 4 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 846 | pix( px+ 1 , py + 4 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 847 | pix( px+ 2 , py + 4 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 848 | pix( px+ 3 , py + 4 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 849 | pix( px+ 4 , py + 4 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 850 | |
nmonnier | 14:5b7129157c7b | 851 | pix( px+ 0 , py + 5 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 852 | pix( px+ 1 , py + 5 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 853 | pix( px+ 2 , py + 5 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 854 | pix( px+ 3 , py + 5 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 855 | pix( px+ 4 , py + 5 , 0 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 856 | |
nmonnier | 14:5b7129157c7b | 857 | pix( px+ 0 , py + 6 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 858 | pix( px+ 1 , py + 6 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 859 | pix( px+ 2 , py + 6 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 860 | pix( px+ 3 , py + 6 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 861 | pix( px+ 4 , py + 6 , 5 , 0 , 0 ); |
nmonnier | 14:5b7129157c7b | 862 | } |
dujardin | 0:3cb0bc1eb7fa | 863 | } |
dujardin | 0:3cb0bc1eb7fa | 864 | |
dujardin | 0:3cb0bc1eb7fa | 865 | |
dujardin | 0:3cb0bc1eb7fa | 866 | |
dujardin | 6:edb27e228558 | 867 | void ptnum(int px , int py , int num ) |
dujardin | 0:3cb0bc1eb7fa | 868 | { |
dujardin | 0:3cb0bc1eb7fa | 869 | int dix ; |
dujardin | 0:3cb0bc1eb7fa | 870 | int un ; |
dujardin | 0:3cb0bc1eb7fa | 871 | if ( num > 99 ) num = 99 ; |
dujardin | 0:3cb0bc1eb7fa | 872 | dix = num / 10 ; |
dujardin | 0:3cb0bc1eb7fa | 873 | un = num - 10*dix; |
dujardin | 0:3cb0bc1eb7fa | 874 | charr ( px , py , dix ); |
dujardin | 6:edb27e228558 | 875 | charr ( px + 5 , py , un ); |
dujardin | 6:edb27e228558 | 876 | //charr('e'); |
dujardin | 6:edb27e228558 | 877 | } |