nouvelle texture
This commit is contained in:
parent
e6aac50281
commit
e9bc201005
4 changed files with 391 additions and 20 deletions
|
@ -1,20 +1,28 @@
|
||||||
import argparse
|
import argparse
|
||||||
|
from os import write
|
||||||
|
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument("INPUT_FILE", help="Path vers le fichier d'entré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("--HEADER_NAME", help="Path pour le fichier de sortie")
|
||||||
parser.add_argument("VAR_NAME", help="Nom de la varriable à crée")
|
parser.add_argument("--VAR_NAMES", nargs='+', help="Nom de la varriable à crée")
|
||||||
|
|
||||||
args = parser.parse_args()
|
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 = open(args.HEADER_NAME+".h", "w")
|
||||||
|
|
||||||
output_file.write("""#ifndef INC_{}_H_
|
output_file.write("""#ifndef INC_{}_H_
|
||||||
#define INC_{}_H_
|
#define INC_{}_H_
|
||||||
|
|
||||||
#include "stdint.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 = []
|
bytes_array = []
|
||||||
|
@ -30,10 +38,13 @@ for n, repr in enumerate(bytes_array):
|
||||||
data+= "\n"
|
data+= "\n"
|
||||||
output_file.write(data)
|
output_file.write(data)
|
||||||
output_file.write("""
|
output_file.write("""
|
||||||
};"""+"""
|
};
|
||||||
|
|
||||||
|
""")
|
||||||
|
input_file.close()
|
||||||
|
|
||||||
|
output_file.write("""
|
||||||
#endif /* INC_{}_H_ */
|
#endif /* INC_{}_H_ */
|
||||||
""".format(args.HEADER_NAME.upper()))
|
""".format(args.HEADER_NAME.upper()))
|
||||||
|
|
||||||
input_file.close()
|
|
||||||
output_file.close()
|
output_file.close()
|
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
Projet du second semetre de :
|
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).
|
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"
|
!!! info "Record de fin"
|
||||||
Si vous arrivé jusqu'à la vague 15, prévenez nous.
|
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.
|
||||||
|
|
|
@ -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.
|
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
|
## 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
|
||||||
|
```
|
||||||
|
|
356
images.h
Normal file
356
images.h
Normal file
|
@ -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_ */
|
Loading…
Reference in a new issue