Bitmap  0.2
 All Data Structures Files Functions Variables Groups
Data Fields
BITMAP Struct Reference

Contient tous les informations d'une image bmp. More...

#include <bitmap.h>

Data Fields

BITMAPFILEHEADER bmFileHeader
 
BITMAPINFOHEADER bmiHeader
 
int width
 
int height
 
unsigned short * sprite16Bit
 
unsigned char * sprite8Bit
 
unsigned short sprite8Bit_palette [256]
 
int error16bit
 
int error8bit
 

Detailed Description

Contient tous les informations d'une image bmp.

Field Documentation

int error16bit

Si la création d'un sprite 16-bits s'est mal passé, error16bit contient un code erreur, voir "la gestion d'erreur" dans la partie "Modules"

int error8bit

Si la création d'un sprite 8-bits s'est mal passé, error8bit contient un code erreur, voir "la gestion d'erreur" dans la partie "Modules"

int height

Contient la hauteur de l'image

unsigned short* sprite16Bit

Contient le sprite généré en 16-bit si la fonction LoadBmp24_to16bits a été appelé

unsigned char* sprite8Bit

Contient le sprite généré en 8-bit si la fonction LoadBmp24_to8bits a été appelé

unsigned short sprite8Bit_palette[256]

Palette de couleur de sprite8Bit

int width

Contient la largeur de l'image


The documentation for this struct was generated from the following file: