Pol  Revision:cb584c9
resource.cpp File Reference
#include "resource.h"
#include "../bscript/berror.h"
#include "../clib/cfgelem.h"
#include "../clib/cfgfile.h"
#include "../clib/fileutil.h"
#include "../clib/logfacility.h"
#include "../clib/passert.h"
#include "../clib/random.h"
#include "../clib/streamsaver.h"
#include "../plib/maptile.h"
#include "../plib/systemstate.h"
#include "globals/state.h"
#include "globals/uvars.h"
#include "item/itemdesc.h"
#include "polcfg.h"
#include "polclock.h"
#include "polsig.h"
#include "realms/realm.h"

Go to the source code of this file.

Namespaces

 Pol
 
 Pol::Core
 

Functions

void Pol::Core::clean_resources ()
 
void Pol::Core::count_resource_tiles ()
 
ResourceDef * Pol::Core::find_resource_def (const std::string &rname)
 
Bscript::BObjectImp * Pol::Core::get_harvest_difficulty (const char *resource, xcoord x, ycoord y, Realms::Realm *realm, unsigned short marker)
 
Bscript::BObjectImp * Pol::Core::get_region_string (const char *resource, xcoord x, ycoord y, Realms::Realm *realm, const std::string &propname)
 
Bscript::BObjectImp * Pol::Core::harvest_resource (const char *resource, xcoord x, ycoord y, Realms::Realm *realm, int b, int n)
 
void Pol::Core::load_resource_cfg ()
 
void Pol::Core::read_global_data (Clib::ConfigElem &elem)
 
void Pol::Core::read_region_data (Clib::ConfigElem &elem)
 
void Pol::Core::read_resource_cfg (const char *resource)
 
void Pol::Core::read_resources_dat ()
 
void Pol::Core::regen_resources ()
 
void Pol::Core::write_resources_dat (Clib::StreamWriter &sw_resource)
 

Detailed Description

History
  • 2007/06/17 Shinigami: added config.world_data_path

Definition in file resource.cpp.