Pol  Revision:cb584c9
clidata.h
Go to the documentation of this file.
1 
7 #ifndef CLIDATA_H
8 #define CLIDATA_H
9 
10 #include <string>
11 
12 namespace Pol
13 {
14 namespace Core
15 {
16 bool groundheight( unsigned short x, unsigned short y, short* z );
17 char tileheight( unsigned short tilenum );
18 unsigned char tilelayer( unsigned short tilenum );
19 unsigned int tile_flags( unsigned short tilenum ); // POL flags
20 unsigned int tile_uoflags( unsigned short tilenum );
21 unsigned short tileweight( unsigned short tilenum );
22 std::string tile_desc( unsigned short tilenum );
23 
24 unsigned int landtile_uoflags( unsigned short landtile );
25 unsigned int landtile_flags( unsigned short landtile );
26 
27 const unsigned LANDTILE_COUNT = 0x4000;
28 struct LandTile
29 {
30  unsigned int uoflags;
31  unsigned int flags;
32 };
33 } // namespace Core
34 } // namespace Pol
35 #endif
unsigned int tile_flags(unsigned short tilenum)
Definition: polfile2.cpp:49
unsigned int tile_uoflags(unsigned short tilenum)
Definition: polfile2.cpp:61
unsigned char tilelayer(unsigned short tilenum)
Definition: polfile2.cpp:22
unsigned int flags
Definition: clidata.h:31
unsigned int landtile_flags(unsigned short landtile)
Definition: landtile.cpp:47
unsigned int uoflags
Definition: clidata.h:30
const unsigned LANDTILE_COUNT
Definition: clidata.h:27
std::string tile_desc(unsigned short tilenum)
Definition: polfile2.cpp:73
unsigned int landtile_uoflags(unsigned short landtile)
Definition: landtile.cpp:41
char tileheight(unsigned short tilenum)
Definition: polfile2.cpp:34
bool groundheight(unsigned short x, unsigned short y, short *z)
Definition: uofile08.cpp:77
unsigned short tileweight(unsigned short tilenum)
Definition: polfile2.cpp:85
Definition: berror.cpp:12