Pol  Revision:cb584c9
equipmnt.cpp File Reference
#include "equipmnt.h"
#include <stddef.h>
#include "../../clib/cfgelem.h"
#include "../../clib/cfgfile.h"
#include "../../clib/clib_endian.h"
#include "../../clib/fileutil.h"
#include "../../clib/passert.h"
#include "../../clib/random.h"
#include "../../clib/streamsaver.h"
#include "../../plib/pkg.h"
#include "../../plib/systemstate.h"
#include "../equipdsc.h"
#include "../globals/object_storage.h"
#include "../globals/state.h"
#include "../globals/uvars.h"
#include "../layers.h"
#include "../mobile/charactr.h"
#include "../tooltips.h"
#include "../ufunc.h"
#include "armor.h"
#include "item.h"
#include "itemdesc.h"
#include "weapon.h"

Go to the source code of this file.

Namespaces

 Pol
 
 Pol::Items
 

Functions

void Pol::Items::allocate_intrinsic_equipment_serials ()
 Deferred allocator for serials during startup, see comments in register_intrinsic_equipment() More...
 
Equipment * Pol::Items::find_intrinsic_equipment (const std::string &name, u8 layer)
 Looks up for an existing intrinsic equipment and return it or nullptr if not found. More...
 
void Pol::Items::insert_intrinsic_equipment (const std::string &name, Equipment *equip)
 Adds a new intrisinc equipment to the map of known ones. More...
 
void Pol::Items::load_npc_intrinsic_equip ()
 Recreates intrinsic equipment for defined NPCs must be called at startup. More...
 
void Pol::Items::register_intrinsic_equipment (const std::string &name, Equipment *equip)
 Must be called when a new intrinsic equipment is created. More...
 

Detailed Description

History
  • 2007/03/28 Shinigami: added increv() to Equipment::reduce_hp_from_hit

Definition in file equipmnt.cpp.