Pol  Revision:cb584c9
uimport.cpp File Reference
#include "uimport.h"
#include <cerrno>
#include <cstdio>
#include <cstring>
#include <exception>
#include <future>
#include <string>
#include <time.h>
#include "../clib/Program/ProgramConfig.h"
#include "../clib/cfgelem.h"
#include "../clib/cfgfile.h"
#include "../clib/clib.h"
#include "../clib/clib_endian.h"
#include "../clib/esignal.h"
#include "../clib/fileutil.h"
#include "../clib/logfacility.h"
#include "../clib/passert.h"
#include "../clib/rawtypes.h"
#include "../clib/threadhelp.h"
#include "../clib/timer.h"
#include "../plib/systemstate.h"
#include "accounts/accounts.h"
#include "containr.h"
#include "fnsearch.h"
#include "gameclck.h"
#include "globals/network.h"
#include "globals/object_storage.h"
#include "globals/settings.h"
#include "globals/state.h"
#include "globals/uvars.h"
#include "item/item.h"
#include "item/itemdesc.h"
#include "loaddata.h"
#include "mobile/charactr.h"
#include "mobile/npc.h"
#include "multi/house.h"
#include "multi/multi.h"
#include "objecthash.h"
#include "poltype.h"
#include "polvar.h"
#include "resource.h"
#include "savedata.h"
#include "servdesc.h"
#include "startloc.h"
#include "storage.h"
#include "ufunc.h"
#include "uobject.h"
#include "uworld.h"

Go to the source code of this file.

Namespaces

 Pol
 
 Pol::Core
 
 Pol::Module
 

Macros

#define USE_PARENT_CONTS   1
 

Typedefs

typedef std::stack< UContainer * > Pol::Core::ContStack
 

Functions

bool Pol::Core::commit (const std::string &basename)
 
void Pol::Module::commit_datastore ()
 
std::string Pol::Core::elapsed (clock_t start, clock_t end)
 
Items::Item * Pol::Core::find_existing_item (u32 objtype, u16 x, u16 y, s8 z, Realms::Realm *realm)
 
void Pol::Core::import (Clib::ConfigElem &elem)
 
void Pol::Core::import_new_data ()
 
void Pol::Core::read_character (Clib::ConfigElem &elem)
 
int Pol::Core::read_data ()
 
void Pol::Module::read_datastore_dat ()
 
void Pol::Core::read_gameservers ()
 
void Pol::Core::read_global_item (Clib::ConfigElem &elem, int)
 
void Pol::Core::read_guilds_dat ()
 
Items::Item * Pol::Core::read_item (Clib::ConfigElem &elem)
 
void Pol::Core::read_items_dat ()
 
void Pol::Core::read_multi (Clib::ConfigElem &elem)
 
void Pol::Core::read_multis_dat ()
 
void Pol::Core::read_npc (Clib::ConfigElem &elem)
 
void Pol::Core::read_npcequip_dat ()
 
void Pol::Core::read_npcs_dat ()
 
void Pol::Core::read_objects_dat ()
 
void Pol::Core::read_party_dat ()
 
void Pol::Core::read_pcequip_dat ()
 
void Pol::Core::read_pcs_dat ()
 
void Pol::Core::read_pol_dat ()
 
void Pol::Core::read_shadow_realms (Clib::ConfigElem &elem)
 
void Pol::Core::read_starting_locations ()
 
void Pol::Core::read_storage_dat ()
 
void Pol::Core::read_system_vars (Clib::ConfigElem &elem)
 
void Pol::Core::rename_dat_files ()
 
void Pol::Core::rndat (const std::string &basename)
 
bool Pol::Core::should_write_data ()
 
void Pol::Core::slurp (const char *filename, const char *tags, int sysfind_flags=0)
 
void Pol::Core::write_characters (SaveContext &sc)
 
int Pol::Core::write_data (unsigned int &dirty_writes, unsigned int &clean_writes, long long &elapsed_ms)
 
void Pol::Module::write_datastore (Clib::StreamWriter &sw)
 
void Pol::Core::write_global_properties (Clib::StreamWriter &sw)
 
void Pol::Core::write_guilds (Clib::StreamWriter &sw)
 
void Pol::Core::write_items (Clib::StreamWriter &sw_items)
 
void Pol::Core::write_multis (Clib::StreamWriter &ofs)
 
void Pol::Core::write_npcs (SaveContext &sc)
 
void Pol::Core::write_party (Clib::StreamWriter &sw)
 
void Pol::Core::write_shadow_realms (Clib::StreamWriter &sw)
 
void Pol::Core::write_system_data (Clib::StreamWriter &sw)
 
void Pol::Core::WriteGottenItem (Mobile::Character *chr, Items::Item *item, Clib::StreamWriter &sw)
 

Variables

int Pol::Core::dupe_count
 
int Pol::Core::import_count
 
static ContStack Pol::Core::parent_conts
 

Detailed Description

History
  • 2005/01/23 Shinigami: for_all_mobiles, write_items & write_multis - Tokuno MapDimension doesn't fit blocks of 64x64 (WGRID_SIZE)
  • 2007/06/17 Shinigami: added config.world_data_path
  • 2009/09/03 MuadDib: Relocation of account related cpp/h Relocation of multi related cpp/h
  • 2009/09/14 MuadDib: All UOX3 Import Code commented out. You can script this.
  • 2009/12/02 Turley: added config.max_tile_id - Tomi
  • 2011/11/28 MuadDib: Removed last of uox referencing code.

Definition in file uimport.cpp.

Macro Definition Documentation

#define USE_PARENT_CONTS   1

Definition at line 210 of file uimport.cpp.