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