Graphisme avances

master
leo 3 years ago
parent e9bc201005
commit c7cbbad9ca

@ -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_ */

@ -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; idx<VIE_MAX; idx++){
lcd_plot_bitmap(BSP_LCD_GetXSize() - 12*(5 - idx), 1, (idx<joueur.health) ? &tex_coeur_F : &tex_coeur_E);
}
vTaskDelayUntil(&xLastWakeTime, xPeriodeTache);
}
/* USER CODE END f_HUD */

@ -16,7 +16,7 @@ FREERTOS.FootprintOK=true
FREERTOS.INCLUDE_vTaskDelayUntil=1
FREERTOS.IPParameters=Tasks01,configUSE_APPLICATION_TASK_TAG,configUSE_RECURSIVE_MUTEXES,configUSE_COUNTING_SEMAPHORES,configUSE_IDLE_HOOK,configUSE_MALLOC_FAILED_HOOK,configCHECK_FOR_STACK_OVERFLOW,configTOTAL_HEAP_SIZE,FootprintOK,Mutexes01,INCLUDE_vTaskDelayUntil,configENABLE_FPU,Queues01,configRECORD_STACK_HIGH_ADDRESS,configGENERATE_RUN_TIME_STATS
FREERTOS.Mutexes01=MutexLCD,Dynamic,NULL
FREERTOS.Queues01=Queue_F,8,enum End_type,0,Dynamic,NULL,NULL;Queue_N,8,struct Missile,0,Dynamic,NULL,NULL;Queue_J,8,uint8_t,0,Dynamic,NULL,NULL;Queue_E,8,struct Collision,0,Dynamic,NULL,NULL
FREERTOS.Queues01=Queue_F,1,enum End_type,0,Dynamic,NULL,NULL;Queue_N,16,struct Missile,0,Dynamic,NULL,NULL;Queue_J,3,uint8_t,0,Dynamic,NULL,NULL;Queue_E,8,struct Collision,0,Dynamic,NULL,NULL
FREERTOS.Tasks01=GameMaster,2,1024,f_GameMaster,Default,NULL,Dynamic,NULL,NULL;Joueur_1,1,1024,f_Joueur_1,Default,NULL,Dynamic,NULL,NULL;Block_Enemie,-2,1024,f_block_enemie,Default,NULL,Dynamic,NULL,NULL;Projectile,0,1024,f_projectile,Default,NULL,Dynamic,Dynamic,NULL;HUD,-1,1024,f_HUD,Default,NULL,Dynamic,NULL,NULL;chargeur,-1,128,f_chargeur,Default,NULL,Dynamic,NULL,NULL
FREERTOS.configCHECK_FOR_STACK_OVERFLOW=2
FREERTOS.configENABLE_FPU=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 670 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 670 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 670 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 670 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 870 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B

@ -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
Loading…
Cancel
Save