Pol
Revision:cb584c9
|
Classes | |
struct | MapContour |
class | UoToolMain |
Functions | |
static int | checkmultis () |
static int | contour () |
static int | defragstatics (int argc, char **argv) |
static void | display_tileinfo (unsigned short objtype, const Core::USTRUCT_TILE &tile) |
static int | findgraphic (int, char **argv) |
static int | findlandtile (int, char **argv) |
static int | findlandtileflags (int, char **argv) |
static int | flagsearch (int argc, char **argv) |
static int | format_description (int argc, char **argv) |
static bool | has_water (u16 x, u16 y) |
static int | landtileflagsearch (int argc, char **argv) |
static int | landtilehist () |
static int | loschange (int, char **) |
static int | mapdump (int argc, char *argv[]) |
static int | print_ctable () |
static void | print_multidata (u16 i, Multi::MultiDef *multi) |
static void | print_multihull (u16 i, Multi::MultiDef *multi) |
static int | print_multis () |
static int | print_sndlist () |
static int | print_statics () |
static int | print_verdata_info () |
static int | print_water_data () |
static int | rawdump (int argc, char **argv) |
static unsigned int | read_ulong (std::istream &is) |
static int | statics_histogram () |
static int | tiledump (int argc, char **argv) |
static int | verlandtile () |
static int | vertile () |
static int | water_search () |
static int | write_polmap (const char *filename, unsigned short xbegin, unsigned short xend) |
static int | write_polmap () |
static int | z_histogram () |
Variables | |
unsigned char | buffer [10000] |
int | keyid [] |
static int | s_argc |
static char ** | s_argv |
|
static |
Definition at line 1100 of file UoToolMain.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.
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 796 of file UoToolMain.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(), and Pol::Core::standheight().
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 913 of file UoToolMain.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::Core::USTRUCT_STATIC::x_offset, Pol::Core::USTRUCT_STATIC::y_offset, and Pol::Core::USTRUCT_STATIC::z.
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 113 of file UoToolMain.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().
|
static |
Definition at line 860 of file UoToolMain.cpp.
References Pol::Core::clear_tiledata(), INFO_PRINT, Pol::Core::open_uo_data_files(), Pol::Core::read_uo_data(), and Pol::Core::readallstatics().
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 833 of file UoToolMain.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(), and Pol::Core::USTRUCT_MAPINFO::z.
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 887 of file UoToolMain.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(), and Pol::Core::USTRUCT_MAPINFO::z.
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 244 of file UoToolMain.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().
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 1020 of file UoToolMain.cpp.
References INFO_PRINT, and name.
Referenced by Pol::UoTool::UoToolMain::main().
Definition at line 690 of file UoToolMain.cpp.
References Pol::Core::iswater(), and Pol::Core::readstatics().
Referenced by water_search().
|
static |
Definition at line 273 of file UoToolMain.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.
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 216 of file UoToolMain.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().
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 305 of file UoToolMain.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().
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 722 of file UoToolMain.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(), and Pol::Core::USTRUCT_MAPINFO::z.
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 83 of file UoToolMain.cpp.
References INFO_PRINT.
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 535 of file UoToolMain.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().
|
static |
Definition at line 499 of file UoToolMain.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(), and Pol::Plib::systemstate.
Referenced by print_multis().
|
static |
Definition at line 554 of file UoToolMain.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().
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 462 of file UoToolMain.cpp.
References Pol::Clib::binary(), Pol::Plib::SystemState::config, INFO_PRINT, read_ulong(), Pol::Plib::systemstate, and Pol::Core::PolConfig::uo_datafile_root.
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 369 of file UoToolMain.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(), and Pol::Core::water.
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 333 of file UoToolMain.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.
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 683 of file UoToolMain.cpp.
References Pol::Core::open_uo_data_files(), and Pol::Core::readwater().
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 416 of file UoToolMain.cpp.
References Pol::Clib::fdump(), and INFO_PRINT.
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 455 of file UoToolMain.cpp.
Referenced by print_sndlist().
|
static |
Definition at line 603 of file UoToolMain.cpp.
References Pol::Core::clear_tiledata(), ERROR_PRINT, INFO_PRINT, Pol::Core::open_uo_data_files(), Pol::Core::read_uo_data(), and Pol::Core::readstaticblock().
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 142 of file UoToolMain.cpp.
References display_tileinfo(), INFO_PRINT, and TILES_START.
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 192 of file UoToolMain.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.
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 174 of file UoToolMain.cpp.
References Pol::Core::clear_tiledata(), display_tileinfo(), Pol::Core::open_uo_data_files(), Pol::Core::read_objinfo(), and Pol::Core::read_uo_data().
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 703 of file UoToolMain.cpp.
References has_water(), INFO_PRINT, and Pol::Core::open_uo_data_files().
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 635 of file UoToolMain.cpp.
References Pol::Core::groundheight(), INFO_PRINT, Pol::Core::USTRUCT_POL_MAPINFO_BLOCK::walkok, and Pol::Core::USTRUCT_POL_MAPINFO_BLOCK::z.
Referenced by Pol::UoTool::UoToolMain::main().
|
static |
Definition at line 672 of file UoToolMain.cpp.
References Pol::Core::clear_tiledata(), INFO_PRINT, Pol::Core::open_uo_data_files(), and Pol::Core::read_uo_data().
|
static |
Definition at line 573 of file UoToolMain.cpp.
References Pol::Core::clear_tiledata(), Pol::Core::getmapinfo(), INFO_PRINT, Pol::Core::open_uo_data_files(), Pol::Core::read_uo_data(), Pol::Core::ZCOORD_MAX, and Pol::Core::ZCOORD_MIN.
Referenced by Pol::UoTool::UoToolMain::main().
unsigned char Pol::UoTool::buffer[10000] |
Definition at line 109 of file UoToolMain.cpp.
Referenced by Pol::Module::PolCore::call_method(), Pol::Network::PacketWriterDefs::EmptyBufferTemplate< _id, _size >::EmptyBufferTemplate(), Pol::Plib::RawMap::load_full_map(), 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(), Pol::Bscript::EScriptProgram::read_dbg_file(), Pol::Bscript::EScriptProgram::read_globalvarnames(), Pol::Clib::BinaryFile::ReadVector(), Pol::Core::PolService::Run(), Pol::Clib::Logging::LogSinkGenericFile::test_for_rollover(), and Pol::Core::BinFile::Write().
int Pol::UoTool::keyid[] |
Definition at line 55 of file UoToolMain.cpp.
|
static |
Definition at line 1194 of file UoToolMain.cpp.
Referenced by main().
|
static |
Definition at line 1195 of file UoToolMain.cpp.
Referenced by main().