test avoid bulled game

Dependencies:   C12832_lcd LCD_fonts mbed mbed-rtos

Committer:
kaku_jyoko
Date:
Mon Dec 05 08:13:40 2016 +0000
Revision:
10:7b2cf5e89e65
Parent:
6:e63641e13374
Child:
28:efe19c092c2c
add bullet graphic

Who changed what in which revision?

UserRevisionLine numberNew contents of line
th_mbed 0:26e5e770f91b 1 #ifndef graphics_H
th_mbed 0:26e5e770f91b 2 #define graphics_H
th_mbed 0:26e5e770f91b 3 #include "C12832_lcd.h"
th_mbed 0:26e5e770f91b 4
kaku_jyoko 6:e63641e13374 5 static char Player[] = {
th_mbed 0:26e5e770f91b 6 0x30,
th_mbed 0:26e5e770f91b 7 0x70,
th_mbed 0:26e5e770f91b 8 0x28,
th_mbed 0:26e5e770f91b 9 0x70,
th_mbed 0:26e5e770f91b 10 0xA0,
th_mbed 0:26e5e770f91b 11 0x50
th_mbed 0:26e5e770f91b 12 };
th_mbed 0:26e5e770f91b 13
kaku_jyoko 6:e63641e13374 14 Bitmap bitmPlayer = {
th_mbed 0:26e5e770f91b 15 6, // XSize
th_mbed 0:26e5e770f91b 16 6, // YSize
th_mbed 0:26e5e770f91b 17 1, // Bytes in Line
kaku_jyoko 6:e63641e13374 18 Player, // Pointer to picture data
th_mbed 0:26e5e770f91b 19 };
th_mbed 0:26e5e770f91b 20
kaku_jyoko 6:e63641e13374 21 static char PlayerB[] = {
th_mbed 0:26e5e770f91b 22 0x30,
th_mbed 0:26e5e770f91b 23 0x70,
th_mbed 0:26e5e770f91b 24 0xA0,
th_mbed 0:26e5e770f91b 25 0x70,
kaku_jyoko 1:b8a29dc23cf1 26 0x28,
th_mbed 0:26e5e770f91b 27 0x50
th_mbed 0:26e5e770f91b 28 };
th_mbed 0:26e5e770f91b 29
kaku_jyoko 6:e63641e13374 30 Bitmap bitmPlayerB = {
th_mbed 0:26e5e770f91b 31 6, // XSize
th_mbed 0:26e5e770f91b 32 6, // YSize
th_mbed 0:26e5e770f91b 33 1, // Bytes in Line
kaku_jyoko 6:e63641e13374 34 PlayerB, // Pointer to picture data
th_mbed 0:26e5e770f91b 35 };
th_mbed 0:26e5e770f91b 36
kaku_jyoko 10:7b2cf5e89e65 37 static char Bullet_graphics[] = {
kaku_jyoko 10:7b2cf5e89e65 38 0x00,
kaku_jyoko 10:7b2cf5e89e65 39 0x78,
kaku_jyoko 10:7b2cf5e89e65 40 0xF8,
kaku_jyoko 10:7b2cf5e89e65 41 0x78,
kaku_jyoko 10:7b2cf5e89e65 42 0x00
kaku_jyoko 10:7b2cf5e89e65 43 };
kaku_jyoko 10:7b2cf5e89e65 44
kaku_jyoko 10:7b2cf5e89e65 45 Bitmap bitmBullet_graphics = {
kaku_jyoko 10:7b2cf5e89e65 46 5,
kaku_jyoko 10:7b2cf5e89e65 47 5,
kaku_jyoko 10:7b2cf5e89e65 48 1,
kaku_jyoko 10:7b2cf5e89e65 49 Bullet_graphics,
kaku_jyoko 10:7b2cf5e89e65 50 };
th_mbed 0:26e5e770f91b 51 #endif