Classes | Defines | Functions | Variables

src/cannonball/src/LevelBMP.cpp File Reference

#include "main.h"

Go to the source code of this file.

Classes

struct  BMP_SIGNATURE
struct  BITMAP_FILEHEADER
struct  BITMAP_HEADER
struct  RGBA
struct  BGRA
struct  BGR
struct  BGR16

Defines

#define BITMAP_FILEHEADER_SIZE   14
#define SAVEEXIT(rs)

Functions

uint ShiftRightByMask (uint Color, uint Mask, uint DistributeToBits=8)

Variables

const BMP_SIGNATURE bmpSignature
const unsigned short int BITMAP_SIGNATURE = bmpSignature.s

Define Documentation

#define BITMAP_FILEHEADER_SIZE   14

Definition at line 25 of file LevelBMP.cpp.

#define SAVEEXIT (   rs  ) 
Value:
{\
                if(file){fclose(file);file=0;}\
                SAVEFREE(m_BitmapData);\
                SAVEFREE(Line);\
                return rs;}

Function Documentation

uint ShiftRightByMask ( uint  Color,
uint  Mask,
uint  DistributeToBits = 8 
)

Definition at line 77 of file LevelBMP.cpp.


Variable Documentation

const unsigned short int BITMAP_SIGNATURE = bmpSignature.s

Definition at line 16 of file LevelBMP.cpp.

Definition at line 15 of file LevelBMP.cpp.