8*8数组构成的字母表
前几天写的游戏"弹球敲方块"和"打方块"中需要按照字母来生成方块的组合.一开始想从网上找到这样的数据,却没有找到,只好自己写.10个数字和26个英文大写字母.小写字母的没有实现,希望有人能给我补充上.
1 bool g_char_null[64] = 2 { 3 0,0,0,0,0,0,0,0, 4 0,0,0,0,0,0,0,0, 5 0,0,0,0,0,0,0,0, 6 0,0,0,0,0,0,0,0, 7 0,0,0,0,0,0,0,0, 8 0,0,0,0,0,0,0,0, 9 0,0,0,0,0,0,0,0, 10 0,0,0,0,0,0,0,0, 11 }; 12 13 bool g_char_0[64] = 14 { 15 0,0,0,1,1,0,0,0, 16 0,0,1,0,0,1,0,0, 17 0,1,0,0,0,0,1,0, 18 0,1,0,0,0,0,1,0, 19 0,1,0,0,0,0,1,0, 20 0,1,0,0,0,0,1,0, 21 0,0,1,0,0,1,0,0, 22 0,0,0,1,1,0,0,0, 23 }; 24 25 bool g_char_1[64] = 26 { 27 0,0,0,1,1,0,0,0, 28 0,0,1,1,1,0,0,0, 29 0,0,0,1,1,0,0,0, 30 0,0,0,1,1,0,0,0, 31 0,0,0,1,1,0,0,0, 32 0,0,0,1,1,0,0,0, 33 0,0,0,1,1,0,0,0, 34 0,0,0,1,1,0,0,0, 35 }; 36 37 bool g_char_2[64] = 38 { 39 0,0,0,1,1,0,0,0, 40 0,0,1,0,0,1,0,0, 41 0,1,1,0,0,1,1,0, 42 0,0,0,0,0,1,0,0, 43 0,0,0,0,1,0,0,0, 44 0,0,0,1,0,0,0,0, 45 0,0,1,0,0,0,0,0, 46 0,1,1,1,1,1,1,0, 47 }; 48 49 bool g_char_3[64] = 50 { 51 0,0,1,1,1,0,0,0, 52 0,1,0,0,0,1,0,0, 53 0,1,0,0,0,0,1,0, 54 0,0,0,0,1,1,0,0, 55 0,0,0,0,1,1,0,0, 56 0,1,0,0,0,0,1,0, 57 0,1,0,0,0,1,0,0, 58 0,0,1,1,1,0,0,0, 59 }; 60 61 bool g_char_4[64] = 62 { 63 0,0,0,0,0,1,0,0, 64 0,0,0,0,1,1,0,0, 65 0,0,0,1,0,1,0,0, 66 0,0,1,0,0,1,0,0, 67 0,1,0,0,0,1,0,0, 68 0,1,1,1,1,1,1,0, 69 0,0,0,0,0,1,0,0, 70 0,0,0,0,0,1,0,0, 71 }; 72 73 bool g_char_5[64] = 74 { 75 0,1,1,1,1,1,1,0, 76 0,1,0,0,0,0,0,0, 77 0,1,0,0,0,0,0,0, 78 0,1,0,0,0,0,0,0, 79 0,1,1,1,1,1,0,0, 80 0,0,0,0,0,0,1,0, 81 0,0,0,0,0,0,1,0, 82 0,1,1,1,1,1,0,0, 83 }; 84 85 bool g_char_6[64] = 86 { 87 0,0,0,1,1,0,0,0, 88 0,0,1,0,0,1,0,0, 89 0,1,0,0,0,0,1,0, 90 0,1,0,0,0,0,0,0, 91 0,1,1,1,1,1,0,0, 92 0,1,0,0,0,0,1,0, 93 0,0,1,0,0,1,0,0, 94 0,0,0,1,1,0,0,0, 95 }; 96 97 bool g_char_7[64] = 98 { 99 0,1,1,1,1,1,1,0, 100 0,0,0,0,0,1,0,0, 101 0,0,0,0,1,1,0,0, 102 0,0,0,0,1,0,0,0, 103 0,0,0,1,1,0,0,0, 104 0,0,0,1,0,0,0,0, 105 0,0,1,1,0,0,0,0, 106 0,0,1,0,0,0,0,0, 107 }; 108 109 bool g_char_8[64] = 110 { 111 0,0,0,1,1,0,0,0, 112 0,0,1,0,0,1,0,0, 113 0,0,1,0,0,1,0,0, 114 0,0,0,1,1,0,0,0, 115 0,0,1,0,0,1,0,0, 116 0,1,0,0,0,0,1,0, 117 0,0,1,0,0,1,0,0, 118 0,0,0,1,1,0,0,0, 119 }; 120 121 bool g_char_9[64] = 122 { 123 0,0,0,1,1,0,0,0, 124 0,0,1,0,0,1,0,0, 125 0,1,0,0,0,0,1,0, 126 0,1,0,0,0,0,1,0, 127 0,0,1,1,1,1,1,0, 128 0,0,0,0,0,0,1,0, 129 0,1,0,0,0,1,0,0, 130 0,0,1,1,1,0,0,0, 131 }; 132 133 bool g_char_A[64] = 134 { 135 0,0,0,1,1,0,0,0, 136 0,0,1,0,0,1,0,0, 137 0,0,1,0,0,1,0,0, 138 0,0,1,0,0,1,0,0, 139 0,1,1,1,1,1,1,0, 140 0,1,0,0,0,0,1,0, 141 0,1,0,0,0,0,1,0, 142 0,1,0,0,0,0,1,0, 143 }; 144 145 bool g_char_B[64] = 146 { 147 0,1,1,1,1,0,0,0, 148 0,1,0,0,0,1,0,0, 149 0,1,0,0,0,1,0,0, 150 0,1,0,0,1,0,0,0, 151 0,1,1,1,1,1,0,0, 152 0,1,0,0,0,0,1,0, 153 0,1,0,0,0,0,1,0, 154 0,1,1,1,1,1,0,0, 155 }; 156 157 bool g_char_C[64] = 158 { 159 0,0,0,1,1,0,0,0, 160 0,0,1,0,0,1,0,0, 161 0,1,1,0,0,0,1,0, 162 0,1,0,0,0,0,0,0, 163 0,1,0,0,0,0,0,0, 164 0,1,1,0,0,0,1,0, 165 0,0,1,0,0,1,0,0, 166 0,0,0,1,1,0,0,0, 167 }; 168 169 bool g_char_D[64] = 170 { 171 0,1,1,1,1,0,0,0, 172 0,1,0,0,0,1,0,0, 173 0,1,0,0,0,0,1,0, 174 0,1,0,0,0,0,1,0, 175 0,1,0,0,0,0,1,0, 176 0,1,0,0,0,0,1,0, 177 0,1,0,0,0,1,0,0, 178 0,1,1,1,1,0,0,0, 179 }; 180 181 bool g_char_E[64] = 182 { 183 0,1,1,1,1,1,1,0, 184 0,1,0,0,0,0,0,0, 185 0,1,0,0,0,0,0,0, 186 0,1,1,1,1,1,0,0, 187 0,1,1,1,1,1,0,0, 188 0,1,0,0,0,0,0,0, 189 0,1,0,0,0,0,0,0, 190 0,1,1,1,1,1,1,0, 191 }; 192 193 bool g_char_F[64] = 194 { 195 0,1,1,1,1,1,1,0, 196 0,1,0,0,0,0,0,0, 197 0,1,0,0,0,0,0,0, 198 0,1,1,1,1,1,0,0, 199 0,1,0,0,0,0,0,0, 200 0,1,0,0,0,0,0,0, 201 0,1,0,0,0,0,0,0, 202 0,1,0,0,0,0,0,0, 203 }; 204 205 bool g_char_G[64] = 206 { 207 0,0,0,1,1,0,0,0, 208 0,0,1,0,0,1,0,0, 209 0,1,0,0,0,0,1,0, 210 0,1,0,0,0,0,0,0, 211 0,1,0,0,0,1,1,0, 212 0,1,0,0,0,0,1,0, 213 0,0,1,0,0,1,0,0, 214 0,0,0,1,1,0,0,0, 215 }; 216 217 bool g_char_H[64] = 218 { 219 0,1,1,0,0,1,1,0, 220 0,1,1,0,0,1,1,0, 221 0,1,1,0,0,1,1,0, 222 0,1,1,1,1,1,1,0, 223 0,1,1,1,1,1,1,0, 224 0,1,1,0,0,1,1,0, 225 0,1,1,0,0,1,1,0, 226 0,1,1,0,0,1,1,0, 227 }; 228 229 bool g_char_I[64] = 230 { 231 0,0,1,1,1,1,0,0, 232 0,0,0,1,1,0,0,0, 233 0,0,0,1,1,0,0,0, 234 0,0,0,1,1,0,0,0, 235 0,0,0,1,1,0,0,0, 236 0,0,0,1,1,0,0,0, 237 0,0,0,1,1,0,0,0, 238 0,0,1,1,1,1,0,0, 239 }; 240 241 bool g_char_J[64] = 242 { 243 0,0,1,1,1,1,0,0, 244 0,0,0,1,1,0,0,0, 245 0,0,0,1,1,0,0,0, 246 0,0,0,1,1,0,0,0, 247 0,0,0,1,1,0,0,0, 248 0,0,0,1,1,0,0,0, 249 1,1,0,1,1,0,0,0, 250 0,1,1,1,0,0,0,0, 251 }; 252 253 bool g_char_K[64] = 254 { 255 0,1,1,0,0,0,1,0, 256 0,1,1,0,0,1,0,0, 257 0,1,1,0,1,0,0,0, 258 0,1,1,1,0,0,0,0, 259 0,1,1,1,0,0,0,0, 260 0,1,1,0,1,0,0,0, 261 0,1,1,0,0,1,0,0, 262 0,1,1,0,0,0,1,0, 263 }; 264 265 bool g_char_L[64] = 266 { 267 0,1,1,0,0,0,0,0, 268 0,1,1,0,0,0,0,0, 269 0,1,1,0,0,0,0,0, 270 0,1,1,0,0,0,0,0, 271 0,1,1,0,0,0,0,0, 272 0,1,1,0,0,0,0,0, 273 0,1,1,1,1,1,1,0, 274 0,1,1,1,1,1,1,0, 275 }; 276 277 bool g_char_M[64] = 278 { 279 0,1,0,0,0,0,1,0, 280 1,0,1,0,0,1,0,1, 281 1,0,1,0,0,1,0,1, 282 1,0,1,0,0,1,0,1, 283 1,0,0,1,1,0,0,1, 284 1,0,0,1,1,0,0,1, 285 1,0,0,1,1,0,0,1, 286 1,0,0,0,0,0,0,1, 287 }; 288 289 bool g_char_N[64] = 290 { 291 0,1,0,0,0,0,1,0, 292 0,1,1,0,0,0,1,0, 293 0,1,0,1,0,0,1,0, 294 0,1,0,1,0,0,1,0, 295 0,1,0,0,1,0,1,0, 296 0,1,0,0,1,0,1,0, 297 0,1,0,0,0,1,1,0, 298 0,1,0,0,0,0,1,0, 299 }; 300 301 bool g_char_O[64] = 302 { 303 0,0,0,1,1,0,0,0, 304 0,0,1,0,0,1,0,0, 305 0,1,1,0,0,1,1,0, 306 0,1,0,0,0,0,1,0, 307 0,1,0,0,0,0,1,0, 308 0,1,1,0,0,1,1,0, 309 0,0,1,0,0,1,0,0, 310 0,0,0,1,1,0,0,0, 311 }; 312 313 bool g_char_P[64] = 314 { 315 0,1,1,1,1,0,0,0, 316 0,1,1,0,0,1,0,0, 317 0,1,1,0,0,0,1,0, 318 0,1,1,0,0,1,0,0, 319 0,1,1,1,1,0,0,0, 320 0,1,1,0,0,0,0,0, 321 0,1,1,0,0,0,0,0, 322 0,1,1,0,0,0,0,0, 323 }; 324 325 bool g_char_Q[64] = 326 { 327 0,0,0,1,1,0,0,0, 328 0,0,1,0,0,1,0,0, 329 0,1,0,0,0,0,1,0, 330 0,1,0,0,0,0,1,0, 331 0,1,0,0,0,0,1,0, 332 0,1,0,0,1,0,1,0, 333 0,0,1,0,0,1,0,0, 334 0,0,0,1,1,0,1,0, 335 }; 336 337 bool g_char_R[64] = 338 { 339 0,1,1,1,1,0,0,0, 340 0,1,1,0,0,1,0,0, 341 0,1,1,0,0,0,1,0, 342 0,1,1,0,0,1,0,0, 343 0,1,1,1,1,0,0,0, 344 0,1,1,0,1,0,0,0, 345 0,1,1,0,0,1,0,0, 346 0,1,1,0,0,0,1,0, 347 }; 348 349 bool g_char_S[64] = 350 { 351 0,0,0,1,1,0,0,0, 352 0,0,1,0,0,1,0,0, 353 0,0,1,0,0,0,0,0, 354 0,0,0,1,1,0,0,0, 355 0,0,0,0,0,1,0,0, 356 0,1,0,0,0,0,1,0, 357 0,0,1,0,0,1,0,0, 358 0,0,0,1,1,0,0,0, 359 }; 360 361 bool g_char_T[64] = 362 { 363 0,1,1,1,1,1,1,0, 364 0,1,1,1,1,1,1,0, 365 0,0,0,1,1,0,0,0, 366 0,0,0,1,1,0,0,0, 367 0,0,0,1,1,0,0,0, 368 0,0,0,1,1,0,0,0, 369 0,0,0,1,1,0,0,0, 370 0,0,0,1,1,0,0,0, 371 }; 372 373 bool g_char_U[64] = 374 { 375 0,1,1,0,0,1,1,0, 376 0,1,1,0,0,1,1,0, 377 0,1,1,0,0,1,1,0, 378 0,1,1,0,0,1,1,0, 379 0,1,1,0,0,1,1,0, 380 0,1,1,0,0,1,1,0, 381 0,1,1,0,0,1,1,0, 382 0,0,1,1,1,1,0,0, 383 }; 384 385 bool g_char_V[64] = 386 { 387 1,1,0,0,0,0,1,1, 388 1,1,0,0,0,0,1,1, 389 0,1,1,0,0,1,1,0, 390 0,1,1,0,0,1,1,0, 391 0,0,1,0,0,1,0,0, 392 0,0,1,0,0,1,0,0, 393 0,0,0,1,1,0,0,0, 394 0,0,0,1,1,0,0,0, 395 }; 396 397 bool g_char_W[64] = 398 { 399 1,0,0,0,0,0,0,1, 400 1,0,0,1,1,0,0,1, 401 1,0,0,1,1,0,0,1, 402 1,0,0,1,1,0,0,1, 403 1,0,1,0,0,1,0,1, 404 1,0,1,0,0,1,0,1, 405 1,0,1,0,0,1,0,1, 406 0,1,0,0,0,0,1,0, 407 }; 408 409 bool g_char_X[64] = 410 { 411 1,0,0,0,0,0,0,1, 412 0,1,0,0,0,0,1,0, 413 0,0,1,0,0,1,0,0, 414 0,0,0,1,1,0,0,0, 415 0,0,0,1,1,0,0,0, 416 0,0,1,0,0,1,0,0, 417 0,1,0,0,0,0,1,0, 418 1,0,0,0,0,0,0,1, 419 }; 420 421 bool g_char_Y[64] = 422 { 423 0,1,1,0,0,1,1,0, 424 0,1,1,0,0,1,1,0, 425 0,1,1,0,0,1,1,0, 426 0,0,1,0,0,1,0,0, 427 0,0,0,1,1,0,0,0, 428 0,0,0,1,1,0,0,0, 429 0,0,0,1,1,0,0,0, 430 0,0,0,1,1,0,0,0, 431 }; 432 433 bool g_char_Z[64] = 434 { 435 0,1,1,1,1,1,1,1, 436 0,1,1,1,1,1,1,1, 437 0,0,0,0,0,1,1,0, 438 0,0,0,0,1,1,0,0, 439 0,0,0,1,1,0,0,0, 440 0,0,1,1,0,0,0,0, 441 0,1,1,1,1,1,1,1, 442 0,1,1,1,1,1,1,1, 443 };