MountIMA/Shared_Includes/structures/bmp.inc
Anatoliy Belyanskiy cf4295cc85 Initial commit
2023-06-15 02:40:28 +10:00

31 lines
1.1 KiB
PHP
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

;
STRUCT MAIN_BMP
ChipsPic BLOCK mpCH_Width * mpCH_Height
;MainPic BLOCK 160*168 ; !!!!!! hardcode
MainPic BYTE
ENDS
STRUCT TBitMapFileHeader ; = 14 bytes
bfType WORD ; 'BM'
bfSize DWORD ; à §¬¥à ¢á¥£® ä ©« 
bfReserved DWORD 0 ;
bfOffBits DWORD ; ­ ç «® ¡¨â®¢®£® ¬ áᨢ  ®â­®á¨â¥«ì­® ­ ç «  ä ©« 
;---[File Info] ; = 40 bytes
biSize DWORD 40 ; Š®«¨ç¥á⢮ ¡ ©â®¢ ¢ DIB header (á í⮣® ¬®¬¥­â )
biWidth DWORD ; ˜¨à¨­  ¨§®¡à ¦¥­¨ï ¢ ¯¨ªá¥«ïå
biHeight DWORD ; ‚ëá®â  ¨§®¡à ¦¥­¨ï ¢ ¯¨ªá¥«ïå
biplanes WORD ; Š®«¨ç¥á⢮ ¯«®áª®á⥩ ¨«¨ 梥⮢ëå á«®¥¢
biBitCount WORD ; Š®«-¢® ¡¨â®¢ ­  ¯¨ªá¥«ì
biCompression DWORD ; ’¨¯ ᦠâ¨ï
biSizeImage DWORD 0 ; <EFBFBD> §¬¥à ª à⨭ª¨ ¢ ¡ ©â å, ¥á«¨ ¨§®¡à ¦¥­¨¥ ­¥á¦ â®¥, â® §­ ç¥­¨¥ ४®¬¥­¤®¢ ­® ãáâ ­ ¢«¨¢ âì ¢ ­®«ì
biXPelsPerMeter DWORD ; ƒ®à¨§®­â «ì­®¥ à §à¥è¥­¨¥ (¢ ¯¨ªá¥«ïå ­  ¬¥âà)
biYPelsPerMeter DWORD ; ‚¥à⨪ «ì­®¥ à §à¥è¥­¨¥ (¢ ¯¨ªá¥«ïå ­  ¬¥âà)
biClrUsed DWORD 0 ; Ž¯à¥¤¥«ï¥â ª®«¨ç¥á⢮ ¨á¯®«ì§ã¥¬ëå æ¢¥â®¢ ¨§ â ¡«¨æë
biClrImportant DWORD 0 ; Š®«¨ç¥á⢮ ¢ ¦­ëå ¤«ï ¨§®¡à ¦¥­¨ï 梥⮢
;--[File Data]
bdPallete BLOCK #400
bdRaster MAIN_BMP
ENDS
;