Pol  Revision:3cfda13
mapfunc.h
Go to the documentation of this file.
1 
8 #ifndef PLIB_MAPFUNC_H
9 #define PLIB_MAPFUNC_H
10 
11 #include <string>
12 
13 #include "../clib/rawtypes.h"
14 
15 namespace Pol
16 {
17 namespace Clib
18 {
19 class ConfigElem;
20 }
21 namespace Plib
22 {
23 u32 polflags_from_tileflags( unsigned short tile, u32 uoflags, bool use_no_shoot,
24  bool LOS_through_windows );
25 u32 polflags_from_landtileflags( unsigned short tile, u32 lt_flags );
26 
27 unsigned int readflags( Clib::ConfigElem& elem );
28 std::string flagstr( unsigned int flags );
29 std::string flagdescs();
30 }
31 }
32 #endif
std::string flagstr(unsigned int flags)
Definition: mapfunc.cpp:24
unsigned int u32
Definition: rawtypes.h:27
u32 polflags_from_tileflags(unsigned short tile, u32 uoflags, bool use_no_shoot, bool LOS_through_windows)
Definition: mapfunc.cpp:71
u32 polflags_from_landtileflags(unsigned short tile, u32 lt_flags)
Definition: mapfunc.cpp:214
std::string flagdescs()
Definition: mapfunc.cpp:53
Definition: berror.cpp:12
unsigned int readflags(Clib::ConfigElem &elem)
Definition: mapfunc.cpp:229