Pol  Revision:f37d500
staticblock.h
Go to the documentation of this file.
1 
9 #ifndef PLIB_STATICBLOCK_H
10 #define PLIB_STATICBLOCK_H
11 
12 #include "../clib/rawtypes.h"
13 
14 #include <vector>
15 
16 namespace Pol
17 {
18 namespace Plib
19 {
21 {
23 };
24 
26 {
28  u8 xy; // high nibble: x, low nibble: y (0x80, 0x40 bits unused)
29  s8 z;
31 };
32 
33 class StaticEntryList : public std::vector<STATIC_ENTRY>
34 {
35 };
36 
37 const unsigned STATICBLOCK_CHUNK = 8;
38 const unsigned STATICBLOCK_SHIFT = 3;
39 const unsigned STATICCELL_MASK = 0x7;
40 }
41 }
42 #endif
unsigned char u8
Definition: rawtypes.h:25
const unsigned STATICBLOCK_SHIFT
Definition: staticblock.h:38
const unsigned STATICBLOCK_CHUNK
Definition: staticblock.h:37
u16 hue
Definition: staticblock.h:30
u16 objtype
Definition: staticblock.h:27
u8 xy
Definition: staticblock.h:28
unsigned short u16
Definition: rawtypes.h:26
unsigned int u32
Definition: rawtypes.h:27
signed char s8
Definition: rawtypes.h:29
s8 z
Definition: staticblock.h:29
Definition: staticblock.h:25
Definition: berror.cpp:12
const unsigned STATICCELL_MASK
Definition: staticblock.h:39