From 8898ad9b25fca6afe2374d293a981db02a83d7e9 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 31 May 2012 14:46:27 +0000 Subject: Committing the documentation to svn to have it accessible online --- Doc/doxygen/html/_bmp_8h_source.html | 193 +++++++++++++++++++++++++++++++++++ 1 file changed, 193 insertions(+) create mode 100644 Doc/doxygen/html/_bmp_8h_source.html (limited to 'Doc/doxygen/html/_bmp_8h_source.html') diff --git a/Doc/doxygen/html/_bmp_8h_source.html b/Doc/doxygen/html/_bmp_8h_source.html new file mode 100644 index 0000000..dee851f --- /dev/null +++ b/Doc/doxygen/html/_bmp_8h_source.html @@ -0,0 +1,193 @@ + + + + + +Starshatter_Open: D:/SRC/StarshatterSVN/nGenEx/Bmp.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
Starshatter_Open +
+
Open source Starshatter engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
Bmp.h
+
+
+Go to the documentation of this file.
1 /* Project nGenEx
+
2  Destroyer Studios LLC
+
3  Copyright © 1997-2004. All Rights Reserved.
+
4 
+
5  SUBSYSTEM: nGenEx.lib
+
6  FILE: Bmp.h
+
7  AUTHOR: John DiCamillo
+
8 
+
9 
+
10  OVERVIEW
+
11  ========
+
12  BMP image file loader
+
13 */
+
14 
+
15 #ifndef BMP_H
+
16 #define BMP_H
+
17 
+
18 // +--------------------------------------------------------------------+
+
19 
+ +
21 
+ +
23 {
+
24  WORD type;
+
25  DWORD size;
+
26  WORD rsvd1;
+
27  WORD rsvd2;
+
28  DWORD offset;
+
29 };
+
30 
+ +
32 {
+
33  DWORD hdr_size;
+
34  DWORD width;
+
35  DWORD height;
+
36  WORD planes;
+
37  WORD bit_count;
+
38  DWORD compression;
+
39  DWORD img_size;
+ + +
42  DWORD colors_used;
+ +
44 };
+
45 
+
46 const int BMP_FILE_HDR_SIZE = 14;
+
47 const int BMP_INFO_HDR_SIZE = 40;
+
48 
+
49 // +--------------------------------------------------------------------+
+
50 
+
51 struct BmpImage
+
52 {
+
53  static const char* TYPENAME() { return "BmpImage"; }
+
54 
+
55  BmpImage(short w, short h, unsigned long* hibits);
+
56 
+
57  BmpImage();
+
58  ~BmpImage();
+
59 
+
60  int Load(char *filename);
+
61  int Save(char *filename);
+
62 
+
63  int LoadBuffer(unsigned char* buf, int len);
+
64 
+ + +
67  DWORD palette[256];
+
68  DWORD* image;
+
69  WORD width;
+
70  WORD height;
+
71 };
+
72 
+
73 // +--------------------------------------------------------------------+
+
74 
+
75 
+
76 #endif BMP_H
+
+
+ + + + -- cgit v1.1