Pol
Revision:cb584c9
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
{
20
struct
STATIC_INDEX
21
{
22
u32
index
;
23
};
24
25
struct
STATIC_ENTRY
26
{
27
u16
objtype
;
28
u8
xy
;
// high nibble: x, low nibble: y (0x80, 0x40 bits unused)
29
s8
z
;
30
u16
hue
;
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
u8
unsigned char u8
Definition:
rawtypes.h:25
Pol::Plib::STATICBLOCK_SHIFT
const unsigned STATICBLOCK_SHIFT
Definition:
staticblock.h:38
Pol::Plib::STATICBLOCK_CHUNK
const unsigned STATICBLOCK_CHUNK
Definition:
staticblock.h:37
Pol::Plib::STATIC_ENTRY::hue
u16 hue
Definition:
staticblock.h:30
Pol::Plib::STATIC_ENTRY::objtype
u16 objtype
Definition:
staticblock.h:27
Pol::Plib::STATIC_ENTRY::xy
u8 xy
Definition:
staticblock.h:28
u16
unsigned short u16
Definition:
rawtypes.h:26
u32
unsigned int u32
Definition:
rawtypes.h:27
Pol::Plib::STATIC_INDEX::index
u32 index
Definition:
staticblock.h:22
s8
signed char s8
Definition:
rawtypes.h:29
Pol::Plib::STATIC_ENTRY::z
s8 z
Definition:
staticblock.h:29
Pol::Plib::STATIC_ENTRY
Definition:
staticblock.h:25
Pol::Plib::STATIC_INDEX
Definition:
staticblock.h:20
Pol
Definition:
berror.cpp:12
Pol::Plib::STATICCELL_MASK
const unsigned STATICCELL_MASK
Definition:
staticblock.h:39
Pol::Plib::StaticEntryList
Definition:
staticblock.h:33
plib
staticblock.h
Generated on Wed Oct 10 2018 02:41:53 for Pol by
1.8.11