|
Pol
Revision:b38175a
|
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 [] |
| int Pol::Uotool::checkmultis | ( | ) |
Definition at line 1289 of file uotool.cpp.
References Pol::Core::USTRUCT_MULTI_ELEMENT::flags, Pol::Core::USTRUCT_MULTI_ELEMENT::graphic, Pol::Core::idxrec, INFO_PRINT, Pol::Core::USTRUCT_IDX::length, Pol::Core::USTRUCT_IDX::offset, Pol::Core::open_uo_file(), Pol::Core::USTRUCT_MULTI_ELEMENT::x, Pol::Core::USTRUCT_MULTI_ELEMENT::y, and Pol::Core::USTRUCT_MULTI_ELEMENT::z.
Here is the call graph for this function:| int Pol::Uotool::contour | ( | int | , |
| char ** | |||
| ) |
Definition at line 982 of file uotool.cpp.
References Pol::Clib::binary(), Pol::Core::clear_tiledata(), Pol::Core::MOVEMODE_LAND, Pol::Core::open_uo_data_files(), Pol::Core::read_uo_data(), Pol::Core::readstatics(), Pol::Core::standheight(), and Pol::Runecl::x.
Here is the call graph for this function:| int Pol::Uotool::defragstatics | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 1101 of file uotool.cpp.
References Pol::Core::USTRUCT_STATIC::graphic, Pol::Plib::RealmDescriptor::height, Pol::Core::USTRUCT_STATIC::hue, INFO_PRINT, Pol::Core::USTRUCT_IDX::length, Pol::Plib::RealmDescriptor::Load(), Pol::Core::USTRUCT_IDX::offset, Pol::Core::open_uo_data_files(), Pol::Core::read_uo_data(), Pol::Core::readstaticblock(), Pol::Clib::RemoveFile(), Pol::Plib::STATICBLOCK_CHUNK, Pol::Clib::tostring(), Pol::Core::USTRUCT_IDX::unknown, Pol::Core::uo_map_height, Pol::Core::uo_map_width, Pol::Core::uo_mapid, Pol::Core::uo_usedif, Pol::Plib::RealmDescriptor::uodif, Pol::Plib::RealmDescriptor::uomapid, Pol::Plib::RealmDescriptor::width, Pol::Runecl::x, Pol::Core::USTRUCT_STATIC::x_offset, Pol::Core::USTRUCT_STATIC::y_offset, and Pol::Core::USTRUCT_STATIC::z.
Here is the call graph for this function:| void Pol::Uotool::display_tileinfo | ( | unsigned short | objtype, |
| const Core::USTRUCT_TILE & | tile | ||
| ) |
Definition at line 155 of file uotool.cpp.
References Pol::Core::USTRUCT_TILE::anim, Pol::Core::USTRUCT_TILE::flags, Pol::Core::USTRUCT_TILE::height, Pol::Core::USTRUCT_TILE::layer, Pol::Core::USTRUCT_TILE::name, Pol::Core::USTRUCT_TILE::unk14, Pol::Core::USTRUCT_TILE::unk15, Pol::Core::USTRUCT_TILE::unk6, Pol::Core::USTRUCT_TILE::unk7, Pol::Core::USTRUCT_TILE::unk8, Pol::Core::USTRUCT_TILE::unk9, and Pol::Core::USTRUCT_TILE::weight.
Referenced by flagsearch(), loschange(), tiledump(), and vertile().
Here is the caller graph for this function:| 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::findlandtile | ( | int | , |
| char ** | argv | ||
| ) |
Definition at line 1020 of file uotool.cpp.
References Pol::Core::clear_tiledata(), INFO_PRINT, Pol::Core::USTRUCT_MAPINFO::landtile, Pol::Core::open_uo_data_files(), Pol::Core::read_uo_data(), Pol::Core::safe_getmapinfo(), Pol::Runecl::x, and Pol::Core::USTRUCT_MAPINFO::z.
Here is the call graph for this function:| int Pol::Uotool::findlandtileflags | ( | int | , |
| char ** | argv | ||
| ) |
Definition at line 1074 of file uotool.cpp.
References Pol::Core::clear_tiledata(), INFO_PRINT, Pol::Core::USTRUCT_MAPINFO::landtile, Pol::Core::landtile_uoflags(), Pol::Core::open_uo_data_files(), Pol::Core::read_uo_data(), Pol::Core::safe_getmapinfo(), Pol::Runecl::x, and Pol::Core::USTRUCT_MAPINFO::z.
Here is the call graph for this function:| int Pol::Uotool::flagsearch | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 305 of file uotool.cpp.
References Pol::Core::clear_tiledata(), display_tileinfo(), Pol::Core::USTRUCT_TILE::flags, 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::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 ** | |||
| ) |
Definition at line 277 of file uotool.cpp.
References Pol::Core::clear_tiledata(), INFO_PRINT, Pol::Core::USTRUCT_LAND_TILE::name, Pol::Core::open_uo_data_files(), Pol::Core::read_uo_data(), and Pol::Core::readlandtile().
Here is the call graph for this function:| int Pol::Uotool::landtileflagsearch | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 334 of file uotool.cpp.
References Pol::Core::clear_tiledata(), Pol::Core::USTRUCT_LAND_TILE::flags, INFO_PRINT, Pol::Core::USTRUCT_LAND_TILE::name, Pol::Core::open_uo_data_files(), Pol::Core::read_uo_data(), Pol::Core::readlandtile(), and Pol::Core::USTRUCT_LAND_TILE::unk.
Here is the call graph for this function:| int Pol::Uotool::landtilehist | ( | int | , |
| char ** | |||
| ) |
Definition at line 249 of file uotool.cpp.
References Pol::Core::clear_tiledata(), INFO_PRINT, Pol::Core::USTRUCT_LAND_TILE::name, Pol::Core::open_uo_data_files(), Pol::Core::read_uo_data(), and Pol::Core::readlandtile().
Here is the call graph for this function:| int Pol::Uotool::loschange | ( | int | , |
| char ** | |||
| ) |
Definition at line 367 of file uotool.cpp.
References Pol::Core::clear_tiledata(), display_tileinfo(), Pol::Core::USTRUCT_TILE::FLAG_NO_SHOOT, Pol::Core::USTRUCT_TILE::FLAG_WALKBLOCK, Pol::Core::USTRUCT_TILE::flags, INFO_PRINT, 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::mapdump | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 908 of file uotool.cpp.
References Pol::Core::clear_tiledata(), Pol::Core::USTRUCT_LAND_TILE::flags, Pol::Clib::hexint(), Pol::Core::USTRUCT_MAPINFO::landtile, Pol::Core::USTRUCT_LAND_TILE::name, Pol::Core::open_uo_data_files(), Pol::Core::read_uo_data(), Pol::Core::readallstatics(), Pol::Core::readlandtile(), Pol::Core::safe_getmapinfo(), Pol::Runecl::x, and Pol::Core::USTRUCT_MAPINFO::z.
Here is the call graph for this function:| int Pol::Uotool::print_ctable | ( | ) |
Definition at line 95 of file uotool.cpp.
References INFO_PRINT, and keyid.
| void Pol::Uotool::print_multidata | ( | u16 | i, |
| Multi::MultiDef * | multi | ||
| ) |
Definition at line 717 of file uotool.cpp.
References Pol::Multi::MultiDef::components, Pol::Multi::MultiDef::hull, INFO_PRINT, Pol::Multi::MULTI_ELEM::is_static, Pol::Core::USTRUCT_TILE::name, Pol::Multi::MULTI_ELEM::objtype, Pol::Core::read_objinfo(), Pol::Plib::systemstate, Pol::Multi::MULTI_ELEM::x, Pol::Multi::MULTI_ELEM::y, and Pol::Multi::MULTI_ELEM::z.
Referenced by print_multis().
Here is the call graph for this function:
Here is the caller graph for this function:| void Pol::Uotool::print_multihull | ( | u16 | i, |
| Multi::MultiDef * | multi | ||
| ) |
Definition at line 651 of file uotool.cpp.
References Pol::Multi::MultiDef::getkey(), Pol::Multi::MultiDef::hull, Pol::Multi::MultiDef::hull2, INFO_PRINT, Pol::Multi::MultiDef::internal_hull2, Pol::Multi::MultiDef::minrx, Pol::Multi::MultiDef::minry, Pol::Core::USTRUCT_TILE::name, Pol::Core::read_objinfo(), Pol::Plib::systemstate, and Pol::Runecl::x.
Referenced by print_multis().
Here is the call graph for this function:
Here is the caller graph for this function:| int Pol::Uotool::print_multis | ( | void | ) |
Definition at line 737 of file uotool.cpp.
References Pol::Core::clear_tiledata(), INFO_PRINT, Pol::Multi::multidef_buffer, Pol::Core::open_uo_data_files(), print_multidata(), print_multihull(), Pol::Multi::read_multidefs(), and Pol::Core::read_uo_data().
Here is the call graph for this function:| 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:| int Pol::Uotool::print_statics | ( | ) |
Definition at line 433 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(), Pol::Core::tile_uoflags(), Pol::Core::tileheight(), Pol::Core::water, and Pol::Runecl::x.
Here is the call graph for this function:| int Pol::Uotool::print_verdata_info | ( | ) |
Definition at line 397 of file uotool.cpp.
References Pol::Core::clear_tiledata(), Pol::Core::USTRUCT_VERSION::file, INFO_PRINT, Pol::Core::open_uo_data_files(), Pol::Core::read_uo_data(), and Pol::Core::verfile.
Here is the call graph for this function:| int Pol::Uotool::print_water_data | ( | ) |
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:| void Pol::Uotool::print_widedata | ( | u16 | i, |
| Multi::MultiDef * | multi | ||
| ) |
Definition at line 687 of file uotool.cpp.
References Pol::Multi::MultiDef::find_component(), Pol::Multi::MultiDef::hull, INFO_PRINT, Pol::Multi::MULTI_ELEM::is_static, Pol::Multi::MultiDef::minrx, Pol::Multi::MultiDef::minry, Pol::Core::USTRUCT_TILE::name, Pol::Core::read_objinfo(), Pol::Plib::systemstate, and Pol::Runecl::x.
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::statics_histogram | ( | ) |
Definition at line 787 of file uotool.cpp.
References Pol::Core::clear_tiledata(), ERROR_PRINT, INFO_PRINT, Pol::Core::open_uo_data_files(), Pol::Core::read_uo_data(), Pol::Core::readstaticblock(), and Pol::Runecl::x.
Here is the call 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::verlandtile | ( | int | , |
| char ** | |||
| ) |
Definition at line 225 of file uotool.cpp.
References Pol::Core::clear_tiledata(), Pol::Core::USTRUCT_LAND_TILE::flags, INFO_PRINT, Pol::Core::USTRUCT_LAND_TILE::name, Pol::Core::open_uo_data_files(), Pol::Core::read_uo_data(), Pol::Core::readlandtile(), and Pol::Core::USTRUCT_LAND_TILE::unk.
Here is the call 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:| int Pol::Uotool::write_polmap | ( | ) |
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:| int Pol::Uotool::z_histogram | ( | ) |
Definition at line 757 of file uotool.cpp.
References Pol::Core::clear_tiledata(), Pol::Core::getmapinfo(), INFO_PRINT, Pol::Core::open_uo_data_files(), Pol::Core::read_uo_data(), Pol::Runecl::x, Pol::Core::ZCOORD_MAX, and Pol::Core::ZCOORD_MIN.
Here is the call graph for this function:| unsigned char Pol::Uotool::buffer[10000] |
Definition at line 123 of file uotool.cpp.
Referenced by Pol::Module::PolCore::call_method(), Pol::Network::PacketWriterDefs::PacketWriter< _id, _size >::getBuffer(), Pol::Network::PacketWriterDefs::EmptyBufferTemplate< _id, _size >::getBuffer(), Pol::Module::BasicExecutorModule::mf_Bin(), Pol::Module::MathExecutorModule::mf_FormatRealToString(), Pol::Module::FileAccessExecutorModule::mf_LogToFile(), Pol::Module::UOExecutorModule::mf_SendPacket(), Pol::Module::UtilExecutorModule::mf_StrFormatTime(), rawdump(), Pol::Core::rawmapfullread(), Pol::Bscript::EScriptProgram::read_dbg_file(), Pol::Bscript::EScriptProgram::read_globalvarnames(), Pol::Network::PacketWriterDefs::EmptyBufferTemplate< _id, _size >::ReSetBuffer(), Pol::Core::PolService::Run(), Pol::Clib::Logging::LogSinkGenericFile::test_for_rollover(), Pol::Network::PacketWriterDefs::PacketWriter< _id, _size >::Write(), and Pol::Network::PacketWriterDefs::PacketWriter< _id, _size >::WriteFlipped().
| int Pol::Uotool::keyid[] |
Definition at line 56 of file uotool.cpp.
Referenced by print_ctable().