From c7cbbad9ca369c1ab1219d0aa040f4fc1575ae7f Mon Sep 17 00:00:00 2001 From: = Date: Sun, 18 Jul 2021 15:44:29 +0200 Subject: [PATCH] Graphisme avances --- Core/Inc/images.h | 538 ++++++++++++++++++++++++++ Core/Src/main.c | 43 +- Space_Invaders.ioc | 2 +- asset_brut/Coeur_07-18-2021.png | Bin 0 -> 161 bytes asset_brut/Coeur_E.bmp | Bin 0 -> 262 bytes asset_brut/Coeur_F.bmp | Bin 0 -> 262 bytes asset_brut/Coeur_brise_07-18-2021.png | Bin 0 -> 189 bytes asset_brut/Ennemi_1.bmp | Bin 0 -> 670 bytes asset_brut/Ennemi_1_07-18-2021.png | Bin 0 -> 403 bytes asset_brut/Ennemi_2.bmp | Bin 0 -> 670 bytes asset_brut/Ennemi_2_07-18-2021.png | Bin 0 -> 402 bytes asset_brut/Ennemi_3.bmp | Bin 0 -> 670 bytes asset_brut/Ennemi_4.bmp | Bin 0 -> 670 bytes asset_brut/Joueur.bmp | Bin 0 -> 870 bytes asset_brut/Joueur_07-18-2021.png | Bin 0 -> 438 bytes docs/cmd.txt | 1 + 16 files changed, 562 insertions(+), 22 deletions(-) create mode 100644 Core/Inc/images.h create mode 100644 asset_brut/Coeur_07-18-2021.png create mode 100644 asset_brut/Coeur_E.bmp create mode 100644 asset_brut/Coeur_F.bmp create mode 100644 asset_brut/Coeur_brise_07-18-2021.png create mode 100644 asset_brut/Ennemi_1.bmp create mode 100644 asset_brut/Ennemi_1_07-18-2021.png create mode 100644 asset_brut/Ennemi_2.bmp create mode 100644 asset_brut/Ennemi_2_07-18-2021.png create mode 100644 asset_brut/Ennemi_3.bmp create mode 100644 asset_brut/Ennemi_4.bmp create mode 100644 asset_brut/Joueur.bmp create mode 100644 asset_brut/Joueur_07-18-2021.png create mode 100644 docs/cmd.txt diff --git a/Core/Inc/images.h b/Core/Inc/images.h new file mode 100644 index 0000000..c07a6a6 --- /dev/null +++ b/Core/Inc/images.h @@ -0,0 +1,538 @@ +#ifndef INC_CORE/INC/IMAGES_H_ +#define INC_CORE/INC/IMAGES_H_ + +#include "stdint.h" +uint8_t tex_coeur_E[] = { +0x42, 0x4d, 0x06, 0x01, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x46, 0x00, 0x00, 0x00, 0x38, 0x00, +0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x08, 0x00, +0x00, 0x00, 0x01, 0x00, 0x10, 0x00, 0x03, 0x00, +0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x13, 0x0b, +0x00, 0x00, 0x13, 0x0b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, +0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0x1f, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc7, 0x68, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xc7, 0x68, 0x2b, 0xa1, +0xc7, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0xc7, 0x68, 0x2b, 0xa1, 0xec, 0xc0, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xc7, 0x68, 0x2b, 0xa1, 0xec, 0xc0, 0xec, 0xc0, +0x00, 0x00, 0x2b, 0xa1, 0xc7, 0x68, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc7, 0x68, +0x2b, 0xa1, 0xec, 0xc0, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x2b, 0xa1, 0xec, 0xc0, 0xc7, 0x68, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc7, 0x68, +0x2b, 0xa1, 0xec, 0xc0, 0x00, 0x00, 0x2b, 0xa1, +0xec, 0xc0, 0xec, 0xc0, 0xec, 0xc0, 0xc7, 0x68, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xc7, 0x68, 0x2b, 0xa1, 0x00, 0x00, 0xc7, 0x68, +0x2b, 0xa1, 0xec, 0xc0, 0xc7, 0x68, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0xc7, 0x68, 0x00, 0x00, 0x00, 0x00, +0xc7, 0x68, 0xc7, 0x68, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +}; + +uint8_t tex_coeur_F[] = { +0x42, 0x4d, 0x06, 0x01, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x46, 0x00, 0x00, 0x00, 0x38, 0x00, +0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x08, 0x00, +0x00, 0x00, 0x01, 0x00, 0x10, 0x00, 0x03, 0x00, +0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x13, 0x0b, +0x00, 0x00, 0x13, 0x0b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, +0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0x1f, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xd0, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x80, 0xd0, 0xe1, 0xd8, +0x80, 0xd0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x80, 0xd0, 0xe1, 0xd8, 0x08, 0xf8, +0x08, 0xf8, 0x80, 0xd0, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x80, 0xd0, 0xe1, 0xd8, 0x08, 0xf8, 0x08, 0xf8, +0x08, 0xf8, 0x08, 0xf8, 0x80, 0xd0, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xd0, +0xe1, 0xd8, 0x08, 0xf8, 0x08, 0xf8, 0x08, 0xf8, +0x08, 0xf8, 0x08, 0xf8, 0x08, 0xf8, 0x80, 0xd0, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xd0, +0xe1, 0xd8, 0x08, 0xf8, 0x08, 0xf8, 0x08, 0xf8, +0x08, 0xf8, 0xff, 0xff, 0x08, 0xf8, 0x80, 0xd0, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x80, 0xd0, 0x08, 0xf8, 0x08, 0xf8, 0x80, 0xd0, +0x08, 0xf8, 0x08, 0xf8, 0x80, 0xd0, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x80, 0xd0, 0x80, 0xd0, 0x00, 0x00, +0x80, 0xd0, 0x80, 0xd0, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +}; + +uint8_t tex_joueur[] = { +0x42, 0x4d, 0x66, 0x03, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x46, 0x00, 0x00, 0x00, 0x38, 0x00, +0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x19, 0x00, +0x00, 0x00, 0x01, 0x00, 0x10, 0x00, 0x03, 0x00, +0x00, 0x00, 0x20, 0x03, 0x00, 0x00, 0x13, 0x0b, +0x00, 0x00, 0x13, 0x0b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, +0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0x1f, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x51, 0x5b, 0x51, 0x5b, 0xd6, 0x8c, 0x51, 0x5b, +0x2c, 0x3a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xd0, +0x80, 0xd0, 0xe1, 0xd8, 0x80, 0xd0, 0xe1, 0xd8, +0x80, 0xd0, 0x80, 0xd0, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x80, 0xd0, 0xe1, 0xd8, +0xe1, 0xd8, 0x08, 0xf8, 0x08, 0xf8, 0x08, 0xf8, +0xe1, 0xd8, 0xe1, 0xd8, 0x80, 0xd0, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe1, 0xd8, +0x08, 0xf8, 0x08, 0xf8, 0x5b, 0xbe, 0x08, 0xf8, +0x08, 0xf8, 0xe1, 0xd8, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x51, 0x5b, 0x51, 0x5b, 0xd6, 0x8c, 0x51, 0x5b, +0x2c, 0x3a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x2c, 0x3a, 0xa4, 0x18, 0x2c, 0x3a, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x80, 0xd0, 0xe1, 0xd8, 0x80, 0xd0, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x80, 0xd0, 0x51, 0x5b, 0x51, 0x5b, 0x51, 0x5b, +0x80, 0xd0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xd0, +0x2c, 0x3a, 0x51, 0x5b, 0xd6, 0x8c, 0x51, 0x5b, +0x2c, 0x3a, 0x80, 0xd0, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xd0, +0x68, 0x29, 0x51, 0x5b, 0x5b, 0xbe, 0x51, 0x5b, +0x68, 0x29, 0x80, 0xd0, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xe1, 0xd8, 0x2c, 0x3a, 0x2c, 0x3a, 0x2c, 0x3a, +0xe1, 0xd8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x80, 0xd0, 0x80, 0xd0, 0x80, 0xd0, 0x80, 0xd0, +0xd6, 0x8c, 0xe1, 0xd8, 0x08, 0xf8, 0xe1, 0xd8, +0xd6, 0x8c, 0x80, 0xd0, 0x80, 0xd0, 0x80, 0xd0, +0x80, 0xd0, 0x00, 0x00, 0x00, 0x00, 0x51, 0x5b, +0xe1, 0xd8, 0xe1, 0xd8, 0xe1, 0xd8, 0xe1, 0xd8, +0x08, 0xf8, 0x08, 0xf8, 0x08, 0xf8, 0x08, 0xf8, +0x08, 0xf8, 0xe1, 0xd8, 0xe1, 0xd8, 0xe1, 0xd8, +0xe1, 0xd8, 0x51, 0x5b, 0x00, 0x00, 0x80, 0xd0, +0xe1, 0xd8, 0x08, 0xf8, 0x08, 0xf8, 0x08, 0xf8, +0x08, 0xf8, 0x5b, 0xbe, 0x08, 0xf8, 0x5b, 0xbe, +0x08, 0xf8, 0x08, 0xf8, 0x08, 0xf8, 0x08, 0xf8, +0xe1, 0xd8, 0x80, 0xd0, 0x00, 0x00, 0x80, 0xd0, +0x08, 0xf8, 0x08, 0xf8, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x08, 0xf8, 0xe1, 0xd8, 0x08, 0xf8, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0xf8, +0x08, 0xf8, 0x80, 0xd0, 0x00, 0x00, 0xd6, 0x8c, +0x08, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x08, 0xf8, 0x80, 0xd0, 0x08, 0xf8, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x08, 0xf8, 0xd6, 0x8c, 0x00, 0x00, 0x80, 0xd0, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0xe1, 0xd8, 0x80, 0xd0, 0xe1, 0xd8, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x80, 0xd0, 0x00, 0x00, 0xe1, 0xd8, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0xe1, 0xd8, 0xe1, 0xd8, 0xe1, 0xd8, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0xe1, 0xd8, 0x00, 0x00, 0x5b, 0xbe, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x08, 0xf8, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x5b, 0xbe, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x08, 0xf8, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xe1, 0xd8, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xd6, 0x8c, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x5b, 0xbe, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x5b, 0xbe, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x5b, 0xbe, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +}; + +uint8_t tex_ennemi_1[] = { +0x42, 0x4d, 0x9e, 0x02, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x46, 0x00, 0x00, 0x00, 0x38, 0x00, +0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x0f, 0x00, +0x00, 0x00, 0x01, 0x00, 0x10, 0x00, 0x03, 0x00, +0x00, 0x00, 0x58, 0x02, 0x00, 0x00, 0x13, 0x0b, +0x00, 0x00, 0x13, 0x0b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, +0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0x1f, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xcf, 0x3b, 0x08, 0xf8, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xcf, 0x3b, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xcf, 0x3b, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xe8, 0x19, 0xe8, 0x19, 0xcf, 0x3b, 0x00, 0x00, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0xe8, 0x19, 0xab, 0x2a, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0xe8, 0x19, 0xcf, 0x3b, 0xcf, 0x3b, 0xe8, 0x19, +0x00, 0x00, 0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, +0x00, 0x00, 0xe8, 0x19, 0xab, 0x2a, 0xe8, 0x19, +0xab, 0x2a, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0xab, 0x2a, 0xe8, 0x19, 0xab, 0x2a, 0xab, 0x2a, +0xcf, 0x3b, 0x00, 0x00, 0xab, 0x2a, 0xab, 0x2a, +0x00, 0x00, 0x00, 0x00, 0xcf, 0x3b, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, +0xab, 0x2a, 0xe8, 0x19, 0xe8, 0x19, 0xab, 0x2a, +0xab, 0x2a, 0xab, 0x2a, 0xcf, 0x3b, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xcf, 0x3b, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, +0xe8, 0x19, 0xab, 0x2a, 0xab, 0x2a, 0xab, 0x2a, +0xab, 0x2a, 0x5b, 0xbe, 0xab, 0x2a, 0xcf, 0x3b, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xe8, 0x19, 0xab, 0x2a, 0xab, 0x2a, 0xab, 0x2a, +0x5b, 0xbe, 0x08, 0xf8, 0x5b, 0xbe, 0xab, 0x2a, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, +0xe8, 0x19, 0xab, 0x2a, 0xab, 0x2a, 0x5b, 0xbe, +0x08, 0xf8, 0xa4, 0x18, 0x08, 0xf8, 0x5b, 0xbe, +0xab, 0x2a, 0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0xcf, 0x3b, 0x08, 0xf8, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, 0xab, 0x2a, +0xab, 0x2a, 0xab, 0x2a, 0xab, 0x2a, 0xab, 0x2a, +0x5b, 0xbe, 0x08, 0xf8, 0x5b, 0xbe, 0xab, 0x2a, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, 0xab, 0x2a, +0x00, 0x00, 0xab, 0x2a, 0xab, 0x2a, 0xcf, 0x3b, +0xab, 0x2a, 0x5b, 0xbe, 0xab, 0x2a, 0xcf, 0x3b, +0xcf, 0x3b, 0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xcf, 0x3b, 0xcf, 0x3b, 0xab, 0x2a, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, 0xab, 0x2a, +0xcf, 0x3b, 0xab, 0x2a, 0xcf, 0x3b, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0xcf, 0x3b, 0xcf, 0x3b, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0xab, 0x2a, 0xcf, 0x3b, 0xcf, 0x3b, 0xab, 0x2a, +0x00, 0x00, 0x00, 0x00, 0xcf, 0x3b, 0xcf, 0x3b, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0xcf, 0x3b, 0xe8, 0x19, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xcf, 0x3b, 0x00, 0x00, 0xcf, 0x3b, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x08, 0xf8, 0x00, 0x00, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x08, 0xf8, 0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xcf, 0x3b, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, +}; + +uint8_t tex_ennemi_2[] = { +0x42, 0x4d, 0x9e, 0x02, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x46, 0x00, 0x00, 0x00, 0x38, 0x00, +0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x0f, 0x00, +0x00, 0x00, 0x01, 0x00, 0x10, 0x00, 0x03, 0x00, +0x00, 0x00, 0x58, 0x02, 0x00, 0x00, 0x13, 0x0b, +0x00, 0x00, 0x13, 0x0b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, +0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0x1f, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0xf8, +0xab, 0x2a, 0xcf, 0x3b, 0xab, 0x2a, 0xe8, 0x19, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0xe8, 0x19, 0xab, 0x2a, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0xe8, 0x19, 0xcf, 0x3b, 0xcf, 0x3b, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xcf, 0x3b, 0xe8, 0x19, 0xab, 0x2a, 0xe8, 0x19, +0xab, 0x2a, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0xab, 0x2a, 0xe8, 0x19, 0xab, 0x2a, 0xab, 0x2a, +0xcf, 0x3b, 0x00, 0x00, 0xab, 0x2a, 0xab, 0x2a, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0xe8, 0x19, +0xab, 0x2a, 0xe8, 0x19, 0xe8, 0x19, 0xab, 0x2a, +0xab, 0x2a, 0xab, 0x2a, 0xcf, 0x3b, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xcf, 0x3b, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, +0xe8, 0x19, 0xab, 0x2a, 0xab, 0x2a, 0xab, 0x2a, +0xab, 0x2a, 0x5b, 0xbe, 0xab, 0x2a, 0xcf, 0x3b, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0xab, 0x2a, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0x08, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xe8, 0x19, 0xab, 0x2a, 0xab, 0x2a, 0xab, 0x2a, +0x5b, 0xbe, 0x08, 0xf8, 0x5b, 0xbe, 0xab, 0x2a, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0xab, 0x2a, +0xcf, 0x3b, 0xcf, 0x3b, 0xab, 0x2a, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, +0xe8, 0x19, 0xab, 0x2a, 0xab, 0x2a, 0x5b, 0xbe, +0x08, 0xf8, 0xa4, 0x18, 0x08, 0xf8, 0x5b, 0xbe, +0xab, 0x2a, 0xcf, 0x3b, 0x00, 0x00, 0xe8, 0x19, +0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, 0xab, 0x2a, +0xab, 0x2a, 0xab, 0x2a, 0xab, 0x2a, 0xab, 0x2a, +0x5b, 0xbe, 0x08, 0xf8, 0x5b, 0xbe, 0xab, 0x2a, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0xe8, 0x19, +0xe8, 0x19, 0x00, 0x00, 0xe8, 0x19, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, 0xab, 0x2a, +0x00, 0x00, 0xab, 0x2a, 0xab, 0x2a, 0xcf, 0x3b, +0xab, 0x2a, 0x5b, 0xbe, 0xab, 0x2a, 0xcf, 0x3b, +0xcf, 0x3b, 0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, +0xcf, 0x3b, 0x00, 0x00, 0xab, 0x2a, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, 0xe8, 0x19, +0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, 0xab, 0x2a, +0xcf, 0x3b, 0xab, 0x2a, 0xcf, 0x3b, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0xab, 0x2a, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0x08, 0xf8, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0xab, 0x2a, 0xcf, 0x3b, 0xcf, 0x3b, 0xab, 0x2a, +0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, 0xab, 0x2a, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xab, 0x2a, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x08, 0xf8, 0x00, 0x00, +0xcf, 0x3b, 0xab, 0x2a, 0x00, 0x00, 0x00, 0x00, +0xcf, 0x3b, 0x00, 0x00, 0xcf, 0x3b, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, 0xab, 0x2a, +0xe8, 0x19, 0xe8, 0x19, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +}; + +uint8_t tex_ennemi_3[] = { +0x42, 0x4d, 0x9e, 0x02, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x46, 0x00, 0x00, 0x00, 0x38, 0x00, +0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x0f, 0x00, +0x00, 0x00, 0x01, 0x00, 0x10, 0x00, 0x03, 0x00, +0x00, 0x00, 0x58, 0x02, 0x00, 0x00, 0x13, 0x0b, +0x00, 0x00, 0x13, 0x0b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, +0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0x1f, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0xf8, +0xab, 0x2a, 0xcf, 0x3b, 0xab, 0x2a, 0xe8, 0x19, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0xe8, 0x19, 0xab, 0x2a, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0xe8, 0x19, 0xcf, 0x3b, 0xcf, 0x3b, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xcf, 0x3b, 0xe8, 0x19, 0xab, 0x2a, 0xe8, 0x19, +0xab, 0x2a, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0xab, 0x2a, 0xe8, 0x19, 0xab, 0x2a, 0xab, 0x2a, +0xcf, 0x3b, 0x00, 0x00, 0xab, 0x2a, 0xab, 0x2a, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0xe8, 0x19, +0xab, 0x2a, 0xe8, 0x19, 0xe8, 0x19, 0xab, 0x2a, +0xab, 0x2a, 0xab, 0x2a, 0xcf, 0x3b, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xcf, 0x3b, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, +0xe8, 0x19, 0xab, 0x2a, 0xab, 0x2a, 0xab, 0x2a, +0xab, 0x2a, 0x5b, 0xbe, 0xab, 0x2a, 0xcf, 0x3b, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0xab, 0x2a, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0x5b, 0xbe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xe8, 0x19, 0xab, 0x2a, 0xab, 0x2a, 0xe8, 0x19, +0x5b, 0xbe, 0x08, 0xf8, 0x5b, 0xbe, 0xab, 0x2a, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0xab, 0x2a, +0xcf, 0x3b, 0xcf, 0x3b, 0xab, 0x2a, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, +0xe8, 0x19, 0xab, 0x2a, 0xab, 0x2a, 0xe8, 0x19, +0xe8, 0x19, 0xe8, 0x19, 0xe8, 0x19, 0xe8, 0x19, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0xe8, 0x19, +0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, 0xab, 0x2a, +0xab, 0x2a, 0xab, 0x2a, 0xab, 0x2a, 0xab, 0x2a, +0xe8, 0x19, 0xe8, 0x19, 0xe8, 0x19, 0xab, 0x2a, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0xe8, 0x19, +0xe8, 0x19, 0x00, 0x00, 0xe8, 0x19, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, 0xab, 0x2a, +0x00, 0x00, 0xab, 0x2a, 0xab, 0x2a, 0xab, 0x2a, +0xab, 0x2a, 0xab, 0x2a, 0xab, 0x2a, 0xcf, 0x3b, +0xcf, 0x3b, 0xcf, 0x3b, 0xcf, 0x3b, 0xff, 0xff, +0xcf, 0x3b, 0x00, 0x00, 0xab, 0x2a, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, 0xe8, 0x19, +0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, 0xab, 0x2a, +0xcf, 0x3b, 0xcf, 0x3b, 0xcf, 0x3b, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0xab, 0x2a, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0x5b, 0xbe, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0xab, 0x2a, 0xcf, 0x3b, 0xcf, 0x3b, 0xab, 0x2a, +0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, 0xab, 0x2a, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xab, 0x2a, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x08, 0xf8, 0x00, 0x00, +0xcf, 0x3b, 0xab, 0x2a, 0x00, 0x00, 0x00, 0x00, +0xcf, 0x3b, 0x00, 0x00, 0xcf, 0x3b, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, 0xab, 0x2a, +0xe8, 0x19, 0xe8, 0x19, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +}; + +uint8_t tex_ennemi_4[] = { +0x42, 0x4d, 0x9e, 0x02, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x46, 0x00, 0x00, 0x00, 0x38, 0x00, +0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x0f, 0x00, +0x00, 0x00, 0x01, 0x00, 0x10, 0x00, 0x03, 0x00, +0x00, 0x00, 0x58, 0x02, 0x00, 0x00, 0x13, 0x0b, +0x00, 0x00, 0x13, 0x0b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, +0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0x1f, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xcf, 0x3b, 0x08, 0xf8, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xcf, 0x3b, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xcf, 0x3b, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xe8, 0x19, 0xe8, 0x19, 0xcf, 0x3b, 0x00, 0x00, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0xe8, 0x19, 0xab, 0x2a, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0xe8, 0x19, 0xcf, 0x3b, 0xcf, 0x3b, 0xe8, 0x19, +0x00, 0x00, 0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, +0x00, 0x00, 0xe8, 0x19, 0xab, 0x2a, 0xe8, 0x19, +0xab, 0x2a, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0xab, 0x2a, 0xe8, 0x19, 0xab, 0x2a, 0xab, 0x2a, +0xcf, 0x3b, 0x00, 0x00, 0xab, 0x2a, 0xab, 0x2a, +0x00, 0x00, 0x00, 0x00, 0xcf, 0x3b, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, +0xab, 0x2a, 0xe8, 0x19, 0xe8, 0x19, 0xab, 0x2a, +0xab, 0x2a, 0xab, 0x2a, 0xcf, 0x3b, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xcf, 0x3b, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, +0xe8, 0x19, 0xab, 0x2a, 0xab, 0x2a, 0xab, 0x2a, +0xab, 0x2a, 0x5b, 0xbe, 0xab, 0x2a, 0xcf, 0x3b, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xe8, 0x19, 0xab, 0x2a, 0xab, 0x2a, 0xe8, 0x19, +0x5b, 0xbe, 0x08, 0xf8, 0x5b, 0xbe, 0xab, 0x2a, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, +0xe8, 0x19, 0xab, 0x2a, 0xab, 0x2a, 0xe8, 0x19, +0xe8, 0x19, 0xe8, 0x19, 0xe8, 0x19, 0xe8, 0x19, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0xcf, 0x3b, 0x5b, 0xbe, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xe8, 0x19, 0xab, 0x2a, +0xab, 0x2a, 0xab, 0x2a, 0xab, 0x2a, 0xab, 0x2a, +0xe8, 0x19, 0xe8, 0x19, 0xe8, 0x19, 0xab, 0x2a, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, 0xab, 0x2a, +0x00, 0x00, 0xab, 0x2a, 0xab, 0x2a, 0xab, 0x2a, +0xab, 0x2a, 0xab, 0x2a, 0xab, 0x2a, 0xcf, 0x3b, +0xcf, 0x3b, 0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xcf, 0x3b, 0xcf, 0x3b, 0xab, 0x2a, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, 0xab, 0x2a, +0xcf, 0x3b, 0xcf, 0x3b, 0xcf, 0x3b, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0xcf, 0x3b, 0xcf, 0x3b, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0xab, 0x2a, 0xcf, 0x3b, 0xcf, 0x3b, 0xab, 0x2a, +0x00, 0x00, 0x00, 0x00, 0xcf, 0x3b, 0xcf, 0x3b, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xcf, 0x3b, 0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xab, 0x2a, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0xcf, 0x3b, 0xe8, 0x19, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0xcf, 0x3b, 0x00, 0x00, 0xcf, 0x3b, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x08, 0xf8, 0x00, 0x00, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x5b, 0xbe, 0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x00, 0x00, 0xcf, 0x3b, 0xcf, 0x3b, +0xcf, 0x3b, 0x00, 0x00, 0x00, 0x00, +}; + + +#endif /* INC_CORE/INC/IMAGES_H_ */ diff --git a/Core/Src/main.c b/Core/Src/main.c index 65d39f6..5e86afa 100644 --- a/Core/Src/main.c +++ b/Core/Src/main.c @@ -33,10 +33,7 @@ #include "stm32746g_discovery_ts.h" #include "stdio.h" #include "semphr.h" -#include "ennemi_v.h" -#include "ennemi_r.h" -#include "ennemi_b.h" -#include "vaisseau.h" +#include "images.h" /* USER CODE END Includes */ /* Private typedef -----------------------------------------------------------*/ @@ -140,12 +137,13 @@ enum Sens_ennemie GAUCHE }; -const uint16_t joueur_width = 20; -const uint16_t joueur_height = 20; +const uint16_t joueur_width = 15; +const uint16_t joueur_height = 25; -const uint16_t monstre_width = 25; +const uint16_t monstre_width = 20; const uint16_t monstre_height = 15; +const int8_t VIE_MAX = 5; struct Missile { int16_t x; @@ -168,6 +166,7 @@ struct Joueur struct Missile missile; // Missile lancé par le joueur }; + struct Monster { int32_t x; @@ -203,7 +202,7 @@ struct Led Leds[] = { // Définition des paramètres du joueurs -struct Joueur joueur = {200, 200, 1, 1, 5, {0, 0, 0, -1, MISSILE_AMI, 1, 1}}; +struct Joueur joueur = {200, 200, 1, 1, VIE_MAX, {0, 0, 0, -1, MISSILE_AMI, 1, 1}}; uint8_t LED = 1; @@ -299,15 +298,15 @@ int main(void) /* Create the queue(s) */ /* definition and creation of Queue_F */ - osMessageQDef(Queue_F, 8, enum End_type); + osMessageQDef(Queue_F, 1, enum End_type); Queue_FHandle = osMessageCreate(osMessageQ(Queue_F), NULL); /* definition and creation of Queue_N */ - osMessageQDef(Queue_N, 8, struct Missile); + osMessageQDef(Queue_N, 16, struct Missile); Queue_NHandle = osMessageCreate(osMessageQ(Queue_N), NULL); /* definition and creation of Queue_J */ - osMessageQDef(Queue_J, 8, uint8_t); + osMessageQDef(Queue_J, 3, uint8_t); Queue_JHandle = osMessageCreate(osMessageQ(Queue_J), NULL); /* definition and creation of Queue_E */ @@ -1335,7 +1334,7 @@ static void MX_GPIO_Init(void) } /* USER CODE BEGIN 4 */ - +uint8_t *(tex_ennemis[4]) = {&tex_ennemi_1, &tex_ennemi_2, &tex_ennemi_3, &tex_ennemi_4}; const uint32_t Couleur_joueur = LCD_COLOR_CYAN; const uint32_t Couleur_monstre = LCD_COLOR_RED; const uint32_t Couleur_missile = LCD_COLOR_WHITE; @@ -1370,10 +1369,7 @@ void repopulate_ennemie_list(uint8_t wave) Table_ennemis[idx1][idx2].missile.valide = 1; if (proba_bernoulli(1, 3)) Table_ennemis[idx1][idx2].health = 0; - uint8_t idx_texture = proba_tirrage(3); - if (idx_texture == 0) Table_ennemis[idx1][idx2].pbmp = ennemi_b; - else if (idx_texture == 1) Table_ennemis[idx1][idx2].pbmp = ennemi_v; - else Table_ennemis[idx1][idx2].pbmp = ennemi_r; + Table_ennemis[idx1][idx2].pbmp = tex_ennemis[proba_bernoulli(1, 2)]; } } } @@ -1579,7 +1575,7 @@ void f_Joueur_1(void const * argument) if ((joueur.x > joueur.dx) && (joystick_v > centre_joystick + seuil_joystick)) joueur.x -= joueur.dx; - lcd_plot_bitmap(joueur.x, joueur.y, bmp_joueur); + lcd_plot_bitmap(joueur.x, joueur.y, &tex_joueur); //BSP_LCD_DrawBitmap(joueur.x, joueur.y, &vaisseau); if (xQueueReceive(Queue_JHandle, &missile, 0) == pdPASS) @@ -1606,9 +1602,9 @@ void f_Joueur_1(void const * argument) missile = joueur.missile; missile.x = joueur.x + joueur_width / 2; missile.y = joueur.y; - for (int idx_tirs = -3; idx_tirs <= 3; idx_tirs++) + for (int idx_tirs = -5; idx_tirs <= 5; idx_tirs++) { - missile.dy = -3; + missile.dy = -4; missile.dx = idx_tirs; xQueueSend(Queue_NHandle, &missile, 0); } @@ -1703,6 +1699,7 @@ void f_block_enemie(void const * argument) if (Table_ennemis[idx1][idx2].health > 0) { nombre_monstre++; + Table_ennemis[idx1][idx2].pbmp = tex_ennemis[proba_bernoulli(1, 2) + 2*proba_bernoulli(1, 3)]; lcd_plot_bitmap(Table_ennemis[idx1][idx2].x, Table_ennemis[idx1][idx2].y, Table_ennemis[idx1][idx2].pbmp); } } @@ -1723,6 +1720,7 @@ void f_block_enemie(void const * argument) { missile.x = Table_ennemis[idx1][idx2].x + monstre_width / 2; missile.y = Table_ennemis[idx1][idx2].y + monstre_height; + missile.dy = 1 + proba_bernoulli(1, 8); xQueueSend(Queue_NHandle, &missile, 0); } } @@ -1834,12 +1832,15 @@ void f_HUD(void const * argument) xLastWakeTime = xTaskGetTickCount(); const TickType_t xPeriodeTache = 100 / portTICK_PERIOD_MS; // Toutes les 200 ms uint8_t line_hud[100] = ""; - const uint8_t base[100] = "vie : %2u - vague : %2u - kill : %2u"; + const uint8_t base[100] = "vague : %2u - kill : %2u"; /* Infinite loop */ for (;;) { - sprintf(line_hud, base, (uint)joueur.health, (uint)wave, (uint)kill); + sprintf(line_hud, base, (uint)wave, (uint)kill); lcd_plot_text_line(0, line_hud, Couleur_missile); + for(int idx = 0; idxgcSmFN(rgfZWe(aalczvoMGJ~I4comNj{|W{+ z2}hooWsN=;tB*5;F<)Z{`r**We%RLF@&gke#f~=aq~wHP28JVorUl+XXF7p)GI+ZB KxvX7d>3v)v-kO=`l7#JR~Gcd@*_)z+I2ATkv zdptvXA*KvS^vwZu^$<~zII7d>3v)v-kO=`l7#JR~Gcd@*_)xmx0-6Ar y+i>CG4NMu3D8~(977}|lM@=6VmQ11pU6qE z6ZT+INjR&_AI6+~d_!i#QO7171IMHBa}rz?jvAPGC^oYkuHWF95UC+pn6A3`=VI2L z?>F}yZjDsiZ*h<#=q!WD!zD3HH)0iB6-2%3?j|st+}vPsf-5ns(TC+^Bf}l535OQP n%NaGSar`FfA}Q7B%g7*f(quz#*RFp+_b_<6`njxgN@xNA$4Nn# literal 0 HcmV?d00001 diff --git a/asset_brut/Ennemi_1.bmp b/asset_brut/Ennemi_1.bmp new file mode 100644 index 0000000000000000000000000000000000000000..ceac0aab6ca6e6d6aa34c6c5159790f284c2d2b0 GIT binary patch literal 670 zcmZ9JF%Ci@42G)?zQjQj9b|In1SV__Ztf=UZcc98;a!0%IC6wH+TZ54@Jc9@el0EB z9!l=H)KCK$Cu_*j zV{DfrsFG@M5**naZJ#4@!9twhZ7ej#vW}J`ljAt`q*sXCP)l7Zk-Hcn84~h_ziniIC1(Jb~aH1c@jL_BPrClr)0i1)|@^ zZ`rp##A#-Be!iXAH%S$~WfFEK>%EQeFz8pD|0`>~3rgh7 zsC@(hPnQ>!wy?9qlW=f)6zo(+-W|TwA%~B*S5y#&O=rNmtNT&gDX|iUuLd07-c&#Z zlOU`;KWc=MgYXQjUkykAC|Y66;p2H2zjvZ;8rxjf?-#IX7lr->14@^*Zg2u@Ei9(7 zv6cLTG`%0dw1*|g(OW-@oxiJKKOS4*rO6PO2TjT~5a6Bec65)1*YVxm%>*Q>6T4|7 x{D|)ilsxOOYrtvx6wD9bKMnn*7KGmhz5wHQytfB8-1Yzf002ovPDHLkV1h?7wZ8xW literal 0 HcmV?d00001 diff --git a/asset_brut/Ennemi_2.bmp b/asset_brut/Ennemi_2.bmp new file mode 100644 index 0000000000000000000000000000000000000000..5eab2df397e0378319a027ba00b6f4d215d878b7 GIT binary patch literal 670 zcmZ`#F%H5o5IbO?5(7vukcmAnK+49z#*Wm#F|p+j{X)LL*e7)4T+5_IkSMvF&vDMV z+#X9C$JO_j5p3=E&MM5s$9we7r<20M>u;-Y8i7Zb*OlNHF>*tl?mWb_NCqs!ul}K#kJuA2I4~@-_HO{BUfd*fZ(zP0C>B5QVaiA waV=>TgF^h@l`352Fgd&k9x!^+KGnK3-^KgLSl;cW82|tP07*qoM6N<$fVMWQ?h1$cRFY3bC+|Ummg1*C0%e{m_u)1#>?L$(jAojY6UiZcWEr^1)NI z4_Ned+Du#lArF7waJ-8*(DIU!ripiRH?SZAMhNyfT{oC9Z%A&A`DALA71iZiA5rK3 R4qcCV(4~jHaOF~uwJ+rOk;DK1 literal 0 HcmV?d00001 diff --git a/asset_brut/Ennemi_4.bmp b/asset_brut/Ennemi_4.bmp new file mode 100644 index 0000000000000000000000000000000000000000..1b7aa5c01aee7100f95e99827b9a62db4ba83330 GIT binary patch literal 670 zcmZ9KJq`jP5QRrA+{8i?ZK&)yfeD?3oxKTn^8(y~D{uu%jMyb$NyR{BW4?Tc!vWF7g zho=%jwbX-?;EXMi=MoVM8vHyrS*)1rI!4Zz5_4UWULj(W>mk=^HWK$^R(8kQ&?kGf zY%S$V56_7%FqxTFU)dLX;L1)cB1qiW`++e6%-F%`!xwYUB{z~DnN=-Gd>tFiM-6|5 OMak7pM*5Cuw0;4$=#R|+ literal 0 HcmV?d00001 diff --git a/asset_brut/Joueur.bmp b/asset_brut/Joueur.bmp new file mode 100644 index 0000000000000000000000000000000000000000..25ea6e2ac34a39c3f7b194685ed148a8b6b02072 GIT binary patch literal 870 zcmb7BF%H5o3^Zb(5(^RwOt2#L0jMJb8$)LAh-c&hc?R$38!|;1$uByRs}+)x3W-Ke z&v#DkTrao#lE&v6_j8O*jD3tnM39bg+pZ;ID$hXlS`i&m{&_1_?2O{J`%neYR@>ku zv@L`Yf)BnKuz>0cQMs3j@AJri_eVwBJ$LidK_!yu1lPN^=%BcsP0qGmy8m2-wvUry z?iD{yb2?G*ZHE>7v^Si?at0m*?@VG)rx<=^_mYEP6w95&*Jglw;-FMv4sC&@Bfg$- zGeCDHF+^a>%o&`|)5`zNIkfUNGH2GIai4Q^D6^>sWvZ98g3E5TirdVwnX5Zy4d{RU E4eTANS^xk5 literal 0 HcmV?d00001 diff --git a/asset_brut/Joueur_07-18-2021.png b/asset_brut/Joueur_07-18-2021.png new file mode 100644 index 0000000000000000000000000000000000000000..e4f1d63d547b670870d6deed65e7749a56dc3765 GIT binary patch literal 438 zcmV;n0ZIOeP)X1^@s6?pbuq0004fNkl+bE@7}(6t_cJ@Yw@VcGU1e`7KvNVVtGNF&XAjR+iO{+`YhPJwzCf*ePu6VozU zM=p8H;jD2b8DU6P5(AB2#?+kUj@Ee?sJc1VrDnTD!_l6O$aytWv6wh!koBdO*6_pN zT!Z4zX$2fsNw-rY>!0;$_0zvaBa#yoz}|iBN}YGU(c4jr^|nIv3JTEMHoiR!YwI1l zzk8zT>pR_Co_MuZVZM^MO?Y;EyMSB5BC)DrfAevyHS$65b;K)^2WOe#;sZhvh&h6j gM&yne;9vLr4Pa)}sMFySi2wiq07*qoM6N<$f}vx|%m4rY literal 0 HcmV?d00001 diff --git a/docs/cmd.txt b/docs/cmd.txt new file mode 100644 index 0000000..bd1b5e0 --- /dev/null +++ b/docs/cmd.txt @@ -0,0 +1 @@ +python3 BmpToHConvertor.py --HEADER_NAME Core/Inc/images --INPUT_FILE asset_brut/Coeur_E.bmp asset_brut/Coeur_F.bmp asset_brut/Joueur.bmp asset_brut/Ennemi_1.bmp asset_brut/Ennemi_2.bmp asset_brut/Ennemi_3.bmp asset_brut/Ennemi_4.bmp --VAR_NAMES tex_coeur_E tex_coeur_F tex_joueur tex_ennemi_1 tex_ennemi_2 tex_ennemi_3 tex_ennemi_4