Original Source for 1.13 Mod High Resolution version from 12/06/05

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@21 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
lalien
2006-04-19 11:32:51 +00:00
commit e54aeb96aa
790 changed files with 741287 additions and 0 deletions
+63
View File
@@ -0,0 +1,63 @@
//**************************************************************************
//
// Filename : bitmap.h
//
// Purpose : bitmap format
//
// Modification history :
//
// 20nov96:HJH - Creation
//
//**************************************************************************
#ifndef _bitmap_h
#define _bitmap_h
//**************************************************************************
//
// Includes
//
//**************************************************************************
#include "types.h"
//**************************************************************************
//
// Defines
//
//**************************************************************************
//**************************************************************************
//
// Typedefs
//
//**************************************************************************
typedef struct sgpBmHeadertag
{
UINT32 uiNumBytes; // number of bytes of the bitmap, including the
// memory for all variables in this structure plus
// all the memory in bitmap
UINT32 uiWidth; // width of bitmap in pixels
UINT32 uiHeight; // height of bitmap in pixels
UINT8 uiBitDepth; // 8, 16, 24, or 32
UINT8 uiNumPalEntries; // if uiBitDepth is 8, non-zero, else 0
} SGPBmHeader;
typedef struct sgpBitmaptag
{
SGPBmHeader header;
UINT8 uiData[1]; // if uiNumPalEntries != 0
// uiNumPalEntries*3 (rgb) bytes for palette
// if uiBitDepth == 8
// uiWidth * uiHeight bytes
// else if uiBitDepth == 16
// uiWidth * uiHeight * 2 bytes
// else if uiBitDepth == 24
// uiWidth * uiHeight * 3 bytes
// else if uiBitDepth == 32
// uiWidth * uiHeight * 4 bytes
} SGPBitmap;
#endif