Pol  Revision:cb584c9
mapblob.h
Go to the documentation of this file.
1 
7 #ifndef PLIB_MAPBLOB_H
8 #define PLIB_MAPBLOB_H
9 
10 #define SOLIDX_X_SIZE 16
11 #define SOLIDX_X_SHIFT 4
12 #define SOLIDX_X_CELLMASK 0xF
13 
14 #define SOLIDX_Y_SIZE 16
15 #define SOLIDX_Y_SHIFT 4
16 #define SOLIDX_Y_CELLMASK 0xF
17 
18 namespace Pol
19 {
20 namespace Plib
21 {
23 {
24  unsigned int offset;
25 };
27 {
28  unsigned int baseindex;
29  unsigned short addindex[SOLIDX_X_SIZE][SOLIDX_Y_SIZE];
30 };
32 {
33  signed char z;
34  unsigned char height;
35  unsigned char flags;
36 };
38 {
39  unsigned short nelems;
40  SOLIDS_ELEM elem[1];
41 };
42 
43 const unsigned SOLIDX2_FILLER_SIZE = 4;
44 }
45 }
46 #endif
unsigned int offset
Definition: mapblob.h:24
unsigned short nelems
Definition: mapblob.h:39
#define SOLIDX_X_SIZE
Definition: mapblob.h:10
signed char z
Definition: mapblob.h:33
#define SOLIDX_Y_SIZE
Definition: mapblob.h:14
unsigned char flags
Definition: mapblob.h:35
unsigned char height
Definition: mapblob.h:34
unsigned int baseindex
Definition: mapblob.h:28
const unsigned SOLIDX2_FILLER_SIZE
Definition: mapblob.h:43
Definition: berror.cpp:12