Pol  Revision:b38175a
Pol::Uotool Namespace Reference

Classes

struct  MapContour

Functions

int checkmultis ()
int contour (int, char **)
int defragstatics (int argc, char **argv)
void display_tileinfo (unsigned short objtype, const Core::USTRUCT_TILE &tile)
void elimdupes (Core::StaticList &list)
int findgraphic (int, char **argv)
int findlandtile (int, char **argv)
int findlandtileflags (int, char **argv)
int flagsearch (int argc, char **argv)
int format_description (int argc, char **argv)
bool has_water (u16 x, u16 y)
bool is_water (u16 objtype)
int landtilecfg (int, char **)
int landtileflagsearch (int argc, char **argv)
int landtilehist (int, char **)
int loschange (int, char **)
int mapdump (int argc, char *argv[])
int print_ctable ()
void print_multidata (u16 i, Multi::MultiDef *multi)
void print_multihull (u16 i, Multi::MultiDef *multi)
int print_multis (void)
int print_sndlist (int, char **)
int print_statics ()
int print_verdata_info ()
int print_water_data ()
void print_widedata (u16 i, Multi::MultiDef *multi)
int rawdump (int argc, char **argv)
unsigned int read_ulong (std::istream &is)
int statics_histogram ()
int tiledump (int argc, char **argv)
int Usage (int ret)
int verlandtile (int, char **)
int vertile (int, char **)
int water_search (int, char **)
int write_polmap (const char *filename, unsigned short xbegin, unsigned short xend)
int write_polmap ()
int z_histogram ()

Variables

unsigned char buffer [10000]
int keyid []

Function Documentation

void Pol::Uotool::elimdupes ( Core::StaticList &  list)

Definition at line 482 of file uotool.cpp.

References Pol::Core::tile_uoflags(), and Pol::Core::tileheight().

+ Here is the call graph for this function:

int Pol::Uotool::findgraphic ( int  ,
char **  argv 
)

Definition at line 1047 of file uotool.cpp.

References Pol::Core::clear_tiledata(), INFO_PRINT, Pol::Core::open_uo_data_files(), Pol::Core::read_uo_data(), Pol::Core::readallstatics(), and Pol::Runecl::x.

+ Here is the call graph for this function:

int Pol::Uotool::flagsearch ( int  argc,
char **  argv 
)
int Pol::Uotool::format_description ( int  argc,
char **  argv 
)

Definition at line 1210 of file uotool.cpp.

References argc, INFO_PRINT, and Usage().

+ Here is the call graph for this function:

bool Pol::Uotool::has_water ( u16  x,
u16  y 
)

Definition at line 876 of file uotool.cpp.

References is_water(), and Pol::Core::readstatics().

Referenced by water_search().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Pol::Uotool::is_water ( u16  objtype) [inline]

Definition at line 872 of file uotool.cpp.

Referenced by has_water().

+ Here is the caller graph for this function:

int Pol::Uotool::landtilecfg ( int  ,
char **   
)
int Pol::Uotool::landtilehist ( int  ,
char **   
)

Definition at line 95 of file uotool.cpp.

References INFO_PRINT, and keyid.

int Pol::Uotool::print_sndlist ( int  ,
char **   
)

Definition at line 615 of file uotool.cpp.

References Pol::Clib::binary(), Pol::Plib::SystemState::config, INFO_PRINT, read_ulong(), Pol::Plib::systemstate, and Pol::Core::PolConfig::uo_datafile_root.

+ Here is the call graph for this function:

Definition at line 865 of file uotool.cpp.

References Pol::Core::open_uo_data_files(), and Pol::Core::readwater().

+ Here is the call graph for this function:

int Pol::Uotool::rawdump ( int  argc,
char **  argv 
)

Definition at line 569 of file uotool.cpp.

References buffer, Pol::Clib::fdump(), INFO_PRINT, and Usage().

+ Here is the call graph for this function:

unsigned int Pol::Uotool::read_ulong ( std::istream &  is)

Definition at line 608 of file uotool.cpp.

Referenced by print_sndlist().

+ Here is the caller graph for this function:

int Pol::Uotool::tiledump ( int  argc,
char **  argv 
)

Definition at line 173 of file uotool.cpp.

References display_tileinfo(), INFO_PRINT, TILES_START, and Usage().

+ Here is the call graph for this function:

int Pol::Uotool::Usage ( int  ret)

Definition at line 125 of file uotool.cpp.

References ERROR_PRINT.

Referenced by format_description(), rawdump(), and tiledump().

+ Here is the caller graph for this function:

int Pol::Uotool::vertile ( int  ,
char **   
)

Definition at line 207 of file uotool.cpp.

References Pol::Core::clear_tiledata(), display_tileinfo(), Pol::Core::open_uo_data_files(), Pol::Core::read_objinfo(), and Pol::Core::read_uo_data().

+ Here is the call graph for this function:

int Pol::Uotool::water_search ( int  ,
char **   
)

Definition at line 889 of file uotool.cpp.

References has_water(), INFO_PRINT, Pol::Core::open_uo_data_files(), and Pol::Runecl::x.

+ Here is the call graph for this function:

int Pol::Uotool::write_polmap ( const char *  filename,
unsigned short  xbegin,
unsigned short  xend 
)

Definition at line 819 of file uotool.cpp.

References Pol::Core::groundheight(), INFO_PRINT, Pol::Core::USTRUCT_POL_MAPINFO_BLOCK::walkok, Pol::Runecl::x, and Pol::Core::USTRUCT_POL_MAPINFO_BLOCK::z.

Referenced by write_polmap().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 854 of file uotool.cpp.

References Pol::Core::clear_tiledata(), INFO_PRINT, Pol::Core::open_uo_data_files(), Pol::Core::read_uo_data(), and write_polmap().

+ Here is the call graph for this function:


Variable Documentation

Definition at line 56 of file uotool.cpp.

Referenced by print_ctable().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines