From e9bc201005c6f0682ef0f3811cf777c428a8b310 Mon Sep 17 00:00:00 2001 From: Leopold Clement Date: Sun, 18 Jul 2021 13:45:45 +0200 Subject: [PATCH] nouvelle texture --- BmpToHConvertor.py | 47 +++--- docs/index.md | 5 +- docs/lcd.md | 3 + images.h | 356 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 391 insertions(+), 20 deletions(-) create mode 100644 images.h diff --git a/BmpToHConvertor.py b/BmpToHConvertor.py index 22e0ab9..fe94b6f 100644 --- a/BmpToHConvertor.py +++ b/BmpToHConvertor.py @@ -1,39 +1,50 @@ import argparse +from os import write parser = argparse.ArgumentParser() -parser.add_argument("INPUT_FILE", help="Path vers le fichier d'entrée") -parser.add_argument("HEADER_NAME", help="Path pour le fichier de sortie") -parser.add_argument("VAR_NAME", help="Nom de la varriable à crée") +parser.add_argument("--INPUT_FILES", nargs='+', help="Path vers le fichier d'entrée") +parser.add_argument("--HEADER_NAME", help="Path pour le fichier de sortie") +parser.add_argument("--VAR_NAMES", nargs='+', help="Nom de la varriable à crée") args = parser.parse_args() -input_file = open(args.INPUT_FILE, "rb") +in_files = args.INPUT_FILES +var_names = args.VAR_NAMES + + output_file = open(args.HEADER_NAME+".h", "w") output_file.write("""#ifndef INC_{}_H_ #define INC_{}_H_ #include "stdint.h" -uint8_t {}[] = """.format(args.HEADER_NAME.upper(), args.HEADER_NAME.upper(), args.VAR_NAME) + """{ +""".format(args.HEADER_NAME.upper(), args.HEADER_NAME.upper())) + +for in_file, var_name in zip(in_files, var_names): + input_file = open(in_file, "rb") + output_file.write("""uint8_t {}[] = """.format(var_name) + """{ """) -bytes_array = [] -while input_file.peek(1) != b'' : - bytes_array.append("0x" + input_file.read(1).hex()) + bytes_array = [] + while input_file.peek(1) != b'' : + bytes_array.append("0x" + input_file.read(1).hex()) -print("Il y a {} octets dans le fichier".format(len(bytes_array))) + print("Il y a {} octets dans le fichier".format(len(bytes_array))) -data = "" -for n, repr in enumerate(bytes_array): - data += repr +', ' - if n%8 == 7: - data+= "\n" -output_file.write(data) -output_file.write(""" -};"""+""" + data = "" + for n, repr in enumerate(bytes_array): + data += repr +', ' + if n%8 == 7: + data+= "\n" + output_file.write(data) + output_file.write(""" +}; +""") + input_file.close() + +output_file.write(""" #endif /* INC_{}_H_ */ """.format(args.HEADER_NAME.upper())) -input_file.close() output_file.close() \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index 429a772..cc25c13 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2,9 +2,9 @@ Projet du second semetre de : -* [Léopold Clément](mail:leopold.clement@ens-paris-saclay.fr) +* [Léopold Clément](mailto:leopold.clement@ens-paris-saclay.fr) -* [Thomas Omarini](mail:thomas.omarini@ens-paris-saclay.fr) +* [Thomas Omarini](mailto:thomas.omarini@ens-paris-saclay.fr) Si vous avez des difficultés avec le jeu, un tutoriel est disponible [ici](tuto.md). @@ -13,3 +13,4 @@ Sinon, tous les détails techniques sont expliquer [ici](archi.md). !!! info "Record de fin" Si vous arrivé jusqu'à la vague 15, prévenez nous. +Nous remercions [Maïna Garnero](mailto:maina.garnero@ens-paris-saclay.fr), biologiste de son état, pour sa participation à la réalisation de tout les élements graphique du jeu. diff --git a/docs/lcd.md b/docs/lcd.md index 284f603..54a7178 100644 --- a/docs/lcd.md +++ b/docs/lcd.md @@ -9,3 +9,6 @@ Les monstres sont rangés sur trois rangs Pour ne pas aoir de problème d'interruption entre les threads pendant la manipulation de la mémoire de l'écran, on utilise un mutex ainsi que une série de fonction permetant de faire automatiquement l'attente et le relachement du mutex. ## Bitmap +``` bash +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 --VAR_NAMES tex_coeur_E tex_coeur_F tex_joueur tex_ennemi_1 tex_ennemie_2 +``` diff --git a/images.h b/images.h new file mode 100644 index 0000000..7f30977 --- /dev/null +++ b/images.h @@ -0,0 +1,356 @@ +#ifndef INC_IMAGES_H_ +#define INC_IMAGES_H_ + +#include "stdint.h" +uint8_t tex_coeur_E[] = { +0x42, 0x4d, 0xe6, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x46, 0x00, 0x00, 0x00, 0x38, 0x00, +0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x08, 0x00, +0x00, 0x00, 0x01, 0x00, 0x10, 0x00, 0x03, 0x00, +0x00, 0x00, 0xa0, 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, +0xc7, 0x68, 0x2b, 0xa1, 0xc7, 0x68, 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, 0xc7, 0x68, 0x2b, 0xa1, +0xec, 0xc0, 0xec, 0xc0, 0x00, 0x00, 0x2b, 0xa1, +0xc7, 0x68, 0x00, 0x00, 0x00, 0x00, 0xc7, 0x68, +0x2b, 0xa1, 0xec, 0xc0, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x2b, 0xa1, 0xec, 0xc0, 0xc7, 0x68, +0x00, 0x00, 0xc7, 0x68, 0x2b, 0xa1, 0xec, 0xc0, +0x00, 0x00, 0x2b, 0xa1, 0xec, 0xc0, 0xec, 0xc0, +0xec, 0xc0, 0xc7, 0x68, 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, 0xc7, 0x68, +0x00, 0x00, 0x00, 0x00, 0xc7, 0x68, 0xc7, 0x68, +0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +}; + +uint8_t tex_coeur_F[] = { +0x42, 0x4d, 0xe6, 0x00, 0x00, 0x00, 0x00, 0x00, +0x00, 0x00, 0x46, 0x00, 0x00, 0x00, 0x38, 0x00, +0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x08, 0x00, +0x00, 0x00, 0x01, 0x00, 0x10, 0x00, 0x03, 0x00, +0x00, 0x00, 0xa0, 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, +0x80, 0xd0, 0xe1, 0xd8, 0x80, 0xd0, 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, 0x80, 0xd0, 0xe1, 0xd8, +0x08, 0xf8, 0x08, 0xf8, 0x08, 0xf8, 0x08, 0xf8, +0x80, 0xd0, 0x00, 0x00, 0x00, 0x00, 0x80, 0xd0, +0xe1, 0xd8, 0x08, 0xf8, 0x08, 0xf8, 0x08, 0xf8, +0x08, 0xf8, 0x08, 0xf8, 0x08, 0xf8, 0x80, 0xd0, +0x00, 0x00, 0x80, 0xd0, 0xe1, 0xd8, 0x08, 0xf8, +0x08, 0xf8, 0x08, 0xf8, 0x08, 0xf8, 0xff, 0xff, +0x08, 0xf8, 0x80, 0xd0, 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, 0x80, 0xd0, +0x80, 0xd0, 0x00, 0x00, 0x80, 0xd0, 0x80, 0xd0, +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, 0x0f, 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_ennemie_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, +}; + + +#endif /* INC_IMAGES_H_ */