Pol  Revision:cb584c9
Pol::Core Namespace Reference

Classes

struct  ArmorZone
 
class  AStarBlockers
 
struct  AttributeFlags
 
class  BBinaryfile
 
class  BinFile
 
class  BPacket
 
class  BSQLConnection
 
class  BSQLResultSet
 
class  BSQLRow
 
class  BXmlAttribute
 
class  BXMLAttributeIterator
 
class  BXMLfile
 
class  BXmlNode
 
class  BXMLNodeIterator
 
struct  can_be_used_in_variant
 
struct  CH_ADD
 
struct  CH_ADD_MULTI
 
struct  CH_DELETE_ROOF
 
struct  CH_ERASE
 
struct  CH_SELECT_FLOOR
 
struct  CH_SELECT_ROOF
 
class  Checkpoint
 
class  CmdLevel
 
struct  CombatConfig
 
class  ConfigurationBuffer
 
class  ConsoleCommand
 
class  Coordinate
 
class  CPropProfiler
 
struct  Cursors
 
struct  CUSTOM_HOUSE_DATA_TYPE0
 
struct  CUSTOM_HOUSE_DATA_TYPE1
 
struct  CUSTOM_HOUSE_DATA_TYPE2
 
struct  CUSTOM_HOUSE_PLANE
 
struct  CUSTOM_HOUSE_PLANE_BUFFER
 
class  DebugClientThread
 
class  DebugContext
 
class  DebugContextObjImp
 
class  delete_ob
 
class  Dice
 
class  DynamicPropsHolder
 
class  DynProps
 
struct  ElementDamages
 
class  EquipDesc
 
class  ExportedFunction
 
class  ExportScript
 
struct  ExternalObject
 
struct  ExtStatBarFollowers
 
struct  FIGHT_BOOK_ABILITY
 
struct  FilterImp
 
class  FullMsgTargetCursor
 
class  GameState
 
class  Guild
 
class  ItemsVector
 
class  JusticeRegion
 
struct  LandTile
 
class  LightRegion
 
class  ListenPoint
 
class  LosCheckedCoordCursor
 
class  LosCheckedTargetCursor
 
class  LosObj
 
class  Map
 
class  MemoryUsage
 
class  Menu
 
class  MenuItem
 
class  MessageTypeFilter
 
struct  MobileTranslate
 
struct  MoveDelta
 
struct  MovementCost
 
struct  MovementCostMod
 
class  MultiPlacementCursor
 
class  MusicRegion
 
class  NetworkManager
 
class  NoCastRegion
 
class  NoLosCharacterCursor
 
class  NoLosCheckedTargetCursor
 
class  NoLosUObjectCursor
 
class  NpcTemplate
 
class  NpcTemplateConfigSource
 
class  NpcTemplateElem
 
class  ObjectHash
 
class  ObjectStorageManager
 
class  OneShotTask
 
class  OneShotTaskInst
 
class  Party
 
struct  Party_Cfg
 
class  PeriodicTask
 
struct  PinPoint
 
struct  PKTBI_22_APPROVED
 
struct  PKTBI_22_SYNC
 
struct  PKTBI_2C
 
struct  PKTBI_3A_LOCKS
 
struct  PKTBI_3A_VALUES
 
struct  PKTBI_3B
 
struct  PKTBI_56
 
struct  PKTBI_66
 
struct  PKTBI_6C
 
struct  PKTBI_6F
 
struct  PKTBI_71
 
struct  PKTBI_72
 
struct  PKTBI_73
 
struct  PKTBI_93
 
struct  PKTBI_95
 
struct  PKTBI_98_IN
 
struct  PKTBI_99
 
struct  PKTBI_9A
 
struct  PKTBI_B8_IN
 
struct  PKTBI_B8_IN_REQUEST
 
struct  PKTBI_B8_IN_UPDATE
 
struct  PKTBI_BB
 
struct  PKTBI_BD
 
struct  PKTBI_BF
 
struct  PKTBI_BF_04
 
struct  PKTBI_BF_05
 
struct  PKTBI_BF_06
 
struct  PKTBI_BF_06_01_IN
 
struct  PKTBI_BF_06_02_IN
 
struct  PKTBI_BF_06_03
 
struct  PKTBI_BF_06_04_IN
 
struct  PKTBI_BF_06_06
 
struct  PKTBI_BF_06_08
 
struct  PKTBI_BF_06_09
 
struct  PKTBI_BF_0F
 
struct  PKTBI_BF_10
 
struct  PKTBI_BF_14
 
struct  PKTBI_BF_14_ENTRIES
 
struct  PKTBI_BF_15
 
struct  PKTBI_BF_16
 
struct  PKTBI_BF_17
 
struct  PKTBI_BF_19
 
struct  PKTBI_BF_1A
 
struct  PKTBI_BF_1C
 
struct  PKTBI_BF_1E
 
struct  PKTBI_BF_24_UNKNOWN
 
struct  PKTBI_BF_2A_RESULT
 
struct  PKTBI_BF_32
 
struct  PKTBI_BF_RACE_CHANGER_RESULT
 
struct  PKTBI_C2
 
struct  PKTBI_C8
 
struct  PKTBI_D1
 
struct  PKTBI_D6_IN
 
struct  PKTBI_D7
 
struct  PKTIN_00
 
struct  PKTIN_01
 
struct  PKTIN_02
 
struct  PKTIN_03
 
struct  PKTIN_04
 
struct  PKTIN_05
 
struct  PKTIN_06
 
struct  PKTIN_07
 
struct  PKTIN_08_V1
 
struct  PKTIN_08_V2
 
struct  PKTIN_09
 
struct  PKTIN_12
 
struct  PKTIN_13
 
struct  PKTIN_1E
 
struct  PKTIN_34
 
struct  PKTIN_5D
 
struct  PKTIN_75
 
struct  PKTIN_7D
 
struct  PKTIN_80
 
struct  PKTIN_83
 
struct  PKTIN_8D
 
struct  PKTIN_91
 
struct  PKTIN_9B
 
struct  PKTIN_9F
 
struct  PKTIN_A0
 
struct  PKTIN_A4
 
struct  PKTIN_A7
 
struct  PKTIN_AC
 
struct  PKTIN_AD
 
struct  PKTIN_B1
 
struct  PKTIN_B5
 
struct  PKTIN_B6
 
struct  PKTIN_D9
 
struct  PKTIN_E1
 
struct  PKTIN_E4
 
struct  PKTIN_EF
 
struct  PKTIN_F8
 
struct  PKTNI_3D
 
struct  PKTNI_40
 
struct  PKTNI_45
 
struct  PKTNI_46
 
struct  PKTNI_47
 
struct  PKTNI_48
 
struct  PKTNI_49
 
struct  PKTNI_4A
 
struct  PKTNI_4B
 
struct  PKTNI_4C
 
struct  PKTNI_4D
 
struct  PKTNI_50
 
struct  PKTNI_51
 
struct  PKTNI_52
 
struct  PKTNI_57
 
struct  PKTNI_58
 
struct  PKTNI_59
 
struct  PKTNI_5A
 
struct  PKTNI_5C
 
struct  PKTNI_5E
 
struct  PKTNI_5F
 
struct  PKTNI_60
 
struct  PKTNI_61
 
struct  PKTNI_62
 
struct  PKTNI_63
 
struct  PKTNI_64
 
struct  PKTOUT_1A_D
 
struct  PKTOUT_1F
 
struct  PKTOUT_23
 
struct  PKTOUT_26
 
struct  PKTOUT_28
 
struct  PKTOUT_2A
 
struct  PKTOUT_2B
 
struct  PKTOUT_30
 
struct  PKTOUT_31
 
struct  PKTOUT_32
 
struct  PKTOUT_33
 
struct  PKTOUT_36
 
struct  PKTOUT_3E
 
struct  PKTOUT_3F
 
struct  PKTOUT_41
 
struct  PKTOUT_42
 
struct  PKTOUT_43
 
struct  PKTOUT_44
 
struct  PKTOUT_4E
 
struct  PKTOUT_5B
 
struct  PKTOUT_86
 
struct  PKTOUT_86_CHARACTERS
 
struct  PKTOUT_97
 
struct  PKTOUT_9C
 
struct  PKTOUT_A9
 
struct  PKTOUT_BC
 
struct  PKTOUT_C0
 
struct  PKTOUT_C4
 
struct  PKTOUT_D8
 
class  PolClockPauser
 
struct  PolConfig
 
class  PolLock
 
class  PolLock2
 
class  PolService
 
struct  PolSig
 
class  PolStats
 
class  PolTimer
 
class  PolVar
 
struct  ProfileVars
 
class  PropertyList
 
class  PropHolder
 
class  PropHolderContainer
 
class  Region
 
class  RegionGroup
 
class  RegionGroupBase
 
struct  RepSys_Cfg
 
class  RepSystem
 
struct  Resistances
 
class  ResourceDef
 
class  ResourceRegion
 
class  ResultWrapper
 
class  SaveContext
 
class  SchComparer
 
class  ScheduledTask
 
class  ScriptDef
 
class  ScriptExObjImp
 
class  ScriptScheduler
 
class  SerialSet
 
class  ServerDescription
 
struct  ServSpecOpt
 
class  SettingsManager
 
struct  SkillStatCap
 
class  Spellbook
 
class  SpellCircle
 
class  SpellTask
 
class  SQLService
 
class  StartingLocation
 
class  StateManager
 
struct  StaticRec
 
class  Storage
 
class  StorageArea
 
class  StorageAreaImp
 
class  StorageAreaIterator
 
class  StorageAreasImp
 
class  StorageAreasIterator
 
class  StoredConfigElem
 
class  StoredConfigFile
 
struct  SVR_KEYDESC
 
class  SystemHooks
 
class  TargetCursor
 
class  TaskScheduler
 
class  Tile
 
struct  TileData
 
struct  TRANSLATION
 
class  UContainer
 
class  UCorpse
 
class  UDoor
 
class  ULockable
 
class  ULWObject
 
struct  UObjCount
 
class  UObject
 
class  UoClientGeneral
 
class  UoClientListener
 
class  UoClientProtocol
 
class  UoClientThread
 
class  UOExecutor
 
class  UOPathState
 
class  UOSkill
 
class  USpell
 
class  USpellParams
 
class  USpellScroll
 
struct  USTRUCT_IDX
 
struct  USTRUCT_LAND_TILE
 
struct  USTRUCT_LAND_TILE_HSA
 
struct  USTRUCT_MAPINFO
 
struct  USTRUCT_MAPINFO_BLOCK
 
struct  USTRUCT_MULTI_ELEMENT
 
struct  USTRUCT_MULTI_ELEMENT_HSA
 
struct  USTRUCT_MULTI_HEADER
 
struct  USTRUCT_POL_MAPINFO_BLOCK
 
struct  USTRUCT_STATIC
 
struct  USTRUCT_STATIC_BUFFER
 
struct  USTRUCT_TILE
 
struct  USTRUCT_TILE_HSA
 
struct  USTRUCT_VERSION
 
struct  ValueModPack
 
struct  VerdataIndexes
 
class  Vital
 
struct  Watch
 
class  WeatherDef
 
class  WeatherRegion
 
class  wordicmp
 
struct  WorldIterator
 
class  WornItemsContainer
 
struct  XmitBuffer
 
struct  Zone
 

Typedefs

typedef ref_ptr< Accounts::AccountAccountRef
 
typedef std::vector< AccountRefAccountsVector
 
typedef std::vector< ArmorZoneArmorZones
 
typedef std::map< std::string, Mobile::Attribute *, Clib::ci_cmp_predAttributesByName
 
typedef std::map< u16, Multi::BoatShape * > BoatShapes
 
typedef std::map< std::string, ConfigFileRefCfgFiles
 
typedef ref_ptr< Mobile::CharacterCharacterRef
 
typedef std::vector< Network::Client * > Clients
 
typedef std::vector< Core::CmdLevelCmdLevels
 
typedef ref_ptr< StoredConfigFileConfigFileRef
 
typedef std::stack< UContainer * > ContStack
 
typedef std::map< std::string, Module::DataStoreFile *, Clib::ci_cmp_predDataStore
 
typedef BApplicObj< ref_ptr< DebugContext > > DebugContextObjImpBase
 
typedef std::multimap< pol_serial_t, UObject * > DeferList
 
typedef std::deque< UOExecutor * > ExecList
 
typedef unsigned int gameclock_t
 
typedef ref_ptr< GuildGuildRef
 
typedef std::map< unsigned int, GuildRefGuilds
 
typedef std::multimap< Core::polclock_t, Core::UOExecutor * > HoldList
 
typedef std::map< NameAndLayer, Items::Equipment * > IntrinsicEquipments
 
typedef FilterImp< FilterType::ItemItemFilter
 
typedef ref_ptr< Items::ItemItemRef
 
typedef RegionGroup< JusticeRegionJusticeDef
 
typedef RegionGroup< LightRegionLightDef
 
typedef std::map< UOExecutor *, ListenPoint * > ListenPoints
 
typedef FilterImp< FilterType::MobileMobileFilter
 
typedef FilterImp< FilterType::MultiMultiFilter
 
typedef RegionGroup< MusicRegionMusicDef
 
typedef std::pair< std::string, u8NameAndLayer
 
typedef RegionGroup< NoCastRegionNoCastDef
 
typedef std::set< UOExecutor * > NoTimeoutHoldList
 
typedef FilterImp< FilterType::NPCNPCFilter
 
typedef ref_ptr< Mobile::NPCNpcRef
 
typedef std::map< std::string, NpcTemplate * > NpcTemplates
 
typedef std::map< std::string, NpcTemplateElem, Clib::ci_cmp_predNpcTemplatesElems
 
typedef std::map< std::string, u32, Clib::ci_cmp_predObjtypeByNameMap
 
typedef std::vector< std::string > OldCfgFiles
 
typedef std::map< unsigned int, unsigned int > OldObjtypeConversions
 
typedef FilterImp< FilterType::OnlinePlayerOnlinePlayerFilter
 
typedef void(* ParamTextCmdFunc) (Network::Client *, const char *)
 
typedef std::map< std::string, ParamTextCmdFunc, wordicmpParamTextCmds
 
typedef std::vector< PartyRefParties
 
typedef ref_ptr< PartyPartyRef
 
typedef std::map< unsigned int, UOExecutor * > PidList
 
typedef FilterImp< FilterType::PlayerPlayerFilter
 
typedef u16 pol_objtype_t
 
typedef u32 pol_serial_t
 
typedef int polclock_base_type
 
typedef int polclock_t
 
typedef int polticks_t
 
typedef std::set< std::string > PropSet
 
typedef std::vector< std::string > QueryParam
 
typedef std::shared_ptr< QueryParamQueryParams
 
typedef unsigned short RegionId
 
typedef std::shared_ptr< ResultWrapperRES_WRAPPER
 
typedef std::map< std::string, ResourceDef * > ResourceDefs
 
typedef weak_ptr< UOExecutorScriptExPtr
 
typedef std::map< std::string, ref_ptr< Bscript::EScriptProgram >, Clib::ci_cmp_predScriptStorage
 
typedef std::unordered_map< pol_serial_t, unsigned > SerialIndexMap
 
typedef std::vector< ServerDescription * > Servers
 
typedef std::vector< StartingLocation * > StartingLocations
 
typedef std::map< unsigned int, unsigned int > StaticDifBlockIndex
 
typedef std::vector< StaticRecStaticList
 
typedef std::priority_queue< ScheduledTask *, std::vector< ScheduledTask * >, SchComparerTaskQueue
 
typedef void(* TextCmdFunc) (Network::Client *)
 
typedef std::map< std::string, TextCmdFunc, Clib::ci_cmp_predTextCmds
 
typedef HoldList::iterator TimeoutHandle
 
typedef ref_ptr< UObjectUObjectRef
 
typedef boost::variant< u8, u16, u32, s8, s16, s32, ValueModPack, SkillStatCap, ExtStatBarFollowers, gameclock_tvariant_storage
 
typedef std::map< std::string, Vital *, Clib::ci_cmp_predVitalsByName
 
typedef unsigned short xcoord
 
typedef unsigned short ycoord
 
typedef short zcoord
 
typedef std::vector< Mobile::Character * > ZoneCharacters
 
typedef std::vector< Items::Item * > ZoneItems
 
typedef std::vector< Multi::UMulti * > ZoneMultis
 

Enumerations

enum  DIRECTION_FLAG_OLD { BACKWARD = 1, FORWARD = 0 }
 
enum  DynPropTypes : u8 {
  PROP_AR_MOD = 0, PROP_MAX_ITEMS_MOD = 1, PROP_MAX_SLOTS_MOD = 2, PROP_MAX_WEIGHT_MOD = 3,
  PROP_SELLPRICE = 4, PROP_BUYPRICE = 5, PROP_MAXHP_MOD = 6, PROP_NAME_SUFFIX = 7,
  PROP_RESIST_FIRE = 8, PROP_RESIST_COLD = 9, PROP_RESIST_ENERGY = 10, PROP_RESIST_POISON = 11,
  PROP_RESIST_PHYSICAL = 12, PROP_DAMAGE_FIRE = 13, PROP_DAMAGE_COLD = 14, PROP_DAMAGE_ENERGY = 15,
  PROP_DAMAGE_POISON = 16, PROP_DAMAGE_PHYSICAL = 17, PROP_DMG_MOD = 18, PROP_SPEED_MOD = 19,
  PROP_ORIG_RESIST_FIRE = 20, PROP_ORIG_RESIST_COLD = 21, PROP_ORIG_RESIST_ENERGY = 22, PROP_ORIG_RESIST_POISON = 23,
  PROP_ORIG_RESIST_PHYSICAL = 24, PROP_ORIG_DAMAGE_FIRE = 25, PROP_ORIG_DAMAGE_COLD = 26, PROP_ORIG_DAMAGE_ENERGY = 27,
  PROP_ORIG_DAMAGE_POISON = 28, PROP_ORIG_DAMAGE_PHYSICAL = 29, PROP_STATCAP_SKILLCAP = 30, PROP_EXT_STATBAR_LUCK = 31,
  PROP_EXT_STATBAR_FOLLOWERS = 32, PROP_EXT_STATBAR_TITHING = 33, PROP_MOVEMENTCOST_MOD = 34, PROP_QUALITY = 35,
  PROP_DOUBLECLICK_WAIT = 36, PROP_DISABLE_SKILLS_UNTIL = 37, PROP_SQUELCHED_UNTIL = 38, PROP_DEAFENED_UNTIL = 39,
  PROP_LIGHTOVERRIDE_UNTIL = 40, PROP_LIGHTOVERRIDE = 41, PROP_TITLE_PREFIX = 42, PROP_TITLE_SUFFIX = 43,
  PROP_TITLE_GUILD = 44, PROP_TITLE_RACE = 45, PROP_SPEECH_COLOR = 46, PROP_SPEECH_FONT = 47,
  PROP_CARRY_CAPACITY_MOD = 48, PROP_DELAY_MOD = 49, PROP_HITCHANCE_MOD = 50, PROP_EVASIONCHANCE_MOD = 51,
  PROP_PARTY = 52, PROP_PARTY_CANDIDATE = 53, PROP_PARTY_OFFLINE = 54, PROP_GUILD = 55,
  PROP_GOTTEN_BY = 56, PROP_GOTTEN_ITEM = 57, PROP_PROCESS = 58, PROP_HOUSE = 59,
  PROP_FLAG_SIZE
}
 
enum  ElementalType {
  ELEMENTAL_TYPE_MAX = 0x4, ELEMENTAL_FIRE = 0x0, ELEMENTAL_COLD = 0x1, ELEMENTAL_ENERGY = 0x2,
  ELEMENTAL_POISON = 0x3, ELEMENTAL_PHYSICAL = 0x4
}
 
enum  EVENTID {
  EVID_SPOKE = 0x0001, EVID_ENGAGED = 0x0002, EVID_DISENGAGED = 0x0004, EVID_DAMAGED = 0x0008,
  EVID_ENTEREDAREA = 0x0010, EVID_LEFTAREA = 0x0020, EVID_OPPONENT_MOVED = 0x0040, EVID_HOSTILE_MOVED = 0x0080,
  EVID_MERCHANT_BOUGHT = 0x0100, EVID_MERCHANT_SOLD = 0x0200, EVID_ITEM_GIVEN = 0x0400, EVID_DOUBLECLICKED = 0x0800,
  EVID_GHOST_SPEECH = 0x1000, EVID_GONE_CRIMINAL = 0x2000, EVID_TOKEN_SPOKE = 0x4000, EVID_TOKEN_GHOST_SPOKE = 0x8000
}
 
enum  FilterType {
  FilterType::Mobile, FilterType::Player, FilterType::OnlinePlayer, FilterType::NPC,
  FilterType::Item, FilterType::Multi
}
 
enum  LAYER_DETAILED {
  LAYER_HAND1 = 1, LAYER_HAND2 = 2, LAYER_SHOES = 3, LAYER_PANTS = 4,
  LAYER_SHIRT = 5, LAYER_HAT = 6, LAYER_GLOVES = 7, LAYER_RING = 8,
  LAYER_TALISMAN = 9, LAYER_GORGET = 10, LAYER_HAIR = 11, LAYER_HALFAPRON = 12,
  LAYER_CHEST_ARMOR = 13, LAYER_BRACELET = 14, LAYER_FACE = 15, LAYER_BEARD = 16,
  LAYER_TUNIC = 17, LAYER_EARRINGS = 18, LAYER_ARM_ARMOR = 19, LAYER_CLOAK = 20,
  LAYER_BACKPACK = 21, LAYER_ROBE_DRESS = 22, LAYER_SKIRT = 23, LAYER_LEG_ARMOR = 24,
  LAYER_MOUNT = 25
}
 
enum  LAYER_INFO {
  LOWEST_LAYER = 1, LAYER_EQUIP__LOWEST = 1, HIGHEST_LAYER = 25, NUM_LAYERS = 25,
  LAYER_EQUIP__HIGHEST = 25, LAYER_BANKBOX = 29
}
 
enum  MOVEMODE : u8 {
  MOVEMODE_NONE = 0, MOVEMODE_LAND = 1, MOVEMODE_SEA = 2, MOVEMODE_AIR = 4,
  MOVEMODE_FLY = 8
}
 
enum  OBJ_FLAGS : u16 {
  OBJ_FLAGS::DIRTY = 1 << 0, OBJ_FLAGS::SAVE_ON_EXIT = 1 << 1, OBJ_FLAGS::NEWBIE = 1 << 2, OBJ_FLAGS::INSURED = 1 << 3,
  OBJ_FLAGS::MOVABLE = 1 << 4, OBJ_FLAGS::IN_USE = 1 << 5, OBJ_FLAGS::INVISIBLE = 1 << 6, OBJ_FLAGS::LOCKED = 1 << 7,
  OBJ_FLAGS::CONTENT_TO_GRAVE = 1 << 8, OBJ_FLAGS::NO_DROP = 1 << 9, OBJ_FLAGS::NO_DROP_EXCEPTION = 1 << 10
}
 
enum  PKTBOTHID : unsigned char {
  PKTBI_22_APPROVED_ID = 0x22, PKTBI_22_SYNC_ID = 0x22, PKTBI_2C_ID = 0x2C, PKTBI_3A_ID = 0x3A,
  PKTBI_3A_VALUES_ID = 0x3A, PKTBI_3A_LOCKS_ID = 0x3A, PKTBI_3A_CAPS_ID = 0x3A, PKTBI_3B_ID = 0x3B,
  PKTBI_56_ID = 0x56, PKTBI_66_ID = 0x66, PKTBI_6C_ID = 0x6C, PKTBI_6F_ID = 0x6F,
  PKTBI_71_ID = 0x71, PKTBI_72_ID = 0x72, PKTBI_73_ID = 0x73, PKTBI_93_ID = 0x93,
  PKTBI_95_ID = 0x95, PKTBI_98_IN_ID = 0x98, PKTBI_98_OUT_ID = 0x98, PKTBI_99_ID = 0x99,
  PKTBI_9A_ID = 0x9A, PKTBI_B8_IN_ID = 0xB8, PKTBI_B8_OUT_ID = 0xB8, PKTBI_BB_ID = 0xBB,
  PKTBI_BD_ID = 0xBD, PKTBI_BF_ID = 0xBF, PKTBI_C2_ID = 0xC2, PKTBI_C8_ID = 0xC8,
  PKTBI_D1_ID = 0xD1, PKTBI_D6_OUT_ID = 0xD6, PKTBI_D6_IN_ID = 0xD6, PKTBI_D7_ID = 0xD7
}
 
enum  PKTINID {
  PKTIN_00_ID = 0x00, PKTIN_01_ID = 0x01, PKTIN_02_ID = 0x02, PKTIN_03_ID = 0x03,
  PKTIN_04_ID = 0x04, PKTIN_05_ID = 0x05, PKTIN_06_ID = 0x06, PKTIN_07_ID = 0x07,
  PKTIN_08_V1_ID = 0x08, PKTIN_08_V2_ID = 0x08, PKTIN_09_ID = 0x09, PKTIN_12_ID = 0x12,
  PKTIN_13_ID = 0x13, PKTIN_1E_ID = 0x1E, PKTIN_34_ID = 0x34, PKTIN_5D_ID = 0x5D,
  PKTIN_75_ID = 0x75, PKTIN_7D_ID = 0x7D, PKTIN_80_ID = 0x80, PKTIN_83_ID = 0x83,
  PKTIN_8D_ID = 0x8D, PKTIN_91_ID = 0x91, PKTIN_9B_ID = 0x9B, PKTIN_9F_ID = 0x9F,
  PKTIN_A0_ID = 0xA0, PKTIN_A4_ID = 0xA4, PKTIN_A7_ID = 0xA7, PKTIN_AC_ID = 0xAC,
  PKTIN_AD_ID = 0xAD, PKTIN_B1_ID = 0xB1, PKTIN_B5_ID = 0xB5, PKTIN_B6_ID = 0xB6,
  PKTIN_D9_ID = 0xD9, PKTIN_E1_ID = 0xE1, PKTIN_E4_ID = 0xE4, PKTIN_EF_ID = 0xEF,
  PKTIN_F8_ID = 0xF8
}
 
enum  PKTOUTID : unsigned char {
  PKTOUT_0B_ID = 0x0B, PKTOUT_11_ID = 0x11, PKTOUT_17_ID = 0x17, PKTOUT_1A_ID = 0x1A,
  PKTOUT_1B_ID = 0x1B, PKTOUT_1C_ID = 0x1C, PKTOUT_1D_ID = 0x1D, PKTOUT_1F_ID = 0x1F,
  PKTOUT_20_ID = 0x20, PKTOUT_21_ID = 0x21, PKTOUT_23_ID = 0x23, PKTOUT_24_ID = 0x24,
  PKTOUT_25_ID = 0x25, PKTOUT_26_ID = 0x26, PKTOUT_27_ID = 0x27, PKTOUT_28_ID = 0x28,
  PKTOUT_29_ID = 0x29, PKTOUT_2A_ID = 0x2A, PKTOUT_2B_ID = 0x2B, PKTOUT_2D_ID = 0x2D,
  PKTOUT_2E_ID = 0x2E, PKTOUT_2F_ID = 0x2F, PKTOUT_30_ID = 0x30, PKTOUT_31_ID = 0x31,
  PKTOUT_32_ID = 0x32, PKTOUT_33_ID = 0x33, PKTOUT_36_ID = 0x36, PKTOUT_3C_ID = 0x3C,
  PKTOUT_3E_ID = 0x3E, PKTOUT_3F_ID = 0x3F, PKTOUT_41_ID = 0x41, PKTOUT_42_ID = 0x42,
  PKTOUT_43_ID = 0x43, PKTOUT_44_ID = 0x44, PKTOUT_4E_ID = 0x4E, PKTOUT_4F_ID = 0x4F,
  PKTOUT_53_ID = 0x53, PKTOUT_54_ID = 0x54, PKTOUT_55_ID = 0x55, PKTOUT_5B_ID = 0x5B,
  PKTOUT_65_ID = 0x65, PKTOUT_6D_ID = 0x6D, PKTOUT_6E_ID = 0x6E, PKTOUT_70_ID = 0x70,
  PKTOUT_74_ID = 0x74, PKTOUT_76_ID = 0x76, PKTOUT_77_ID = 0x77, PKTOUT_78_ID = 0x78,
  PKTOUT_7C_ID = 0x7C, PKTOUT_82_ID = 0x82, PKTOUT_86_ID = 0X86, PKTOUT_88_ID = 0x88,
  PKTOUT_89_ID = 0x89, PKTOUT_8C_ID = 0x8C, PKTOUT_90_ID = 0x90, PKTOUT_97_ID = 0x97,
  PKTOUT_9C_ID = 0x9C, PKTOUT_9E_ID = 0x9E, PKTOUT_A1_ID = 0xA1, PKTOUT_A2_ID = 0xA2,
  PKTOUT_A3_ID = 0xA3, PKTOUT_A5_ID = 0xA5, PKTOUT_A6_ID = 0xA6, PKTOUT_A8_ID = 0xA8,
  PKTOUT_A9_ID = 0xA9, PKTOUT_AA_ID = 0xAA, PKTOUT_AB_ID = 0xAB, PKTOUT_AE_ID = 0xAE,
  PKTOUT_AF_ID = 0xAF, PKTOUT_B0_ID = 0xB0, PKTOUT_B7_ID = 0xB7, PKTOUT_B9_ID = 0xB9,
  PKTOUT_B9_V2_ID = 0xB9, PKTOUT_BA_ID = 0xBA, PKTOUT_BC_ID = 0xBC, PKTOUT_C0_ID = 0xC0,
  PKTOUT_C1_ID = 0xC1, PKTOUT_C4_ID = 0xC4, PKTOUT_C7_ID = 0xC7, PKTOUT_CC_ID = 0xCC,
  PKTOUT_D8_ID = 0xD8, PKTOUT_DC_ID = 0xDC, PKTOUT_DD_ID = 0xDD, PKTOUT_DF_ID = 0xDF,
  PKTOUT_E2_ID = 0xE2, PKTOUT_E3_ID = 0xE3, PKTOUT_F3_ID = 0xF3, PKTOUT_F5_ID = 0xF5,
  PKTOUT_F6_ID = 0xF6, PKTOUT_F7_ID = 0xF7
}
 
enum  Priority { ToolTipPriorityNone = 0, ToolTipPrioritySystem = 1, ToolTipPriorityScript = 2, ToolTipPriorityShutdown = 3 }
 
enum  REPEAT_FLAG_OLD { REPEAT = 1, NOREPEAT = 0 }
 
enum  UACTION {
  ACTION__LOWEST = 0x00, ACTION_WALK_UNARMED = 0x00, ACTION_WALK_ARMED = 0x01, ACTION_RUN1 = 0x02,
  ACTION_RUN2 = 0x03, ACTION_LOOK_AROUND = 0x05, ACTION_LOOK_DOWN = 0x06, ACTION_WARMODE1 = 0x07,
  ACTION_WARMODE2 = 0x08, ACTION_HUMAN_ATTACK = 0x9, ACTION_HUMAN_ATACK_THRUST = 0x0A, ACTION_HUMAN_ATTACK_BIGSWING = 0x0B,
  ACTION_ATTACK4 = 0x0C, ACTION_ATTACK5 = 0x0D, ACTION_ATTACK6 = 0x0E, ACTION_READY2 = 0x0F,
  ACTION_CAST_SPELL1 = 0x10, ACTION_CAST_SPELL2 = 0x11, ACTION_HUMAN_SHOOT_BOW = 0x12, ACTION_SHOOT_CROSSBOW = 0x13,
  ACTION_GOT_HIT = 0x14, ACTION_STRUCK_DOWN_BACKWARD = 0x15, ACTION_STRUCK_DOWN_FORWARD = 0x16, ACTION_RIDINGHORSE1 = 0x17,
  ACTION_RIDINGHORSE2 = 0x18, ACTION_RIDINGHORSE3 = 0x19, ACTION_RIDINGHORSE4 = 0x1A, ACTION_RIDINGHORSE5 = 0x1B,
  ACTION_RIDINGHORSE6 = 0x1C, ACTION_RIDINGHORSE7 = 0x1D, ACTION_DODGE1 = 0x1E, ACTION_UNKNOWN1 = 0x1F,
  ACTION_BOW = 0x20, ACTION_SALUTE = 0x21, ACTION_EAT = 0x22, ACTION__HIGHEST = 0x22
}
 
enum  UFACING : u8 {
  FACING_N = 0, FACING_NE = 1, FACING_E = 2, FACING_SE = 3,
  FACING_S = 4, FACING_SW = 5, FACING_W = 6, FACING_NW = 7
}
 
enum  UGENDER : u8 { GENDER_MALE = 0, GENDER_FEMALE = 1 }
 
enum  UOBJ_CLASS : u8 {
  UOBJ_CLASS::CLASS_ITEM, UOBJ_CLASS::CLASS_CONTAINER, UOBJ_CLASS::CLASS_CHARACTER, UOBJ_CLASS::CLASS_NPC,
  UOBJ_CLASS::CLASS_WEAPON, UOBJ_CLASS::CLASS_ARMOR, UOBJ_CLASS::CLASS_MULTI, UOBJ_CLASS::INVALID = 0xff
}
 
enum  URACE : u8 { RACE_HUMAN = 0, RACE_ELF = 1, RACE_GARGOYLE = 2 }
 
enum  USKILLID {
  SKILLID__LOWEST = 0, SKILLID__CLIENT_LOWEST = 0, SKILLID_ALCHEMY = 0, SKILLID_ANATOMY = 1,
  SKILLID_ANIMALLORE = 2, SKILLID_ITEMID = 3, SKILLID_ARMSLORE = 4, SKILLID_BATTLE_DEFENSE = 5,
  SKILLID_BEGGING = 6, SKILLID_BLACKSMITHY = 7, SKILLID_BOWCRAFT = 8, SKILLID_PEACEMAKING = 9,
  SKILLID_CAMPING = 10, SKILLID_CARPENTRY = 11, SKILLID_CARTOGRAPHY = 12, SKILLID_COOKING = 13,
  SKILLID_DETECTINGHIDDEN = 14, SKILLID_ENTICEMENT = 15, SKILLID_EVALUATINGINTEL = 16, SKILLID_HEALING = 17,
  SKILLID_FISHING = 18, SKILLID_FORENSICS = 19, SKILLID_HERDING = 20, SKILLID_HIDING = 21,
  SKILLID_PROVOCATION = 22, SKILLID_INSCRIPTION = 23, SKILLID_LOCKPICKING = 24, SKILLID_MAGERY = 25,
  SKILLID_MAGICRESISTANCE = 26, SKILLID_TACTICS = 27, SKILLID_SNOOPING = 28, SKILLID_MUSICIANSHIP = 29,
  SKILLID_POISONING = 30, SKILLID_ARCHERY = 31, SKILLID_SPIRITSPEAK = 32, SKILLID_STEALING = 33,
  SKILLID_TAILORING = 34, SKILLID_TAMING = 35, SKILLID_TASTEID = 36, SKILLID_TINKERING = 37,
  SKILLID_TRACKING = 38, SKILLID_VETERINARY = 39, SKILLID_SWORDSMANSHIP = 40, SKILLID_MACEFIGHTING = 41,
  SKILLID_FENCING = 42, SKILLID_WRESTLING = 43, SKILLID_LUMBERJACKING = 44, SKILLID_MINING = 45,
  SKILLID_MEDITATION = 46, SKILLID_STEALTH = 47, SKILLID_REMOVE_TRAP = 48, SKILLID_NECROMANCY = 49,
  SKILLID_BATTLE_FOCUS = 50, SKILLID_CHIVALRY = 51, SKILLID_BUSHIDO = 52, SKILLID_NINJITSU = 53,
  SKILLID_SPELLWEAVING = 54, SKILLID_MYSTICISM = 55, SKILLID_IMBUING = 56, SKILLID_THROWING = 57,
  SKILLID__CLIENT_HIGHEST = 57, SKILLID__HIGHEST = 57, SKILLID__COUNT
}
 
enum  UTEXTTYPE : u8 {
  TEXTTYPE_NORMAL = 0x00, TEXTTYPE_SYS_BROADCAST = 0x01, TEXTTYPE_EMOTE = 0x02, TEXTTYPE_YOU_SEE = 0x06,
  TEXTTYPE_WHISPER = 0x08, TEXTTYPE_YELL = 0x09
}
 

Functions

bool acct_check (Network::Client *client, int i)
 
void add_candidate (Mobile::Character *member, Mobile::Character *leader)
 
void add_common_exmods (Core::UOExecutor &ex)
 
bool add_item_to_stack (Network::Client *client, Items::Item *item, Items::Item *target_item)
 
void add_item_to_world (Items::Item *item)
 
void add_loaded_item (Items::Item *cont_item, Items::Item *item)
 
void add_multi_to_world (Multi::UMulti *multi)
 
void add_realm (const std::string &name, Realms::Realm *base)
 
static void add_task (ScheduledTask *task)
 
unsigned int base_to_raw (unsigned short base)
 
void broadcast (const char *text, unsigned short font, unsigned short color, unsigned short requiredCmdLevel)
 
void broadcast (const u16 *wtext, const char lang[4], unsigned short font, unsigned short color, unsigned short requiredCmdLevel)
 
void build_owncreate (const Character *chr, PktOut_78 *owncreate)
 
void build_sysmessage_cl (PktOut_C1 *msg, unsigned int cliloc_num, const u16 *arguments, unsigned short font, unsigned short color)
 
void build_sysmessage_cl_affix (PktOut_CC *msg, unsigned int cliloc_num, const char *affix, bool prepend, const u16 *arguments, unsigned short font, unsigned short color)
 
void calc_abs_timeout (struct timespec *ptimeout, unsigned int millis)
 
polclock_t calc_scheduler_clocksleft (polclock_t now)
 
polclock_t calc_script_clocksleft (polclock_t now)
 
void call_chr_scripts (Mobile::Character *chr, const std::string &root_script_ecl, const std::string &pkg_script_ecl, bool offline=false)
 
void call_ondelete_scripts (Mobile::Character *chr)
 
bool call_script (const ScriptDef &script, Bscript::BObjectImp *param0)
 
bool call_script (const ScriptDef &script, Bscript::BObjectImp *param0, Bscript::BObjectImp *param1)
 
bool call_script (const ScriptDef &script, Bscript::BObjectImp *param0, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2)
 
bool call_script (const ScriptDef &script, Bscript::BObjectImp *param0, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3)
 
bool call_script (const ScriptDef &script, Bscript::BObjectImp *param0, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3, Bscript::BObjectImp *param4)
 
bool call_script (const ScriptDef &script, Bscript::BObjectImp *param0, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3, Bscript::BObjectImp *param4, Bscript::BObjectImp *param5)
 
bool call_script (const ScriptDef &script, Bscript::BObjectImp *param0, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3, Bscript::BObjectImp *param4, Bscript::BObjectImp *param5, Bscript::BObjectImp *param6)
 
Bscript::BObjectImpCallPropertyListMethod (PropertyList &proplist, const char *methodname, Bscript::Executor &ex, bool &changed)
 
Bscript::BObjectImpCallPropertyListMethod_id (PropertyList &proplist, const int id, Bscript::Executor &ex, bool &changed)
 
bool can_delete_character (Mobile::Character *chr, int delete_by)
 
bool can_see_on_corpse (const Client *client, const Item *item)
 
void cancel_all_trades ()
 
void cancel_trade (Mobile::Character *chr1)
 
bool CanUseSkill (Network::Client *client)
 
void catch_signals_thread (void)
 
void change_trade_status (Mobile::Character *chr, bool set)
 
void char_select (Network::Client *client, PKTIN_5D *msg)
 
void check_blocked (polclock_t *pclocksleft)
 
void check_character_integrity ()
 
void check_config ()
 
bool check_inactivity (Network::Client *client)
 
void check_incoming_data (void)
 
bool check_item_integrity ()
 
void check_scheduled_tasks (polclock_t *clocksleft, bool *pactivity)
 
void check_scheduled_tasks2 (void)
 
bool check_single_zone_item_integrity (int, int, Realms::Realm *)
 
bool check_verdata (unsigned int file, unsigned int block, const Core::USTRUCT_VERSION *&vrec)
 
void checka (Clib::ConfigElem &elem, UoClientGeneral::Mapping &mapping, const char *tag)
 
void checkpoint (const char *msg, unsigned short minlvl)
 
void checkv (Clib::ConfigElem &elem, UoClientGeneral::Mapping &mapping, const char *tag)
 
Characterchr_from_wornitems (UContainer *wornitems)
 
void clean_resources ()
 
void clean_skills ()
 
void clean_spells ()
 
void clean_vitals ()
 
void clear_listen_points ()
 
void clear_save_index ()
 
void clear_script_profile_counters ()
 
void clear_tiledata ()
 
bool client_io_thread (Network::Client *client, bool login)
 
void ClientCreateChar (Network::Client *client, PKTIN_00 *msg)
 
void ClientCreateChar70160 (Network::Client *client, PKTIN_F8 *msg)
 
void ClientCreateCharKR (Network::Client *client, PKTIN_8D *msg)
 
bool clientHasCharacter (Client *c)
 
void ClrCharacterWorldPosition (Mobile::Character *chr, Realms::WorldChangeReason reason)
 
void ClrItemWorldPosition (Items::Item *item)
 
void combined_thread (void)
 
bool commit (const std::string &basename)
 
bool commit_incremental (const std::string &basename)
 
void commit_incremental_saves ()
 
void config_web_server ()
 
void console_thread (void)
 
BOOL WINAPI control_handler_SystemTray (DWORD dwCtrlType)
 
u16 convert_objtype_to_spellnum (u32 objtype, int school)
 
bool convertArrayToUC (Bscript::ObjArray *&in_text, u16 *out_wtext, size_t textlen, bool ConvToBE, bool nullterm)
 
bool convertUCtoArray (const u16 *in_wtext, Bscript::ObjArray *&out_text, size_t textlen, bool ConvFromBE)
 
Items::Itemcopy_item (const Items::Item *src_item)
 
void CoreSetSysTrayToolTip (const std::string &text, Priority priority)
 
void count_resource_tiles ()
 
BObjectImpcreate_debug_context ()
 
void create_dummy_data ()
 
UOExecutorcreate_full_script_executor ()
 
std::string create_nametags (Mobile::Character *chr)
 
const NpcTemplatecreate_npc_template (const Clib::ConfigElem &elem, const Plib::Package *pkg)
 
UOExecutorcreate_script_executor ()
 
void create_servers ()
 
void create_starting_locations ()
 
void create_stub_accounts ()
 
void createchar2 (Accounts::Account *acct, unsigned index)
 
void CreateEmptyStoredConfigFile (const std::string &filename)
 
Bscript::BObjectImpCreateStorageAreasImp ()
 
unsigned char cvt_8to6 (char ch)
 
void debug_listen_thread (void)
 
void decay_items ()
 
void decay_single_thread (void *arg)
 
void decay_single_zone ()
 
void decay_single_zone (Realms::Realm *realm, unsigned gridx, unsigned gridy, unsigned &wx, unsigned &wy)
 [3] Decay Sweep Each 64x64 tile World Zone is checked for decay approximately once every 10 minutes More...
 
void decay_thread (void *arg)
 
void decay_thread_shadow (void *arg)
 
void decay_worldzone (unsigned wx, unsigned wy, Realms::Realm *realm)
 [1] Item Decay Criteria An Item is allowed to decay if ALL of the following are true: More...
 
std::string decode_base64 (const std::string &b64s)
 
bool decode_page (const std::string &ipage, Plib::Package **ppkg, std::string *pfilename, std::string *ppagetype, std::string *redirect_to)
 
void defer_item_insertion (Items::Item *item, pol_serial_t container_serial)
 
bool defined_realm (const std::string &name)
 
void deinit_ipc_vars ()
 
template<class T >
void Delete (T *p)
 
void delete_character (Accounts::Account *acct, Mobile::Character *chr, int charidx)
 
void deregister_from_speech_events (UOExecutor *uoexec)
 
void deschedule_executor (UOExecutor *ex)
 
void destroy_item (Item *item)
 
BOOL CALLBACK DialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
void disband_party (u32 leader)
 
void display_leftover_objects ()
 
int display_orphan (UObject *o)
 
void display_reftypes ()
 
void display_unreaped_orphan_instances ()
 
void do_cast (Network::Client *client, u16 spellid)
 
bool do_open_trade_window (Network::Client *client, Items::Item *item, Mobile::Character *dropon)
 
bool do_place_item_in_secure_trade_container (Network::Client *client, Items::Item *item, UContainer *cont, Mobile::Character *dropon, u16 x, u16 y, u8 move_type)
 
void doubleclick (Network::Client *client, PKTIN_06 *msg)
 
void drop_item (Network::Client *client, PKTIN_08_V1 *msg)
 
bool drop_item_on_ground (Network::Client *client, Items::Item *item, u16 x, u16 y, s8 z)
 
bool drop_item_on_mobile (Network::Client *client, Items::Item *item, u32 target_serial, u8 slotIndex)
 
bool drop_item_on_object (Network::Client *client, Items::Item *item, u32 target_serial, u8 slotIndex)
 
void drop_item_v2 (Network::Client *client, PKTIN_08_V2 *msg)
 
polclock_t earliest_timer (polclock_t timer1_until, polclock_t timer2_until)
 
std::string elapsed (clock_t start, clock_t end)
 
Bscript::BObjectImpequip_from_template (Mobile::Character *chr, const char *template_name)
 
void equip_item (Network::Client *client, PKTIN_13 *msg)
 
void equip_loaded_item (Mobile::Character *chr, Items::Item *item)
 
void ext_stats_in (Client *client, PKTBI_BF *msg)
 
std::string extractkey (const std::string &istr)
 
Mobile::Characterfind_character (u32 serial)
 
CmdLevelfind_cmdlevel (const char *name)
 
Items::Itemfind_existing_item (u32 objtype, u16 x, u16 y, s8 z, Realms::Realm *realm)
 
UContainerfind_giveitem_container (Items::Item *item_to_add, u8 slotIndex)
 
UContainerfind_legal_container (const Character *chr, u32 serial)
 
Itemfind_legal_item (const Character *chr, u32 serial, bool *additlegal, bool *isRemoteContainer)
 
Items::Itemfind_legal_singleclick_item (Mobile::Character *chr, u32 serial)
 
static void find_missing_char_in_zone (Mobile::Character *chr, Realms::WorldChangeReason reason)
 
const NpcTemplatefind_npc_template (const Clib::ConfigElem &elem)
 
Realms::Realmfind_realm (const std::string &name)
 
ResourceDeffind_resource_def (const std::string &rname)
 
ref_ptr< Bscript::EScriptProgramfind_script (const std::string &name, bool complain_if_not_found, bool cache_script)
 
ref_ptr< Bscript::EScriptProgramfind_script2 (const ScriptDef &script, bool complain_if_not_found, bool cache_script)
 
Items::Itemfind_toplevel_item (u32 serial)
 
UObjectfind_toplevel_object (u32 serial)
 
bool find_uoexec (unsigned int pid, UOExecutor **pp_uoexec)
 
Items::Itemfind_walkon_item (ItemsVector &ivec, short z)
 
CmdLevelFindCmdLevelByAlias (const std::string &str)
 
ConfigFileRef FindConfigFile (const std::string &filename, const std::string &allpkgbase)
 
bool FindEquipTemplate (const char *template_name, Clib::ConfigElem &elem)
 
ExportedFunctionFindExportedFunction (Clib::ConfigElem &elem, const Plib::Package *pkg, const std::string &descriptor, unsigned nargs, bool complain_if_missing)
 
ExportScriptFindExportScript (const ScriptDef &sd)
 
bool FindNpcTemplate (const char *template_name, Clib::ConfigElem &elem)
 
bool FindNpcTemplate (const char *template_name, Clib::ConfigFile &cf, Clib::ConfigElem &elem)
 
bool findstatic (unsigned short x, unsigned short y, unsigned short graphic)
 
VitalFindVital (const std::string &str)
 
VitalFindVital (unsigned vitalid)
 
unsigned char flags_from_tileflags (unsigned int uoflags)
 
bool flags_standable (unsigned int flags)
 
bool flags_swimmable (unsigned int flags)
 
std::string format_description (unsigned int polflags, const std::string &descdef, unsigned short amount, const std::string suffix)
 
std::string full_scriptname (const std::string &spec, const Plib::Package *pkg, const char *mainpfx)
 
u16 Get12BitNumber (u8 *thearray, u16 theindex)
 
std::string get_fileline (EScriptProgram *prog, int filenum, int linenum)
 
Bscript::BObjectImpget_harvest_difficulty (const char *resource, xcoord x, ycoord y, Realms::Realm *realm, unsigned short marker)
 
void get_item (Network::Client *client, PKTIN_07 *msg)
 
int get_mobile_count ()
 
std::string get_page_filename (const std::string &page)
 
std::string get_pagetype (const std::string &page)
 
Bscript::BObjectImpget_region_string (const char *resource, xcoord x, ycoord y, Realms::Realm *realm, const std::string &propname)
 
unsigned get_save_index (pol_serial_t serial)
 
bool get_script_page_filename (const std::string &page, ScriptDef &sd)
 
std::string get_textcmd_help (Mobile::Character *chr, const char *cmd)
 
int get_toplevel_item_count ()
 
bool getAttributeParam (Executor &exec, unsigned param, const Mobile::Attribute *&attr)
 
bool getCharacterOrClientParam (Executor &exec, unsigned param, Mobile::Character *&chrptr, Network::Client *&clientptr)
 
bool getCharacterParam (Bscript::Executor &exec, unsigned param, Mobile::Character *&chrptr)
 
std::string getcmdstr (char ch)
 
Bscript::ObjArrayGetCommandsInPackage (Plib::Package *m_pkg, int cmdlvl_num)
 
u32 GetCurrentCharSerialNumber (void)
 
u32 GetCurrentItemSerialNumber (void)
 
polclock_base_type getCurrentPolClockSeconds ()
 
BObjectImpGetGlobals (const UOExecutor *uoexec)
 
bool getItemParam (Executor &exec, unsigned param, Items::Item *&itemptr)
 
Bscript::BObjectImpGetListenPoints ()
 
void getmapinfo (unsigned short x, unsigned short y, short *z, USTRUCT_MAPINFO *mi)
 
bool getMultiParam (Executor &exec, unsigned param, Multi::UMulti *&multiptr)
 
u32 GetNewItemSerialNumber (void)
 
u32 GetNextSerialNumber (void)
 
int GetNextUTF8 (u8 *bytemsg, int i, u16 &unicodeChar)
 
bool getObjtypeParam (Executor &exec, unsigned param, unsigned int &objtype)
 
bool getObjtypeParam (Executor &exec, unsigned param, const Items::ItemDesc *&itemdesc_out)
 
bool getSkillIdParam (Executor &exec, unsigned param, USKILLID &skillid)
 
bool getUBoatParam (Executor &exec, unsigned param, Multi::UBoat *&boatptr)
 
bool getUObjectParam (Executor &exec, unsigned param, UObject *&objptr)
 
const UOSkillGetUOSkill (unsigned skillid)
 
bool getVitalParam (Executor &exec, unsigned param, const Vital *&vital)
 
Zonegetzone (unsigned short x, unsigned short y, Realms::Realm *realm)
 
bool groundheight (unsigned short x, unsigned short y, short *z)
 
void handle_A4 (Network::Client *, PKTIN_A4 *)
 
void handle_accept_invite (Network::Client *client, PKTBI_BF *msg)
 
void handle_action (Network::Client *client, PKTIN_12 *cmd)
 
void handle_add (Network::Client *client, PKTBI_BF *msg)
 
void handle_add_member_cursor (Mobile::Character *chr, PKTBI_6C *msgin)
 
void handle_allnames (Client *client, PKTBI_98_IN *msg)
 
void handle_aos_commands (Client *client, PKTBI_D7 *msg)
 
void handle_bulletin_boards (Client *client, PKTBI_71 *)
 
void handle_cast_spell (Network::Client *client, PKTIN_12 *msg)
 
void handle_char_profile_request (Client *client, PKTBI_B8_IN *msg)
 
void handle_client_version (Client *client, PKTBI_BD *msg)
 
void handle_D9 (Network::Client *client, PKTIN_D9 *msg)
 
void handle_decline_invite (Network::Client *client, PKTBI_BF *msg)
 
void handle_delete_character (Network::Client *client, PKTIN_83 *msg)
 
void handle_e1_clienttype (Client *client, PKTIN_E1 *msg)
 
void handle_ef_seed (Client *client, PKTIN_EF *msg)
 
void handle_get_tip (Network::Client *client, PKTIN_A7 *msg)
 
void handle_help (Network::Client *client, PKTIN_9B *)
 
void handle_humongous_packet (Network::Client *client, unsigned int reported_size)
 
void handle_HUP (int)
 
void handle_ident_cursor (Mobile::Character *chr, PKTBI_6C *msgin)
 
void handle_keep_alive (Network::Client *client, PKTBI_73 *msg)
 
void handle_loot_perm (Network::Client *client, PKTBI_BF *msg)
 
void handle_map_pin (Network::Client *client, PKTBI_56 *msg)
 
void handle_member_msg (Network::Client *client, PKTBI_BF *msg)
 
void handle_menu_selection (Network::Client *client, PKTIN_7D *msg)
 
void handle_mode_set (Client *client, PKTBI_72 *msg)
 
void handle_msg_B5 (Client *client, PKTIN_B5 *)
 
void handle_msg_BB (Client *client, PKTBI_BB *)
 
void handle_msg_BF (Client *client, PKTBI_BF *msg)
 
void handle_open_spellbook (Network::Client *client, PKTIN_12 *msg)
 
void handle_party_msg (Network::Client *client, PKTBI_BF *msg)
 
void handle_processed_speech (Network::Client *client, char *textbuf, int textbuflen, char firstchar, u8 type, u16 color, u16 font)
 
void handle_prompt (Network::Client *client, PKTBI_9A *msg)
 
void handle_remove (Network::Client *client, PKTBI_BF *msg)
 
void handle_remove_member_cursor (Mobile::Character *chr, PKTBI_6C *msgin)
 
void handle_rename_char (Client *client, PKTIN_75 *msg)
 
void handle_request_tooltip (Network::Client *client, PKTIN_B6 *msgin)
 
void handle_resync_request (Network::Client *client, PKTBI_22_SYNC *msg)
 
void handle_se_object_list (Client *client, PKTBI_D6_IN *msgin)
 
void handle_secure_trade_msg (Network::Client *client, PKTBI_6F *msg)
 
void handle_SIGUSR1 (int)
 
void handle_singleclick (Network::Client *client, PKTIN_09 *msg)
 
void handle_skill_lock (Network::Client *client, PKTBI_3A_LOCKS *msg)
 
void handle_target_cursor (Network::Client *client, PKTBI_6C *msg)
 
void handle_undefined_packet (Network::Client *client)
 
void handle_unicode_prompt (Client *client, Core::PKTBI_C2 *msg)
 
void handle_unknown_C4 (Client *client, PKTOUT_C4 *)
 
void handle_unknown_packet (Client *client)
 
void handle_update_range_change (Client *client, PKTBI_C8 *)
 
void handle_use_skill (Network::Client *client, PKTIN_12 *msg)
 
void handle_walk (Network::Client *client, PKTIN_02 *msg02)
 
bool hands_are_free (Mobile::Character *chr)
 
Bscript::BObjectImpharvest_resource (const char *resource, xcoord x, ycoord y, Realms::Realm *realm, int b, int n)
 
void hook (ExportScript *shs, const std::string &hookname, const std::string &exfuncname)
 
std::string http_decodestr (const std::string &s)
 
void http_forbidden (Clib::Socket &sck)
 
void http_forbidden (Clib::Socket &sck, const std::string &filename)
 
void http_func (SOCKET client_socket)
 
void http_not_authorized (Clib::Socket &sck, const std::string &)
 
void http_not_found (Clib::Socket &sck, const std::string &filename)
 
bool http_readline (Clib::Socket &sck, std::string &s)
 
void http_redirect (Clib::Socket &sck, const std::string &new_url)
 
void http_thread (void)
 
void http_writeline (Clib::Socket &sck, const std::string &s)
 
void implicit_package_cmds_cfg (Plib::Package *pkg)
 
void import (Clib::ConfigElem &elem)
 
void import_new_data ()
 
bool in_say_range (const Character *c1, const Character *c2)
 
bool in_whisper_range (const Character *c1, const Character *c2)
 
bool in_yell_range (const Character *c1, const Character *c2)
 
void init_http_thread_support ()
 
void init_ipc_vars ()
 
void InitializeSystemTrayHandling ()
 
bool inrange (const UObject *c1, unsigned short x, unsigned short y)
 
bool inrange (const Mobile::Character *c1, const Mobile::Character *c2)
 
bool inrange (const Mobile::Character *c1, const UObject *obj)
 
bool inrange (unsigned short x1, unsigned short y1, unsigned short x2, unsigned short y2)
 
bool inrangex (const Character *c1, const Character *c2, int maxdist)
 
bool inrangex (const UObject *c1, unsigned short x, unsigned short y, int maxdist)
 
bool inrangex_inline (const Mobile::Character *c1, const Mobile::Character *c2, int maxdist)
 
bool inrangex_inline (const UObject *c1, unsigned short x, unsigned short y, int maxdist)
 
void insert_deferred_items ()
 
void install_null_handler (int sig)
 
void install_signal_handlers ()
 
void invite_timeout (Mobile::Character *mem)
 
void invoke (Network::Client *client, const char *spellidstr)
 
void invoke (Network::Client *client, const u16 *wspellidstr)
 
bool is_a_parent (const Item *item, u32 serial)
 
bool IsCharacter (u32 serial)
 
bool IsItem (u32 serial)
 
bool iswater (u16 objtype)
 
bool knows_spell (Mobile::Character *chr, u16 spellid)
 
void KR_Verifier_Response (Network::Client *, PKTIN_E4 *)
 
unsigned int landtile_flags (unsigned short landtile)
 
unsigned int landtile_uoflags (unsigned short landtile)
 
bool legal_pagename (const std::string &page)
 
int lightlevel (unsigned short x, unsigned short y)
 
void list_crit_script (UOExecutor *uoexec)
 
void list_crit_scripts (const char *desc, const ExecList &ls)
 
void list_crit_scripts ()
 
void list_script (UOExecutor *uoexec)
 
void list_scripts (const char *desc, const ExecList &ls)
 
void list_scripts ()
 
void load_anim_xlate_cfg (bool)
 
void load_circle_data ()
 
void load_cmdlevels ()
 
void load_config (bool reload)
 
void load_data ()
 
void load_general_entry (const Plib::Package *pkg, Clib::ConfigElem &elem)
 
void load_incremental_indexes ()
 
void load_intrinsic_weapons ()
 Creates the intrinsic wrestling weapon for PCs must be called at startup. More...
 
void load_landtile_cfg ()
 
void load_landtile_entry (const Plib::Package *, Clib::ConfigElem &elem)
 
void load_listener_entry (const Plib::Package *, Clib::ConfigElem &elem)
 
void load_mime_config (void)
 
void load_movecost (bool reload)
 
void load_npc_templates ()
 
void load_package_cmdlevels ()
 
void load_party_cfg (bool reload)
 
void load_party_cfg_general (Clib::ConfigElem &elem)
 
void load_party_cfg_hooks (Clib::ConfigElem &elem)
 
void load_pol_static_files ()
 
void load_protocol_entry (const Plib::Package *, Clib::ConfigElem &elem)
 
bool load_realms ()
 
void load_repsys_cfg (bool reload)
 
void load_repsys_cfg_general (Clib::ConfigElem &elem)
 
void load_repsys_cfg_hooks (Clib::ConfigElem &elem)
 
void load_repsys_cfg_namecoloring (Clib::ConfigElem &elem)
 Reputation System. More...
 
void load_resource_cfg ()
 
void load_skill_entry (const Plib::Package *pkg, Clib::ConfigElem &elem)
 
void load_skill_scripts ()
 
void load_spell_data ()
 
void load_spells_cfg (const char *path, Plib::Package *pkg)
 
void load_stacking_cfg ()
 
void load_system_hooks ()
 
void load_tile_entry (const Plib::Package *, Clib::ConfigElem &elem)
 
void load_tiles_cfg ()
 
void load_tips ()
 
void load_uoclient_cfg ()
 
void load_uoclient_entry (const Plib::Package *pkg, Clib::ConfigElem &elem)
 
void load_uoskills_cfg ()
 
void load_vital_entry (const Plib::Package *pkg, Clib::ConfigElem &elem)
 
void load_vitals_cfg ()
 
ConfigFileRef LoadTusScpFile (const std::string &filename)
 
void log_all_script_cycle_counts (bool clear_counters)
 
void login2 (Network::Client *client, PKTIN_91 *msg)
 
void login_complete (Client *c)
 
void loginserver_login (Network::Client *client, PKTIN_80 *msg)
 
Bscript::BObjectImpmake_boatref (Multi::UBoat *boat)
 
Bscript::BObjectImpmake_itemref (Items::Item *item)
 
Bscript::BObjectImpmake_mobileref (Mobile::Character *chr)
 
bool move_character_to (Mobile::Character *chr, unsigned short x, unsigned short y, short z, int flags, Realms::Realm *oldrealm)
 
void move_item (Item *item, UFACING facing)
 
void move_item (Item *item, unsigned short newx, unsigned short newy, signed char newz, Realms::Realm *oldrealm)
 
void move_multi_in_world (unsigned short oldx, unsigned short oldy, unsigned short newx, unsigned short newy, Multi::UMulti *multi, Realms::Realm *oldrealm)
 
void MoveCharacterWorldPosition (unsigned short oldx, unsigned short oldy, unsigned short newx, unsigned short newy, Mobile::Character *chr, Realms::Realm *oldrealm)
 
unsigned short movecost (const Mobile::Character *chr, int carry_perc, bool running, bool mounted)
 
void MoveItemWorldPosition (unsigned short oldx, unsigned short oldy, Items::Item *item, Realms::Realm *oldrealm)
 
bool multi_inrange (const Mobile::Character *c1, const Multi::UMulti *obj)
 
bool multi_inrange (unsigned short x1, unsigned short y1, unsigned short x2, unsigned short y2)
 
bool newstat_dont_add (std::vector< Plib::STATIC_ENTRY > &vec, USTRUCT_STATIC *pstat)
 
static bool nocast_here (Mobile::Character *chr)
 
void null_handler (int)
 
void on_loggoff_party (Mobile::Character *chr)
 
void on_loggon_party (Mobile::Character *chr)
 
void OnChatButton (Client *client)
 
void onetime_create_stubdata ()
 
void OnGuildButton (Client *client)
 
void OnQuestButton (Client *client)
 
FILE * open_map_file (std::string name, int map_id)
 
bool open_trade_window (Network::Client *client, Items::Item *item, Mobile::Character *dropon)
 
Bscript::BObjectImpopen_trade_window (Network::Client *client, Mobile::Character *dropon)
 
void open_uo_data_files (void)
 
FILE * open_uo_file (const std::string &filename_part)
 
bool open_uopmap_file (const int mapid)
 
Clib::StreamWriteroperator<< (Clib::StreamWriter &writer, const UObject &obj)
 
void optimize_zones ()
 
std::ofstream orphans_txt ("orphans.txt", std::ios::out|std::ios::trunc)
 
void party_cmd_handler (Client *client, PKTBI_BF *msg)
 
void pause_pol_clocks ()
 
void pause_polclock ()
 
void pause_poltime ()
 
bool place_item (Network::Client *client, Items::Item *item, u32 target_serial, u16 x, u16 y, u8 slotIndex)
 
bool place_item_in_container (Network::Client *client, Items::Item *item, UContainer *cont, u16 x, u16 y, u8 slotIndex)
 
bool place_item_in_secure_trade_container (Network::Client *client, Items::Item *item, u16 x, u16 y)
 
Bscript::BObjectImpplace_item_in_secure_trade_container (Network::Client *client, Items::Item *item)
 
void play_lightning_bolt_effect (const UObject *center)
 
void play_moving_effect (const UObject *src, const UObject *dst, u16 effect, u8 speed, u8 loop, u8 explode)
 
void play_moving_effect2 (u16 xs, u16 ys, s8 zs, u16 xd, u16 yd, s8 zd, u16 effect, u8 speed, u8 loop, u8 explode, Realms::Realm *realm)
 
void play_moving_effect2_ex (u16 xs, u16 ys, s8 zs, u16 xd, u16 yd, s8 zd, Realms::Realm *realm, u16 effect, u8 speed, u8 duration, u32 hue, u32 render, u8 direction, u8 explode, u16 effect3d, u16 effect3dexplode, u16 effect3dsound)
 
void play_moving_effect_ex (const UObject *src, const UObject *dst, u16 effect, u8 speed, u8 duration, u32 hue, u32 render, u8 direction, u8 explode, u16 effect3d, u16 effect3dexplode, u16 effect3dsound)
 
void play_object_centered_effect (const UObject *center, u16 effect, u8 speed, u8 loop)
 
void play_object_centered_effect_ex (const UObject *center, u16 effect, u8 speed, u8 duration, u32 hue, u32 render, u8 layer, u16 effect3d)
 
void play_sound_effect (const UObject *center, u16 effect)
 
void play_sound_effect_private (const UObject *center, u16 effect, Character *forchr)
 
void play_sound_effect_xyz (u16 cx, u16 cy, s8 cz, u16 effect, Realms::Realm *realm)
 
void play_stationary_effect (u16 x, u16 y, s8 z, u16 effect, u8 speed, u8 loop, u8 explode, Realms::Realm *realm)
 
void play_stationary_effect_ex (u16 x, u16 y, s8 z, Realms::Realm *realm, u16 effect, u8 speed, u8 duration, u32 hue, u32 render, u16 effect3d)
 
unsigned short pol_distance (unsigned short x1, unsigned short y1, unsigned short x2, unsigned short y2)
 
unsigned short pol_distance (const Mobile::Character *c1, const UObject *obj)
 
void pol_sleep_ms (unsigned int millis)
 
polclock_t polclock ()
 
static std::atomic< polclock_base_typepolclock_base (0)
 
void polclock_checkin ()
 
void polsem_lock ()
 
void polsem_unlock ()
 
polticks_t polticks_t_to_ms (polticks_t ticks)
 
time_t poltime ()
 
static std::atomic< time_t > poltime_base (0)
 
static std::atomic< time_t > poltime_paused_at (0)
 
void PrintAllocationData ()
 
bool private_say_above (Character *chr, const UObject *obj, const char *text, unsigned short font, unsigned short color, unsigned int journal_print)
 
bool private_say_above (Character *chr, const UObject *obj, const u16 *wtext, const char lang[4], unsigned short font, unsigned short color, unsigned int journal_print)
 
void private_say_above_cl (Mobile::Character *chr, const UObject *obj, unsigned int cliloc_num, const u16 *arguments, unsigned short font, unsigned short color)
 
void private_say_above_cl_affix (Mobile::Character *chr, const UObject *obj, unsigned int cliloc_num, const char *affix, bool prepend, const u16 *arguments, unsigned short font, unsigned short color)
 
bool private_say_above_ex (Mobile::Character *chr, const UObject *obj, const char *text, unsigned short color)
 
bool process_command (Network::Client *client, const char *text, const u16 *wtext, const char *lang)
 
bool process_data (Network::Client *client)
 
void process_package_cmds_cfg (Plib::Package *pkg)
 
bool process_tildecommand (Network::Client *client, const char *textbuf)
 
bool process_tildecommand (Network::Client *client, const u16 *wtextbuf)
 
unsigned short raw_to_base (unsigned int raw)
 
void rawmapfullread ()
 
static signed char rawmapinfo (unsigned short x, unsigned short y, USTRUCT_MAPINFO *gi)
 
void rawstaticfullread ()
 
void read_character (Clib::ConfigElem &elem)
 
int read_data ()
 
void read_extobj ()
 
gameclock_t read_gameclock ()
 Reads the current value of the game clock. More...
 
void read_gameservers ()
 
void read_global_data (Clib::ConfigElem &elem)
 
void read_global_item (Clib::ConfigElem &elem, int)
 
void read_guilds_dat ()
 
void read_incremental_saves ()
 
Items::Itemread_item (Clib::ConfigElem &elem)
 
void read_items_dat ()
 
void read_justice_zones ()
 
static void read_landtiledata ()
 
void read_light_zones ()
 
void read_map_difs ()
 
void read_movecost (Clib::ConfigElem &elem, MovementCost &movecost)
 
void read_multi (Clib::ConfigElem &elem)
 
void read_multis_dat ()
 
void read_music_zones ()
 
void read_nocast_zones ()
 
void read_npc (Clib::ConfigElem &elem)
 
void read_npc_templates ()
 
void read_npc_templates (Plib::Package *pkg)
 
void read_npcequip_dat ()
 
void read_npcs_dat ()
 
void read_objects_dat ()
 
void read_objinfo (u16 graphic, struct USTRUCT_TILE &objinfo)
 
void read_objinfo (u16 graphic, struct USTRUCT_TILE_HSA &objinfo)
 
void read_party_dat ()
 
void read_pcequip_dat ()
 
void read_pcs_dat ()
 
void read_pol_dat ()
 
void read_region_data (RegionGroupBase &grp, const char *preferred_filename, const char *other_filename, const char *tags_expected)
 
void read_region_data (Clib::ConfigElem &elem)
 
void read_resource_cfg (const char *resource)
 
void read_resources_dat ()
 
void read_shadow_realms (Clib::ConfigElem &elem)
 
void read_stacking_cfg (Clib::ConfigFile &cf)
 
void read_starting_locations ()
 
void read_static_diffs ()
 
void read_storage_dat ()
 
void read_system_vars (Clib::ConfigElem &elem)
 
static void read_tiledata ()
 
void read_uo_data (void)
 
static void read_veridx ()
 
void read_weather_zones ()
 
void readallstatics (StaticList &vec, unsigned short x, unsigned short y)
 
void readlandtile (unsigned short tilenum, USTRUCT_LAND_TILE *landtile)
 
void readlandtile (unsigned short tilenum, USTRUCT_LAND_TILE_HSA *landtile)
 
void readstaticblock (std::vector< USTRUCT_STATIC > *ppst, int *pnum, unsigned short x, unsigned short y)
 
void readstatics (StaticList &vec, unsigned short x, unsigned short y)
 
void readstatics (StaticList &vec, unsigned short x, unsigned short y, unsigned int flags)
 
void readstatics2 (StaticList &vec, unsigned short x, unsigned short y)
 
void readtile (unsigned short tilenum, USTRUCT_TILE *tile)
 
void readtile (unsigned short tilenum, USTRUCT_TILE_HSA *tile)
 
void readwater ()
 
void reap_thread (void)
 
void regen_resources ()
 
void regen_stats ()
 
void register_command (const char *cmd, TextCmdFunc f)
 
void register_command (const char *cmd, ParamTextCmdFunc f)
 
void register_deleted_serials ()
 
void register_for_speech_events (UObject *obj, UOExecutor *uoexec, int range, int flags)
 
void register_guilds ()
 
void register_party_members ()
 
void register_spell (USpell *spell, unsigned short spellid)
 
void register_with_supporting_multi (Item *item)
 
void reload_configuration ()
 
void remove_item_from_world (Items::Item *item)
 
void remove_multi_from_world (Multi::UMulti *multi)
 
void remove_objects_inrange (Network::Client *client)
 
void remove_realm (const std::string &name)
 
void rename_dat_files ()
 
void report_weird_packet (Network::Client *client, const std::string &why)
 
void restart_all_clients ()
 
void restart_pol_clocks ()
 
void restart_polclock ()
 
void restart_poltime ()
 
void return_traded_items (Mobile::Character *chr)
 
void rndat (const std::string &basename)
 
BObjectImprun_executor_to_completion (UOExecutor &ex, const ScriptDef &script)
 
void run_logon_script (Mobile::Character *chr)
 
void run_ready (void)
 
void run_reconnect_script (Mobile::Character *chr)
 
bool run_script_to_completion (const char *filename, Bscript::BObjectImp *parameter)
 
bool run_script_to_completion (const char *filename)
 
Bscript::BObjectImprun_script_to_completion (const ScriptDef &script)
 
Bscript::BObjectImprun_script_to_completion (const ScriptDef &script, Bscript::BObjectImp *param1)
 
Bscript::BObjectImprun_script_to_completion (const ScriptDef &script, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2)
 
Bscript::BObjectImprun_script_to_completion (const ScriptDef &script, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3)
 
Bscript::BObjectImprun_script_to_completion (const ScriptDef &script, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3, Bscript::BObjectImp *param4)
 
Bscript::BObjectImprun_script_to_completion (const ScriptDef &script, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3, Bscript::BObjectImp *param4, Bscript::BObjectImp *param5)
 
Bscript::BObjectImprun_script_to_completion (const ScriptDef &script, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3, Bscript::BObjectImp *param4, Bscript::BObjectImp *param5, Bscript::BObjectImp *param6)
 
Bscript::BObjectImprun_script_to_completion (const ScriptDef &script, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3, Bscript::BObjectImp *param4, Bscript::BObjectImp *param5, Bscript::BObjectImp *param6, Bscript::BObjectImp *param7)
 
bool run_script_to_completion_worker (UOExecutor &ex, Bscript::EScriptProgram *prog)
 
void run_start_scripts ()
 
int RunWindowsService (int argc, char **argv)
 
void safe_getmapinfo (unsigned short x, unsigned short y, short *z, USTRUCT_MAPINFO *mi)
 
int save_incremental (unsigned int &dirty, unsigned int &clean, long long &elapsed_ms)
 
bool say_above (const UObject *obj, const char *text, unsigned short font, unsigned short color, unsigned int journal_print)
 
bool say_above (const UObject *obj, const u16 *wtext, const char lang[4], unsigned short font, unsigned short color, unsigned int journal_print)
 
void say_above_cl (UObject *obj, unsigned int cliloc_num, const u16 *arguments, unsigned short font, unsigned short color)
 
void say_above_cl_affix (UObject *obj, unsigned int cliloc_num, const char *affix, bool prepend, const u16 *arguments, unsigned short font, unsigned short color)
 
void sayto_listening_points (Mobile::Character *speaker, const char *p_text, int, u8 texttype, const u16 *p_wtext, const char *p_lang, int p_wtextlen, Bscript::ObjArray *speechtokens)
 
void schedule_executor (UOExecutor *ex)
 
bool script_loaded (ScriptDef &sd)
 
void scripts_thread (void)
 
static bool seekto_newer_version (unsigned int file, unsigned int block)
 
void select_server (Network::Client *client, PKTIN_A0 *msg)
 
void send_action_to_inrange (const Mobile::Character *obj, UACTION action, unsigned short framecount=0x05, unsigned short repeatcount=0x01, DIRECTION_FLAG_OLD backward=FORWARD, REPEAT_FLAG_OLD repeatflag=NOREPEAT, unsigned char delay=0x01)
 
void send_attributes_normalized (Mobile::Character *chr, Mobile::Character *bob)
 
void send_binary (Clib::Socket &sck, const std::string &page, const std::string &filename, const std::string &content_type)
 
void send_buff_message (Character *chr, u16 icon, bool show, u16 duration, u32 cl_name, u32 cl_descr, std::vector< u32 > arguments)
 
void send_char_data (Client *client, Character *chr)
 
void send_char_if_newly_inrange (Mobile::Character *chr, Network::Client *client)
 
void send_client_char_data (Mobile::Character *chr, Network::Client *client)
 
void send_ClientTransmit_pulse ()
 
void send_container_contents (Network::Client *client, const UContainer &cont)
 
void send_corpse (Client *client, const Item *item)
 
void send_corpse_contents (Client *client, const UCorpse *corpse)
 
void send_corpse_equip (Client *client, const UCorpse *corpse)
 
void send_corpse_equip_inrange (const Item *item)
 
void send_create_mobile_if_nearby_cansee (Client *client, const Character *chr)
 
void send_create_mobile_to_nearby_cansee (const Character *chr)
 
void send_damage (Character *attacker, Character *defender, u16 damage)
 
void send_death_message (Character *chr_died, Item *corpse)
 
void send_empty_party (Mobile::Character *chr)
 
void send_feature_enable (Client *client)
 
void send_fight_occuring (Client *client, Character *opponent)
 
void send_full_corpse (Client *client, const Item *item)
 
void send_full_statmsg (Network::Client *client, Mobile::Character *chr)
 
void send_goxyz (Client *client, const Character *chr)
 
void send_html (Clib::Socket &sck, const std::string &page, const std::string &filename)
 
void send_inrange_items (Network::Client *client)
 
void send_inrange_multis (Network::Client *client)
 
void send_invite (Mobile::Character *member, Mobile::Character *leader)
 
void send_invulhealthbar (Client *client, const Character *chr)
 
void send_item (Client *client, const Item *item)
 
void send_item_if_newly_inrange (Items::Item *item, Network::Client *client)
 
void send_item_move_failure (Network::Client *client, u8 reason)
 
void send_item_to_inrange (const Item *item)
 
void send_light (Client *client, int lightlevel)
 
void send_login_error (Network::Client *client, unsigned char reason)
 
void send_mana_level (Client *client)
 
void send_map_difs (Client *client)
 Sends number of maps used and number of map/static patches for each map. More...
 
bool send_menu (Network::Client *client, Menu *menu)
 
void send_midi (Client *client, u16 midi)
 
void send_mode (Network::Client *client)
 
void send_move (Network::Client *client, const Mobile::Character *chr, Network::PktOut_77 *movebuffer)
 
void send_move (Client *client, const Character *chr)
 
void send_move_if_inrange2 (Mobile::Character *chr, Network::Client *client)
 
void send_move_mobile_to_nearby_cansee (const Character *chr)
 
void send_multi (Network::Client *client, const Multi::UMulti *multi)
 
void send_multi_if_newly_inrange (Multi::UMulti *multi, Network::Client *client)
 
void send_multi_to_inrange (const Multi::UMulti *multi)
 
void send_multis_newly_inrange (Multi::UMulti *multi, Network::Client *client)
 
void send_nametext (Client *client, const Character *chr, const std::string &str)
 
void send_new_subserver (Client *client)
 
void send_objdesc (Client *client, Item *item)
 
void send_object_cache (Network::Client *client, const UObject *obj)
 
void send_object_cache_to_inrange (const UObject *obj)
 
void send_objects_newly_inrange (Network::Client *client)
 
void send_objects_newly_inrange_on_boat (Network::Client *client, u32 serial)
 
void send_open_gump (Network::Client *client, const UContainer &cont)
 
void send_owncreate (Client *client, const Character *chr)
 
void send_owncreate (Client *client, const Character *chr, PktOut_78 *owncreate)
 
void send_paperdoll (Network::Client *client, Mobile::Character *chr)
 
void send_poisonhealthbar (Client *client, const Character *chr)
 
void send_prompt (Network::Client *client, u32 serial)
 
void send_pulse ()
 
void send_put_in_container (Client *client, const Item *item)
 
void send_put_in_container_to_inrange (const Item *item)
 
void send_realm_change (Client *client, Realms::Realm *realm)
 
void send_remove (Network::Client &client, UObject &to_remove)
 
void send_remove_character (Client *client, const Character *chr)
 
void send_remove_character (Network::Client *client, const Mobile::Character *chr, Network::RemoveObjectPkt &pkt)
 
void send_remove_character_to_nearby (const Character *chr)
 
void send_remove_character_to_nearby_cansee (const Character *chr)
 
void send_remove_character_to_nearby_cantsee (const Character *chr)
 
void send_remove_object (Client *client, const UObject *object)
 
void send_remove_object (Client *client, const UObject *item, RemoveObjectPkt &pkt)
 
void send_remove_object_if_inrange (Client *client, const Item *item)
 
void send_remove_object_to_inrange (const UObject *centerObject)
 
void send_season_info (Client *client)
 
void send_short_statmsg (Network::Client *client, Mobile::Character *chr)
 
void send_skillmsg (Network::Client *client, const Mobile::Character *chr)
 
void send_spellbook_contents (Network::Client *client, Spellbook &spellbook)
 
void send_stamina_level (Client *client)
 
void send_start (Network::Client *client)
 
void send_startup (Network::Client *client)
 
void send_stat_locks (Network::Client *client, Mobile::Character *chr)
 
void send_sysmessage (Network::Client *client, const char *text, unsigned short font, unsigned short color)
 
void send_sysmessage (Network::Client *client, const u16 *wtext, const char lang[4], unsigned short font, unsigned short color)
 
void send_sysmessage (Network::Client *client, const std::string &text, unsigned short font, unsigned short color)
 
void send_sysmessage (Network::Client *client, const std::wstring &wtext, const char lang[4], unsigned short font, unsigned short color)
 
void send_sysmessage_cl (Client *client, unsigned int cliloc_num, const u16 *arguments, unsigned short font, unsigned short color)
 
void send_sysmessage_cl_affix (Client *client, unsigned int cliloc_num, const char *affix, bool prepend, const u16 *arguments, unsigned short font, unsigned short color)
 
bool send_tip (Network::Client *client, const char *tipname, unsigned short tipnum)
 
bool send_tip (Network::Client *client, const char *tipname)
 
void send_tip (Network::Client *client, const std::string &tiptext)
 
void send_trade_container (Network::Client *client, Mobile::Character *whos, UContainer *cont)
 
void send_trade_statuses (Mobile::Character *chr)
 
void send_unicode_prompt (Client *client, u32 serial)
 
void send_update_hits_to_inrange (Mobile::Character *chr)
 
void send_weather (Client *client, u8 type, u8 severity, u8 aux)
 
void send_wornitem (Client *client, const Character *chr, const Item *item)
 
void send_wornitem_to_inrange (const Character *chr, const Item *item)
 
void SendAOSTooltip (Network::Client *client, UObject *obj, bool vendor_content)
 
void sendCharProfile (Character *chr, Character *of_who, const char *title, const u16 *utext, const u16 *etext)
 
void SendUnicodeSpeech (Network::Client *client, PKTIN_AD *msgin, u16 *wtext, size_t wtextlen, char *ntext, size_t ntextlen, Bscript::ObjArray *speechtokens)
 
bool server_applies (Network::Client *client, int i)
 
void set_watch_vars ()
 
void SetCharacterWorldPosition (Mobile::Character *chr, Realms::WorldChangeReason reason)
 
void SetCurrentCharSerialNumber (u32 serial)
 
void SetCurrentItemSerialNumber (u32 serial)
 
void SetItemWorldPosition (Items::Item *item)
 
void setrealm (Item *item, void *arg)
 
void setrealmif (Item *item, void *arg)
 
void SetRegionLightLevel (LightRegion *lightregion, int lightlevel)
 
void SetRegionWeatherLevel (WeatherRegion *weatherregion, unsigned type, unsigned severity, unsigned aux, int lightoverride)
 
void SetSysTrayPopupText (const char *text)
 
void setup_update_rpm (void)
 
bool should_switch_realm (size_t index, unsigned x, unsigned y, unsigned *gridx, unsigned *gridy)
 
bool should_write_data ()
 
void show_repdata (Mobile::Character *looker, Mobile::Character *mob)
 
void ShutdownSystemTrayHandling ()
 
void signal_catch_thread ()
 
void sigpipe_handler (int x)
 
void singleclick (Network::Client *client, u32 serial)
 
void skillrequest (Network::Client *client, u32 serial)
 
void slurp (const char *filename, const char *tags, int sysfind_flags=0)
 
void SpeechHandler (Network::Client *client, PKTIN_03 *mymsg)
 
void sql_service_thread_stub ()
 
void srequest (Network::Client *client, PKTIN_34 *msg)
 
void standheight (MOVEMODE movemode, StaticList &statics, unsigned short x, unsigned short y, short oldz, bool *result_out, short *newz_out)
 
void start_client_char (Network::Client *client)
 
void start_gameclock ()
 The functions below deal with reading and updating the gameclock. The state is protected by a mutex. More...
 
bool start_http_script (Clib::Socket &sck, const std::string &page, Plib::Package *pkg, const std::string &file_ecl, const std::string &query_string)
 
void start_http_server ()
 
void start_packetlog (Mobile::Character *looker, Mobile::Character *mob)
 
void start_pol_clocks ()
 
void start_polclock ()
 
void start_poltime ()
 
void start_script (const char *filename, Bscript::BObjectImp *param0, Bscript::BObjectImp *param1)
 
Module::UOExecutorModulestart_script (const ScriptDef &script, Bscript::BObjectImp *param)
 
Module::UOExecutorModulestart_script (const ScriptDef &script, Bscript::BObjectImp *param0, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3)
 
Module::UOExecutorModulestart_script (ref_ptr< Bscript::EScriptProgram > program, Bscript::BObjectImp *param)
 
void start_sql_service ()
 
void start_tasks ()
 
bool start_textcmd_script (Network::Client *client, const char *text, const u16 *wtext=nullptr, const char *lang=nullptr)
 
void start_threads ()
 
void start_uo_client_listeners (void)
 
bool StartSkillScript (Network::Client *client, const Mobile::Attribute *attrib)
 
void staticsmax ()
 
void statrequest (Network::Client *client, u32 serial)
 
void step_scripts (polclock_t *clocksleft, bool *pactivity)
 
void stop_gameclock ()
 Stops the game clock and saves the current value into "gameclock". More...
 
void stop_packetlog (Mobile::Character *looker, Mobile::Character *mob)
 
UACTION str_to_action (Clib::ConfigElem &elem, const std::string &str)
 
void subtract_amount_from_item (Item *item, unsigned short amount)
 
Items::Itemsystem_find_item (u32 serial)
 
Mobile::Charactersystem_find_mobile (u32 serial)
 
Multi::UMultisystem_find_multi (u32 serial)
 
UObjectsystem_find_object (u32 serial)
 
void SystemTrayDialogThread (void *)
 
void tasks_thread (void)
 
void tasks_thread_sleep (unsigned int millis)
 
void test_decode (const char *page, bool result_expected, Plib::Package *pkg_expected, const char *filename_expected, const char *pagetype_expected, const char *redirect_to_expected)
 
void test_decode ()
 
void textcmd_constat (Network::Client *client)
 
void textcmd_flag1 (Network::Client *client, const char *text)
 
void textcmd_flag2 (Network::Client *client, const char *text)
 
void textcmd_heapcheck (Network::Client *)
 
void textcmd_ident (Network::Client *client)
 
void textcmd_integ_chr (Network::Client *)
 
void textcmd_integ_item (Network::Client *client)
 
void textcmd_list_crit_scripts (Network::Client *)
 
void textcmd_list_scripts (Network::Client *)
 
void textcmd_listarmor (Network::Client *client)
 
void textcmd_log_profile (Network::Client *client)
 
void textcmd_log_profile_clear (Network::Client *client)
 
void textcmd_orphans (Network::Client *client)
 
void textcmd_procs (Network::Client *client)
 
void textcmd_repdata (Network::Client *client)
 
void textcmd_resendchars (Network::Client *client)
 
void textcmd_shutdown (Network::Client *)
 
void textcmd_singlezone_integ_item (Network::Client *client)
 
void textcmd_startlog (Network::Client *client)
 
void textcmd_stoplog (Network::Client *client)
 
void textcmd_threads (Network::Client *client)
 
const char * TextTypeToString (u8 texttype)
 
void threadstatus_thread (void)
 
std::string tile_desc (unsigned short tilenum)
 
unsigned int tile_flags (unsigned short tilenum)
 
unsigned int tile_uoflags (unsigned short tilenum)
 
char tileheight (unsigned short tilenum)
 
unsigned char tilelayer (unsigned short tilenum)
 
unsigned short tileweight (unsigned short tilenum)
 
std::string timeoutstr (polclock_t at)
 
bool timer_expired (polclock_t timer_until, polclock_t now)
 
int translate (const std::string &name, TRANSLATION *table)
 
void transmit_to_inrange (const UObject *center, const void *msg, unsigned msglen)
 
void transmit_to_others_inrange (Character *center, const void *msg, unsigned msglen)
 
bool UACTION_IS_VALID (unsigned short action)
 
void undo_get_item (Mobile::Character *chr, Items::Item *item)
 
void UnicodeSpeechHandler (Network::Client *client, PKTIN_AD *msgin)
 
int unload_all_scripts ()
 
void unload_data ()
 
void unload_party ()
 
void unload_party_hooks ()
 
void unload_repsys_cfg ()
 
void unload_repsys_cfg_hooks ()
 
int unload_script (const std::string &name_in)
 
int UnloadConfigFile (const std::string &filename)
 
void uo_client_listener_thread (void *arg)
 
void update_all_weatherregions ()
 
void update_gameclock ()
 Saves the current value into the global cprop "gameclock". More...
 
void update_item_to_inrange (const Item *item)
 
void update_lightregion (Client *client, LightRegion *)
 
void update_rpm (void)
 
void update_sysload ()
 
void update_weatherregion (Client *client, WeatherRegion *weatherregion)
 
void update_wornitem_to_inrange (const Character *chr, const Item *item)
 
void UpdateCharacterOnDestroyItem (Item *item)
 
CharacterUpdateCharacterWeight (Item *item)
 
u32 UseCharSerialNumber (u32 serial)
 
u32 UseItemSerialNumber (u32 serial)
 
bool VALID_LIGHTLEVEL (int lightlevel)
 
bool valid_message_length (Network::Client *client, unsigned int length)
 
bool VALID_SPELL_ID (int spellid)
 
bool validbeard (u16 BeardStyle)
 
bool validface (u16 FaceStyle)
 
bool validhair (u16 HairStyle)
 
short validhaircolor (u16)
 
void wait_for_ClientTransmit_pulse (unsigned int millis)
 
void wait_for_pulse (unsigned int millis)
 
void wake_tasks_thread ()
 
void write_characters (SaveContext &sc)
 
int write_data (unsigned int &dirty_writes, unsigned int &clean_writes, long long &elapsed_ms)
 
void write_dirty_data (Clib::StreamWriter &sw_data)
 
void write_dirty_storage (Clib::StreamWriter &sw_data)
 
void write_global_properties (Clib::StreamWriter &sw)
 
void write_guilds (Clib::StreamWriter &sw)
 
void write_index (std::ostream &ofs)
 
void write_items (Clib::StreamWriter &sw_items)
 
void write_multis (Clib::StreamWriter &ofs)
 
void write_npcs (SaveContext &sc)
 
void write_object_dirty_owners (Clib::StreamWriter &sw_data, const UObject *obj, bool &has_nonsaved_owner)
 
void write_party (Clib::StreamWriter &sw)
 
int write_pol_static_files (const std::string &realm)
 
void write_resources_dat (Clib::StreamWriter &sw_resource)
 
void write_shadow_realms (Clib::StreamWriter &sw)
 
void write_system_data (Clib::StreamWriter &sw)
 
void WriteGottenItem (Mobile::Character *chr, Items::Item *item, Clib::StreamWriter &sw)
 
std::pair< unsigned, unsigned > XyToZone (xcoord x, ycoord y)
 
void zone_convert (unsigned short x, unsigned short y, unsigned short *wx, unsigned short *wy, const Realms::Realm *realm)
 
void zone_convert_clip (int x, int y, const Realms::Realm *realm, unsigned short *wx, unsigned short *wy)
 

Variables

static Clib::SpinLock _gameclock_lock
 
std::array< int, 7 > adjustments = {{0, +1, -1, +2, -2, +3, -3}}
 
UFACING away_cvt [8]
 
int cfg_max_statics_per_block = 1000
 
bool cfg_show_illegal_graphic_warning = 1
 
bool cfg_show_roof_and_platform_warning = 1
 
bool cfg_use_new_hsa_format = 0
 
int cfg_warning_statics_per_block = 1000
 
const u8 CHAR_FLAG1_CANALTER = 0x02
 
const u8 CHAR_FLAG1_FLYING = 0x04
 
const u8 CHAR_FLAG1_GENDER = 0x02
 
const u8 CHAR_FLAG1_INVISIBLE = 0x80
 
const u8 CHAR_FLAG1_NORMAL = 0x00
 
const u8 CHAR_FLAG1_POISONED = 0x04
 
const u8 CHAR_FLAG1_WARMODE = 0x40
 
const u8 CHAR_FLAG1_YELLOWHEALTH = 0x08
 
const u32 CHARACTERSERIAL_END = 0x3FFFFFFFLu
 
const u32 CHARACTERSERIAL_START = 0x00000001Lu
 
pthread_cond_t clienttransmit_pulse_cond = PTHREAD_COND_INITIALIZER
 
pthread_mutex_t clienttransmit_pulse_mut = PTHREAD_MUTEX_INITIALIZER
 
const int CLP_Add_Living = 1005442
 
const int CLP_Add_No_Leader
 
const int CLP_Add_Yourself = 1005439
 
const int CLP_Added = 1005445
 
const int CLP_Allow_Loot = 1005447
 
const int CLP_Already_in_a_Party = 1005441
 
const int CLP_Already_Your_Party = 1005440
 
const int CLP_Cannot_Remove_Self
 
const int CLP_Decline = 1008092
 
const int CLP_Disbanded = 1005449
 
const int CLP_Ignore_Offer = 1005444
 
const int CLP_Invite = 1008089
 
const int CLP_Invited = 1008090
 
const int CLP_Joined = 1008094
 
const int CLP_Last_Person = 1005450
 
const int CLP_Max_Size = 1008095
 
const int CLP_No_Invite = 3000222
 
const int CLP_No_Party = 3000211
 
const int CLP_Notify_Decline = 1008091
 
const int CLP_Player_Rejoined = 1008087
 
const int CLP_Player_Removed = 1005452
 
const int CLP_Prevent_Loot
 
const int CLP_Rejoined = 1005437
 
const int CLP_Removed = 1005451
 
const int CLP_Too_Late_Decline
 
const int CLP_Who_To_Add = 1005454
 
const int CLP_Who_to_Remove = 1005455
 
ConfigurationBuffer configurationbuffer
 
BApplicObjType debugcontextobjimp_type
 
const unsigned short DEFAULT_TEXT_COLOR = 0x3B2
 
const unsigned short DEFAULT_TEXT_FONT = 3
 
const unsigned short DEFAULT_TEXT_REQUIREDCMD = 0
 
const int DELETE_BY_PLAYER = 0x00
 
const int DELETE_BY_SCRIPT = 0x01
 
int dupe_count
 
const int ENUMERATE_IGNORE_LOCKED = 0x01
 
const int ENUMERATE_ROOT_ONLY = 0x02
 
const int FINDOBJTYPE_IGNORE_LOCKED = 0x01
 
const int FINDOBJTYPE_ROOT_ONLY = 0x02
 
const int FINDSUBSTANCE_FIND_ALL = 0x04
 
const int FINDSUBSTANCE_IGNORE_LOCKED = 0x01
 
const int FINDSUBSTANCE_ROOT_ONLY = 0x02
 
const int FP_IGNORE_DOORS = 0x02
 
const int FP_IGNORE_MOBILES = 0x01
 
boost_utils::flyweight_initializers fw_inits
 
static gameclock_t gameclock
 
GameState gamestate
 
pthread_attr_t http_attr
 
HWND hwnd
 
USTRUCT_IDX idxrec
 
int import_count
 
const int INSERT_ADD_ITEM = 0x01
 
const int INSERT_INCREASE_STACK = 0x02
 
const int ITEMS_IGNORE_MULTIS = 0x02
 
const int ITEMS_IGNORE_STATICS = 0x01
 
const u32 ITEMSERIAL_END = 0x7FffFFffLu
 
const u32 ITEMSERIAL_START = 0x40000000Lu
 
const int JOURNAL_PRINT_NAME = 0x00
 
const int JOURNAL_PRINT_YOU_SEE = 0x01
 
SVR_KEYDESC keydesc [257]
 
const unsigned LANDTILE_COUNT = 0x4000
 
unsigned int landtile_flags_arr [N_LANDTILEDATA]
 
unsigned int last_block = ~0u
 
size_t last_blocks_free = 0
 
size_t last_blocks_used = 0
 
size_t last_bytes_free = 0
 
size_t last_bytes_used = 0
 
static time_t last_read
 
const int LIST_IGNORE_Z = 0x40000000L
 
const int LISTENPT_HEAR_GHOSTS = 0x01
 
const int LISTENPT_HEAR_TOKENS = 0x02
 
const int LISTENPT_NO_SPEECH = 0x04
 
size_t locker
 
const int LOG_DATETIME = 0x01
 
pthread_t main_pthread
 
FILE * mapdif_file = nullptr
 
FILE * mapdifl_file = nullptr
 
FILE * mapfile = nullptr
 
const unsigned MAX_LIGHTLEVEL = 30
 
const unsigned MIN_LIGHTLEVEL = 0
 
MoveDelta move_delta [8]
 
const int MOVEITEM_FORCELOCATION = 0x40000000L
 
const int MOVEITEM_IGNOREMOVABLE = 0x20000000L
 
const unsigned N_LANDTILEDATA = 0x4000
 
NOTIFYICONDATA ndata
 
NetworkManager networkManager
 
ObjectStorageManager objStorageManager
 
static ContStack parent_conts
 
const unsigned POLCLASS_ARMOR = 15
 
const unsigned POLCLASS_BOAT = 12
 
const unsigned POLCLASS_CONTAINER = 6
 
const unsigned POLCLASS_CORPSE = 7
 
const unsigned POLCLASS_DOOR = 8
 
const unsigned POLCLASS_EQUIPMENT = 14
 
const unsigned POLCLASS_HOUSE = 13
 
const unsigned POLCLASS_ITEM = 2
 
const unsigned POLCLASS_LOCKABLE = 5
 
const unsigned POLCLASS_MAP = 10
 
const unsigned POLCLASS_MOBILE = 3
 
const unsigned POLCLASS_MULTI = 11
 
const unsigned POLCLASS_NPC = 4
 
const unsigned POLCLASS_OBJECT = 1
 
const unsigned POLCLASS_SPELLBOOK = 9
 
const unsigned POLCLASS_WEAPON = 16
 
const unsigned POLCLOCK_DIV = ( CLOCKS_PER_SEC / POLCLOCKS_PER_SEC )
 
const polclock_t POLCLOCKS_PER_SEC = 100
 
const char * poldbg_base_members []
 
const char * poldbg_itemref_members []
 
const char * poldbg_mobileref_members []
 
pthread_mutex_t polsem
 
pthread_mutexattr_t polsem_attr
 
pthread_mutex_t polsemdbg_mut = PTHREAD_MUTEX_INITIALIZER
 
pthread_cond_t pulse_cond = PTHREAD_COND_INITIALIZER
 
pthread_mutex_t pulse_mut = PTHREAD_MUTEX_INITIALIZER
 
static Pol::Plib::RawMap rawmap
 
static bool rawmap_ready = false
 
static std::vector< USTRUCT_STATIC_BUFFERrawstatic_buffer_vec
 
static bool rawstatic_init = false
 
const int RESURRECT_FORCELOCATION = 0x01
 
const int SAVE_FULL = 0x00
 
const int SAVE_INCREMENTAL = 0x01
 
BApplicObjType scriptexobjimp_type
 
ScriptScheduler scriptScheduler
 
const int SENDDIALOGMENU_FORCE_OLD = 0x01
 
SettingsManager settingsManager
 
FILE * sidxfile = nullptr
 
int srec_count
 
USTRUCT_STATIC srecs [MAX_STATICS_PER_BLOCK]
 
FILE * stadif_file = nullptr
 
FILE * stadifi_file = nullptr
 
StaticDifBlockIndex stadifl
 
FILE * stadifl_file = nullptr
 
const unsigned STAIDX_CHUNK = 8
 
StateManager stateManager
 
FILE * statfile = nullptr
 
bool static_debug_on = false
 
const unsigned SYSFIND_SEARCH_OFFLINE_MOBILES = 1
 
const unsigned SYSFIND_SKIP_WORLD = 4
 
pthread_cond_t task_pulse_cond = PTHREAD_COND_INITIALIZER
 
pthread_mutex_t task_pulse_mut = PTHREAD_MUTEX_INITIALIZER
 
pthread_attr_t thread_attr
 
bool thread_started
 
pthread_mutex_t threadstart_mut = PTHREAD_MUTEX_INITIALIZER
 
pthread_cond_t threadstart_pulse_cond = PTHREAD_COND_INITIALIZER
 
pthread_mutex_t threadstart_pulse_mut = PTHREAD_MUTEX_INITIALIZER
 
TileDatatiledata
 
FILE * tilefile = nullptr
 
u8 tmp_flag1
 
u8 tmp_flag2
 
std::set< UObject * > unreaped_orphan_instances
 
unsigned short uo_map_height = 4096
 
unsigned short uo_map_width = 6144
 
int uo_mapid = 0
 
bool uo_readuop = true
 
int uo_usedif = 0
 
std::ifstream uopmapfile
 
const unsigned VALID_ITEM_COLOR_MASK = 0x0FFF
 
const int VENDOR_BUYABLE_CONTAINER_FILTER = 0x02
 
const int VENDOR_SEND_AOS_TOOLTIP = 0x01
 
FILE * verfile = nullptr
 
VerdataIndexes vidx [32]
 
const unsigned int vidx_count = 32
 
const unsigned int VITAL_HIGHEST_MAX_HUNDREDTHS = 10000000L
 
const int VITAL_HIGHEST_REGENRATE = 30000
 
const unsigned int VITAL_LOWEST_MAX_HUNDREDTHS = 100L
 
const int VITAL_LOWEST_REGENRATE = -30000
 
const unsigned int VITAL_MAX_HUNDREDTHS = 10000000L
 
const unsigned VITAL_MAX_VALUE = 100000L
 
std::set< unsigned int > water
 
unsigned WM_TASKBARCREATED
 
TRANSLATION xlate_align []
 
const short ZCOORD_MAX = +127
 
const short ZCOORD_MIN = -128
 
const unsigned ZONE_SHIFT = 2
 
const unsigned ZONE_SIZE = 4
 

Typedef Documentation

Definition at line 45 of file reftypes.h.

typedef std::vector<AccountRef> Pol::Core::AccountsVector

Definition at line 87 of file uvars.h.

typedef std::vector<ArmorZone> Pol::Core::ArmorZones

Definition at line 108 of file uvars.h.

Definition at line 106 of file uvars.h.

Definition at line 115 of file uvars.h.

typedef std::map<std::string, ConfigFileRef> Pol::Core::CfgFiles

Definition at line 32 of file ucfg.h.

Definition at line 42 of file reftypes.h.

typedef std::vector<Network::Client*> Pol::Core::Clients

Definition at line 37 of file network.h.

typedef std::vector<Core::CmdLevel> Pol::Core::CmdLevels

Definition at line 83 of file uvars.h.

Definition at line 101 of file cfgrepos.h.

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

Definition at line 212 of file uimport.cpp.

Definition at line 35 of file ucfg.h.

typedef std::multimap<pol_serial_t, UObject*> Pol::Core::DeferList

Definition at line 21 of file object_storage.h.

typedef std::deque<UOExecutor*> Pol::Core::ExecList

Definition at line 18 of file script_internals.h.

typedef unsigned int Pol::Core::gameclock_t

Definition at line 14 of file gameclck.h.

Definition at line 103 of file uvars.h.

typedef std::map<unsigned int, GuildRef> Pol::Core::Guilds

Definition at line 104 of file uvars.h.

Definition at line 22 of file script_internals.h.

Definition at line 114 of file uvars.h.

Definition at line 164 of file uworld.h.

Definition at line 43 of file reftypes.h.

Definition at line 93 of file uvars.h.

Definition at line 95 of file uvars.h.

Definition at line 116 of file uvars.h.

Definition at line 160 of file uworld.h.

Definition at line 165 of file uworld.h.

Definition at line 96 of file uvars.h.

typedef std::pair<std::string , u8 > Pol::Core::NameAndLayer

Definition at line 113 of file uvars.h.

Definition at line 94 of file uvars.h.

Definition at line 21 of file script_internals.h.

Definition at line 163 of file uworld.h.

Definition at line 44 of file reftypes.h.

typedef std::map<std::string, NpcTemplate*> Pol::Core::NpcTemplates

Definition at line 99 of file uvars.h.

Definition at line 98 of file uvars.h.

typedef std::map<std::string, u32, Clib::ci_cmp_pred> Pol::Core::ObjtypeByNameMap

Definition at line 111 of file uvars.h.

typedef std::vector<std::string> Pol::Core::OldCfgFiles

Definition at line 33 of file ucfg.h.

typedef std::map<unsigned int, unsigned int> Pol::Core::OldObjtypeConversions

Definition at line 110 of file uvars.h.

typedef void( * Pol::Core::ParamTextCmdFunc) (Network::Client *, const char *)

Definition at line 122 of file uvars.h.

typedef std::map<std::string, ParamTextCmdFunc, wordicmp> Pol::Core::ParamTextCmds

Definition at line 123 of file uvars.h.

typedef std::vector<PartyRef> Pol::Core::Parties

Definition at line 102 of file uvars.h.

Definition at line 101 of file uvars.h.

typedef std::map<unsigned int, UOExecutor*> Pol::Core::PidList

Definition at line 24 of file script_internals.h.

Definition at line 161 of file uworld.h.

Definition at line 24 of file poltype.h.

Definition at line 23 of file poltype.h.

Definition at line 28 of file polclock.cpp.

typedef int Pol::Core::polclock_t

Definition at line 26 of file polclock.h.

typedef int Pol::Core::polticks_t

Definition at line 27 of file polclock.h.

typedef std::set<std::string> Pol::Core::PropSet

Definition at line 118 of file uvars.h.

typedef std::vector<std::string> Pol::Core::QueryParam

Definition at line 117 of file sqlscrobj.h.

typedef std::shared_ptr<QueryParam> Pol::Core::QueryParams

Definition at line 120 of file sqlscrobj.h.

typedef unsigned short Pol::Core::RegionId

Definition at line 23 of file zone.h.

typedef std::shared_ptr<ResultWrapper> Pol::Core::RES_WRAPPER

Definition at line 55 of file sqlscrobj.h.

typedef std::map<std::string, ResourceDef*> Pol::Core::ResourceDefs

Definition at line 112 of file uvars.h.

Definition at line 35 of file exscrobj.h.

Definition at line 23 of file script_internals.h.

typedef std::unordered_map<pol_serial_t, unsigned> Pol::Core::SerialIndexMap

Definition at line 20 of file object_storage.h.

typedef std::vector<ServerDescription*> Pol::Core::Servers

Definition at line 40 of file network.h.

Definition at line 92 of file uvars.h.

typedef std::map<unsigned int, unsigned int> Pol::Core::StaticDifBlockIndex

Definition at line 42 of file uofile02.cpp.

typedef std::vector<StaticRec> Pol::Core::StaticList

Definition at line 38 of file udatfile.h.

typedef std::priority_queue<ScheduledTask*, std::vector<ScheduledTask*>, SchComparer> Pol::Core::TaskQueue

Definition at line 117 of file uvars.h.

typedef void( * Pol::Core::TextCmdFunc) (Network::Client *)

Definition at line 120 of file uvars.h.

typedef std::map<std::string, TextCmdFunc, Clib::ci_cmp_pred> Pol::Core::TextCmds

Definition at line 121 of file uvars.h.

typedef HoldList::iterator Pol::Core::TimeoutHandle

Definition at line 25 of file script_internals.h.

Definition at line 37 of file reftypes.h.

typedef std::map<std::string, Vital*, Clib::ci_cmp_pred> Pol::Core::VitalsByName

Definition at line 109 of file uvars.h.

typedef unsigned short Pol::Core::xcoord

Definition at line 19 of file poltype.h.

typedef unsigned short Pol::Core::ycoord

Definition at line 20 of file poltype.h.

typedef short Pol::Core::zcoord

Definition at line 21 of file poltype.h.

Definition at line 64 of file uworld.h.

typedef std::vector<Items::Item*> Pol::Core::ZoneItems

Definition at line 66 of file uworld.h.

typedef std::vector<Multi::UMulti*> Pol::Core::ZoneMultis

Definition at line 65 of file uworld.h.

Enumeration Type Documentation

Enumerator
BACKWARD 
FORWARD 

Definition at line 73 of file action.h.

Enumerator
PROP_AR_MOD 
PROP_MAX_ITEMS_MOD 
PROP_MAX_SLOTS_MOD 
PROP_MAX_WEIGHT_MOD 
PROP_SELLPRICE 
PROP_BUYPRICE 
PROP_MAXHP_MOD 
PROP_NAME_SUFFIX 
PROP_RESIST_FIRE 
PROP_RESIST_COLD 
PROP_RESIST_ENERGY 
PROP_RESIST_POISON 
PROP_RESIST_PHYSICAL 
PROP_DAMAGE_FIRE 
PROP_DAMAGE_COLD 
PROP_DAMAGE_ENERGY 
PROP_DAMAGE_POISON 
PROP_DAMAGE_PHYSICAL 
PROP_DMG_MOD 
PROP_SPEED_MOD 
PROP_ORIG_RESIST_FIRE 
PROP_ORIG_RESIST_COLD 
PROP_ORIG_RESIST_ENERGY 
PROP_ORIG_RESIST_POISON 
PROP_ORIG_RESIST_PHYSICAL 
PROP_ORIG_DAMAGE_FIRE 
PROP_ORIG_DAMAGE_COLD 
PROP_ORIG_DAMAGE_ENERGY 
PROP_ORIG_DAMAGE_POISON 
PROP_ORIG_DAMAGE_PHYSICAL 
PROP_STATCAP_SKILLCAP 
PROP_EXT_STATBAR_LUCK 
PROP_EXT_STATBAR_FOLLOWERS 
PROP_EXT_STATBAR_TITHING 
PROP_MOVEMENTCOST_MOD 
PROP_QUALITY 
PROP_DOUBLECLICK_WAIT 
PROP_DISABLE_SKILLS_UNTIL 
PROP_SQUELCHED_UNTIL 
PROP_DEAFENED_UNTIL 
PROP_LIGHTOVERRIDE_UNTIL 
PROP_LIGHTOVERRIDE 
PROP_TITLE_PREFIX 
PROP_TITLE_SUFFIX 
PROP_TITLE_GUILD 
PROP_TITLE_RACE 
PROP_SPEECH_COLOR 
PROP_SPEECH_FONT 
PROP_CARRY_CAPACITY_MOD 
PROP_DELAY_MOD 
PROP_HITCHANCE_MOD 
PROP_EVASIONCHANCE_MOD 
PROP_PARTY 
PROP_PARTY_CANDIDATE 
PROP_PARTY_OFFLINE 
PROP_GUILD 
PROP_GOTTEN_BY 
PROP_GOTTEN_ITEM 
PROP_PROCESS 
PROP_HOUSE 
PROP_FLAG_SIZE 

Definition at line 84 of file dynproperties.h.

Enumerator
ELEMENTAL_TYPE_MAX 
ELEMENTAL_FIRE 
ELEMENTAL_COLD 
ELEMENTAL_ENERGY 
ELEMENTAL_POISON 
ELEMENTAL_PHYSICAL 

Definition at line 79 of file uobject.h.

Enumerator
EVID_SPOKE 
EVID_ENGAGED 
EVID_DISENGAGED 
EVID_DAMAGED 
EVID_ENTEREDAREA 
EVID_LEFTAREA 
EVID_OPPONENT_MOVED 
EVID_HOSTILE_MOVED 
EVID_MERCHANT_BOUGHT 
EVID_MERCHANT_SOLD 
EVID_ITEM_GIVEN 
EVID_DOUBLECLICKED 
EVID_GHOST_SPEECH 
EVID_GONE_CRIMINAL 
EVID_TOKEN_SPOKE 
EVID_TOKEN_GHOST_SPOKE 

Definition at line 13 of file eventid.h.

enum Pol::Core::FilterType
strong
Enumerator
Mobile 
Player 
OnlinePlayer 
NPC 
Item 
Multi 

Definition at line 137 of file uworld.h.

Enumerator
LAYER_HAND1 
LAYER_HAND2 
LAYER_SHOES 
LAYER_PANTS 
LAYER_SHIRT 
LAYER_HAT 
LAYER_GLOVES 
LAYER_RING 
LAYER_TALISMAN 
LAYER_GORGET 
LAYER_HAIR 
LAYER_HALFAPRON 
LAYER_CHEST_ARMOR 
LAYER_BRACELET 
LAYER_FACE 
LAYER_BEARD 
LAYER_TUNIC 
LAYER_EARRINGS 
LAYER_ARM_ARMOR 
LAYER_CLOAK 
LAYER_BACKPACK 
LAYER_ROBE_DRESS 
LAYER_SKIRT 
LAYER_LEG_ARMOR 
LAYER_MOUNT 

Definition at line 37 of file layers.h.

Enumerator
LOWEST_LAYER 
LAYER_EQUIP__LOWEST 
HIGHEST_LAYER 
NUM_LAYERS 
LAYER_EQUIP__HIGHEST 
LAYER_BANKBOX 

Definition at line 26 of file layers.h.

Enumerator
MOVEMODE_NONE 
MOVEMODE_LAND 
MOVEMODE_SEA 
MOVEMODE_AIR 
MOVEMODE_FLY 

Definition at line 79 of file uconst.h.

enum Pol::Core::OBJ_FLAGS : u16
strong
Enumerator
DIRTY 
SAVE_ON_EXIT 
NEWBIE 
INSURED 
MOVABLE 
IN_USE 
INVISIBLE 
LOCKED 
CONTENT_TO_GRAVE 
NO_DROP 
NO_DROP_EXCEPTION 

Definition at line 128 of file uobject.h.

enum Pol::Core::PKTBOTHID : unsigned char
Enumerator
PKTBI_22_APPROVED_ID 
PKTBI_22_SYNC_ID 
PKTBI_2C_ID 
PKTBI_3A_ID 
PKTBI_3A_VALUES_ID 
PKTBI_3A_LOCKS_ID 
PKTBI_3A_CAPS_ID 
PKTBI_3B_ID 
PKTBI_56_ID 
PKTBI_66_ID 
PKTBI_6C_ID 
PKTBI_6F_ID 
PKTBI_71_ID 
PKTBI_72_ID 
PKTBI_73_ID 
PKTBI_93_ID 
PKTBI_95_ID 
PKTBI_98_IN_ID 
PKTBI_98_OUT_ID 
PKTBI_99_ID 
PKTBI_9A_ID 
PKTBI_B8_IN_ID 
PKTBI_B8_OUT_ID 
PKTBI_BB_ID 
PKTBI_BD_ID 
PKTBI_BF_ID 
PKTBI_C2_ID 
PKTBI_C8_ID 
PKTBI_D1_ID 
PKTBI_D6_OUT_ID 
PKTBI_D6_IN_ID 
PKTBI_D7_ID 

Definition at line 16 of file pktbothid.h.

Enumerator
PKTIN_00_ID 
PKTIN_01_ID 
PKTIN_02_ID 
PKTIN_03_ID 
PKTIN_04_ID 
PKTIN_05_ID 
PKTIN_06_ID 
PKTIN_07_ID 
PKTIN_08_V1_ID 
PKTIN_08_V2_ID 
PKTIN_09_ID 
PKTIN_12_ID 
PKTIN_13_ID 
PKTIN_1E_ID 
PKTIN_34_ID 
PKTIN_5D_ID 
PKTIN_75_ID 
PKTIN_7D_ID 
PKTIN_80_ID 
PKTIN_83_ID 
PKTIN_8D_ID 
PKTIN_91_ID 
PKTIN_9B_ID 
PKTIN_9F_ID 
PKTIN_A0_ID 
PKTIN_A4_ID 
PKTIN_A7_ID 
PKTIN_AC_ID 
PKTIN_AD_ID 
PKTIN_B1_ID 
PKTIN_B5_ID 
PKTIN_B6_ID 
PKTIN_D9_ID 
PKTIN_E1_ID 
PKTIN_E4_ID 
PKTIN_EF_ID 
PKTIN_F8_ID 

Definition at line 17 of file pktinid.h.

enum Pol::Core::PKTOUTID : unsigned char
Enumerator
PKTOUT_0B_ID 
PKTOUT_11_ID 
PKTOUT_17_ID 
PKTOUT_1A_ID 
PKTOUT_1B_ID 
PKTOUT_1C_ID 
PKTOUT_1D_ID 
PKTOUT_1F_ID 
PKTOUT_20_ID 
PKTOUT_21_ID 
PKTOUT_23_ID 
PKTOUT_24_ID 
PKTOUT_25_ID 
PKTOUT_26_ID 
PKTOUT_27_ID 
PKTOUT_28_ID 
PKTOUT_29_ID 
PKTOUT_2A_ID 
PKTOUT_2B_ID 
PKTOUT_2D_ID 
PKTOUT_2E_ID 
PKTOUT_2F_ID 
PKTOUT_30_ID 
PKTOUT_31_ID 
PKTOUT_32_ID 
PKTOUT_33_ID 
PKTOUT_36_ID 
PKTOUT_3C_ID 
PKTOUT_3E_ID 
PKTOUT_3F_ID 
PKTOUT_41_ID 
PKTOUT_42_ID 
PKTOUT_43_ID 
PKTOUT_44_ID 
PKTOUT_4E_ID 
PKTOUT_4F_ID 
PKTOUT_53_ID 
PKTOUT_54_ID 
PKTOUT_55_ID 
PKTOUT_5B_ID 
PKTOUT_65_ID 
PKTOUT_6D_ID 
PKTOUT_6E_ID 
PKTOUT_70_ID 
PKTOUT_74_ID 
PKTOUT_76_ID 
PKTOUT_77_ID 
PKTOUT_78_ID 
PKTOUT_7C_ID 
PKTOUT_82_ID 
PKTOUT_86_ID 
PKTOUT_88_ID 
PKTOUT_89_ID 
PKTOUT_8C_ID 
PKTOUT_90_ID 
PKTOUT_97_ID 
PKTOUT_9C_ID 
PKTOUT_9E_ID 
PKTOUT_A1_ID 
PKTOUT_A2_ID 
PKTOUT_A3_ID 
PKTOUT_A5_ID 
PKTOUT_A6_ID 
PKTOUT_A8_ID 
PKTOUT_A9_ID 
PKTOUT_AA_ID 
PKTOUT_AB_ID 
PKTOUT_AE_ID 
PKTOUT_AF_ID 
PKTOUT_B0_ID 
PKTOUT_B7_ID 
PKTOUT_B9_ID 
PKTOUT_B9_V2_ID 
PKTOUT_BA_ID 
PKTOUT_BC_ID 
PKTOUT_C0_ID 
PKTOUT_C1_ID 
PKTOUT_C4_ID 
PKTOUT_C7_ID 
PKTOUT_CC_ID 
PKTOUT_D8_ID 
PKTOUT_DC_ID 
PKTOUT_DD_ID 
PKTOUT_DF_ID 
PKTOUT_E2_ID 
PKTOUT_E3_ID 
PKTOUT_F3_ID 
PKTOUT_F5_ID 
PKTOUT_F6_ID 
PKTOUT_F7_ID 

Definition at line 21 of file pktoutid.h.

Enumerator
ToolTipPriorityNone 
ToolTipPrioritySystem 
ToolTipPriorityScript 
ToolTipPriorityShutdown 

Definition at line 39 of file core.h.

Enumerator
REPEAT 
NOREPEAT 

Definition at line 78 of file action.h.

Enumerator
ACTION__LOWEST 
ACTION_WALK_UNARMED 
ACTION_WALK_ARMED 
ACTION_RUN1 
ACTION_RUN2 
ACTION_LOOK_AROUND 
ACTION_LOOK_DOWN 
ACTION_WARMODE1 
ACTION_WARMODE2 
ACTION_HUMAN_ATTACK 
ACTION_HUMAN_ATACK_THRUST 
ACTION_HUMAN_ATTACK_BIGSWING 
ACTION_ATTACK4 
ACTION_ATTACK5 
ACTION_ATTACK6 
ACTION_READY2 
ACTION_CAST_SPELL1 
ACTION_CAST_SPELL2 
ACTION_HUMAN_SHOOT_BOW 
ACTION_SHOOT_CROSSBOW 
ACTION_GOT_HIT 
ACTION_STRUCK_DOWN_BACKWARD 
ACTION_STRUCK_DOWN_FORWARD 
ACTION_RIDINGHORSE1 
ACTION_RIDINGHORSE2 
ACTION_RIDINGHORSE3 
ACTION_RIDINGHORSE4 
ACTION_RIDINGHORSE5 
ACTION_RIDINGHORSE6 
ACTION_RIDINGHORSE7 
ACTION_DODGE1 
ACTION_UNKNOWN1 
ACTION_BOW 
ACTION_SALUTE 
ACTION_EAT 
ACTION__HIGHEST 

Definition at line 24 of file action.h.

Enumerator
FACING_N 
FACING_NE 
FACING_E 
FACING_SE 
FACING_S 
FACING_SW 
FACING_W 
FACING_NW 

Definition at line 40 of file uconst.h.

Enumerator
GENDER_MALE 
GENDER_FEMALE 

Definition at line 20 of file uconst.h.

enum Pol::Core::UOBJ_CLASS : u8
strong

This is meant to be coarse-grained. It's meant as an alternative to dynamic_cast.

Mostly used to go from UItem to UContainer.

Warning
When adding a class, be sure to to also update class_to_type static method
Enumerator
CLASS_ITEM 
CLASS_CONTAINER 
CLASS_CHARACTER 
CLASS_NPC 
CLASS_WEAPON 
CLASS_ARMOR 
CLASS_MULTI 
INVALID 

Definition at line 21 of file baseobject.h.

Enumerator
RACE_HUMAN 
RACE_ELF 
RACE_GARGOYLE 

Definition at line 26 of file uconst.h.

Enumerator
SKILLID__LOWEST 
SKILLID__CLIENT_LOWEST 
SKILLID_ALCHEMY 
SKILLID_ANATOMY 
SKILLID_ANIMALLORE 
SKILLID_ITEMID 
SKILLID_ARMSLORE 
SKILLID_BATTLE_DEFENSE 
SKILLID_BEGGING 
SKILLID_BLACKSMITHY 
SKILLID_BOWCRAFT 
SKILLID_PEACEMAKING 
SKILLID_CAMPING 
SKILLID_CARPENTRY 
SKILLID_CARTOGRAPHY 
SKILLID_COOKING 
SKILLID_DETECTINGHIDDEN 
SKILLID_ENTICEMENT 
SKILLID_EVALUATINGINTEL 
SKILLID_HEALING 
SKILLID_FISHING 
SKILLID_FORENSICS 
SKILLID_HERDING 
SKILLID_HIDING 
SKILLID_PROVOCATION 
SKILLID_INSCRIPTION 
SKILLID_LOCKPICKING 
SKILLID_MAGERY 
SKILLID_MAGICRESISTANCE 
SKILLID_TACTICS 
SKILLID_SNOOPING 
SKILLID_MUSICIANSHIP 
SKILLID_POISONING 
SKILLID_ARCHERY 
SKILLID_SPIRITSPEAK 
SKILLID_STEALING 
SKILLID_TAILORING 
SKILLID_TAMING 
SKILLID_TASTEID 
SKILLID_TINKERING 
SKILLID_TRACKING 
SKILLID_VETERINARY 
SKILLID_SWORDSMANSHIP 
SKILLID_MACEFIGHTING 
SKILLID_FENCING 
SKILLID_WRESTLING 
SKILLID_LUMBERJACKING 
SKILLID_MINING 
SKILLID_MEDITATION 
SKILLID_STEALTH 
SKILLID_REMOVE_TRAP 
SKILLID_NECROMANCY 
SKILLID_BATTLE_FOCUS 
SKILLID_CHIVALRY 
SKILLID_BUSHIDO 
SKILLID_NINJITSU 
SKILLID_SPELLWEAVING 
SKILLID_MYSTICISM 
SKILLID_IMBUING 
SKILLID_THROWING 
SKILLID__CLIENT_HIGHEST 
SKILLID__HIGHEST 
SKILLID__COUNT 

Definition at line 15 of file skillid.h.

Enumerator
TEXTTYPE_NORMAL 
TEXTTYPE_SYS_BROADCAST 
TEXTTYPE_EMOTE 
TEXTTYPE_YOU_SEE 
TEXTTYPE_WHISPER 
TEXTTYPE_YELL 

Definition at line 53 of file uconst.h.

Function Documentation

bool Pol::Core::acct_check ( Network::Client client,
int  i 
)
static void Pol::Core::add_task ( ScheduledTask task)
static
unsigned int Pol::Core::base_to_raw ( unsigned short  base)
void Pol::Core::broadcast ( const char *  text,
unsigned short  font,
unsigned short  color,
unsigned short  requiredCmdLevel 
)
void Pol::Core::broadcast ( const u16 wtext,
const char  lang[4],
unsigned short  font,
unsigned short  color,
unsigned short  requiredCmdLevel 
)

Definition at line 1225 of file ufunc.cpp.

References Pol::Core::NetworkManager::clients, networkManager, and send_sysmessage().

void Pol::Core::build_sysmessage_cl ( PktOut_C1 msg,
unsigned int  cliloc_num,
const u16 arguments,
unsigned short  font,
unsigned short  color 
)
void Pol::Core::build_sysmessage_cl_affix ( PktOut_CC msg,
unsigned int  cliloc_num,
const char *  affix,
bool  prepend,
const u16 arguments,
unsigned short  font,
unsigned short  color 
)
void Pol::Core::calc_abs_timeout ( struct timespec *  ptimeout,
unsigned int  millis 
)

Definition at line 195 of file polsem.cpp.

Referenced by tasks_thread_sleep(), wait_for_ClientTransmit_pulse(), and wait_for_pulse().

void Pol::Core::call_chr_scripts ( Mobile::Character chr,
const std::string &  root_script_ecl,
const std::string &  pkg_script_ecl,
bool  offline = false 
)
void Pol::Core::call_ondelete_scripts ( Mobile::Character chr)

Definition at line 378 of file pol.cpp.

References call_chr_scripts().

Referenced by Pol::Accounts::AccountObjImp::call_method_id(), and handle_delete_character().

bool Pol::Core::call_script ( const ScriptDef script,
Bscript::BObjectImp param0,
Bscript::BObjectImp param1 
)

Definition at line 558 of file scrsched.cpp.

References Pol::Bscript::BObject::isTrue(), and run_script_to_completion().

bool Pol::Core::call_script ( const ScriptDef script,
Bscript::BObjectImp param0,
Bscript::BObjectImp param1,
Bscript::BObjectImp param2 
)

Definition at line 571 of file scrsched.cpp.

References Pol::Bscript::BObject::isTrue(), and run_script_to_completion().

bool Pol::Core::call_script ( const ScriptDef script,
Bscript::BObjectImp param0,
Bscript::BObjectImp param1,
Bscript::BObjectImp param2,
Bscript::BObjectImp param3 
)

Definition at line 584 of file scrsched.cpp.

References Pol::Bscript::BObject::isTrue(), and run_script_to_completion().

bool Pol::Core::call_script ( const ScriptDef script,
Bscript::BObjectImp param0,
Bscript::BObjectImp param1,
Bscript::BObjectImp param2,
Bscript::BObjectImp param3,
Bscript::BObjectImp param4 
)

Definition at line 597 of file scrsched.cpp.

References Pol::Bscript::BObject::isTrue(), and run_script_to_completion().

bool Pol::Core::call_script ( const ScriptDef script,
Bscript::BObjectImp param0,
Bscript::BObjectImp param1,
Bscript::BObjectImp param2,
Bscript::BObjectImp param3,
Bscript::BObjectImp param4,
Bscript::BObjectImp param5 
)

Definition at line 612 of file scrsched.cpp.

References Pol::Bscript::BObject::isTrue(), and run_script_to_completion().

bool Pol::Core::call_script ( const ScriptDef script,
Bscript::BObjectImp param0,
Bscript::BObjectImp param1,
Bscript::BObjectImp param2,
Bscript::BObjectImp param3,
Bscript::BObjectImp param4,
Bscript::BObjectImp param5,
Bscript::BObjectImp param6 
)

Definition at line 627 of file scrsched.cpp.

References Pol::Bscript::BObject::isTrue(), and run_script_to_completion().

bool Pol::Core::can_delete_character ( Mobile::Character chr,
int  delete_by 
)
bool Pol::Core::can_see_on_corpse ( const Client client,
const Item item 
)
void Pol::Core::char_select ( Network::Client client,
PKTIN_5D msg 
)
bool Pol::Core::check_inactivity ( Network::Client client)
bool Pol::Core::check_item_integrity ( )
void Pol::Core::check_scheduled_tasks2 ( void  )
bool Pol::Core::check_single_zone_item_integrity ( int  x,
int  y,
Realms::Realm realm 
)
bool Pol::Core::check_verdata ( unsigned int  file,
unsigned int  block,
const Core::USTRUCT_VERSION *&  vrec 
)

Definition at line 70 of file uofile01.cpp.

References Pol::Core::VerdataIndexes::find().

Referenced by Pol::UoConvert::create_multis_cfg().

void Pol::Core::checkpoint ( const char *  msg,
unsigned short  minlvl 
)
void Pol::Core::clean_resources ( )

Definition at line 488 of file resource.cpp.

References gamestate, and Pol::Core::GameState::resourcedefs.

Referenced by Pol::Core::GameState::cleanup_vars().

void Pol::Core::clean_skills ( )

Definition at line 93 of file uoskills.cpp.

References gamestate, and Pol::Core::GameState::uo_skills.

Referenced by Pol::Core::GameState::cleanup_vars().

void Pol::Core::clean_spells ( )
void Pol::Core::clean_vitals ( )
void Pol::Core::clear_listen_points ( )
void Pol::Core::clear_save_index ( )
bool Pol::Core::client_io_thread ( Network::Client client,
bool  login 
)

Definition at line 58 of file clientthread.cpp.

References Pol::Network::Client::acct, Pol::Network::AddressToString(), call_chr_scripts(), check_inactivity(), checkpoint(), Pol::Network::Client::checkpoint, Pol::Network::Client::chr, Pol::Network::ClientGameData::clear(), CLIENT_CHECKPOINT, Pol::Core::NetworkManager::clients, Pol::Core::NetworkManager::clientTransmit, Pol::Mobile::Character::cmdlevel(), Pol::Plib::SystemState::config, Pol::Mobile::Character::connected(), CoreSetSysTrayToolTip(), Pol::Network::Client::csocket, Pol::Mobile::Character::disconnect_cleanup(), Pol::Core::ScriptDef::exists(), Pol::Clib::exit_signalled, Pol::Clib::fdump(), Pol::Network::PacketRegistry::find_handler(), Pol::Network::Client::forceDisconnect(), Pol::Network::MSG_HANDLER::func, Pol::Network::Client::gd, Pol::Network::Client::have_queued_data(), Pol::Bscript::BObject::impptr(), Pol::Core::PolConfig::inactivity_disconnect_timeout, INFO_PRINT, INFO_PRINT_TRACE, Pol::Network::Client::instance_, INVALID_SOCKET, Pol::Network::Client::ipaddr, Pol::Core::TaskScheduler::is_dirty(), Pol::Bscript::BObject::isa(), Pol::Network::Client::isConnected(), Pol::Network::Client::isReallyConnected(), Pol::Network::Client::last_activity_at, Pol::Network::Client::last_packet_at, Pol::Core::PolConfig::min_cmdlvl_ignore_inactivity, Pol::Network::Client::movementqueue, Pol::Accounts::Account::name(), networkManager, Pol::Realms::Realm::notify_left(), Pol::Bscript::BObjectImp::OTLong, passert_r, Pol::Network::Client::pause_count, Pol::Network::PacketThrottler::pktbuffer, PKTOUT_53_WARN_CHARACTER_IDLE, pol_sleep_ms(), polclock(), POLCLOCKS_PER_SEC, POLLOG, POLLOG_ERROR, process_data(), Pol::Core::ScriptDef::quickconfig(), Pol::Core::ULWObject::realm, Pol::Network::Client::restart(), restart_all_clients(), run_script_to_completion(), Pol::Core::PolConfig::select_timeout_usecs, Pol::Network::PktHelper::PacketOut< T >::Send(), send_pulse(), Pol::Network::Client::send_queued_data(), SOCKET_ERRNO, socket_errno, Pol::Network::Client::SpeedHackPrevention(), Pol::Plib::systemstate, ToolTipPrioritySystem, Pol::Clib::tostring(), Pol::Network::Client::unregister(), Pol::Bscript::BLong::value(), and wake_tasks_thread().

Referenced by Pol::Core::UoClientThread::run(), and uo_client_listener_thread().

void Pol::Core::ClientCreateChar ( Network::Client client,
PKTIN_00 msg 
)

Definition at line 201 of file create.cpp.

References Pol::Network::Client::acct, Pol::Mobile::Character::acct, Pol::Core::UContainer::add(), add_item_to_world(), Pol::Bscript::Executor::addModule(), Pol::Network::AddressToString(), Pol::Mobile::Character::attribute(), Pol::Mobile::Attribute::attrid, Pol::Mobile::AttributeValue::base(), Pol::Core::PKTIN_00::BeardColor, Pol::Core::PKTIN_00::BeardStyle, Pol::Mobile::Character::calc_vital_stuff(), Pol::Core::UContainer::can_add_to_slot(), cfBEu16, Pol::Core::PolConfig::character_slots, Pol::Core::PKTIN_00::CharNumber, Pol::Network::Client::chr, Pol::Mobile::Character::client, Pol::Core::PKTIN_00::clientflag, Pol::Network::Client::ClientType, Pol::Network::CLIENTTYPE_7000, Pol::Mobile::Character::cmdlevel(), Pol::Core::UObject::color, Pol::Plib::SystemState::config, Pol::Items::Item::create(), create_script_executor(), Pol::Mobile::Character::created_at, Pol::Module::OSExecutorModule::critical, ctBEu32, Pol::Accounts::Account::default_cmdlevel(), Pol::Accounts::Account::default_privlist(), Pol::Core::UObject::destroy(), Pol::Core::PKTIN_00::Dexterity, Pol::Network::Client::Disconnect(), Pol::Mobile::Character::equip(), Pol::Mobile::Character::equippable(), ERROR_PRINT, Pol::Core::UObject::facing, FACING_W, find_script(), Pol::Network::FLAG_GENDER, Pol::Network::FLAG_RACE, Pol::Network::Client::forceDisconnect(), Pol::Core::NetworkManager::game_filter, gamestate, Pol::Mobile::Character::gender, GENDER_FEMALE, GENDER_MALE, ref_ptr< T >::get(), Pol::Accounts::Account::get_character(), GetNextSerialNumber(), GetUOSkill(), Pol::Core::ULWObject::graphic, Pol::Core::PKTIN_00::HairColor, Pol::Core::PKTIN_00::HairStyle, Pol::Accounts::Account::has_active_characters(), Pol::Core::ObjectHash::Insert(), Pol::Core::PKTIN_00::Intelligence, Pol::Network::Client::ipaddr, Pol::Network::Client::ipaddrAsString(), Pol::Items::Item::layer, LAYER_BACKPACK, LAYER_BEARD, LAYER_HAIR, LAYER_HAND1, LAYER_ROBE_DRESS, LAYER_SHOES, LOGIN_ERROR_MISC, LOGIN_ERROR_OTHER_CHAR_INUSE, make_mobileref(), Pol::Core::UoClientGeneral::maxskills, move_item(), Pol::Network::Client::msgtype_filter, Pol::Accounts::Account::name(), Pol::Core::PKTIN_00::Name, Pol::Core::UObject::name_, networkManager, Pol::Items::Item::newbie(), Pol::Core::ServSpecOpt::newbie_starting_equipment, Pol::Core::ObjectStorageManager::objecthash, objStorageManager, Pol::Core::UObject::objtype_, Pol::Core::UOExecutor::os_module, Pol::Core::PKTIN_00::pantscolor, Pol::Core::UOSkill::pAttr, Pol::Core::GameState::pAttrDexterity, Pol::Core::GameState::pAttrIntelligence, Pol::Core::GameState::pAttrStrength, Pol::Realms::PlayerEnter, POLLOG, Pol::Mobile::Character::position_changed(), Pol::Core::PKTIN_00::profession, Pol::Bscript::Executor::pushArg(), Pol::Mobile::Character::race, RACE_ELF, RACE_GARGOYLE, RACE_HUMAN, read_gameclock(), Pol::Core::ULWObject::realm, register_with_supporting_multi(), run_logon_script(), schedule_executor(), send_login_error(), Pol::Core::ULWObject::serial, Pol::Core::UObject::serial_ext, ref_ptr< T >::set(), Pol::Accounts::Account::set_character(), Pol::Mobile::Character::set_privs(), Pol::Mobile::Character::set_vitals_to_maximum(), Pol::Items::Item::setamount(), SetCharacterWorldPosition(), Pol::Bscript::Executor::setProgram(), settingsManager, Pol::Core::PKTIN_00::Sex, Pol::Core::PKTIN_00::shirtcolor, Pol::Core::PKTIN_00::SkillNumber1, Pol::Core::PKTIN_00::SkillNumber2, Pol::Core::PKTIN_00::SkillNumber3, Pol::Core::PKTIN_00::SkillValue1, Pol::Core::PKTIN_00::SkillValue2, Pol::Core::PKTIN_00::SkillValue3, Pol::Core::PKTIN_00::SkinColor, Pol::Items::Item::slot_index(), Pol::Core::SettingsManager::ssopt, start_client_char(), Pol::Core::PKTIN_00::StartIndex, Pol::Core::ServSpecOpt::starting_gold, Pol::Core::GameState::startlocations, Pol::Core::PKTIN_00::Strength, Pol::Plib::systemstate, tilelayer(), Pol::Core::ServSpecOpt::total_stats_at_creation, Pol::Mobile::Character::truecolor, Pol::Mobile::Character::trueobjtype, UOBJ_BACKPACK, UOBJ_ELF_FEMALE, UOBJ_ELF_MALE, UOBJ_GARGOYLE_FEMALE, UOBJ_GARGOYLE_MALE, UOBJ_HUMAN_FEMALE, UOBJ_HUMAN_MALE, Pol::Core::NetworkManager::uoclient_general, Pol::Network::Client::UOExpansionFlagClient, validbeard(), validhair(), Pol::Mobile::Character::wornitems, Pol::Core::Coordinate::x, Pol::Core::ULWObject::x, Pol::Core::Coordinate::y, Pol::Core::ULWObject::y, Pol::Core::Coordinate::z, and Pol::Core::ULWObject::z.

Referenced by Pol::Network::PacketRegistry::initialize_msg_handlers().

void Pol::Core::ClientCreateChar70160 ( Network::Client client,
PKTIN_F8 msg 
)

Definition at line 953 of file create.cpp.

References Pol::Network::Client::acct, Pol::Mobile::Character::acct, Pol::Core::UContainer::add(), add_item_to_world(), Pol::Bscript::Executor::addModule(), Pol::Network::AddressToString(), Pol::Mobile::Character::attribute(), Pol::Mobile::Attribute::attrid, Pol::Mobile::AttributeValue::base(), Pol::Core::PKTIN_F8::BeardColor, Pol::Core::PKTIN_F8::BeardStyle, Pol::Mobile::Character::calc_vital_stuff(), Pol::Core::UContainer::can_add_to_slot(), cfBEu16, Pol::Core::PolConfig::character_slots, Pol::Core::PKTIN_F8::CharNumber, Pol::Network::Client::chr, Pol::Mobile::Character::client, Pol::Core::PKTIN_F8::clientflag, Pol::Network::Client::ClientType, Pol::Network::CLIENTTYPE_7000, Pol::Mobile::Character::cmdlevel(), Pol::Core::UObject::color, Pol::Plib::SystemState::config, Pol::Items::Item::create(), create_script_executor(), Pol::Mobile::Character::created_at, Pol::Module::OSExecutorModule::critical, ctBEu32, Pol::Accounts::Account::default_cmdlevel(), Pol::Accounts::Account::default_privlist(), Pol::Core::UObject::destroy(), Pol::Core::PKTIN_F8::Dexterity, Pol::Network::Client::Disconnect(), Pol::Mobile::Character::equip(), Pol::Mobile::Character::equippable(), ERROR_PRINT, Pol::Core::UObject::facing, FACING_W, find_script(), Pol::Network::FLAG_GENDER, Pol::Network::FLAG_RACE, Pol::Network::Client::forceDisconnect(), Pol::Core::NetworkManager::game_filter, gamestate, Pol::Mobile::Character::gender, GENDER_FEMALE, GENDER_MALE, ref_ptr< T >::get(), Pol::Accounts::Account::get_character(), GetNextSerialNumber(), GetUOSkill(), Pol::Core::ULWObject::graphic, Pol::Core::PKTIN_F8::HairColor, Pol::Core::PKTIN_F8::HairStyle, Pol::Accounts::Account::has_active_characters(), Pol::Core::ObjectHash::Insert(), Pol::Core::PKTIN_F8::Intelligence, Pol::Network::Client::ipaddr, Pol::Network::Client::ipaddrAsString(), Pol::Items::Item::layer, LAYER_BACKPACK, LAYER_BEARD, LAYER_HAIR, LAYER_HAND1, LAYER_ROBE_DRESS, LAYER_SHOES, LOGIN_ERROR_MISC, LOGIN_ERROR_OTHER_CHAR_INUSE, make_mobileref(), Pol::Core::UoClientGeneral::maxskills, move_item(), Pol::Network::Client::msgtype_filter, Pol::Accounts::Account::name(), Pol::Core::PKTIN_F8::Name, Pol::Core::UObject::name_, networkManager, Pol::Items::Item::newbie(), Pol::Core::ServSpecOpt::newbie_starting_equipment, Pol::Core::ObjectStorageManager::objecthash, objStorageManager, Pol::Core::UObject::objtype_, Pol::Core::UOExecutor::os_module, Pol::Core::PKTIN_F8::pantscolor, Pol::Core::UOSkill::pAttr, Pol::Core::GameState::pAttrDexterity, Pol::Core::GameState::pAttrIntelligence, Pol::Core::GameState::pAttrStrength, Pol::Realms::PlayerEnter, POLLOG, Pol::Mobile::Character::position_changed(), Pol::Core::PKTIN_F8::profession, Pol::Bscript::Executor::pushArg(), Pol::Mobile::Character::race, RACE_ELF, RACE_GARGOYLE, RACE_HUMAN, read_gameclock(), Pol::Core::ULWObject::realm, register_with_supporting_multi(), run_logon_script(), schedule_executor(), send_login_error(), Pol::Core::ULWObject::serial, Pol::Core::UObject::serial_ext, ref_ptr< T >::set(), Pol::Accounts::Account::set_character(), Pol::Mobile::Character::set_privs(), Pol::Mobile::Character::set_vitals_to_maximum(), Pol::Items::Item::setamount(), SetCharacterWorldPosition(), Pol::Bscript::Executor::setProgram(), settingsManager, Pol::Core::PKTIN_F8::Sex, Pol::Core::PKTIN_F8::shirtcolor, SKILLID_EVALUATINGINTEL, SKILLID_SPIRITSPEAK, Pol::Core::PKTIN_F8::SkillNumber1, Pol::Core::PKTIN_F8::SkillNumber2, Pol::Core::PKTIN_F8::SkillNumber3, Pol::Core::PKTIN_F8::SkillNumber4, Pol::Core::PKTIN_F8::SkillValue1, Pol::Core::PKTIN_F8::SkillValue2, Pol::Core::PKTIN_F8::SkillValue3, Pol::Core::PKTIN_F8::SkillValue4, Pol::Core::PKTIN_F8::SkinColor, Pol::Items::Item::slot_index(), Pol::Core::SettingsManager::ssopt, start_client_char(), Pol::Core::PKTIN_F8::StartIndex, Pol::Core::ServSpecOpt::starting_gold, Pol::Core::GameState::startlocations, Pol::Core::PKTIN_F8::Strength, Pol::Plib::systemstate, tilelayer(), Pol::Core::ServSpecOpt::total_stats_at_creation, Pol::Mobile::Character::truecolor, Pol::Mobile::Character::trueobjtype, UOBJ_BACKPACK, UOBJ_ELF_FEMALE, UOBJ_ELF_MALE, UOBJ_GARGOYLE_FEMALE, UOBJ_GARGOYLE_MALE, UOBJ_HUMAN_FEMALE, UOBJ_HUMAN_MALE, Pol::Core::NetworkManager::uoclient_general, Pol::Network::Client::UOExpansionFlagClient, validbeard(), validhair(), Pol::Mobile::Character::wornitems, Pol::Core::Coordinate::x, Pol::Core::ULWObject::x, Pol::Core::Coordinate::y, Pol::Core::ULWObject::y, Pol::Core::Coordinate::z, and Pol::Core::ULWObject::z.

Referenced by Pol::Network::PacketRegistry::initialize_msg_handlers().

void Pol::Core::ClientCreateCharKR ( Network::Client client,
PKTIN_8D msg 
)

Definition at line 595 of file create.cpp.

References Pol::Network::Client::acct, Pol::Mobile::Character::acct, Pol::Core::UContainer::add(), add_item_to_world(), Pol::Bscript::Executor::addModule(), Pol::Network::AddressToString(), Pol::Mobile::Character::attribute(), Pol::Mobile::Attribute::attrid, Pol::Mobile::AttributeValue::base(), Pol::Core::PKTIN_8D::beardcolor, Pol::Core::PKTIN_8D::beardstyle, Pol::Mobile::Character::calc_vital_stuff(), Pol::Core::UContainer::can_add_to_slot(), cfBEu16, Pol::Core::PKTIN_8D::char_slot, Pol::Network::Client::chr, Pol::Mobile::Character::client, Pol::Mobile::Character::cmdlevel(), Pol::Core::UObject::color, Pol::Items::Item::create(), create_script_executor(), Pol::Mobile::Character::created_at, Pol::Module::OSExecutorModule::critical, ctBEu32, Pol::Accounts::Account::default_cmdlevel(), Pol::Accounts::Account::default_privlist(), Pol::Core::UObject::destroy(), Pol::Core::PKTIN_8D::dexterity, Pol::Network::Client::Disconnect(), Pol::Mobile::Character::equip(), Pol::Mobile::Character::equippable(), ERROR_PRINT, Pol::Core::PKTIN_8D::face_color, Pol::Core::PKTIN_8D::face_id, Pol::Core::UObject::facing, FACING_W, find_script(), Pol::Core::PKTIN_8D::flags, Pol::Network::Client::forceDisconnect(), Pol::Core::NetworkManager::game_filter, gamestate, Pol::Core::PKTIN_8D::gender, Pol::Mobile::Character::gender, GENDER_FEMALE, GENDER_MALE, ref_ptr< T >::get(), Pol::Accounts::Account::get_character(), GetNextSerialNumber(), GetUOSkill(), Pol::Core::ULWObject::graphic, Pol::Core::PKTIN_8D::haircolor, Pol::Core::PKTIN_8D::hairstyle, Pol::Accounts::Account::has_active_characters(), Pol::Core::ObjectHash::Insert(), Pol::Core::PKTIN_8D::intelligence, Pol::Network::Client::ipaddr, Pol::Network::Client::ipaddrAsString(), Pol::Items::Item::layer, LAYER_BACKPACK, LAYER_BEARD, LAYER_FACE, LAYER_HAIR, LAYER_HAND1, LAYER_ROBE_DRESS, LAYER_SHOES, LOGIN_ERROR_MISC, LOGIN_ERROR_OTHER_CHAR_INUSE, make_mobileref(), Pol::Core::UoClientGeneral::maxskills, move_item(), Pol::Network::Client::msgtype_filter, Pol::Accounts::Account::name(), Pol::Core::PKTIN_8D::name, Pol::Core::UObject::name_, networkManager, Pol::Items::Item::newbie(), Pol::Core::ServSpecOpt::newbie_starting_equipment, Pol::Core::ObjectStorageManager::objecthash, objStorageManager, Pol::Core::UObject::objtype_, Pol::Core::UOExecutor::os_module, Pol::Core::PKTIN_8D::pantscolor, Pol::Core::UOSkill::pAttr, Pol::Core::GameState::pAttrDexterity, Pol::Core::GameState::pAttrIntelligence, Pol::Core::GameState::pAttrStrength, Pol::Realms::PlayerEnter, POLLOG, Pol::Mobile::Character::position_changed(), Pol::Core::PKTIN_8D::profession, Pol::Bscript::Executor::pushArg(), Pol::Core::PKTIN_8D::race, Pol::Mobile::Character::race, RACE_ELF, RACE_GARGOYLE, RACE_HUMAN, read_gameclock(), Pol::Core::ULWObject::realm, register_with_supporting_multi(), run_logon_script(), schedule_executor(), send_login_error(), Pol::Core::ULWObject::serial, Pol::Core::UObject::serial_ext, ref_ptr< T >::set(), Pol::Accounts::Account::set_character(), Pol::Mobile::Character::set_privs(), Pol::Mobile::Character::set_vitals_to_maximum(), Pol::Items::Item::setamount(), SetCharacterWorldPosition(), Pol::Bscript::Executor::setProgram(), settingsManager, Pol::Core::PKTIN_8D::shirtcolor, Pol::Core::PKTIN_8D::skillnumber1, Pol::Core::PKTIN_8D::skillnumber2, Pol::Core::PKTIN_8D::skillnumber3, Pol::Core::PKTIN_8D::skillnumber4, Pol::Core::PKTIN_8D::skillvalue1, Pol::Core::PKTIN_8D::skillvalue2, Pol::Core::PKTIN_8D::skillvalue3, Pol::Core::PKTIN_8D::skillvalue4, Pol::Core::PKTIN_8D::skin_color, Pol::Items::Item::slot_index(), Pol::Core::SettingsManager::ssopt, start_client_char(), Pol::Core::ServSpecOpt::starting_gold, Pol::Core::GameState::startlocations, Pol::Core::PKTIN_8D::strength, Pol::Plib::systemstate, tilelayer(), Pol::Core::ServSpecOpt::total_stats_at_creation, Pol::Mobile::Character::truecolor, Pol::Mobile::Character::trueobjtype, UOBJ_BACKPACK, UOBJ_ELF_FEMALE, UOBJ_ELF_MALE, UOBJ_GARGOYLE_FEMALE, UOBJ_GARGOYLE_MALE, UOBJ_HUMAN_FEMALE, UOBJ_HUMAN_MALE, Pol::Core::NetworkManager::uoclient_general, Pol::Network::Client::UOExpansionFlagClient, validbeard(), validface(), validhair(), Pol::Mobile::Character::wornitems, Pol::Core::Coordinate::x, Pol::Core::ULWObject::x, Pol::Core::Coordinate::y, Pol::Core::ULWObject::y, Pol::Core::Coordinate::z, and Pol::Core::ULWObject::z.

Referenced by Pol::Network::PacketRegistry::initialize_msg_handlers().

bool Pol::Core::clientHasCharacter ( Client c)

Definition at line 1942 of file ufunc.cpp.

References Pol::Network::Client::chr.

Referenced by char_select().

void Pol::Core::ClrItemWorldPosition ( Items::Item item)
bool Pol::Core::commit_incremental ( const std::string &  basename)
void Pol::Core::commit_incremental_saves ( )

Definition at line 302 of file savedata.cpp.

References commit(), and Pol::Clib::decint().

Referenced by write_data().

BOOL WINAPI Pol::Core::control_handler_SystemTray ( DWORD  dwCtrlType)

Definition at line 254 of file polservice.cpp.

Referenced by InitializeSystemTrayHandling().

u16 Pol::Core::convert_objtype_to_spellnum ( u32  objtype,
int  school 
)
Items::Item* Pol::Core::copy_item ( const Items::Item src_item)
void Pol::Core::CoreSetSysTrayToolTip ( const std::string &  text,
Priority  priority 
)
void Pol::Core::count_resource_tiles ( )

Definition at line 250 of file resource.cpp.

References gamestate, and Pol::Core::GameState::resourcedefs.

Referenced by load_resource_cfg().

void Pol::Core::create_dummy_data ( )
UOExecutor * Pol::Core::create_full_script_executor ( )

Definition at line 653 of file scrsched.cpp.

References add_common_exmods().

const NpcTemplate& Pol::Core::create_npc_template ( const Clib::ConfigElem elem,
const Plib::Package pkg 
)
void Pol::Core::create_servers ( )
void Pol::Core::create_starting_locations ( )
void Pol::Core::create_stub_accounts ( )
void Pol::Core::CreateEmptyStoredConfigFile ( const std::string &  filename)
BObjectImp * Pol::Core::CreateStorageAreasImp ( )
unsigned char Pol::Core::cvt_8to6 ( char  ch)

Definition at line 275 of file polwww.cpp.

Referenced by decode_base64().

void Pol::Core::debug_listen_thread ( void  )
void Pol::Core::decay_single_zone ( )
void Pol::Core::decay_single_zone ( Realms::Realm realm,
unsigned  gridx,
unsigned  gridy,
unsigned &  wx,
unsigned &  wy 
)

[3] Decay Sweep Each 64x64 tile World Zone is checked for decay approximately once every 10 minutes

Definition at line 149 of file decay.cpp.

References decay_worldzone().

Referenced by decay_thread(), and decay_thread_shadow().

void Pol::Core::decay_worldzone ( unsigned  wx,
unsigned  wy,
Realms::Realm realm 
)

[1] Item Decay Criteria An Item is allowed to decay if ALL of the following are true:

  • it is not In Use
  • it is Movable, OR it is a Corpse
  • its 'decayat' member is nonzero AND the Game Clock has passed this 'decayat' time
  • it is not supported by a multi, OR its itemdesc.cfg entry specifies 'DecaysOnMultis 1'
  • it itemdesc.cfg entry specifies no 'DestroyScript', OR its 'DestroyScript' returns nonzero.

[2] Decay Action Container contents are moved to the ground at the Container's location before destroying the container.

Definition at line 55 of file decay.cpp.

References Pol::Core::ExportedFunction::call(), call_script(), Pol::Core::SystemHooks::can_decay, Pol::Items::Item::can_decay(), Pol::Plib::SystemState::config, Pol::Core::StateManager::decay_statistics, Pol::Items::ItemDesc::decays_on_multis, destroy_item(), Pol::Items::ItemDesc::destroy_script, Pol::Core::ScriptDef::empty(), Pol::Realms::Realm::find_supporting_multi(), gamestate, Pol::Items::Item::inuse(), Pol::Items::Item::itemdesc(), Pol::Core::Zone::items, Pol::Items::Item::make_ref(), read_gameclock(), Pol::Items::Item::should_decay(), Pol::Items::Item::spill_contents(), stateManager, Pol::Core::GameState::system_hooks, Pol::Plib::systemstate, Pol::Core::StateManager::temp_count_active, Pol::Core::StateManager::temp_count_decayed, Pol::Core::PolConfig::thread_decay_statistics, Pol::Core::ULWObject::x, Pol::Core::ULWObject::y, Pol::Core::ULWObject::z, and Pol::Realms::Realm::zone.

Referenced by decay_items(), decay_single_thread(), and decay_single_zone().

std::string Pol::Core::decode_base64 ( const std::string &  b64s)

Definition at line 293 of file polwww.cpp.

References cvt_8to6().

Referenced by http_func().

bool Pol::Core::decode_page ( const std::string &  ipage,
Plib::Package **  ppkg,
std::string *  pfilename,
std::string *  ppagetype,
std::string *  redirect_to 
)
void Pol::Core::defer_item_insertion ( Items::Item item,
pol_serial_t  container_serial 
)
bool Pol::Core::defined_realm ( const std::string &  name)
void Pol::Core::deinit_ipc_vars ( )

Definition at line 186 of file polsem.cpp.

Referenced by Pol::Core::GameState::deinitialize(), and polsem_unlock().

template<class T >
void Pol::Core::Delete ( T *  p)
inline

Definition at line 665 of file pol.cpp.

void Pol::Core::deregister_from_speech_events ( UOExecutor uoexec)
void Pol::Core::deschedule_executor ( UOExecutor ex)
BOOL CALLBACK Pol::Core::DialogProc ( HWND  hwndDlg,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)
void Pol::Core::display_reftypes ( )

Definition at line 25 of file reftypes.cpp.

References ref_ptr< T >::clear(), INFO_PRINT, and ref_ptr< T >::set().

Referenced by check_incoming_data(), and display_leftover_objects().

void Pol::Core::display_unreaped_orphan_instances ( )
void Pol::Core::doubleclick ( Network::Client client,
PKTIN_06 msg 
)

Definition at line 78 of file dblclick.cpp.

References Pol::Core::UContainer::builtin_on_use(), Pol::Mobile::NPC::can_accept_event(), Pol::Mobile::Character::can_dblclickany(), cfBEu32, Pol::Network::Client::chr, CLASS_NPC, Pol::Core::ServSpecOpt::dblclick_wait, Pol::Mobile::Character::dead(), Pol::Items::Item::double_click(), EVID_DOUBLECLICKED, Pol::Core::ScriptDef::exists(), find_character(), Pol::Core::UContainer::find_container(), find_legal_item(), find_script2(), Pol::Mobile::Character::frozen(), ref_ptr< T >::get(), Pol::Core::ULWObject::graphic, Pol::Realms::Realm::has_los(), inrange(), Pol::Mobile::Character::is_trading(), Pol::Core::ULWObject::isa(), IsCharacter(), Pol::Items::Item::itemdesc(), Pol::Core::ULockable::locked(), Pol::Mobile::Character::paralyzed(), pol_distance(), private_say_above(), Pol::Core::ScriptDef::quickconfig(), read_gameclock(), Pol::Core::ULWObject::realm, Pol::Core::UObject::self_as_owner(), Pol::Mobile::NPC::send_event(), send_paperdoll(), Pol::Core::ULWObject::serial, Pol::Core::PKTIN_06::serial, settingsManager, Pol::Core::SettingsManager::ssopt, Pol::Mobile::Character::start_script(), Pol::Plib::systemstate, Pol::Items::Item::toplevel_owner(), Pol::Mobile::Character::trade_container(), Pol::Mobile::Character::trading_with, UOBJ_ELF_FEMALE, UOBJ_ELF_FEMALE_GHOST, UOBJ_ELF_MALE, UOBJ_ELF_MALE_GHOST, UOBJ_GAMEMASTER, UOBJ_GARGOYLE_FEMALE, UOBJ_GARGOYLE_FEMALE_GHOST, UOBJ_GARGOYLE_MALE, UOBJ_GARGOYLE_MALE_GHOST, UOBJ_HUMAN_FEMALE, UOBJ_HUMAN_FEMALE_GHOST, UOBJ_HUMAN_MALE, and UOBJ_HUMAN_MALE_GHOST.

Referenced by Pol::Network::PacketRegistry::initialize_msg_handlers().

polclock_t Pol::Core::earliest_timer ( polclock_t  timer1_until,
polclock_t  timer2_until 
)
inline

Definition at line 43 of file polclock.h.

References polclock(), and poltime().

Referenced by Pol::Core::RepSystem::on_pc_attacks_pc(), and Pol::Core::RepSystem::repsys_task().

std::string Pol::Core::elapsed ( clock_t  start,
clock_t  end 
)

Definition at line 357 of file uimport.cpp.

References Pol::Clib::decint().

Referenced by Pol::Core::UOExecutor::~UOExecutor().

std::string Pol::Core::extractkey ( const std::string &  istr)

Definition at line 189 of file cfgrepos.cpp.

Referenced by Pol::Core::StoredConfigFile::load_tus_scp().

Items::Item* Pol::Core::find_existing_item ( u32  objtype,
u16  x,
u16  y,
s8  z,
Realms::Realm realm 
)

Definition at line 509 of file uimport.cpp.

References Pol::Core::Zone::items, Pol::Realms::Realm::zone, and zone_convert().

Referenced by import().

Realms::Realm * Pol::Core::find_realm ( const std::string &  name)

Definition at line 64 of file realms.cpp.

References gamestate, name, and Pol::Core::GameState::Realms.

Referenced by Pol::Core::BPacket::call_method_id(), createchar2(), find_giveitem_container(), Pol::Module::PolSystemExecutorModule::mf_AddRealm(), Pol::Module::UOExecutorModule::mf_AssignRectToWeatherRegion(), Pol::Module::UOExecutorModule::mf_CanWalk(), Pol::Module::UOExecutorModule::mf_CheckLosBetween(), Pol::Module::UOExecutorModule::mf_CreateItemAtLocation(), Pol::Module::UOExecutorModule::mf_CreateItemCopyAtLocation(), Pol::Module::UOExecutorModule::mf_CreateMultiAtLocation(), Pol::Module::UOExecutorModule::mf_CreateNpcFromTemplate(), Pol::Module::StorageExecutorModule::mf_CreateRootItemInStorageArea(), Pol::Module::PolSystemExecutorModule::mf_DeleteRealm(), Pol::Module::UOExecutorModule::mf_FindPath(), Pol::Module::UOExecutorModule::mf_GetHarvestDifficulty(), Pol::Module::UOExecutorModule::mf_GetMapInfo(), Pol::Module::UOExecutorModule::mf_GetRegionLightLevelAtLocation(), Pol::Module::UOExecutorModule::mf_GetRegionNameAtLocation(), Pol::Module::UOExecutorModule::mf_GetRegionString(), Pol::Module::UOExecutorModule::mf_GetStandingHeight(), Pol::Module::UOExecutorModule::mf_GetStandingLayers(), Pol::Module::UOExecutorModule::mf_GetWorldHeight(), Pol::Module::UOExecutorModule::mf_HarvestResource(), Pol::Module::UOExecutorModule::mf_ListGhostsNearLocation(), Pol::Module::UOExecutorModule::mf_ListItemsAtLocation(), Pol::Module::UOExecutorModule::mf_ListItemsNearLocation(), Pol::Module::UOExecutorModule::mf_ListItemsNearLocationOfType(), Pol::Module::UOExecutorModule::mf_ListItemsNearLocationWithFlag(), Pol::Module::UOExecutorModule::mf_ListMobilesInBox(), Pol::Module::UOExecutorModule::mf_ListMobilesNearLocation(), Pol::Module::UOExecutorModule::mf_ListMobilesNearLocationEx(), Pol::Module::UOExecutorModule::mf_ListMultisInBox(), Pol::Module::UOExecutorModule::mf_ListObjectsInBox(), Pol::Module::UOExecutorModule::mf_ListOfflineMobilesInRealm(), Pol::Module::UOExecutorModule::mf_ListStaticsAtLocation(), Pol::Module::UOExecutorModule::mf_ListStaticsInBox(), Pol::Module::UOExecutorModule::mf_ListStaticsNearLocation(), Pol::Module::UOExecutorModule::mf_ListStaticsNearLocationOfType(), Pol::Module::UOExecutorModule::mf_ListStaticsNearLocationWithFlag(), Pol::Module::UOExecutorModule::mf_MoveObjectToLocation(), Pol::Module::UOExecutorModule::mf_PlayMovingEffectXyz(), Pol::Module::UOExecutorModule::mf_PlayMovingEffectXyz_Ex(), Pol::Module::UOExecutorModule::mf_PlaySoundEffectXYZ(), Pol::Module::UOExecutorModule::mf_PlayStationaryEffect(), Pol::Module::UOExecutorModule::mf_PlayStationaryEffect_Ex(), Pol::Module::PolSystemExecutorModule::mf_Realms(), Pol::Core::RegionGroupBase::paint_zones(), read_item(), read_shadow_realms(), read_starting_locations(), Pol::Core::UObject::readProperties(), Pol::Multi::UBoat::script_method_id(), and Pol::Items::Item::script_method_id().

ResourceDef * Pol::Core::find_resource_def ( const std::string &  rname)

Definition at line 315 of file resource.cpp.

References gamestate, and Pol::Core::GameState::resourcedefs.

Referenced by read_global_data(), and read_region_data().

Items::Item * Pol::Core::find_toplevel_item ( u32  serial)
UObject * Pol::Core::find_toplevel_object ( u32  serial)
CmdLevel * Pol::Core::FindCmdLevelByAlias ( const std::string &  str)
bool Pol::Core::FindEquipTemplate ( const char *  template_name,
Clib::ConfigElem elem 
)
bool Pol::Core::FindNpcTemplate ( const char *  template_name,
Clib::ConfigElem elem 
)
bool Pol::Core::findstatic ( unsigned short  x,
unsigned short  y,
unsigned short  graphic 
)
Vital * Pol::Core::FindVital ( unsigned  vitalid)

Definition at line 92 of file vital.cpp.

References gamestate, and Pol::Core::GameState::vitals.

unsigned char Pol::Core::flags_from_tileflags ( unsigned int  uoflags)
bool Pol::Core::flags_standable ( unsigned int  flags)
inline
bool Pol::Core::flags_swimmable ( unsigned int  flags)
inline

Definition at line 22 of file uofile06.cpp.

References Pol::Core::USTRUCT_TILE::FLAG_FLOOR, and Pol::Core::USTRUCT_TILE::FLAG_LIQUID.

Referenced by standheight().

std::string Pol::Core::format_description ( unsigned int  polflags,
const std::string &  descdef,
unsigned short  amount,
const std::string  suffix 
)
std::string Pol::Core::full_scriptname ( const std::string &  spec,
const Plib::Package pkg,
const char *  mainpfx 
)
u16 Pol::Core::Get12BitNumber ( u8 thearray,
u16  theindex 
)

Definition at line 383 of file speech.cpp.

References cfBEu16.

Referenced by UnicodeSpeechHandler().

std::string Pol::Core::get_fileline ( EScriptProgram prog,
int  filenum,
int  linenum 
)
void Pol::Core::get_item ( Network::Client client,
PKTIN_07 msg 
)

Definition at line 58 of file getitem.cpp.

References Pol::Core::UContainer::add(), add_item_to_world(), Pol::Core::PKTIN_07::amount, Pol::Items::Item::amount_to_remove_is_partial(), Pol::Core::UContainer::can_add_to_slot(), Pol::Mobile::Character::can_move(), Pol::Mobile::Character::can_moveanydist(), cfBEu16, cfBEu32, Pol::Core::UContainer::check_can_remove_script(), Pol::Items::Item::check_unequip_script(), Pol::Items::Item::check_unequiptest_scripts(), Pol::Network::Client::chr, CLASS_CONTAINER, Pol::Items::Item::container, Pol::Mobile::Character::dead(), Pol::Items::Item::extricate(), find_legal_item(), Pol::Mobile::Character::GOTTEN_ITEM_EQUIPPED_ON_SELF, Pol::Mobile::Character::GOTTEN_ITEM_IN_CONTAINER, Pol::Mobile::Character::GOTTEN_ITEM_ON_GROUND, Pol::Mobile::Character::gotten_item_source, Pol::Realms::Realm::has_los(), Pol::Items::Item::inuse(), Pol::Core::ULWObject::isa(), IsCharacter(), Pol::Core::ULWObject::ismobile(), move_item(), MOVE_ITEM_FAILURE_ALREADY_HOLDING_AN_ITEM, MOVE_ITEM_FAILURE_CANNOT_PICK_THAT_UP, MOVE_ITEM_FAILURE_OUT_OF_SIGHT, MOVE_ITEM_FAILURE_TOO_FAR_AWAY, Pol::Core::UContainer::on_remove(), Pol::Core::ULWObject::orphan(), pol_distance(), Pol::Core::ULWObject::realm, Pol::Mobile::Character::refresh_ar(), register_with_supporting_multi(), remove_item_from_world(), Pol::Items::Item::restart_decay_timer(), send_full_statmsg(), send_item_move_failure(), send_item_to_inrange(), send_put_in_container_to_inrange(), send_remove_object_to_inrange(), send_sysmessage(), Pol::Core::ULWObject::serial, Pol::Core::PKTIN_07::serial, Pol::Items::Item::set_decay_after(), Pol::Core::UObject::set_dirty(), Pol::Items::Item::slice_stacked_item(), Pol::Items::Item::slot_index(), Pol::Items::Item::toplevel_owner(), Pol::Core::ULWObject::x, Pol::Core::ULWObject::y, and Pol::Core::ULWObject::z.

Referenced by Pol::Network::PacketRegistry::initialize_msg_handlers().

int Pol::Core::get_mobile_count ( )

Definition at line 117 of file uworld.cpp.

References gamestate, and Pol::Core::GameState::Realms.

Referenced by Pol::Module::GetCoreVariable(), and update_rpm().

std::string Pol::Core::get_page_filename ( const std::string &  page)

Definition at line 468 of file polwww.cpp.

std::string Pol::Core::get_pagetype ( const std::string &  page)

Definition at line 349 of file polwww.cpp.

Referenced by decode_page().

Bscript::BObjectImp * Pol::Core::get_region_string ( const char *  resource,
xcoord  x,
ycoord  y,
Realms::Realm realm,
const std::string &  propname 
)
bool Pol::Core::get_script_page_filename ( const std::string &  page,
ScriptDef sd 
)

Definition at line 367 of file polwww.cpp.

References Pol::Plib::find_package(), and Pol::Core::ScriptDef::quickconfig().

int Pol::Core::get_toplevel_item_count ( )

Definition at line 109 of file uworld.cpp.

References gamestate, and Pol::Core::GameState::Realms.

Referenced by Pol::Module::GetCoreVariable(), and update_rpm().

bool Pol::Core::getCharacterParam ( Bscript::Executor exec,
unsigned  param,
Mobile::Character *&  chrptr 
)

Definition at line 140 of file uoexhelp.cpp.

References Pol::Clib::decint(), Pol::Module::echaracterrefobjimp_type, Pol::Clib::explicit_cast(), Pol::Bscript::Executor::getParamImp(), Pol::Bscript::BObjectImp::isa(), IsItem(), Pol::Mobile::Character::logged_in(), Pol::Bscript::BApplicObjBase::object_type(), Pol::Module::ECharacterRefObjImp::offline_access_ok(), Pol::Bscript::BObjectImp::OTApplicObj, Pol::Bscript::BObjectImp::OTLong, Pol::Bscript::Executor::setFunctionResult(), system_find_mobile(), Pol::Bscript::BLong::value(), and Pol::Bscript::BApplicObj< T >::value().

Referenced by Pol::Module::EPartyRefObjImp::call_method_id(), Pol::Module::EGuildRefObjImp::call_method_id(), Pol::Module::UnicodeExecutorModule::getCharacterParam(), Pol::Module::OSExecutorModule::getCharacterParam(), getUObjectParam(), Pol::Module::UOExecutorModule::mf_Accessible(), Pol::Module::AttributeExecutorModule::mf_AlterAttributeTemporaryMod(), Pol::Module::VitalExecutorModule::mf_ApplyDamage(), Pol::Module::VitalExecutorModule::mf_ApplyRawDamage(), Pol::Module::UOExecutorModule::mf_Attach(), Pol::Module::AttributeExecutorModule::mf_CheckSkill(), Pol::Module::UOExecutorModule::mf_CloseGump(), Pol::Module::UOExecutorModule::mf_CloseTradeWindow(), Pol::Module::UOExecutorModule::mf_CloseWindow(), Pol::Module::VitalExecutorModule::mf_ConsumeMana(), Pol::Module::UOExecutorModule::mf_ConsumeReagents(), Pol::Module::VitalExecutorModule::mf_ConsumeVital(), Pol::Module::UOExecutorModule::mf_CreateItemInBackpack(), Pol::Module::PartyExecutorModule::mf_CreateParty(), Pol::Module::UOExecutorModule::mf_EquipFromTemplate(), Pol::Module::UOExecutorModule::mf_EquipItem(), Pol::Module::AttributeExecutorModule::mf_GetAttribute(), Pol::Module::AttributeExecutorModule::mf_GetAttributeBaseValue(), Pol::Module::AttributeExecutorModule::mf_GetAttributeCap(), Pol::Module::AttributeExecutorModule::mf_GetAttributeIntrinsicMod(), Pol::Module::AttributeExecutorModule::mf_GetAttributeLock(), Pol::Module::AttributeExecutorModule::mf_GetAttributeTemporaryMod(), Pol::Module::UOExecutorModule::mf_GetCommandHelp(), Pol::Module::UOExecutorModule::mf_GetEquipmentByLayer(), Pol::Module::UOExecutorModule::mf_GetObjType(), Pol::Module::VitalExecutorModule::mf_GetVital(), Pol::Module::VitalExecutorModule::mf_GetVitalMaximumValue(), Pol::Module::VitalExecutorModule::mf_GetVitalRegenRate(), Pol::Module::UOExecutorModule::mf_GrantPrivilege(), Pol::Module::VitalExecutorModule::mf_HealDamage(), Pol::Module::UOExecutorModule::mf_ListEquippedItems(), Pol::Module::UOExecutorModule::mf_ListHostiles(), Pol::Module::UOExecutorModule::mf_MoveItemToSecureTradeWin(), Pol::Module::UOExecutorModule::mf_OpenPaperdoll(), Pol::Module::UOExecutorModule::mf_PerformAction(), Pol::Module::UOExecutorModule::mf_PlayMusic(), Pol::Module::UOExecutorModule::mf_PlaySoundEffectPrivate(), Pol::Module::ClilocExecutorModule::mf_PrintTextAbovePrivateCL(), Pol::Module::UOExecutorModule::mf_PrivateTextAbove(), Pol::Module::UOExecutorModule::mf_PromptInput(), Pol::Module::VitalExecutorModule::mf_RecalcVitals(), Pol::Module::UOExecutorModule::mf_RestartScript(), Pol::Module::UOExecutorModule::mf_Resurrect(), Pol::Module::UOExecutorModule::mf_RevokePrivilege(), Pol::Module::UOExecutorModule::mf_SecureTradeWin(), Pol::Module::UOExecutorModule::mf_SelectColor(), Pol::Module::UOExecutorModule::mf_SelectMenuItem(), Pol::Module::UOExecutorModule::mf_SendBuyWindow(), Pol::Module::UOExecutorModule::mf_SendCharacterRaceChanger(), Pol::Module::UOExecutorModule::mf_SendCharProfile(), Pol::Module::UOExecutorModule::mf_SendEvent(), Pol::Module::UOExecutorModule::mf_SendGumpMenu(), Pol::Module::UOExecutorModule::mf_SendHousingTool(), Pol::Module::UOExecutorModule::mf_SendInstaResDialog(), Pol::Module::UOExecutorModule::mf_SendOpenBook(), Pol::Module::UOExecutorModule::mf_SendOpenSpecialContainer(), Pol::Module::PartyExecutorModule::mf_SendPartyMsg(), Pol::Module::UOExecutorModule::mf_SendPopUpMenu(), Pol::Module::PartyExecutorModule::mf_SendPrivatePartyMsg(), Pol::Module::UOExecutorModule::mf_SendQuestArrow(), Pol::Module::UOExecutorModule::mf_SendSellWindow(), Pol::Module::UOExecutorModule::mf_SendSkillWindow(), Pol::Module::UOExecutorModule::mf_SendStatus(), Pol::Module::UOExecutorModule::mf_SendStringAsTipWindow(), Pol::Module::UOExecutorModule::mf_SendSysMessage(), Pol::Module::ClilocExecutorModule::mf_SendSysMessageCL(), Pol::Module::UOExecutorModule::mf_SendTextEntryGump(), Pol::Module::UOExecutorModule::mf_SendViewContainer(), Pol::Module::AttributeExecutorModule::mf_SetAttributeBaseValue(), Pol::Module::AttributeExecutorModule::mf_SetAttributeCap(), Pol::Module::AttributeExecutorModule::mf_SetAttributeLock(), Pol::Module::AttributeExecutorModule::mf_SetAttributeTemporaryMod(), Pol::Module::NPCExecutorModule::mf_SetOpponent(), Pol::Module::UOExecutorModule::mf_SetScriptController(), Pol::Module::VitalExecutorModule::mf_SetVital(), Pol::Module::UOExecutorModule::mf_SingleClick(), Pol::Module::UOExecutorModule::mf_SpeakPowerWords(), Pol::Module::UOExecutorModule::mf_StartSpellEffect(), Pol::Module::UOExecutorModule::mf_Target(), Pol::Module::UOExecutorModule::mf_TargetCancel(), Pol::Module::UOExecutorModule::mf_TargetCoordinates(), Pol::Module::UOExecutorModule::mf_TargetMultiPlacement(), Pol::Module::UOExecutorModule::mf_UpdateMobile(), Pol::Module::UOExecutorModule::mf_UseItem(), Pol::Mobile::NPC::script_method_id(), Pol::Multi::UHouse::script_method_id(), and Pol::Mobile::Character::script_method_id().

std::string Pol::Core::getcmdstr ( char  ch)

Definition at line 81 of file console.cpp.

References Pol::Core::ConsoleCommand::ch.

Referenced by Pol::Core::ConsoleCommand::exec_console_cmd().

u32 Pol::Core::GetCurrentCharSerialNumber ( void  )
u32 Pol::Core::GetCurrentItemSerialNumber ( void  )
polclock_base_type Pol::Core::getCurrentPolClockSeconds ( )

Definition at line 34 of file polclock.cpp.

Referenced by pause_polclock(), restart_polclock(), and start_polclock().

bool Pol::Core::getItemParam ( Executor exec,
unsigned  param,
Items::Item *&  itemptr 
)

Definition at line 219 of file uoexhelp.cpp.

References Pol::Module::eitemrefobjimp_type, Pol::Clib::explicit_cast(), Pol::Bscript::Executor::getParamImp(), Pol::Bscript::BObjectImp::isa(), IsCharacter(), Pol::Bscript::BApplicObjBase::object_type(), Pol::Bscript::BObjectImp::OTApplicObj, Pol::Bscript::BObjectImp::OTLong, system_find_item(), Pol::Bscript::BLong::value(), and Pol::Bscript::BApplicObj< T >::value().

Referenced by Pol::Module::UnicodeExecutorModule::getItemParam(), getUObjectParam(), Pol::Module::UOExecutorModule::mf_Accessible(), Pol::Module::UOExecutorModule::mf_AddAmount(), Pol::Module::UBoatExecutorModule::mf_BoatFromItem(), Pol::Module::UOExecutorModule::mf_ConsumeSubstance(), Pol::Module::UOExecutorModule::mf_CreateItemCopyAtLocation(), Pol::Module::UOExecutorModule::mf_CreateItemInContainer(), Pol::Module::UOExecutorModule::mf_CreateItemInInventory(), Pol::Module::UOExecutorModule::mf_DestroyItem(), Pol::Module::UOExecutorModule::mf_EnumerateItemsInContainer(), Pol::Module::UOExecutorModule::mf_EquipItem(), Pol::Module::UOExecutorModule::mf_FindObjtypeInContainer(), Pol::Module::UOExecutorModule::mf_FindSubstance(), Pol::Module::UOExecutorModule::mf_GetAmount(), Pol::Module::UOExecutorModule::mf_GetObjType(), Pol::Module::UOExecutorModule::mf_IsStackable(), Pol::Module::UOExecutorModule::mf_MoveItemToContainer(), Pol::Module::UOExecutorModule::mf_MoveItemToSecureTradeWin(), Pol::Module::UOExecutorModule::mf_PromptInput(), Pol::Module::UOExecutorModule::mf_ReleaseItem(), Pol::Module::UOExecutorModule::mf_ReserveItem(), Pol::Module::UOExecutorModule::mf_SelectColor(), Pol::Module::UOExecutorModule::mf_SendBuyWindow(), Pol::Module::UOExecutorModule::mf_SendOpenBook(), Pol::Module::UOExecutorModule::mf_SendOpenSpecialContainer(), Pol::Module::UOExecutorModule::mf_SendSellWindow(), Pol::Module::UOExecutorModule::mf_SendViewContainer(), Pol::Module::UOExecutorModule::mf_SubtractAmount(), Pol::Module::UOExecutorModule::mf_UpdateItem(), Pol::Module::UOExecutorModule::mf_UseItem(), and Pol::Items::Item::script_method_id().

void Pol::Core::getmapinfo ( unsigned short  x,
unsigned short  y,
short *  z,
USTRUCT_MAPINFO mi 
)

Definition at line 99 of file uofile08.cpp.

References rawmapinfo().

Referenced by standheight(), and Pol::UoTool::z_histogram().

int Pol::Core::GetNextUTF8 ( u8 bytemsg,
int  i,
u16 unicodeChar 
)

Definition at line 395 of file speech.cpp.

Referenced by UnicodeSpeechHandler().

bool Pol::Core::getObjtypeParam ( Executor exec,
unsigned  param,
unsigned int &  objtype 
)

Definition at line 400 of file uoexhelp.cpp.

References Pol::Plib::SystemState::config, Pol::Bscript::Executor::current_module_function, Pol::Bscript::String::data(), DEBUGLOG, Pol::Clib::explicit_cast(), Pol::Items::get_objtype_byname(), Pol::Bscript::Executor::getParamImp(), Pol::Items::has_itemdesc(), Pol::Clib::hexint(), Pol::Bscript::BObjectImp::isa(), Pol::Core::PolConfig::max_objtype, Pol::Bscript::ModuleFunction::name, Pol::Bscript::BObjectImp::OTLong, Pol::Bscript::BObjectImp::OTString, Pol::Bscript::Executor::PC, Pol::Bscript::Executor::scriptname(), Pol::Bscript::Executor::setFunctionResult(), Pol::Plib::systemstate, Pol::Bscript::BObjectImp::type(), Pol::Bscript::BObjectImp::typestr(), and Pol::Bscript::BLong::value().

Referenced by Pol::Module::UOExecutorModule::mf_AddMenuItem(), Pol::Module::UOExecutorModule::mf_ConsumeSubstance(), Pol::Module::UOExecutorModule::mf_CreateItemAtLocation(), Pol::Module::UOExecutorModule::mf_CreateItemInBackpack(), Pol::Module::UOExecutorModule::mf_CreateItemInContainer(), Pol::Module::UOExecutorModule::mf_CreateItemInInventory(), Pol::Module::UOExecutorModule::mf_CreateMultiAtLocation(), Pol::Module::StorageExecutorModule::mf_CreateRootItemInStorageArea(), Pol::Module::UOExecutorModule::mf_FindObjtypeInContainer(), Pol::Module::UOExecutorModule::mf_FindSubstance(), Pol::Module::PolSystemExecutorModule::mf_GetItemDescriptor(), Pol::Module::UOExecutorModule::mf_ListItemsNearLocationOfType(), Pol::Module::UOExecutorModule::mf_ListStaticsNearLocationOfType(), and Pol::Module::UOExecutorModule::mf_TargetMultiPlacement().

bool Pol::Core::getSkillIdParam ( Executor exec,
unsigned  param,
USKILLID skillid 
)
bool Pol::Core::getUObjectParam ( Executor exec,
unsigned  param,
UObject *&  objptr 
)

Definition at line 369 of file uoexhelp.cpp.

References getCharacterParam(), getItemParam(), and getMultiParam().

Referenced by Pol::Module::UnicodeExecutorModule::getUObjectParam(), Pol::Module::UOExecutorModule::mf_CheckLineOfSight(), Pol::Module::UOExecutorModule::mf_CheckLosAt(), Pol::Module::UOExecutorModule::mf_CloseWindow(), Pol::Module::UOExecutorModule::mf_Distance(), Pol::Module::UOExecutorModule::mf_DistanceEuclidean(), Pol::Module::UOExecutorModule::mf_EraseObjProperty(), Pol::Module::UOExecutorModule::mf_GetObjProperty(), Pol::Module::UOExecutorModule::mf_GetObjPropertyNames(), Pol::Module::UOExecutorModule::mf_GetPosition(), Pol::Module::UOExecutorModule::mf_GetRegionName(), Pol::Module::PolSystemExecutorModule::mf_IncRevision(), Pol::Module::UOExecutorModule::mf_ListMobilesInLineOfSight(), Pol::Module::UOExecutorModule::mf_MoveObjectToLocation(), Pol::Module::UOExecutorModule::mf_PlayLightningBoltEffect(), Pol::Module::UOExecutorModule::mf_PlayMovingEffect(), Pol::Module::UOExecutorModule::mf_PlayMovingEffect_Ex(), Pol::Module::UOExecutorModule::mf_PlayObjectCenteredEffect(), Pol::Module::UOExecutorModule::mf_PlayObjectCenteredEffect_Ex(), Pol::Module::UOExecutorModule::mf_PlaySoundEffect(), Pol::Module::UOExecutorModule::mf_PlaySoundEffectPrivate(), Pol::Module::UOExecutorModule::mf_PrintTextAbove(), Pol::Module::ClilocExecutorModule::mf_PrintTextAboveCL(), Pol::Module::ClilocExecutorModule::mf_PrintTextAbovePrivateCL(), Pol::Module::UOExecutorModule::mf_PrivateTextAbove(), Pol::Module::UOExecutorModule::mf_RegisterForSpeechEvents(), Pol::Module::UBoatExecutorModule::mf_RegisterItemWithBoat(), Pol::Module::NPCExecutorModule::mf_RunAwayFrom(), Pol::Module::NPCExecutorModule::mf_RunToward(), Pol::Module::UOExecutorModule::mf_SendPopUpMenu(), Pol::Module::UOExecutorModule::mf_SendQuestArrow(), Pol::Module::UOExecutorModule::mf_SetName(), Pol::Module::UOExecutorModule::mf_SetObjProperty(), Pol::Module::UOExecutorModule::mf_SingleClick(), Pol::Module::NPCExecutorModule::mf_TurnAwayFrom(), Pol::Module::NPCExecutorModule::mf_TurnToward(), Pol::Module::NPCExecutorModule::mf_WalkAwayFrom(), and Pol::Module::NPCExecutorModule::mf_WalkToward().

bool Pol::Core::groundheight ( unsigned short  x,
unsigned short  y,
short *  z 
)
void Pol::Core::handle_A4 ( Network::Client ,
PKTIN_A4  
)

Definition at line 225 of file login.cpp.

Referenced by Pol::Network::PacketRegistry::initialize_msg_handlers().

void Pol::Core::handle_action ( Network::Client client,
PKTIN_12 cmd 
)
void Pol::Core::handle_add_member_cursor ( Mobile::Character chr,
PKTBI_6C msgin 
)
void Pol::Core::handle_aos_commands ( Client client,
PKTBI_D7 msg 
)

Handler for a 0xD7 packet

Checks that serial written inside packet matches sending character's serial

Definition at line 529 of file miscmsg.cpp.

References cfBEu16, cfBEu32, Pol::Network::Client::chr, Pol::Core::PKTBI_D7::CUSTOM_HOUSE_ADD, Pol::Core::PKTBI_D7::CUSTOM_HOUSE_ADD_MULTI, Pol::Core::PKTBI_D7::CUSTOM_HOUSE_BACKUP, Pol::Core::PKTBI_D7::CUSTOM_HOUSE_CLEAR, Pol::Core::PKTBI_D7::CUSTOM_HOUSE_COMMIT, Pol::Core::PKTBI_D7::CUSTOM_HOUSE_DELETE_ROOF, Pol::Core::PKTBI_D7::CUSTOM_HOUSE_ERASE, Pol::Core::PKTBI_D7::CUSTOM_HOUSE_QUIT, Pol::Core::PKTBI_D7::CUSTOM_HOUSE_RESTORE, Pol::Core::PKTBI_D7::CUSTOM_HOUSE_REVERT, Pol::Core::PKTBI_D7::CUSTOM_HOUSE_SELECT_FLOOR, Pol::Core::PKTBI_D7::CUSTOM_HOUSE_SELECT_ROOF, Pol::Core::PKTBI_D7::CUSTOM_HOUSE_SYNCH, Pol::Multi::CustomHousesAdd(), Pol::Multi::CustomHousesAddMulti(), Pol::Multi::CustomHousesBackup(), Pol::Multi::CustomHousesClear(), Pol::Multi::CustomHousesCommit(), Pol::Multi::CustomHousesErase(), Pol::Multi::CustomHousesQuit(), Pol::Multi::CustomHousesRestore(), Pol::Multi::CustomHousesRevert(), Pol::Multi::CustomHousesRoofRemove(), Pol::Multi::CustomHousesRoofSelect(), Pol::Multi::CustomHousesSelectFloor(), Pol::Multi::CustomHousesSynch(), Pol::Core::PKTBI_D7::GUILD_BUTTON, handle_unknown_packet(), INFO_PRINT, OnGuildButton(), OnQuestButton(), Pol::Core::PKTBI_D7::QUEST_BUTTON, Pol::Core::ULWObject::serial, Pol::Core::PKTBI_D7::serial, and Pol::Core::PKTBI_D7::subcmd.

Referenced by Pol::Network::PacketRegistry::initialize_msg_handlers().

void Pol::Core::handle_bulletin_boards ( Client client,
PKTBI_71  
)
void Pol::Core::handle_cast_spell ( Network::Client client,
PKTIN_12 msg 
)
void Pol::Core::handle_humongous_packet ( Network::Client client,
unsigned int  reported_size 
)
void Pol::Core::handle_HUP ( int  )
void Pol::Core::handle_ident_cursor ( Mobile::Character chr,
PKTBI_6C msgin 
)
void Pol::Core::handle_keep_alive ( Network::Client client,
PKTBI_73 msg 
)

Definition at line 500 of file pol.cpp.

References Pol::Network::transmit().

Referenced by Pol::Network::PacketRegistry::initialize_msg_handlers().

void Pol::Core::handle_msg_B5 ( Client client,
PKTIN_B5  
)

Definition at line 146 of file miscmsg.cpp.

References OnChatButton().

Referenced by Pol::Network::PacketRegistry::initialize_msg_handlers().

void Pol::Core::handle_msg_BB ( Client client,
PKTBI_BB  
)
void Pol::Core::handle_msg_BF ( Client client,
PKTBI_BF msg 
)

Definition at line 306 of file miscmsg.cpp.

References Pol::Network::Client::acct, Pol::Network::AOS, Pol::Multi::UMulti::as_house(), cfBEu16, cfBEu32, Pol::Module::character_race_changer_handler(), Pol::Network::Client::chr, Pol::Core::PKTBI_BF::client_lang, Pol::Core::PKTBI_BF_0F::clientflag, Pol::Core::PKTBI_BF::clienttype, ctBEu32, Pol::Multi::CustomHousesSendFull(), do_cast(), Pol::Core::PKTBI_BF_15::entry_tag, ext_stats_in(), find_script(), ref_ptr< T >::get(), handle_unknown_packet(), Pol::Multi::HOUSE_DESIGN_CURRENT, Pol::Core::PKTBI_BF_1E::house_serial, IsCharacter(), Pol::Items::Item::make_ref(), Pol::Mobile::Character::movemode, MOVEMODE_FLY, Pol::Accounts::Account::name(), Pol::Core::UObject::name(), Pol::Core::PKTBI_BF::objectcache, Pol::Mobile::Character::on_popup_menu_selection, party_cmd_handler(), POLLOG_INFO, Pol::Core::PKTBI_BF::popupselect, Pol::Mobile::Character::race, RACE_GARGOYLE, Pol::Core::PKTBI_BF::reqfullcustomhouse, Pol::Core::PKTBI_BF_1C::selected_spell, send_goxyz(), send_move_mobile_to_nearby_cansee(), send_object_cache(), SendAOSTooltip(), Pol::Core::PKTBI_BF_10::serial, Pol::Core::PKTBI_BF_15::serial, Pol::Core::PKTBI_BF::serial_request_popup_menu, Pol::Core::PKTBI_BF::spellselect, Pol::Mobile::Character::start_script(), Pol::Clib::strlower(), Pol::Core::PKTBI_BF::subcmd, system_find_item(), system_find_mobile(), system_find_multi(), system_find_object(), Pol::Plib::systemstate, Pol::Core::PKTBI_BF::TYPE_CHARACTER_RACE_CHANGER, Pol::Core::PKTBI_BF::TYPE_CLIENT_LANGUAGE, Pol::Core::PKTBI_BF::TYPE_CLIENTTYPE, Pol::Core::PKTBI_BF::TYPE_CLOSED_STATUS_GUMP, Pol::Core::PKTBI_BF::TYPE_EXTENDED_STATS_IN, Pol::Core::PKTBI_BF::TYPE_OBJECT_CACHE, Pol::Core::PKTBI_BF::TYPE_PARTY_SYSTEM, Pol::Core::PKTBI_BF::TYPE_POPUP_ENTRY_SELECT, Pol::Core::PKTBI_BF::TYPE_POPUP_MENU_REQUEST, Pol::Core::PKTBI_BF::TYPE_REQ_FULL_CUSTOM_HOUSE, Pol::Core::PKTBI_BF::TYPE_SCREEN_SIZE, Pol::Core::PKTBI_BF::TYPE_SESPAM, Pol::Core::PKTBI_BF::TYPE_SPELL_SELECT, Pol::Core::PKTBI_BF::TYPE_TOGGLE_FLYING, Pol::Mobile::Character::uclang, Pol::Network::Client::UOExpansionFlag, and Pol::Network::Client::UOExpansionFlagClient.

Referenced by Pol::Network::PacketRegistry::initialize_msg_handlers().

void Pol::Core::handle_SIGUSR1 ( int  )
void Pol::Core::handle_singleclick ( Network::Client client,
PKTIN_09 msg 
)
void Pol::Core::handle_undefined_packet ( Network::Client client)
void Pol::Core::handle_unknown_C4 ( Client client,
PKTOUT_C4  
)
void Pol::Core::handle_update_range_change ( Client client,
PKTBI_C8  
)
bool Pol::Core::hands_are_free ( Mobile::Character chr)
Bscript::BObjectImp * Pol::Core::harvest_resource ( const char *  resource,
xcoord  x,
ycoord  y,
Realms::Realm realm,
int  b,
int  n 
)
std::string Pol::Core::http_decodestr ( const std::string &  s)

Definition at line 229 of file polwww.cpp.

Referenced by http_func(), and Pol::Module::HttpExecutorModule::read_query_string().

void Pol::Core::http_forbidden ( Clib::Socket sck)

Definition at line 166 of file polwww.cpp.

References http_writeline().

Referenced by http_func().

void Pol::Core::http_forbidden ( Clib::Socket sck,
const std::string &  filename 
)

Definition at line 177 of file polwww.cpp.

References http_writeline().

void Pol::Core::http_not_authorized ( Clib::Socket sck,
const std::string &   
)

Definition at line 188 of file polwww.cpp.

References http_writeline().

Referenced by http_func().

void Pol::Core::http_not_found ( Clib::Socket sck,
const std::string &  filename 
)

Definition at line 200 of file polwww.cpp.

References http_writeline().

Referenced by http_func(), send_binary(), send_html(), and start_http_script().

bool Pol::Core::http_readline ( Clib::Socket sck,
std::string &  s 
)
void Pol::Core::http_redirect ( Clib::Socket sck,
const std::string &  new_url 
)

Definition at line 211 of file polwww.cpp.

References http_writeline().

Referenced by http_func().

void Pol::Core::http_writeline ( Clib::Socket sck,
const std::string &  s 
)
bool Pol::Core::in_say_range ( const Character c1,
const Character c2 
)
bool Pol::Core::in_whisper_range ( const Character c1,
const Character c2 
)
bool Pol::Core::in_yell_range ( const Character c1,
const Character c2 
)
void Pol::Core::init_http_thread_support ( )

Definition at line 773 of file polwww.cpp.

Referenced by http_func(), and http_thread().

void Pol::Core::init_ipc_vars ( )

Definition at line 165 of file polsem.cpp.

References passert_always.

Referenced by polsem_unlock(), and Pol::xmain_inner().

void Pol::Core::InitializeSystemTrayHandling ( )
bool Pol::Core::inrange ( const Mobile::Character c1,
const Mobile::Character c2 
)
bool Pol::Core::inrange ( const Mobile::Character c1,
const UObject obj 
)
bool Pol::Core::inrange ( unsigned short  x1,
unsigned short  y1,
unsigned short  x2,
unsigned short  y2 
)

Definition at line 517 of file ufunc.cpp.

References RANGE_VISUAL.

bool Pol::Core::inrangex ( const UObject c1,
unsigned short  x,
unsigned short  y,
int  maxdist 
)

Definition at line 449 of file ufunc.cpp.

References Pol::Core::ULWObject::x, and Pol::Core::ULWObject::y.

bool Pol::Core::inrangex_inline ( const Mobile::Character c1,
const Mobile::Character c2,
int  maxdist 
)
inline

Definition at line 15 of file ufuncinl.h.

References Pol::Core::ULWObject::x, and Pol::Core::ULWObject::y.

bool Pol::Core::inrangex_inline ( const UObject c1,
unsigned short  x,
unsigned short  y,
int  maxdist 
)
inline

Definition at line 20 of file ufuncinl.h.

References Pol::Core::ULWObject::x, and Pol::Core::ULWObject::y.

void Pol::Core::install_null_handler ( int  sig)
void Pol::Core::install_signal_handlers ( )
void Pol::Core::invoke ( Network::Client client,
const char *  spellidstr 
)

Definition at line 23 of file tildecmd.cpp.

References do_cast().

Referenced by process_tildecommand().

void Pol::Core::invoke ( Network::Client client,
const u16 wspellidstr 
)

Definition at line 29 of file tildecmd.cpp.

References cfBEu16, and do_cast().

bool Pol::Core::is_a_parent ( const Item item,
u32  serial 
)
bool Pol::Core::iswater ( u16  objtype)

Definition at line 20 of file uofile04.cpp.

Referenced by Pol::UoTool::has_water(), and readwater().

void Pol::Core::KR_Verifier_Response ( Network::Client ,
PKTIN_E4  
)

Definition at line 517 of file login.cpp.

Referenced by Pol::Network::PacketRegistry::initialize_msg_handlers().

unsigned int Pol::Core::landtile_flags ( unsigned short  landtile)
bool Pol::Core::legal_pagename ( const std::string &  page)

Definition at line 326 of file polwww.cpp.

Referenced by http_func().

void Pol::Core::list_crit_script ( UOExecutor uoexec)
void Pol::Core::list_crit_scripts ( const char *  desc,
const ExecList ls 
)

Definition at line 756 of file scrsched.cpp.

References INFO_PRINT, and list_crit_script().

Referenced by list_crit_scripts(), textcmd_list_crit_scripts(), and textcmd_list_scripts().

void Pol::Core::list_crit_scripts ( )
void Pol::Core::list_scripts ( const char *  desc,
const ExecList ls 
)

Definition at line 735 of file scrsched.cpp.

References INFO_PRINT, and list_script().

Referenced by list_scripts(), textcmd_list_scripts(), and textcmd_orphans().

void Pol::Core::list_scripts ( )
void Pol::Core::load_cmdlevels ( )
void Pol::Core::load_config ( bool  reload)

Definition at line 137 of file loadunld.cpp.

References checkpoint(), load_anim_xlate_cfg(), load_movecost(), load_party_cfg(), and load_repsys_cfg().

Referenced by load_data().

void Pol::Core::load_landtile_cfg ( )
void Pol::Core::load_listener_entry ( const Plib::Package ,
Clib::ConfigElem elem 
)
void Pol::Core::load_pol_static_files ( )
void Pol::Core::load_repsys_cfg_namecoloring ( Clib::ConfigElem elem)

Reputation System.

[1] Reputation System Configuration Reputation System Configuration is read from config/repsys.cfg This file is re-read on a config reload. [1.1] General Configuration Settings are defined in the General section: CriminalFlagInterval Time, in seconds, for which you will be marked criminal AggressorFlagTimeout Time, in seconds, for which you will be marked an aggressor

[1.2] Color Configuration Name colors are defined in the NameColoring section: Murderer Criminal Attackable Innocent GuildAlly GuildEnemy Invulnerable The client specifies highlight colors.

Definition at line 70 of file repsys.cpp.

References Pol::Core::RepSys_Cfg::Attackable, Pol::Core::RepSys_Cfg::Criminal, Pol::Core::RepSys_Cfg::GuildAlly, Pol::Core::RepSys_Cfg::GuildEnemy, Pol::Core::RepSys_Cfg::Innocent, Pol::Core::RepSys_Cfg::Invulnerable, Pol::Core::RepSys_Cfg::Murderer, Pol::Core::RepSys_Cfg::NameColoring, Pol::Clib::ConfigElem::remove_ushort(), Pol::Core::SettingsManager::repsys_cfg, and settingsManager.

Referenced by load_repsys_cfg().

void Pol::Core::load_skill_entry ( const Plib::Package pkg,
Clib::ConfigElem elem 
)
void Pol::Core::load_skill_scripts ( )
void Pol::Core::load_spells_cfg ( const char *  path,
Plib::Package pkg 
)

Definition at line 466 of file spells.cpp.

References Pol::Clib::ConfigFile::read(), and register_spell().

Referenced by load_spell_data().

void Pol::Core::load_stacking_cfg ( )
void Pol::Core::load_tips ( )

Definition at line 16 of file tiplstwn.cpp.

References Pol::Clib::DirList::at_end(), gamestate, name, and Pol::Core::GameState::tipfilenames.

Referenced by load_data().

void Pol::Core::load_uoclient_cfg ( )

Definition at line 128 of file uoclient.cpp.

References Pol::Plib::load_packaged_cfgs(), and load_uoclient_entry().

Referenced by load_data().

void Pol::Core::load_uoclient_entry ( const Plib::Package pkg,
Clib::ConfigElem elem 
)
void Pol::Core::load_uoskills_cfg ( )
ConfigFileRef Pol::Core::LoadTusScpFile ( const std::string &  filename)
void Pol::Core::login_complete ( Client c)

Definition at line 1947 of file ufunc.cpp.

References Pol::Network::PktHelper::PacketOut< T >::Send().

Referenced by start_client_char().

Bscript::BObjectImp * Pol::Core::make_boatref ( Multi::UBoat boat)
Bscript::BObjectImp * Pol::Core::make_itemref ( Items::Item item)
bool Pol::Core::move_character_to ( Mobile::Character chr,
unsigned short  x,
unsigned short  y,
short  z,
int  flags,
Realms::Realm oldrealm 
)
void Pol::Core::move_multi_in_world ( unsigned short  oldx,
unsigned short  oldy,
unsigned short  newx,
unsigned short  newy,
Multi::UMulti multi,
Realms::Realm oldrealm 
)
bool Pol::Core::multi_inrange ( const Mobile::Character c1,
const Multi::UMulti obj 
)
bool Pol::Core::multi_inrange ( unsigned short  x1,
unsigned short  y1,
unsigned short  x2,
unsigned short  y2 
)

Definition at line 522 of file ufunc.cpp.

References RANGE_VISUAL_LARGE_BUILDINGS.

void Pol::Core::null_handler ( int  )

Definition at line 63 of file polsig.cpp.

Referenced by install_null_handler().

void Pol::Core::OnChatButton ( Client client)
void Pol::Core::onetime_create_stubdata ( )
void Pol::Core::OnGuildButton ( Client client)
void Pol::Core::OnQuestButton ( Client client)
FILE* Pol::Core::open_map_file ( std::string  name,
int  map_id 
)
FILE * Pol::Core::open_uo_file ( const std::string &  filename_part)
bool Pol::Core::open_uopmap_file ( const int  mapid)
Clib::StreamWriter & Pol::Core::operator<< ( Clib::StreamWriter writer,
const UObject obj 
)

Definition at line 353 of file uobject.cpp.

References Pol::Core::UObject::printOn().

void Pol::Core::optimize_zones ( )

Definition at line 388 of file uworld.cpp.

References gamestate, and Pol::Core::GameState::Realms.

std::ofstream Pol::Core::orphans_txt ( "orphans.txt"  ,
std::ios::out|std::ios::trunc   
)

Referenced by display_orphan().

void Pol::Core::pause_pol_clocks ( )

Definition at line 121 of file polclock.cpp.

References pause_polclock(), and pause_poltime().

Referenced by Pol::Core::PolClockPauser::PolClockPauser(), and Pol::xmain_inner().

void Pol::Core::pause_polclock ( )
void Pol::Core::pause_poltime ( )

Definition at line 92 of file polclock.cpp.

References poltime_paused_at().

Referenced by pause_pol_clocks().

void Pol::Core::play_moving_effect2 ( u16  xs,
u16  ys,
s8  zs,
u16  xd,
u16  yd,
s8  zd,
u16  effect,
u8  speed,
u8  loop,
u8  explode,
Realms::Realm realm 
)
void Pol::Core::play_moving_effect2_ex ( u16  xs,
u16  ys,
s8  zs,
u16  xd,
u16  yd,
s8  zd,
Realms::Realm realm,
u16  effect,
u8  speed,
u8  duration,
u32  hue,
u32  render,
u8  direction,
u8  explode,
u16  effect3d,
u16  effect3dexplode,
u16  effect3dsound 
)
void Pol::Core::play_moving_effect_ex ( const UObject src,
const UObject dst,
u16  effect,
u8  speed,
u8  duration,
u32  hue,
u32  render,
u8  direction,
u8  explode,
u16  effect3d,
u16  effect3dexplode,
u16  effect3dsound 
)
void Pol::Core::play_object_centered_effect_ex ( const UObject center,
u16  effect,
u8  speed,
u8  duration,
u32  hue,
u32  render,
u8  layer,
u16  effect3d 
)
void Pol::Core::play_sound_effect_private ( const UObject center,
u16  effect,
Character forchr 
)
void Pol::Core::play_sound_effect_xyz ( u16  cx,
u16  cy,
s8  cz,
u16  effect,
Realms::Realm realm 
)
void Pol::Core::play_stationary_effect ( u16  x,
u16  y,
s8  z,
u16  effect,
u8  speed,
u8  loop,
u8  explode,
Realms::Realm realm 
)
void Pol::Core::play_stationary_effect_ex ( u16  x,
u16  y,
s8  z,
Realms::Realm realm,
u16  effect,
u8  speed,
u8  duration,
u32  hue,
u32  render,
u16  effect3d 
)
unsigned short Pol::Core::pol_distance ( const Mobile::Character c1,
const UObject obj 
)
void Pol::Core::pol_sleep_ms ( unsigned int  millis)
static std::atomic<polclock_base_type> Pol::Core::polclock_base ( )
static
void Pol::Core::polsem_lock ( )
polticks_t Pol::Core::polticks_t_to_ms ( polticks_t  ticks)
inline
static std::atomic<time_t> Pol::Core::poltime_base ( )
static
static std::atomic<time_t> Pol::Core::poltime_paused_at ( )
static

Referenced by pause_poltime(), and restart_poltime().

void Pol::Core::PrintAllocationData ( )

Definition at line 26 of file allocd.cpp.

References INFO_PRINT, last_blocks_free, and last_blocks_used.

Referenced by textcmd_heapcheck().

bool Pol::Core::private_say_above ( Character chr,
const UObject obj,
const u16 wtext,
const char  lang[4],
unsigned short  font,
unsigned short  color,
unsigned int  journal_print 
)
void Pol::Core::private_say_above_cl ( Mobile::Character chr,
const UObject obj,
unsigned int  cliloc_num,
const u16 arguments,
unsigned short  font,
unsigned short  color 
)
void Pol::Core::private_say_above_cl_affix ( Mobile::Character chr,
const UObject obj,
unsigned int  cliloc_num,
const char *  affix,
bool  prepend,
const u16 arguments,
unsigned short  font,
unsigned short  color 
)
bool Pol::Core::process_data ( Network::Client client)

Definition at line 392 of file clientthread.cpp.

References Pol::Network::Client::_fpLog_lock, Pol::Network::Client::acct, Pol::Network::AddressToString(), Pol::Network::Client::bufcheck1_AA, Pol::Network::Client::bufcheck2_55, Pol::Network::Client::buffer, Pol::Network::IOStats::Packet::bytes, Pol::Network::Client::bytes_received, CLIENT_CHECKPOINT, Pol::Network::CLIENTTYPE_UOKR, Pol::Network::IOStats::Packet::count, Pol::Network::Client::cryptengine, Pol::Clib::fdump(), Pol::Network::PacketRegistry::find_handler(), FLEXLOG, Pol::Network::Client::forceDisconnect(), Pol::Network::Client::fpLog, Pol::Network::MSG_HANDLER::func, Pol::Network::PacketRegistry::handle_msg(), handle_undefined_packet(), INFO_PRINT, INFO_PRINT_TRACE, Pol::Crypt::CCryptBase::Init(), Pol::Network::Client::instance_, Pol::Core::NetworkManager::iostats, Pol::Network::Client::ipaddr, Pol::Network::PacketRegistry::is_defined(), Pol::Network::Client::isConnected(), Pol::Network::Client::last_msgtype, Pol::Network::Client::message_length, Pol::Network::MSG_HANDLER::msglen, MSGLEN_2BYTELEN_DATA, Pol::Core::MessageTypeFilter::msgtype_allowed, Pol::Network::Client::msgtype_filter, Pol::Accounts::Account::name(), networkManager, passert, PKTIN_02_ID, PKTIN_EF_ID, POLLOG, POLLOG_ERROR, Pol::Network::IOStats::received, Pol::Network::Client::recv_remaining(), Pol::Network::Client::recv_remaining_nocrypt(), Pol::Network::Client::recv_state, Pol::Network::Client::RECV_STATE_CLIENTVERSION_WAIT, Pol::Network::Client::RECV_STATE_CRYPTSEED_WAIT, Pol::Network::Client::RECV_STATE_MSGDATA_WAIT, Pol::Network::Client::RECV_STATE_MSGLEN_WAIT, Pol::Network::Client::RECV_STATE_MSGTYPE_WAIT, restart_all_clients(), Pol::Network::PktHelper::PacketOut< T >::Send(), Pol::Network::Client::setClientType(), settingsManager, Pol::Core::ServSpecOpt::speedhack_prevention, Pol::Network::Client::SpeedHackPrevention(), Pol::Core::SettingsManager::ssopt, Pol::Plib::systemstate, Pol::Crypt::CCryptBase::typeAuto, Pol::Crypt::CCryptBase::typeLogin, and valid_message_length().

Referenced by check_incoming_data(), and client_io_thread().

bool Pol::Core::process_tildecommand ( Network::Client client,
const char *  textbuf 
)

Definition at line 38 of file tildecmd.cpp.

References INFO_PRINT_TRACE, and invoke().

Referenced by handle_processed_speech(), and SendUnicodeSpeech().

bool Pol::Core::process_tildecommand ( Network::Client client,
const u16 wtextbuf 
)

Definition at line 50 of file tildecmd.cpp.

References cfBEu16, ctBEu16, INFO_PRINT, invoke(), and Pol::Plib::systemstate.

unsigned short Pol::Core::raw_to_base ( unsigned int  raw)
static signed char Pol::Core::rawmapinfo ( unsigned short  x,
unsigned short  y,
USTRUCT_MAPINFO gi 
)
static

Definition at line 41 of file uofile08.cpp.

References Pol::Plib::RawMap::rawinfo(), and rawmapfullread().

Referenced by getmapinfo(), groundheight(), and safe_getmapinfo().

void Pol::Core::read_global_data ( Clib::ConfigElem elem)
void Pol::Core::read_items_dat ( )

Definition at line 473 of file uimport.cpp.

References slurp(), and Pol::Plib::systemstate.

Referenced by read_data().

void Pol::Core::read_justice_zones ( )

Definition at line 37 of file guardrgn.cpp.

References gamestate, Pol::Core::GameState::justicedef, and read_region_data().

Referenced by load_data().

static void Pol::Core::read_landtiledata ( )
static
void Pol::Core::read_light_zones ( )

Definition at line 51 of file miscrgn.cpp.

References gamestate, Pol::Core::GameState::lightdef, and read_region_data().

Referenced by load_data().

void Pol::Core::read_map_difs ( )
void Pol::Core::read_multis_dat ( )

Definition at line 478 of file uimport.cpp.

References slurp(), and Pol::Plib::systemstate.

Referenced by read_data().

void Pol::Core::read_music_zones ( )

Definition at line 45 of file musicrgn.cpp.

References gamestate, Pol::Core::GameState::musicdef, and read_region_data().

Referenced by load_data().

void Pol::Core::read_nocast_zones ( )

Definition at line 34 of file miscrgn.cpp.

References gamestate, Pol::Core::GameState::nocastdef, and read_region_data().

Referenced by load_data().

void Pol::Core::read_npc_templates ( )
void Pol::Core::read_npcequip_dat ( )

Definition at line 467 of file uimport.cpp.

References slurp(), SYSFIND_SKIP_WORLD, and Pol::Plib::systemstate.

Referenced by read_data().

void Pol::Core::read_npcs_dat ( )

Definition at line 461 of file uimport.cpp.

References slurp(), SYSFIND_SKIP_WORLD, and Pol::Plib::systemstate.

Referenced by read_data().

void Pol::Core::read_objects_dat ( )

Definition at line 443 of file uimport.cpp.

References slurp(), and Pol::Plib::systemstate.

Referenced by read_data().

void Pol::Core::read_objinfo ( u16  graphic,
struct USTRUCT_TILE objinfo 
)
void Pol::Core::read_pcequip_dat ( )

Definition at line 455 of file uimport.cpp.

References slurp(), SYSFIND_SKIP_WORLD, and Pol::Plib::systemstate.

Referenced by read_data().

void Pol::Core::read_pcs_dat ( )

Definition at line 449 of file uimport.cpp.

References slurp(), SYSFIND_SKIP_WORLD, and Pol::Plib::systemstate.

Referenced by read_data().

void Pol::Core::read_region_data ( RegionGroupBase grp,
const char *  preferred_filename,
const char *  other_filename,
const char *  tags_expected 
)
void Pol::Core::read_resource_cfg ( const char *  resource)
void Pol::Core::read_shadow_realms ( Clib::ConfigElem elem)
void Pol::Core::read_static_diffs ( )

Definition at line 53 of file uofile02.cpp.

References Pol::Plib::num_static_patches, and stadifl_file.

Referenced by read_uo_data().

static void Pol::Core::read_veridx ( )
static
void Pol::Core::read_weather_zones ( )
void Pol::Core::readlandtile ( unsigned short  tilenum,
Core::USTRUCT_LAND_TILE_HSA landtile 
)
void Pol::Core::readstaticblock ( std::vector< USTRUCT_STATIC > *  ppst,
int *  pnum,
unsigned short  x,
unsigned short  y 
)
void Pol::Core::readstatics ( StaticList vec,
unsigned short  x,
unsigned short  y,
unsigned int  flags 
)
void Pol::Core::readstatics2 ( StaticList vec,
unsigned short  x,
unsigned short  y 
)
void Pol::Core::regen_resources ( )
void Pol::Core::register_command ( const char *  cmd,
TextCmdFunc  f 
)

Definition at line 82 of file textcmd.cpp.

References gamestate, and Pol::Core::GameState::textcmds.

Referenced by process_command().

void Pol::Core::register_command ( const char *  cmd,
ParamTextCmdFunc  f 
)

Definition at line 86 of file textcmd.cpp.

References gamestate, and Pol::Core::GameState::paramtextcmds.

void Pol::Core::register_for_speech_events ( UObject obj,
UOExecutor uoexec,
int  range,
int  flags 
)
void Pol::Core::register_guilds ( )
void Pol::Core::register_party_members ( )

Definition at line 809 of file party.cpp.

References gamestate, and Pol::Core::GameState::parties.

Referenced by read_party_dat().

void Pol::Core::register_spell ( USpell spell,
unsigned short  spellid 
)
void Pol::Core::rename_dat_files ( )

Definition at line 593 of file uimport.cpp.

References rndat().

Referenced by read_data().

void Pol::Core::restart_pol_clocks ( )
void Pol::Core::restart_polclock ( )
void Pol::Core::restart_poltime ( )

Definition at line 96 of file polclock.cpp.

References poltime_base(), and poltime_paused_at().

Referenced by restart_pol_clocks().

void Pol::Core::rndat ( const std::string &  basename)
void Pol::Core::run_logon_script ( Mobile::Character chr)

Definition at line 355 of file pol.cpp.

References call_chr_scripts().

Referenced by char_select(), ClientCreateChar(), ClientCreateChar70160(), and ClientCreateCharKR().

void Pol::Core::run_ready ( void  )

Definition at line 65 of file scrsched.cpp.

References Pol::Core::ScriptScheduler::run_ready(), and scriptScheduler.

Referenced by step_scripts().

void Pol::Core::run_reconnect_script ( Mobile::Character chr)

Definition at line 359 of file pol.cpp.

References call_chr_scripts().

Referenced by char_select().

bool Pol::Core::run_script_to_completion ( const char *  filename)
Bscript::BObjectImp * Pol::Core::run_script_to_completion ( const ScriptDef script)

Definition at line 420 of file scrsched.cpp.

References run_executor_to_completion().

Bscript::BObjectImp * Pol::Core::run_script_to_completion ( const ScriptDef script,
Bscript::BObjectImp param1 
)
Bscript::BObjectImp * Pol::Core::run_script_to_completion ( const ScriptDef script,
Bscript::BObjectImp param1,
Bscript::BObjectImp param2 
)
Bscript::BObjectImp * Pol::Core::run_script_to_completion ( const ScriptDef script,
Bscript::BObjectImp param1,
Bscript::BObjectImp param2,
Bscript::BObjectImp param3 
)
Bscript::BObjectImp * Pol::Core::run_script_to_completion ( const ScriptDef script,
Bscript::BObjectImp param1,
Bscript::BObjectImp param2,
Bscript::BObjectImp param3,
Bscript::BObjectImp param4 
)
Bscript::BObjectImp * Pol::Core::run_script_to_completion ( const ScriptDef script,
Bscript::BObjectImp param1,
Bscript::BObjectImp param2,
Bscript::BObjectImp param3,
Bscript::BObjectImp param4,
Bscript::BObjectImp param5 
)
Bscript::BObjectImp * Pol::Core::run_script_to_completion ( const ScriptDef script,
Bscript::BObjectImp param1,
Bscript::BObjectImp param2,
Bscript::BObjectImp param3,
Bscript::BObjectImp param4,
Bscript::BObjectImp param5,
Bscript::BObjectImp param6 
)
Bscript::BObjectImp* Pol::Core::run_script_to_completion ( const ScriptDef script,
Bscript::BObjectImp param1,
Bscript::BObjectImp param2,
Bscript::BObjectImp param3,
Bscript::BObjectImp param4,
Bscript::BObjectImp param5,
Bscript::BObjectImp param6,
Bscript::BObjectImp param7 
)
int Pol::Core::RunWindowsService ( int  argc,
char **  argv 
)

Definition at line 79 of file polservice.cpp.

References Pol::Clib::CNTService::ParseStandardArgs(), and Pol::xmain_outer().

Referenced by Pol::xmain().

void Pol::Core::safe_getmapinfo ( unsigned short  x,
unsigned short  y,
short *  z,
USTRUCT_MAPINFO mi 
)
bool Pol::Core::say_above ( const UObject obj,
const char *  text,
unsigned short  font,
unsigned short  color,
unsigned int  journal_print 
)
bool Pol::Core::say_above ( const UObject obj,
const u16 wtext,
const char  lang[4],
unsigned short  font,
unsigned short  color,
unsigned int  journal_print 
)
void Pol::Core::say_above_cl ( UObject obj,
unsigned int  cliloc_num,
const u16 arguments,
unsigned short  font,
unsigned short  color 
)
void Pol::Core::say_above_cl_affix ( UObject obj,
unsigned int  cliloc_num,
const char *  affix,
bool  prepend,
const u16 arguments,
unsigned short  font,
unsigned short  color 
)
bool Pol::Core::script_loaded ( ScriptDef sd)
static bool Pol::Core::seekto_newer_version ( unsigned int  file,
unsigned int  block 
)
static

Definition at line 75 of file uofile01.cpp.

References Pol::Core::USTRUCT_VERSION::filepos, and verfile.

Referenced by readlandtile(), and readtile().

void Pol::Core::send_action_to_inrange ( const Mobile::Character obj,
UACTION  action,
unsigned short  framecount = 0x05,
unsigned short  repeatcount = 0x01,
DIRECTION_FLAG_OLD  backward = FORWARD,
REPEAT_FLAG_OLD  repeatflag = NOREPEAT,
unsigned char  delay = 0x01 
)
void Pol::Core::send_binary ( Clib::Socket sck,
const std::string &  page,
const std::string &  filename,
const std::string &  content_type 
)
void Pol::Core::send_buff_message ( Character chr,
u16  icon,
bool  show,
u16  duration,
u32  cl_name,
u32  cl_descr,
std::vector< u32 arguments 
)

Sends the packet for the buff bar

Author
Bodom, 2015-12-02
Parameters
chrthe Character to send the packet to
iconthe ID of the icon to show/remove
showif true, shows/updates the icon; if false, removes the icon
durationduration in seconds, only for displaying [ignored if show is false]
cl_namename of the buff, cliloc id [ignored if show is false]
cl_descrdescription of the buff, cliloc id [ignored if show is false]
argumentsarguments for cl_descr as unicode string, separated by spaces, without nullptr terminator

Definition at line 2188 of file ufunc.cpp.

References Pol::Mobile::Character::client, Pol::Network::PktHelper::PacketOut< T >::Send(), and Pol::Core::UObject::serial_ext.

Referenced by Pol::Mobile::Character::addBuff(), Pol::Mobile::Character::delBuff(), and Pol::Mobile::Character::send_buffs().

void Pol::Core::send_client_char_data ( Mobile::Character chr,
Network::Client client 
)
void Pol::Core::send_ClientTransmit_pulse ( )

Definition at line 250 of file polsem.cpp.

Referenced by polsem_unlock().

void Pol::Core::send_corpse ( Client client,
const Item item 
)

Definition at line 651 of file ufunc.cpp.

References send_corpse_contents(), and send_corpse_equip().

Referenced by send_item(), and send_item_to_inrange().

void Pol::Core::send_corpse_equip_inrange ( const Item item)
void Pol::Core::send_create_mobile_if_nearby_cansee ( Client client,
const Character chr 
)
void Pol::Core::send_damage ( Character attacker,
Character defender,
u16  damage 
)
void Pol::Core::send_fight_occuring ( Client client,
Character opponent 
)
void Pol::Core::send_full_corpse ( Client client,
const Item item 
)

Definition at line 660 of file ufunc.cpp.

References send_container_contents(), and send_corpse_equip().

Referenced by Pol::Mobile::Character::on_death().

void Pol::Core::send_full_statmsg ( Network::Client client,
Mobile::Character chr 
)

Definition at line 32 of file statmsg.cpp.

References Pol::Core::UoClientGeneral::Mapping::any, Pol::Network::AOS, Pol::Network::Client::aosresist, Pol::Mobile::Character::ar(), Pol::Mobile::Character::attribute(), Pol::Mobile::Character::carrying_capacity(), Pol::Network::Client::ClientType, Pol::Network::CLIENTTYPE_5000, Pol::Network::CLIENTTYPE_70300, Pol::Mobile::VitalValue::current_ones(), Pol::Core::UoClientGeneral::dexterity, Pol::Mobile::AttributeValue::effective(), Pol::Mobile::Character::gender, Pol::Mobile::Character::gold_carried(), Pol::Core::UoClientGeneral::hits, Pol::Core::UoClientGeneral::Mapping::id, Pol::Core::UoClientGeneral::intelligence, Pol::Core::UoClientGeneral::mana, Pol::Mobile::Character::max_weapon_damage(), Pol::Mobile::VitalValue::maximum_ones(), Pol::Mobile::Character::min_weapon_damage(), Pol::Network::ML, Pol::Core::UObject::name(), networkManager, Pol::Mobile::Character::race, Pol::Clib::sanitize_upperlimit(), Pol::Network::PktHelper::PacketOut< T >::Send(), Pol::Core::ServSpecOpt::send_stat_locks, send_stat_locks(), Pol::Core::UObject::serial_ext, settingsManager, Pol::Core::SettingsManager::ssopt, Pol::Core::UoClientGeneral::stamina, Pol::Core::UoClientGeneral::strength, Pol::Core::NetworkManager::uoclient_general, Pol::Network::Client::UOExpansionFlag, Pol::Mobile::Character::vital(), and Pol::Mobile::Character::weight().

Referenced by cancel_trade(), drop_item(), drop_item_v2(), get_item(), Pol::Module::UOExecutorModule::mf_SendBuyWindow(), Pol::Module::UOExecutorModule::mf_SendStatus(), Pol::Module::oldSellHandler(), Pol::Mobile::Character::on_aos_ext_stat_changed(), Pol::Mobile::Character::refresh_ar(), Pol::Core::UContainer::remove(), Pol::Network::send_uo_dexterity(), Pol::Network::send_uo_intelligence(), Pol::Network::send_uo_strength(), Pol::Mobile::Character::set_script_member_id(), Pol::Mobile::Character::spend_gold(), statrequest(), and UpdateCharacterWeight().

void Pol::Core::send_html ( Clib::Socket sck,
const std::string &  page,
const std::string &  filename 
)

Definition at line 565 of file polwww.cpp.

References http_not_found(), and http_writeline().

Referenced by http_func().

void Pol::Core::send_inrange_items ( Network::Client client)
void Pol::Core::send_inrange_multis ( Network::Client client)
void Pol::Core::send_login_error ( Network::Client client,
unsigned char  reason 
)
void Pol::Core::send_map_difs ( Client client)

Sends number of maps used and number of map/static patches for each map.

Definition at line 2044 of file ufunc.cpp.

References gamestate, Pol::Core::GameState::Realms, and Pol::Network::PktHelper::PacketOut< T >::Send().

Referenced by Pol::Mobile::Character::realm_changed(), and start_client_char().

void Pol::Core::send_midi ( Client client,
u16  midi 
)
void Pol::Core::send_mode ( Network::Client client)
void Pol::Core::send_move ( Network::Client client,
const Mobile::Character chr,
Network::PktOut_77 movebuffer 
)
void Pol::Core::send_move_if_inrange2 ( Mobile::Character chr,
Network::Client client 
)
void Pol::Core::send_multis_newly_inrange ( Multi::UMulti multi,
Network::Client client 
)
void Pol::Core::send_nametext ( Client client,
const Character chr,
const std::string &  str 
)
void Pol::Core::send_owncreate ( Client client,
const Character chr 
)

Definition at line 206 of file ufunc.cpp.

References Pol::Network::AOS, Pol::Network::Client::chr, Pol::Network::Client::ClientType, Pol::Network::CLIENTTYPE_70331, Pol::Network::CLIENTTYPE_UOKR, Pol::Core::UObject::color, Pol::Core::UObject::facing, Pol::Mobile::Character::get_flag1(), Pol::Core::ULWObject::graphic, Pol::Mobile::Character::hilite_color_idx(), Pol::Mobile::Character::invul(), LAYER_EQUIP__HIGHEST, LAYER_EQUIP__LOWEST, LAYER_FACE, Pol::Mobile::Character::poisoned(), Pol::Network::PktHelper::PacketOut< T >::Send(), send_invulhealthbar(), send_object_cache(), send_poisonhealthbar(), Pol::Core::UObject::serial_ext, settingsManager, Pol::Core::SettingsManager::ssopt, Pol::Core::ServSpecOpt::support_faces, Pol::Network::Client::UOExpansionFlag, Pol::Mobile::Character::wornitem(), Pol::Core::ULWObject::x, Pol::Core::ULWObject::y, and Pol::Core::ULWObject::z.

Referenced by Pol::Mobile::PrivUpdater::disable_invul(), Pol::Mobile::PrivUpdater::enable_invul(), Pol::Mobile::PrivUpdater::enable_see_ghosts(), Pol::Mobile::PrivUpdater::enable_see_hidden(), Pol::Module::UOExecutorModule::mf_UpdateMobile(), move_character_to(), Pol::Multi::UBoat::move_travellers(), Pol::Mobile::PropagateMove(), Pol::Mobile::Character::resurrect(), Pol::Multi::UBoat::send_boat_newly_inrange(), send_char_data(), send_char_if_newly_inrange(), send_client_char_data(), Pol::Mobile::send_create_ghost(), send_create_mobile_if_nearby_cansee(), send_create_mobile_to_nearby_cansee(), start_client_char(), and Pol::Mobile::Character::unhide().

void Pol::Core::send_prompt ( Network::Client client,
u32  serial 
)
void Pol::Core::send_pulse ( )

Definition at line 188 of file polsem.cpp.

Referenced by client_io_thread(), polsem_unlock(), tasks_thread(), and threadstatus_thread().

void Pol::Core::send_realm_change ( Client client,
Realms::Realm realm 
)
void Pol::Core::send_remove ( Network::Client client,
UObject to_remove 
)
void Pol::Core::send_remove_character ( Network::Client client,
const Mobile::Character chr,
Network::RemoveObjectPkt pkt 
)
void Pol::Core::send_remove_object ( Client client,
const UObject item,
RemoveObjectPkt pkt 
)
void Pol::Core::send_remove_object_if_inrange ( Client client,
const Item item 
)
void Pol::Core::send_sysmessage ( Network::Client client,
const char *  text,
unsigned short  font,
unsigned short  color 
)

Definition at line 1147 of file ufunc.cpp.

References Pol::Network::PktHelper::PacketOut< T >::Send(), SPEECH_MAX_LEN, and TEXTTYPE_NORMAL.

Referenced by add_item_to_stack(), Pol::Mobile::Character::attack(), broadcast(), Pol::Items::Item::builtin_on_use(), Pol::Core::UContainer::builtin_on_use(), CanUseSkill(), Pol::Core::USpell::cast(), Pol::Mobile::Character::check_justice_region_change(), do_cast(), Pol::Core::Spellbook::double_click(), Pol::Items::Item::double_click(), equip_item(), get_item(), Pol::Mobile::handle_attack(), handle_ident_cursor(), handle_open_spellbook(), handle_processed_speech(), handle_rename_char(), Pol::Core::TargetCursor::handle_target_cursor(), handle_use_skill(), Pol::Module::UOExecutorModule::mf_PromptInput(), Pol::Module::UnicodeExecutorModule::mf_RequestInputUC(), Pol::Module::UOExecutorModule::mf_SendSysMessage(), Pol::Module::UnicodeExecutorModule::mf_SendSysMessageUC(), Pol::Module::UOExecutorModule::mf_UseItem(), Pol::Core::LosCheckedTargetCursor::on_target_cursor(), Pol::Core::NoLosCheckedTargetCursor::on_target_cursor(), open_trade_window(), place_item_in_container(), place_item_in_secure_trade_container(), Pol::Core::Spellbook::send_book_old(), send_sysmessage(), SendUnicodeSpeech(), Pol::Core::RepSystem::show_repdata(), Pol::Mobile::Character::showarmor(), start_packetlog(), Pol::Module::OSExecutorModule::start_skill_script(), StartSkillScript(), stop_packetlog(), textcmd_constat(), textcmd_ident(), textcmd_integ_item(), textcmd_log_profile(), textcmd_log_profile_clear(), textcmd_orphans(), textcmd_procs(), textcmd_repdata(), textcmd_singlezone_integ_item(), textcmd_startlog(), textcmd_stoplog(), and textcmd_threads().

void Pol::Core::send_sysmessage ( Network::Client client,
const u16 wtext,
const char  lang[4],
unsigned short  font,
unsigned short  color 
)
void Pol::Core::send_sysmessage ( Network::Client client,
const std::string &  text,
unsigned short  font,
unsigned short  color 
)

Definition at line 1196 of file ufunc.cpp.

References send_sysmessage().

void Pol::Core::send_sysmessage ( Network::Client client,
const std::wstring &  wtext,
const char  lang[4],
unsigned short  font,
unsigned short  color 
)

Definition at line 1202 of file ufunc.cpp.

References send_sysmessage(), and SPEECH_MAX_LEN.

void Pol::Core::send_sysmessage_cl_affix ( Client client,
unsigned int  cliloc_num,
const char *  affix,
bool  prepend,
const u16 arguments,
unsigned short  font,
unsigned short  color 
)
bool Pol::Core::send_tip ( Network::Client client,
const char *  tipname,
unsigned short  tipnum 
)

Definition at line 22 of file tips.cpp.

References PKTOUT_A6_TYPE_TIP, and Pol::Network::PktHelper::PacketOut< T >::Send().

bool Pol::Core::send_tip ( Network::Client client,
const char *  tipname 
)
void Pol::Core::send_tip ( Network::Client client,
const std::string &  tiptext 
)
void Pol::Core::send_unicode_prompt ( Client client,
u32  serial 
)
void Pol::Core::send_weather ( Client client,
u8  type,
u8  severity,
u8  aux 
)
void Pol::Core::sendCharProfile ( Character chr,
Character of_who,
const char *  title,
const u16 utext,
const u16 etext 
)
bool Pol::Core::server_applies ( Network::Client client,
int  i 
)
void Pol::Core::SetCurrentCharSerialNumber ( u32  serial)

Definition at line 101 of file ufunc.cpp.

References Pol::Core::StateManager::charserialnumber, and stateManager.

Referenced by read_data().

void Pol::Core::SetCurrentItemSerialNumber ( u32  serial)

Definition at line 95 of file ufunc.cpp.

References Pol::Core::StateManager::itemserialnumber, and stateManager.

Referenced by read_data().

void Pol::Core::SetItemWorldPosition ( Items::Item item)
void Pol::Core::setrealmif ( Item item,
void *  arg 
)
void Pol::Core::SetRegionWeatherLevel ( WeatherRegion weatherregion,
unsigned  type,
unsigned  severity,
unsigned  aux,
int  lightoverride 
)
void Pol::Core::SetSysTrayPopupText ( const char *  text)

Definition at line 245 of file polservice.cpp.

References ID_UPDATE_NOTIFYDATA.

Referenced by CoreSetSysTrayToolTip().

void Pol::Core::setup_update_rpm ( void  )
bool Pol::Core::should_switch_realm ( size_t  index,
unsigned  x,
unsigned  y,
unsigned *  gridx,
unsigned *  gridy 
)
bool Pol::Core::should_write_data ( )
void Pol::Core::show_repdata ( Mobile::Character looker,
Mobile::Character mob 
)
void Pol::Core::ShutdownSystemTrayHandling ( )

Definition at line 292 of file polservice.cpp.

References DWORD(), ID_SHUTDOWN, and INFO_PRINT.

Referenced by Pol::xmain_inner().

void Pol::Core::signal_catch_thread ( )
void Pol::Core::sigpipe_handler ( int  x)

Definition at line 48 of file polsig.cpp.

References INFO_PRINT.

void Pol::Core::sql_service_thread_stub ( )

Definition at line 449 of file sqlscrobj.cpp.

References networkManager, POLLOG, and Pol::Core::NetworkManager::sql_service.

Referenced by start_sql_service().

void Pol::Core::start_client_char ( Network::Client client)

Definition at line 238 of file pol.cpp.

References Pol::Multi::UMulti::as_house(), Pol::Mobile::Character::check_region_changes(), Pol::Mobile::Character::check_weather_region_change(), Pol::Network::Client::chr, Pol::Mobile::Character::clear_gotten_item(), Pol::Mobile::Character::connected(), Pol::Core::ServSpecOpt::core_sends_season, gamestate, Pol::Network::Client::gd, Pol::Core::RegionGroup< T >::getregion(), Pol::Network::ClientGameData::justice_region, Pol::Core::GameState::justicedef, Pol::Mobile::Character::lastx, Pol::Mobile::Character::lasty, Pol::Mobile::Character::lastz, login_complete(), Pol::Network::ClientGameData::music_region, Pol::Core::GameState::musicdef, on_loggon_party(), Pol::Network::Client::pause(), Pol::Mobile::Character::position_changed(), Pol::Network::Client::ready, Pol::Core::ULWObject::realm, Pol::Multi::UMulti::register_object(), Pol::Mobile::Character::registered_house, Pol::Network::Client::restart(), Pol::Mobile::Character::send_buffs(), send_goxyz(), Pol::Mobile::Character::send_highlight(), send_map_difs(), send_objects_newly_inrange(), send_owncreate(), send_realm_change(), send_season_info(), send_startup(), Pol::Mobile::Character::send_warmode(), Pol::Core::ULWObject::serial, settingsManager, Pol::Core::SettingsManager::ssopt, system_find_multi(), Pol::Mobile::Character::tellmove(), Pol::Multi::UMulti::unregister_object(), Pol::Multi::UHouse::walk_on(), Pol::Realms::Realm::walkheight(), Pol::Network::ClientGameData::weather_region, Pol::Core::GameState::weatherdef, Pol::Core::ULWObject::x, Pol::Core::ULWObject::y, and Pol::Core::ULWObject::z.

Referenced by char_select(), ClientCreateChar(), ClientCreateChar70160(), and ClientCreateCharKR().

void Pol::Core::start_gameclock ( )

The functions below deal with reading and updating the gameclock. The state is protected by a mutex.

Starts the game clock based on the global cprop "gameclock".

Definition at line 27 of file gameclck.cpp.

References gameclock, gamestate, Pol::Core::GameState::global_properties, ISTRINGSTREAM, and poltime().

Referenced by read_data().

void Pol::Core::start_http_server ( )

Definition at line 898 of file polwww.cpp.

References http_thread(), and Pol::threadhelp::start_thread().

Referenced by start_threads().

void Pol::Core::start_pol_clocks ( )

Definition at line 111 of file polclock.cpp.

References start_polclock(), and start_poltime().

Referenced by Pol::xmain_inner().

void Pol::Core::start_polclock ( )

Definition at line 55 of file polclock.cpp.

References getCurrentPolClockSeconds(), and polclock_base().

Referenced by start_pol_clocks().

void Pol::Core::start_poltime ( )

Definition at line 88 of file polclock.cpp.

References poltime_base().

Referenced by start_pol_clocks().

void Pol::Core::start_sql_service ( )

Definition at line 501 of file sqlscrobj.cpp.

References sql_service_thread_stub(), and Pol::threadhelp::start_thread().

Referenced by start_threads().

void Pol::Core::staticsmax ( )

Definition at line 17 of file uofile05.cpp.

References idxrec, INFO_PRINT, Pol::Core::USTRUCT_IDX::length, and sidxfile.

Referenced by Pol::UoTool::UoToolMain::main().

void Pol::Core::step_scripts ( polclock_t clocksleft,
bool *  pactivity 
)
void Pol::Core::stop_gameclock ( )

Stops the game clock and saves the current value into "gameclock".

Definition at line 52 of file gameclck.cpp.

References update_gameclock().

Referenced by Pol::xmain_inner().

UACTION Pol::Core::str_to_action ( Clib::ConfigElem elem,
const std::string &  str 
)

Definition at line 60 of file bowsalut.cpp.

References Pol::Clib::ConfigElem::throw_error(), and UACTION_IS_VALID().

Referenced by load_anim_xlate_cfg().

Mobile::Character * Pol::Core::system_find_mobile ( u32  serial)

Definition at line 32 of file fnsearch.cpp.

References Pol::Core::ObjectHash::Find(), Pol::Core::ULWObject::ismobile(), Pol::Core::ObjectStorageManager::objecthash, objStorageManager, and Pol::Core::ULWObject::orphan().

Referenced by Pol::Module::EPartyRefObjImp::call_method_id(), Pol::Mobile::Character::clear_my_aggressors(), Pol::Mobile::Character::clear_my_lawful_damagers(), Pol::Core::Party::disband(), find_character(), Pol::Module::EPartyRefObjImp::get_member_id(), Pol::Module::EGuildRefObjImp::get_member_id(), Pol::Mobile::Character::GetAggressorTo(), getCharacterOrClientParam(), getCharacterParam(), Pol::Mobile::Character::GetLawFullyDamaged(), Pol::Module::getPartyParam(), Pol::Mobile::Character::GetReportables(), handle_accept_invite(), handle_add(), handle_add_member_cursor(), handle_char_profile_request(), handle_decline_invite(), handle_member_msg(), handle_msg_BF(), handle_party_msg(), handle_remove(), handle_remove_member_cursor(), insert_deferred_items(), invite_timeout(), Pol::Module::UOExecutorModule::mf_SystemFindObjectBySerial(), Pol::Core::Party::on_mana_changed(), Pol::Core::Party::on_stam_changed(), Pol::Core::Party::printOn(), read_global_item(), Pol::Mobile::Character::readCommonProperties(), Pol::Mobile::NPC::readNpcProperties(), Pol::Multi::UBoat::readProperties(), Pol::Core::Party::register_with_members(), Pol::Core::Guild::registerWithMembers(), Pol::Core::Party::send_member_list(), Pol::Core::Party::send_member_msg_public(), Pol::Core::Party::send_msg_to_all(), Pol::Core::Party::send_remove_member(), Pol::Core::Party::send_stats_on_add(), and Pol::Core::Guild::update_online_members().

void Pol::Core::SystemTrayDialogThread ( void *  )

Definition at line 214 of file polservice.cpp.

References BOOL(), DialogProc(), and IDD_DIALOG1.

Referenced by InitializeSystemTrayHandling().

void Pol::Core::tasks_thread_sleep ( unsigned int  millis)

Definition at line 237 of file polsem.cpp.

References calc_abs_timeout().

Referenced by polsem_unlock(), and tasks_thread().

void Pol::Core::test_decode ( const char *  page,
bool  result_expected,
Plib::Package pkg_expected,
const char *  filename_expected,
const char *  pagetype_expected,
const char *  redirect_to_expected 
)

Definition at line 780 of file polwww.cpp.

References decode_page(), and passert_always.

Referenced by http_thread().

void Pol::Core::test_decode ( )

Definition at line 805 of file polwww.cpp.

void Pol::Core::textcmd_constat ( Network::Client client)
void Pol::Core::textcmd_flag1 ( Network::Client client,
const char *  text 
)
void Pol::Core::textcmd_flag2 ( Network::Client client,
const char *  text 
)
void Pol::Core::textcmd_heapcheck ( Network::Client )

Definition at line 459 of file textcmd.cpp.

References PrintAllocationData(), and Pol::Clib::PrintHeapData().

Referenced by process_command().

void Pol::Core::textcmd_integ_chr ( Network::Client )

Definition at line 509 of file textcmd.cpp.

References check_character_integrity().

Referenced by process_command().

void Pol::Core::textcmd_integ_item ( Network::Client client)

Definition at line 500 of file textcmd.cpp.

References check_character_integrity(), check_item_integrity(), and send_sysmessage().

Referenced by process_command().

void Pol::Core::textcmd_list_crit_scripts ( Network::Client )

Definition at line 432 of file textcmd.cpp.

References list_crit_scripts().

Referenced by process_command().

void Pol::Core::textcmd_list_scripts ( Network::Client )

Definition at line 427 of file textcmd.cpp.

References list_crit_scripts(), and list_scripts().

Referenced by process_command().

void Pol::Core::textcmd_listarmor ( Network::Client client)

Definition at line 232 of file textcmd.cpp.

References Pol::Network::Client::chr, and Pol::Mobile::Character::showarmor().

Referenced by process_command().

void Pol::Core::textcmd_log_profile ( Network::Client client)

Definition at line 447 of file textcmd.cpp.

References log_all_script_cycle_counts(), and send_sysmessage().

Referenced by process_command().

void Pol::Core::textcmd_log_profile_clear ( Network::Client client)

Definition at line 453 of file textcmd.cpp.

References log_all_script_cycle_counts(), and send_sysmessage().

Referenced by process_command().

void Pol::Core::textcmd_resendchars ( Network::Client client)
void Pol::Core::textcmd_shutdown ( Network::Client )

Definition at line 208 of file textcmd.cpp.

References Pol::Clib::exit_signalled.

Referenced by process_command().

void Pol::Core::textcmd_threads ( Network::Client client)

Definition at line 465 of file textcmd.cpp.

References Pol::threadhelp::child_threads, Pol::Clib::decint(), and send_sysmessage().

Referenced by process_command().

const char * Pol::Core::TextTypeToString ( u8  texttype)
std::string Pol::Core::tile_desc ( unsigned short  tilenum)
u16 Pol::Core::tileweight ( unsigned short  tilenum)
std::string Pol::Core::timeoutstr ( polclock_t  at)

Definition at line 238 of file textcmd.cpp.

References Pol::Clib::decint(), polclock(), and POLCLOCKS_PER_SEC.

Referenced by Pol::Core::RepSystem::show_repdata().

bool Pol::Core::timer_expired ( polclock_t  timer_until,
polclock_t  now 
)
inline

Definition at line 38 of file polclock.h.

Referenced by Pol::Core::RepSystem::repsys_task().

int Pol::Core::translate ( const std::string &  name,
TRANSLATION table 
)
void Pol::Core::transmit_to_inrange ( const UObject center,
const void *  msg,
unsigned  msglen 
)
void Pol::Core::transmit_to_others_inrange ( Character center,
const void *  msg,
unsigned  msglen 
)
bool Pol::Core::UACTION_IS_VALID ( unsigned short  action)
inline

Definition at line 67 of file action.h.

References ACTION__HIGHEST.

Referenced by Pol::Items::remove_action(), str_to_action(), and Pol::Core::USpell::USpell().

int Pol::Core::unload_all_scripts ( )
void Pol::Core::unload_data ( )
void Pol::Core::unload_party ( )

Definition at line 258 of file party.cpp.

References gamestate, Pol::Core::GameState::parties, and unload_party_hooks().

Referenced by unload_data().

void Pol::Core::unload_repsys_cfg ( )

Definition at line 135 of file repsys.cpp.

References unload_repsys_cfg_hooks().

Referenced by unload_data().

int Pol::Core::unload_script ( const std::string &  name_in)
void Pol::Core::update_all_weatherregions ( )
void Pol::Core::update_gameclock ( )

Saves the current value into the global cprop "gameclock".

Definition at line 45 of file gameclck.cpp.

References gamestate, Pol::Core::GameState::global_properties, OSTRINGSTREAM, OSTRINGSTREAM_STR, and read_gameclock().

Referenced by Pol::Module::UOExecutorModule::mf_SaveWorldState(), and stop_gameclock().

void Pol::Core::update_lightregion ( Client client,
LightRegion  
)
void Pol::Core::update_rpm ( void  )

Definition at line 156 of file tasks.cpp.

References Pol::Core::ProfileVars::busy_sysload_cycles, Pol::Bscript::BError::creations(), Pol::Core::StateManager::cycles_per_decay_worldzone, Pol::Core::StateManager::cycles_until_decay_worldzone, Pol::Bscript::escript_instr_cycles, gamestate, get_mobile_count(), GET_PROFILEVAR_PER_MIN, get_toplevel_item_count(), Pol::Realms::Realm::grid_height(), Pol::Realms::Realm::grid_width(), INFO_PRINT, Pol::Core::ProfileVars::last_busy_sysload_cycles, Pol::Core::ProfileVars::last_cpu_total, Pol::Core::ProfileVars::last_cputime, Pol::Core::ProfileVars::last_instructions, Pol::Core::ProfileVars::last_mapcache_hits, Pol::Core::ProfileVars::last_mapcache_misses, Pol::Core::ProfileVars::last_nonbusy_sysload_cycles, Pol::Core::ProfileVars::last_rotations, Pol::Core::ProfileVars::last_rpm, Pol::Core::ProfileVars::last_scpm, Pol::Core::ProfileVars::last_script_passes, Pol::Core::ProfileVars::last_script_passes_activity, Pol::Core::ProfileVars::last_script_passes_noactivity, Pol::Core::ProfileVars::last_sipm, Pol::Core::ProfileVars::last_sleep_cycles, Pol::Core::ProfileVars::last_sppm, Pol::Core::ProfileVars::last_sysload, Pol::Core::ProfileVars::last_sysload_nprocs, Pol::Core::GameState::main_realm, Pol::Core::ProfileVars::mapcache_hits, Pol::Core::ProfileVars::mapcache_misses, Pol::Core::ProfileVars::nonbusy_sysload_cycles, POLLOG, Pol::Core::StateManager::profilevars, Pol::Core::GameState::Realms, ROLL_PROFILECLOCK, Pol::Core::ProfileVars::rotations, Pol::Core::ProfileVars::script_passes, Pol::Core::ProfileVars::script_passes_activity, Pol::Core::ProfileVars::script_passes_noactivity, SET_PROFILEVAR, Pol::Core::ProfileVars::sleep_cycles, stateManager, Pol::Core::ProfileVars::sysload_nprocs, Pol::Plib::systemstate, THREAD_CHECKPOINT, and TICK_PROFILEVAR.

u32 Pol::Core::UseCharSerialNumber ( u32  serial)
u32 Pol::Core::UseItemSerialNumber ( u32  serial)
bool Pol::Core::VALID_LIGHTLEVEL ( int  lightlevel)
inline
bool Pol::Core::valid_message_length ( Network::Client client,
unsigned int  length 
)
bool Pol::Core::validbeard ( u16  BeardStyle)
bool Pol::Core::validface ( u16  FaceStyle)
bool Pol::Core::validhair ( u16  HairStyle)
short Pol::Core::validhaircolor ( u16  )

Definition at line 62 of file create.cpp.

void Pol::Core::wait_for_ClientTransmit_pulse ( unsigned int  millis)

Definition at line 257 of file polsem.cpp.

References calc_abs_timeout().

Referenced by polsem_unlock().

void Pol::Core::wait_for_pulse ( unsigned int  millis)

Definition at line 217 of file polsem.cpp.

References calc_abs_timeout().

Referenced by combined_thread(), polsem_unlock(), and scripts_thread().

void Pol::Core::wake_tasks_thread ( )

Definition at line 230 of file polsem.cpp.

Referenced by client_io_thread(), polsem_unlock(), scripts_thread(), and threadstatus_thread().

void Pol::Core::write_global_properties ( Clib::StreamWriter sw)

Definition at line 808 of file uimport.cpp.

References gamestate, Pol::Core::GameState::global_properties, and pf_endl.

Referenced by save_incremental().

void Pol::Core::write_guilds ( Clib::StreamWriter sw)
void Pol::Core::write_index ( std::ostream &  ofs)
void Pol::Core::write_resources_dat ( Clib::StreamWriter sw_resource)

Definition at line 480 of file resource.cpp.

References gamestate, and Pol::Core::GameState::resourcedefs.

void Pol::Core::write_shadow_realms ( Clib::StreamWriter sw)

Definition at line 827 of file uimport.cpp.

References gamestate, pf_endl, and Pol::Core::GameState::Realms.

void Pol::Core::write_system_data ( Clib::StreamWriter sw)
std::pair< unsigned, unsigned > Pol::Core::XyToZone ( xcoord  x,
ycoord  y 
)
void Pol::Core::zone_convert ( unsigned short  x,
unsigned short  y,
unsigned short *  wx,
unsigned short *  wy,
const Realms::Realm realm 
)
inline
void Pol::Core::zone_convert_clip ( int  x,
int  y,
const Realms::Realm realm,
unsigned short *  wx,
unsigned short *  wy 
)
inline

Variable Documentation

Clib::SpinLock Pol::Core::_gameclock_lock
static

Definition at line 25 of file gameclck.cpp.

std::array< int, 7 > Pol::Core::adjustments = {{0, +1, -1, +2, -2, +3, -3}}

Definition at line 24 of file ufacing.cpp.

Referenced by Pol::Module::NPCExecutorModule::move_self().

int Pol::Core::cfg_max_statics_per_block = 1000

Definition at line 38 of file uofile02.cpp.

Referenced by Pol::UoConvert::UoConvertMain::main().

bool Pol::Core::cfg_show_illegal_graphic_warning = 1

Definition at line 28 of file polfile1.cpp.

Referenced by Pol::UoConvert::UoConvertMain::main().

bool Pol::Core::cfg_show_roof_and_platform_warning = 1
int Pol::Core::cfg_warning_statics_per_block = 1000

Definition at line 39 of file uofile02.cpp.

Referenced by Pol::UoConvert::UoConvertMain::main().

const u8 Pol::Core::CHAR_FLAG1_CANALTER = 0x02

Definition at line 103 of file pktdef.h.

Referenced by send_paperdoll().

const u8 Pol::Core::CHAR_FLAG1_FLYING = 0x04

Definition at line 102 of file pktdef.h.

Referenced by Pol::Mobile::Character::get_flag1().

const u8 Pol::Core::CHAR_FLAG1_GENDER = 0x02

Definition at line 104 of file pktdef.h.

Referenced by Pol::Mobile::Character::get_flag1().

const u8 Pol::Core::CHAR_FLAG1_INVISIBLE = 0x80

Definition at line 98 of file pktdef.h.

Referenced by Pol::Mobile::Character::get_flag1().

const u8 Pol::Core::CHAR_FLAG1_NORMAL = 0x00

Definition at line 105 of file pktdef.h.

const u8 Pol::Core::CHAR_FLAG1_POISONED = 0x04

Definition at line 101 of file pktdef.h.

Referenced by Pol::Mobile::Character::get_flag1().

const u8 Pol::Core::CHAR_FLAG1_WARMODE = 0x40

Definition at line 99 of file pktdef.h.

Referenced by Pol::Mobile::Character::get_flag1().

const u8 Pol::Core::CHAR_FLAG1_YELLOWHEALTH = 0x08

Definition at line 100 of file pktdef.h.

Referenced by Pol::Mobile::Character::get_flag1().

const u32 Pol::Core::CHARACTERSERIAL_END = 0x3FFFFFFFLu

Definition at line 19 of file state.h.

Referenced by Pol::Core::ObjectHash::GetNextUnusedCharSerial().

const u32 Pol::Core::CHARACTERSERIAL_START = 0x00000001Lu

Definition at line 18 of file state.h.

Referenced by Pol::Core::ObjectHash::GetNextUnusedCharSerial().

pthread_cond_t Pol::Core::clienttransmit_pulse_cond = PTHREAD_COND_INITIALIZER

Definition at line 150 of file polsem.cpp.

pthread_mutex_t Pol::Core::clienttransmit_pulse_mut = PTHREAD_MUTEX_INITIALIZER

Definition at line 149 of file polsem.cpp.

const int Pol::Core::CLP_Add_Living = 1005442

Definition at line 53 of file party_cfg.h.

Referenced by add_candidate().

const int Pol::Core::CLP_Add_No_Leader
Initial value:
=
1005453

Definition at line 65 of file party_cfg.h.

Referenced by add_candidate().

const int Pol::Core::CLP_Add_Yourself = 1005439

Definition at line 50 of file party_cfg.h.

Referenced by add_candidate().

const int Pol::Core::CLP_Added = 1005445
const int Pol::Core::CLP_Allow_Loot = 1005447

Definition at line 58 of file party_cfg.h.

Referenced by handle_loot_perm().

const int Pol::Core::CLP_Already_in_a_Party = 1005441

Definition at line 52 of file party_cfg.h.

Referenced by add_candidate().

const int Pol::Core::CLP_Already_Your_Party = 1005440

Definition at line 51 of file party_cfg.h.

Referenced by add_candidate().

const int Pol::Core::CLP_Cannot_Remove_Self
Initial value:
=
1005446

Definition at line 56 of file party_cfg.h.

Referenced by handle_remove_member_cursor().

const int Pol::Core::CLP_Decline = 1008092
const int Pol::Core::CLP_Disbanded = 1005449

Definition at line 61 of file party_cfg.h.

Referenced by Pol::Core::Party::disband().

const int Pol::Core::CLP_Ignore_Offer = 1005444

Definition at line 54 of file party_cfg.h.

Referenced by add_candidate().

const int Pol::Core::CLP_Invite = 1008089

Definition at line 70 of file party_cfg.h.

Referenced by send_invite().

const int Pol::Core::CLP_Invited = 1008090

Definition at line 72 of file party_cfg.h.

Referenced by send_invite().

const int Pol::Core::CLP_Joined = 1008094
const int Pol::Core::CLP_Last_Person = 1005450

Definition at line 62 of file party_cfg.h.

Referenced by Pol::Core::Party::send_remove_member().

const int Pol::Core::CLP_Max_Size = 1008095

Definition at line 76 of file party_cfg.h.

Referenced by add_candidate().

const int Pol::Core::CLP_No_Invite = 3000222

Definition at line 78 of file party_cfg.h.

Referenced by handle_accept_invite(), and handle_decline_invite().

const int Pol::Core::CLP_No_Party = 3000211

Definition at line 77 of file party_cfg.h.

Referenced by handle_loot_perm(), handle_member_msg(), handle_party_msg(), and handle_remove().

const int Pol::Core::CLP_Notify_Decline = 1008091
const int Pol::Core::CLP_Player_Rejoined = 1008087

Definition at line 69 of file party_cfg.h.

Referenced by on_loggon_party().

const int Pol::Core::CLP_Player_Removed = 1005452

Definition at line 64 of file party_cfg.h.

Referenced by on_loggoff_party(), and Pol::Core::Party::send_remove_member().

const int Pol::Core::CLP_Prevent_Loot
Initial value:
=
1005448

Definition at line 59 of file party_cfg.h.

Referenced by handle_loot_perm().

const int Pol::Core::CLP_Rejoined = 1005437

Definition at line 49 of file party_cfg.h.

Referenced by on_loggon_party().

const int Pol::Core::CLP_Removed = 1005451
const int Pol::Core::CLP_Too_Late_Decline
Initial value:
=
3000223

Definition at line 79 of file party_cfg.h.

Referenced by handle_decline_invite().

const int Pol::Core::CLP_Who_To_Add = 1005454

Definition at line 67 of file party_cfg.h.

Referenced by handle_add().

const int Pol::Core::CLP_Who_to_Remove = 1005455

Definition at line 68 of file party_cfg.h.

Referenced by handle_remove().

BApplicObjType Pol::Core::debugcontextobjimp_type

Definition at line 206 of file poldbg.cpp.

const unsigned short Pol::Core::DEFAULT_TEXT_COLOR = 0x3B2

Definition at line 97 of file uconst.h.

Referenced by Pol::Mobile::NPC::readNpcProperties().

const unsigned short Pol::Core::DEFAULT_TEXT_FONT = 3

Definition at line 96 of file uconst.h.

Referenced by Pol::Mobile::NPC::readNpcProperties().

const unsigned short Pol::Core::DEFAULT_TEXT_REQUIREDCMD = 0

Definition at line 98 of file uconst.h.

const int Pol::Core::DELETE_BY_PLAYER = 0x00

Definition at line 58 of file core.h.

Referenced by handle_delete_character().

const int Pol::Core::DELETE_BY_SCRIPT = 0x01

Definition at line 59 of file core.h.

Referenced by Pol::Accounts::AccountObjImp::call_method_id().

int Pol::Core::dupe_count

Definition at line 525 of file uimport.cpp.

Referenced by import().

const int Pol::Core::ENUMERATE_IGNORE_LOCKED = 0x01

Definition at line 61 of file core.h.

Referenced by Pol::Core::UContainer::enumerate_contents().

const int Pol::Core::ENUMERATE_ROOT_ONLY = 0x02

Definition at line 62 of file core.h.

Referenced by Pol::Core::UContainer::enumerate_contents().

const int Pol::Core::FINDOBJTYPE_IGNORE_LOCKED = 0x01

Definition at line 82 of file core.h.

Referenced by Pol::Core::UContainer::find_objtype().

const int Pol::Core::FINDOBJTYPE_ROOT_ONLY = 0x02

Definition at line 83 of file core.h.

Referenced by Pol::Core::UContainer::find_objtype().

const int Pol::Core::FINDSUBSTANCE_FIND_ALL = 0x04
const int Pol::Core::FINDSUBSTANCE_IGNORE_LOCKED = 0x01

Definition at line 85 of file core.h.

Referenced by Pol::Core::UContainer::find_sumof_objtype_noninuse().

const int Pol::Core::FINDSUBSTANCE_ROOT_ONLY = 0x02

Definition at line 86 of file core.h.

Referenced by Pol::Core::UContainer::find_sumof_objtype_noninuse().

const int Pol::Core::FP_IGNORE_DOORS = 0x02

Definition at line 70 of file core.h.

Referenced by Pol::Module::UOExecutorModule::mf_FindPath().

const int Pol::Core::FP_IGNORE_MOBILES = 0x01

Definition at line 69 of file core.h.

Referenced by Pol::Module::UOExecutorModule::mf_FindPath().

Definition at line 72 of file uvars.cpp.

gameclock_t Pol::Core::gameclock
static
GameState Pol::Core::gamestate

Definition at line 74 of file uvars.cpp.

Referenced by add_candidate(), Pol::Testing::add_item(), Pol::Testing::add_multi(), add_realm(), add_task(), Pol::Items::allocate_intrinsic_equipment_serials(), Pol::Mobile::Character::apply_raw_damage_hundredths(), Pol::Mobile::Character::attack(), Pol::Multi::UBoat::boatshape(), Pol::Multi::BoatShapeExists(), calc_scheduler_clocksleft(), Pol::Mobile::Character::calc_vital_stuff(), Pol::Accounts::AccountObjImp::call_method_id(), Pol::Core::Spellbook::can_add(), Pol::Items::Item::can_add_to_self(), Pol::Mobile::Character::can_face(), check_character_integrity(), check_item_integrity(), Pol::Mobile::Character::check_justice_region_change(), Pol::Mobile::Character::check_light_region_change(), Pol::Core::USpell::check_mana(), Pol::Mobile::Character::check_music_region_change(), check_scheduled_tasks(), Pol::Mobile::Character::check_skill(), Pol::Mobile::Character::check_undamaged(), Pol::Mobile::Character::check_weather_region_change(), Pol::Mobile::Character::CheckPushthrough(), Pol::Mobile::Character::choose_armor(), Pol::Mobile::clean_attributes(), Pol::Multi::clean_boatshapes(), clean_resources(), clean_skills(), clean_spells(), clean_vitals(), ClientCreateChar(), ClientCreateChar70160(), ClientCreateCharKR(), config_web_server(), Pol::Core::USpell::consume_mana(), Pol::Core::USpellScroll::convert_objtype_to_spellnum(), count_resource_tiles(), Pol::Core::ResourceDef::counttiles(), Pol::Items::ItemDesc::create(), Pol::Items::Item::create(), Pol::Accounts::create_new_account(), create_npc_template(), Pol::Items::CreateItemDescriptor(), Pol::Multi::UHouse::CustomHousesQuit(), decay_items(), decay_single_thread(), decay_thread_shadow(), decay_worldzone(), decode_page(), defined_realm(), Pol::Accounts::delete_account(), deregister_from_speech_events(), Pol::Mobile::Character::dexterity(), Pol::Mobile::Character::die(), disband_party(), do_cast(), drop_item_on_mobile(), Pol::Accounts::duplicate_account(), Pol::Mobile::Character::equippable(), Pol::Core::ConsoleCommand::exec_console_cmd(), ext_stats_in(), Pol::Accounts::find_account(), find_cmdlevel(), Pol::Core::ConsoleCommand::find_console_command(), find_giveitem_container(), Pol::Items::find_intrinsic_equipment(), Pol::Items::find_itemdesc(), Pol::Core::Menu::find_menu(), find_npc_template(), find_realm(), find_resource_def(), Pol::Mobile::Attribute::FindAttribute(), FindCmdLevelByAlias(), FindExportScript(), Pol::Core::Guild::FindGuild(), FindNpcTemplate(), Pol::Core::Guild::FindOrCreateGuild(), FindVital(), get_harvest_difficulty(), Pol::Core::StorageAreasImp::get_member(), get_mobile_count(), Pol::Items::get_objtype_byname(), get_region_string(), Pol::Mobile::Character::get_script_member_id(), get_textcmd_help(), get_toplevel_item_count(), GetCommandsInPackage(), GetListenPoints(), getObjtypeParam(), GetUOSkill(), Pol::Core::Guild::Guild(), handle_add(), handle_get_tip(), handle_open_spellbook(), handle_remove(), handle_target_cursor(), harvest_resource(), Pol::Items::has_itemdesc(), Pol::Items::Item::has_only_default_cprops(), Pol::Mobile::Character::heal_damage_hundredths(), hook(), http_func(), http_thread(), implicit_package_cmds_cfg(), Pol::Network::ClientInterface::Initialize(), Pol::Items::insert_intrinsic_equipment(), Pol::Mobile::Character::intelligence(), Pol::Mobile::NPC::intrinsic_weapon(), Pol::Mobile::Character::intrinsic_weapon(), Pol::Items::ItemDesc::ItemDesc(), landtile_flags(), landtile_uoflags(), Pol::Mobile::layer_to_zone(), load_anim_xlate_cfg(), Pol::Mobile::load_armor_zones(), Pol::Mobile::load_attribute_entry(), Pol::Mobile::load_attributes_cfg(), load_circle_data(), load_cmdlevels(), Pol::Core::ConsoleCommand::load_console_commands(), load_intrinsic_weapons(), load_landtile_cfg(), load_landtile_entry(), load_mime_config(), load_realms(), load_skill_entry(), load_system_hooks(), load_tips(), load_uoskills_cfg(), load_vital_entry(), load_vitals_cfg(), Pol::Core::MemoryUsage::log(), Pol::Testing::map_test(), Pol::Module::AttributeExecutorModule::mf_AlterAttributeTemporaryMod(), Pol::Module::UOExecutorModule::mf_AssignRectToWeatherRegion(), Pol::Module::VitalExecutorModule::mf_ConsumeMana(), Pol::Module::UOExecutorModule::mf_ConsumeReagents(), Pol::Module::GuildExecutorModule::mf_CreateGuild(), Pol::Module::PartyExecutorModule::mf_CreateParty(), Pol::Module::StorageExecutorModule::mf_CreateStorageArea(), Pol::Module::GuildExecutorModule::mf_DestroyGuild(), Pol::Module::UOExecutorModule::mf_EraseGlobalProperty(), Pol::Module::GuildExecutorModule::mf_FindGuild(), Pol::Module::StorageExecutorModule::mf_FindStorageArea(), Pol::Module::PolSystemExecutorModule::mf_GetCmdLevelName(), Pol::Module::UOExecutorModule::mf_GetGlobalProperty(), Pol::Module::UOExecutorModule::mf_GetGlobalPropertyNames(), Pol::Module::UOExecutorModule::mf_GetRegionLightLevelAtLocation(), Pol::Module::UOExecutorModule::mf_GetRegionName(), Pol::Module::UOExecutorModule::mf_GetRegionNameAtLocation(), Pol::Module::UOExecutorModule::mf_GetSpellDifficulty(), Pol::Module::UOExecutorModule::mf_ListAccounts(), Pol::Module::GuildExecutorModule::mf_ListGuilds(), Pol::Module::PolSystemExecutorModule::mf_ListTextCommands(), Pol::Module::PolSystemExecutorModule::mf_Realms(), Pol::Module::AttributeExecutorModule::mf_SetAttributeBaseValue(), Pol::Module::AttributeExecutorModule::mf_SetAttributeTemporaryMod(), Pol::Module::UOExecutorModule::mf_SetGlobalProperty(), Pol::Module::UOExecutorModule::mf_SetRegionLightLevel(), Pol::Module::UOExecutorModule::mf_SetRegionWeatherLevel(), Pol::Module::UOExecutorModule::mf_SpeakPowerWords(), Pol::Module::UOExecutorModule::mf_StartSpellEffect(), Pol::Module::UOExecutorModule::mf_Target(), Pol::Module::UOExecutorModule::mf_TargetCoordinates(), Pol::Module::UOExecutorModule::mf_TargetMultiPlacement(), Pol::Mobile::Character::move(), nocast_here(), Pol::Core::StorageAreasImp::OperSubscript(), optimize_zones(), place_item_in_secure_trade_container(), Pol::Mobile::Character::printProperties(), process_command(), Pol::Accounts::read_account_data(), Pol::Multi::read_boat_cfg(), read_guilds_dat(), read_item(), Pol::Items::read_itemdesc_file(), read_justice_zones(), read_light_zones(), Pol::Core::Menu::read_menus(), read_multi(), read_music_zones(), read_nocast_zones(), read_npc_templates(), read_party_dat(), Pol::Core::PolConfig::read_pol_config(), read_resource_cfg(), read_stacking_cfg(), read_starting_locations(), read_storage_dat(), read_weather_zones(), reap_thread(), Pol::Mobile::NPC::refresh_ar(), Pol::Mobile::Character::refresh_ar(), regen_resources(), regen_stats(), Pol::Core::RegionGroupBase::RegionGroupBase(), register_command(), register_for_speech_events(), register_guilds(), register_party_members(), register_spell(), remove_realm(), Pol::Accounts::reread_account(), Pol::Mobile::Character::resurrect(), sayto_listening_points(), Pol::Multi::UBoat::scripted_create(), send_action_to_inrange(), send_map_difs(), send_spellbook_contents(), send_start(), Pol::Mobile::Character::set_caps_to_default(), Pol::Mobile::Character::set_script_member_id(), Pol::Mobile::Character::set_vitals_to_maximum(), Pol::Mobile::Character::set_warmode(), SetRegionLightLevel(), should_switch_realm(), Pol::Mobile::Character::showarmor(), slurp(), start_client_char(), start_gameclock(), start_tasks(), start_textcmd_script(), start_threads(), Pol::Core::StorageAreasIterator::step(), Pol::Mobile::Character::strength(), Pol::Mobile::Character::strong_enough_to_equip(), Pol::Core::TargetCursor::TargetCursor(), textcmd_ident(), textcmd_repdata(), textcmd_startlog(), textcmd_stoplog(), Pol::Multi::UBoat::UBoat(), Pol::Mobile::Character::unhide(), UnicodeSpeechHandler(), Pol::Mobile::unload_armor_zones(), Pol::Items::unload_itemdesc(), unload_party(), Pol::Core::SystemHooks::unload_system_hooks(), update_gameclock(), update_rpm(), Pol::Core::USpell::USpell(), VALID_SPELL_ID(), Pol::Core::WeatherDef::WeatherDef(), Pol::Accounts::write_account_data(), write_data(), write_dirty_storage(), write_global_properties(), write_guilds(), write_items(), write_multis(), Pol::Items::write_objtypes_txt(), write_party(), write_resources_dat(), write_shadow_realms(), Pol::Accounts::Account::writeto(), Pol::xmain_inner(), Pol::xmain_outer(), Pol::Mobile::zone_name_to_zone(), and Pol::Mobile::zone_to_zone_name().

pthread_attr_t Pol::Core::http_attr

Definition at line 772 of file polwww.cpp.

HWND Pol::Core::hwnd

Definition at line 99 of file polservice.cpp.

USTRUCT_IDX Pol::Core::idxrec
int Pol::Core::import_count

Definition at line 524 of file uimport.cpp.

Referenced by import().

const int Pol::Core::INSERT_ADD_ITEM = 0x01
const int Pol::Core::INSERT_INCREASE_STACK = 0x02
const u32 Pol::Core::ITEMSERIAL_END = 0x7FffFFffLu

Definition at line 21 of file state.h.

Referenced by Pol::Core::ObjectHash::GetNextUnusedItemSerial().

const u32 Pol::Core::ITEMSERIAL_START = 0x40000000Lu

Definition at line 20 of file state.h.

Referenced by Pol::Core::ObjectHash::GetNextUnusedItemSerial().

const int Pol::Core::JOURNAL_PRINT_NAME = 0x00

Definition at line 89 of file core.h.

Referenced by private_say_above(), and say_above().

const int Pol::Core::JOURNAL_PRINT_YOU_SEE = 0x01

Definition at line 90 of file core.h.

Referenced by private_say_above(), and say_above().

SVR_KEYDESC Pol::Core::keydesc

Definition at line 14 of file ctable.cpp.

Referenced by Pol::Network::Client::transmit_encrypted().

const unsigned Pol::Core::LANDTILE_COUNT = 0x4000

Definition at line 27 of file clidata.h.

Referenced by landtile_flags(), landtile_uoflags(), and load_landtile_entry().

unsigned int Pol::Core::landtile_flags_arr[N_LANDTILEDATA]

Definition at line 35 of file uofile01.cpp.

unsigned int Pol::Core::last_block = ~0u

Definition at line 33 of file uofile02.cpp.

size_t Pol::Core::last_blocks_free = 0

Definition at line 23 of file allocd.cpp.

Referenced by PrintAllocationData().

size_t Pol::Core::last_blocks_used = 0

Definition at line 21 of file allocd.cpp.

Referenced by PrintAllocationData().

size_t Pol::Core::last_bytes_free = 0

Definition at line 24 of file allocd.cpp.

size_t Pol::Core::last_bytes_used = 0

Definition at line 22 of file allocd.cpp.

time_t Pol::Core::last_read
static

Definition at line 23 of file gameclck.cpp.

Referenced by read_gameclock().

const int Pol::Core::LISTENPT_HEAR_GHOSTS = 0x01

Definition at line 48 of file listenpt.h.

Referenced by sayto_listening_points().

const int Pol::Core::LISTENPT_HEAR_TOKENS = 0x02

Definition at line 49 of file listenpt.h.

Referenced by sayto_listening_points().

const int Pol::Core::LISTENPT_NO_SPEECH = 0x04

Definition at line 50 of file listenpt.h.

Referenced by sayto_listening_points().

size_t Pol::Core::locker

Definition at line 27 of file polsem.cpp.

Referenced by polsem_lock(), and threadstatus_thread().

const int Pol::Core::LOG_DATETIME = 0x01

Definition at line 80 of file core.h.

Referenced by Pol::Module::FileAccessExecutorModule::mf_LogToFile().

pthread_t Pol::Core::main_pthread

Definition at line 45 of file polsig.cpp.

FILE * Pol::Core::mapdif_file = nullptr

Definition at line 30 of file uofile00.cpp.

Referenced by rawmapfullread().

FILE * Pol::Core::mapdifl_file = nullptr

Definition at line 29 of file uofile00.cpp.

Referenced by read_map_difs().

FILE * Pol::Core::mapfile = nullptr

Definition at line 21 of file uofile00.cpp.

Referenced by Pol::Plib::InMemoryMapServer::InMemoryMapServer(), and rawmapfullread().

const unsigned Pol::Core::MAX_LIGHTLEVEL = 30

Definition at line 18 of file lightlvl.h.

const unsigned Pol::Core::MIN_LIGHTLEVEL = 0

Definition at line 17 of file lightlvl.h.

const int Pol::Core::MOVEITEM_IGNOREMOVABLE = 0x20000000L

Definition at line 51 of file core.h.

Referenced by Pol::Module::UOExecutorModule::internal_MoveItem().

const unsigned Pol::Core::N_LANDTILEDATA = 0x4000

Definition at line 34 of file uofile01.cpp.

Referenced by read_landtiledata().

NOTIFYICONDATA Pol::Core::ndata

Definition at line 100 of file polservice.cpp.

NetworkManager Pol::Core::networkManager

Definition at line 28 of file network.cpp.

Referenced by acct_check(), Pol::Module::SQLExecutorModule::background_connect(), Pol::Module::SQLExecutorModule::background_query(), Pol::Module::SQLExecutorModule::background_select(), broadcast(), Pol::Core::BPacket::call_method_id(), cancel_all_trades(), char_select(), check_incoming_data(), Pol::Network::clean_packethooks(), client_io_thread(), ClientCreateChar(), ClientCreateChar70160(), ClientCreateCharKR(), Pol::Network::ClientTransmitThread(), Pol::Core::UoClientThread::create(), Pol::Core::MessageTypeFilter::createMessageFilter(), Pol::Mobile::Character::custom_script_method(), Pol::Multi::CustomHousesSendFull(), Pol::Core::GameState::deinitialize(), Pol::Network::Client::Disconnect(), Pol::Network::PacketRegistry::find_handler(), Pol::Network::PacketRegistry::get_callback(), Pol::Network::get_packethook(), Pol::Module::GetCoreVariable(), Pol::Module::GetIoStats(), Pol::Module::GetPktStatusObj(), Pol::Module::GetQueuedIoStats(), getSkillIdParam(), Pol::Network::PacketRegistry::handle_extended_cmd(), handle_skill_lock(), handle_use_skill(), Pol::Network::init_sockets_library(), Pol::Network::UOClientInterface::Initialize(), Pol::Network::initialize_client_interfaces(), Pol::Network::is_banned_ip(), Pol::Network::PacketRegistry::is_defined(), Pol::Network::load_auxservice_entry(), load_general_entry(), load_listener_entry(), load_protocol_entry(), Pol::Core::MemoryUsage::log(), loginserver_login(), Pol::Module::UOExecutorModule::mf_EnumerateOnlineCharacters(), Pol::Module::OSExecutorModule::mf_HTTPRequest(), Pol::Module::OSExecutorModule::mf_OpenConnection(), Pol::Module::UOExecutorModule::mf_SendOverallSeason(), Pol::Network::PacketRegistry::msglen(), Pol::Network::PacketRegistry::msglen_v2(), Pol::Core::Party::on_mana_changed(), Pol::Core::Party::on_stam_changed(), process_data(), Pol::Network::read_bannedips_config(), read_gameservers(), Pol::Network::PktHelper::ReAddPacket(), Pol::Network::Client::recv_remaining(), Pol::Network::Client::recv_remaining_nocrypt(), Pol::Network::PktHelper::RequestPacket(), restart_all_clients(), Pol::Network::AuxService::run(), Pol::Network::search_name(), select_server(), Pol::Network::PktHelper::PacketOut< T >::Send(), send_attributes_normalized(), send_full_statmsg(), send_mana_level(), send_owncreate(), Pol::Network::Client::send_pause(), send_put_in_container_to_inrange(), Pol::Network::Client::send_queued_data(), send_short_statmsg(), send_skillmsg(), send_stamina_level(), send_stat_locks(), send_update_hits_to_inrange(), SendUnicodeSpeech(), server_applies(), Pol::Network::PacketRegistry::set_extended_handler(), Pol::Network::PacketRegistry::set_handler(), Pol::Network::set_ip_address(), Pol::Network::set_lan_address(), SetRegionLightLevel(), SetRegionWeatherLevel(), sql_service_thread_stub(), Pol::Network::start_aux_services(), start_uo_client_listeners(), Pol::Network::ClientInterface::tell_vital_changed(), textcmd_constat(), threadstatus_thread(), Pol::Network::AuxClientThread::transmit(), Pol::Network::Client::transmit(), Pol::Network::transmit(), transmit_to_inrange(), transmit_to_others_inrange(), Pol::Network::Client::unregister(), update_all_weatherregions(), Pol::xmain_inner(), and Pol::Network::Client::xmit().

ContStack Pol::Core::parent_conts
static

Definition at line 213 of file uimport.cpp.

const unsigned Pol::Core::POLCLASS_ARMOR = 15

Definition at line 27 of file polclass.h.

Referenced by Pol::Items::UArmor::script_isa().

const unsigned Pol::Core::POLCLASS_BOAT = 12
const unsigned Pol::Core::POLCLASS_CORPSE = 7

Definition at line 19 of file polclass.h.

Referenced by Pol::Core::UCorpse::script_isa().

const unsigned Pol::Core::POLCLASS_DOOR = 8

Definition at line 20 of file polclass.h.

Referenced by Pol::Core::UDoor::script_isa().

const unsigned Pol::Core::POLCLASS_EQUIPMENT = 14

Definition at line 26 of file polclass.h.

Referenced by Pol::Items::Equipment::script_isa().

const unsigned Pol::Core::POLCLASS_HOUSE = 13

Definition at line 25 of file polclass.h.

Referenced by Pol::Multi::UHouse::script_isa().

const unsigned Pol::Core::POLCLASS_ITEM = 2
const unsigned Pol::Core::POLCLASS_LOCKABLE = 5

Definition at line 17 of file polclass.h.

Referenced by Pol::Core::ULockable::script_isa().

const unsigned Pol::Core::POLCLASS_MAP = 10

Definition at line 22 of file polclass.h.

Referenced by Pol::Core::Map::script_isa().

const unsigned Pol::Core::POLCLASS_OBJECT = 1

Definition at line 13 of file polclass.h.

Referenced by Pol::Core::UObject::script_isa().

const unsigned Pol::Core::POLCLASS_WEAPON = 16

Definition at line 28 of file polclass.h.

Referenced by Pol::Items::UWeapon::script_isa().

const unsigned Pol::Core::POLCLOCK_DIV = ( CLOCKS_PER_SEC / POLCLOCKS_PER_SEC )

Definition at line 30 of file polclock.h.

Referenced by polclock().

const char* Pol::Core::poldbg_base_members[]
Initial value:
= {"x", "y", "z", "name", "objtype",
"graphic", "serial", "color", "facing", "height",
"weight", "multi", "realm", "dirty"}

Definition at line 49 of file poldbg.cpp.

const char* Pol::Core::poldbg_itemref_members[]
Initial value:
= {"amount",
"layer",
"container",
"usescript",
"equipscript",
"desc",
"movable",
"invisible",
"decayat",
"sellprice",
"buyprice",
"newbie",
"insured",
"tile_layer",
"unequipscript",
"item_count",
"stackable",
"saveonexit",
"resist_fire",
"resist_cold",
"resist_energy",
"resist_poison",
"resist_physical",
"resist_fire_mod",
"resist_cold_mod",
"resist_energy_mod",
"resist_poison_mod",
"resist_physical_mod"}

Definition at line 53 of file poldbg.cpp.

const char* Pol::Core::poldbg_mobileref_members[]

Definition at line 82 of file poldbg.cpp.

pthread_mutex_t Pol::Core::polsem

Definition at line 142 of file polsem.cpp.

Referenced by polsem_lock(), and polsem_unlock().

pthread_mutexattr_t Pol::Core::polsem_attr

Definition at line 141 of file polsem.cpp.

pthread_mutex_t Pol::Core::polsemdbg_mut = PTHREAD_MUTEX_INITIALIZER

Definition at line 161 of file polsem.cpp.

pthread_cond_t Pol::Core::pulse_cond = PTHREAD_COND_INITIALIZER

Definition at line 147 of file polsem.cpp.

pthread_mutex_t Pol::Core::pulse_mut = PTHREAD_MUTEX_INITIALIZER

Definition at line 146 of file polsem.cpp.

Pol::Plib::RawMap Pol::Core::rawmap
static

Definition at line 33 of file uofile08.cpp.

bool Pol::Core::rawmap_ready = false
static

Definition at line 34 of file uofile08.cpp.

std::vector<USTRUCT_STATIC_BUFFER> Pol::Core::rawstatic_buffer_vec
static

Definition at line 50 of file uofile02.cpp.

bool Pol::Core::rawstatic_init = false
static

Definition at line 51 of file uofile02.cpp.

const int Pol::Core::RESURRECT_FORCELOCATION = 0x01

Definition at line 53 of file core.h.

Referenced by Pol::Module::UOExecutorModule::mf_Resurrect().

const int Pol::Core::SAVE_FULL = 0x00

Definition at line 77 of file core.h.

Referenced by Pol::Core::PolConfig::read_pol_config(), and Pol::xmain_inner().

const int Pol::Core::SAVE_INCREMENTAL = 0x01
Bscript::BApplicObjType Pol::Core::scriptexobjimp_type

Definition at line 41 of file exscrobj.cpp.

const int Pol::Core::SENDDIALOGMENU_FORCE_OLD = 0x01

Definition at line 75 of file core.h.

Referenced by Pol::Module::UOExecutorModule::mf_SendGumpMenu().

SettingsManager Pol::Core::settingsManager

Definition at line 14 of file settings.cpp.

Referenced by Pol::Core::Party::add_candidate(), add_candidate(), Pol::Core::Party::add_member(), Pol::Mobile::Character::apply_damage(), Pol::Mobile::NPC::armor_absorb_damage(), Pol::Mobile::Character::attack(), Pol::Module::buyhandler(), Pol::Module::EPartyRefObjImp::call_method_id(), Pol::Mobile::Character::can_access(), Pol::Core::Party::can_add(), Pol::Core::UContainer::can_add_bulk(), Pol::Core::UContainer::can_add_to_slot(), Pol::Mobile::Character::can_face(), Pol::Mobile::Character::carrying_capacity(), Pol::Mobile::Character::Character(), Pol::Mobile::Character::check_attack_after_move(), check_config(), Pol::Mobile::Character::check_light_region_change(), Pol::Network::Client::Client(), ClientCreateChar(), ClientCreateChar70160(), ClientCreateCharKR(), Pol::Items::ItemDesc::create(), Pol::Items::Item::create(), Pol::Multi::UBoat::create_components(), Pol::Items::create_intrinsic_shield(), Pol::Items::create_intrinsic_weapon(), create_nametags(), Pol::Mobile::Character::create_trade_container(), Pol::Mobile::Character::die(), Pol::Core::Party::disband(), Pol::Mobile::Character::do_imhit_effects(), Pol::Core::Spellbook::double_click(), doubleclick(), Pol::Realms::Realm::dropheight(), Pol::Mobile::Character::equippable(), ext_stats_in(), Pol::Mobile::Character::face(), Pol::Multi::UBoat::fixInvalidGraphic(), format_description(), Pol::Multi::get_component_objtype(), Pol::Mobile::Character::get_flag1(), getObjtypeParam(), handle_accept_invite(), Pol::Mobile::handle_attack(), handle_client_version(), handle_decline_invite(), handle_loot_perm(), handle_member_msg(), handle_mode_set(), handle_party_msg(), handle_processed_speech(), handle_remove(), handle_remove_member_cursor(), handle_skill_lock(), handle_walk(), Pol::Core::RepSystem::hilite_color_idx(), Pol::Mobile::NPC::hilite_color_idx(), in_say_range(), in_whisper_range(), in_yell_range(), Pol::Mobile::NPC::inform_criminal(), Pol::Mobile::NPC::inform_enteredarea(), Pol::Mobile::NPC::inform_imoved(), Pol::Mobile::NPC::inform_leftarea(), Pol::Mobile::NPC::inform_moved(), invite_timeout(), Pol::Mobile::Character::is_attackable(), Pol::Core::AStarBlockers::IsBlocking(), Pol::Core::UOPathState::IsGoal(), load_intrinsic_weapons(), load_movecost(), load_party_cfg(), load_party_cfg_general(), load_party_cfg_hooks(), load_repsys_cfg_general(), load_repsys_cfg_hooks(), load_repsys_cfg_namecoloring(), Pol::Core::MemoryUsage::log(), Pol::Realms::Realm::lowest_standheight(), Pol::Mobile::Character::make_aggressor_to(), Pol::Mobile::Character::make_criminal(), Pol::Mobile::Character::make_lawfullydamaged_to(), Pol::Module::UOExecutorModule::mf_AddMenuItem(), Pol::Module::PolSystemExecutorModule::mf_AddRealm(), Pol::Module::VitalExecutorModule::mf_ApplyDamage(), Pol::Module::VitalExecutorModule::mf_ApplyRawDamage(), Pol::Module::PartyExecutorModule::mf_CreateParty(), Pol::Module::UOExecutorModule::mf_FindPath(), Pol::Module::UOExecutorModule::mf_GetRegionLightLevelAtLocation(), Pol::Module::PartyExecutorModule::mf_SendPartyMsg(), Pol::Module::PartyExecutorModule::mf_SendPrivatePartyMsg(), Pol::Mobile::Character::move(), movecost(), Pol::Core::RepSystem::name_color(), Pol::Mobile::NPC::name_color(), Pol::Mobile::NPC::npc_path_blocked(), Pol::Multi::BoatShape::objtype_is_component(), Pol::Mobile::NPC::on_ghost_pc_spoke(), on_loggoff_party(), Pol::Core::RepSystem::on_pc_attacks_pc(), Pol::Core::RepSystem::on_pc_damages_pc(), Pol::Core::RepSystem::on_pc_helps_pc(), Pol::Mobile::NPC::on_pc_spoke(), open_trade_window(), process_data(), Pol::Core::CombatConfig::read_combat_config(), read_extobj(), read_party_dat(), read_pol_dat(), Pol::Core::ServSpecOpt::read_servspecopt(), read_system_vars(), Pol::Mobile::Character::readAttributesAndVitals(), Pol::Mobile::Character::readCommonProperties(), Pol::Multi::UBoat::readProperties(), Pol::Items::Item::readProperties(), Pol::Mobile::Character::realm_changed(), regen_stats(), Pol::Mobile::NPC::repsys_on_attack(), Pol::Mobile::Character::repsys_on_attack(), Pol::Mobile::NPC::repsys_on_damage(), Pol::Mobile::Character::repsys_on_damage(), Pol::Mobile::NPC::repsys_on_help(), Pol::Mobile::Character::repsys_on_help(), Pol::Multi::UBoat::reread_components(), run_start_scripts(), Pol::Module::NPCExecutorModule::say(), sayto_listening_points(), Pol::Module::NPCExecutorModule::SayUC(), Pol::Module::sellhandler(), Pol::Network::ObjRevisionPkt::Send(), send_feature_enable(), send_full_statmsg(), Pol::Core::Party::send_member_msg_private(), Pol::Core::Party::send_member_msg_public(), send_object_cache(), send_object_cache_to_inrange(), send_owncreate(), send_paperdoll(), send_skillmsg(), send_start(), Pol::Network::send_uo_skill(), SendUnicodeSpeech(), Pol::Mobile::Character::set_party_invite_timeout(), Pol::Items::Item::setcolor(), SetRegionLightLevel(), singleclick(), Pol::Items::Item::slot_index(), Pol::Core::ServSpecOpt::ssopt_parse_totalstats(), Pol::Realms::Realm::standheight(), start_client_char(), start_threads(), Pol::Multi::UBoat::transform_components(), unload_party_hooks(), unload_repsys_cfg_hooks(), Pol::Items::validate_intrinsic_shield_template(), validface(), write_party(), Pol::xmain_inner(), and Pol::Core::UOExecutor::~UOExecutor().

FILE * Pol::Core::sidxfile = nullptr

Definition at line 22 of file uofile00.cpp.

Referenced by rawstaticfullread(), readwater(), and staticsmax().

int Pol::Core::srec_count

Definition at line 36 of file uofile02.cpp.

Referenced by rawstaticfullread().

Definition at line 35 of file uofile02.cpp.

FILE * Pol::Core::stadif_file = nullptr

Definition at line 28 of file uofile00.cpp.

Referenced by rawstaticfullread().

FILE * Pol::Core::stadifi_file = nullptr

Definition at line 27 of file uofile00.cpp.

Referenced by rawstaticfullread().

StaticDifBlockIndex Pol::Core::stadifl

Definition at line 43 of file uofile02.cpp.

FILE * Pol::Core::stadifl_file = nullptr

Definition at line 26 of file uofile00.cpp.

Referenced by read_static_diffs().

const unsigned Pol::Core::STAIDX_CHUNK = 8

Definition at line 46 of file ustruct.h.

StateManager Pol::Core::stateManager

Definition at line 8 of file state.cpp.

Referenced by add_loaded_item(), Pol::Core::UContainer::can_add_bulk(), catch_signals_thread(), Pol::Mobile::Character::Character(), check_blocked(), checkpoint(), combined_thread(), console_thread(), decay_items(), decay_single_thread(), decay_worldzone(), Pol::Core::UObject::destroy(), display_leftover_objects(), Pol::Module::ECharacterRefObjImp::ECharacterRefObjImp(), equip_loaded_item(), Pol::Core::ConsoleCommand::exec_console_cmd(), Pol::Module::GetCoreVariable(), GetCurrentCharSerialNumber(), GetCurrentItemSerialNumber(), GetNewItemSerialNumber(), GetNextSerialNumber(), handle_HUP(), handle_SIGUSR1(), Pol::Items::Item::Item(), Pol::Core::MemoryUsage::log(), log_all_script_cycle_counts(), Pol::Module::OSExecutorModule::mf_system_rpm(), Pol::Mobile::NPC::NPC(), pause_polclock(), polclock_checkin(), read_data(), read_system_vars(), Pol::Mobile::Character::readAttributesAndVitals(), Pol::Items::register_intrinsic_equipment(), restart_polclock(), Pol::Core::ScriptScheduler::run_ready(), scripts_thread(), SetCurrentCharSerialNumber(), SetCurrentItemSerialNumber(), setup_update_rpm(), textcmd_orphans(), threadstatus_thread(), Pol::Multi::UMulti::UMulti(), Pol::Core::UObject::UObject(), update_rpm(), update_sysload(), UseCharSerialNumber(), UseItemSerialNumber(), Pol::xmain_inner(), Pol::xmain_outer(), Pol::Mobile::Character::~Character(), Pol::Module::ECharacterRefObjImp::~ECharacterRefObjImp(), Pol::Items::Item::~Item(), Pol::Mobile::NPC::~NPC(), Pol::Multi::UMulti::~UMulti(), and Pol::Core::UObject::~UObject().

FILE * Pol::Core::statfile = nullptr

Definition at line 23 of file uofile00.cpp.

Referenced by rawstaticfullread(), and readwater().

bool Pol::Core::static_debug_on = false
const unsigned Pol::Core::SYSFIND_SEARCH_OFFLINE_MOBILES = 1
const unsigned Pol::Core::SYSFIND_SKIP_WORLD = 4

Definition at line 33 of file fnsearch.h.

Referenced by read_npcequip_dat(), read_npcs_dat(), read_pcequip_dat(), and read_pcs_dat().

pthread_cond_t Pol::Core::task_pulse_cond = PTHREAD_COND_INITIALIZER

Definition at line 153 of file polsem.cpp.

pthread_mutex_t Pol::Core::task_pulse_mut = PTHREAD_MUTEX_INITIALIZER

Definition at line 152 of file polsem.cpp.

pthread_attr_t Pol::Core::thread_attr

Definition at line 163 of file polsem.cpp.

bool Pol::Core::thread_started

Definition at line 158 of file polsem.cpp.

pthread_mutex_t Pol::Core::threadstart_mut = PTHREAD_MUTEX_INITIALIZER

Definition at line 155 of file polsem.cpp.

pthread_cond_t Pol::Core::threadstart_pulse_cond = PTHREAD_COND_INITIALIZER

Definition at line 157 of file polsem.cpp.

pthread_mutex_t Pol::Core::threadstart_pulse_mut = PTHREAD_MUTEX_INITIALIZER

Definition at line 156 of file polsem.cpp.

TileData* Pol::Core::tiledata

Definition at line 32 of file uofile01.cpp.

Referenced by clear_tiledata().

FILE * Pol::Core::tilefile = nullptr

Definition at line 25 of file uofile00.cpp.

Referenced by readlandtile(), and readtile().

u8 Pol::Core::tmp_flag1

Definition at line 15 of file tmpvars.cpp.

Referenced by textcmd_flag1().

u8 Pol::Core::tmp_flag2

Definition at line 16 of file tmpvars.cpp.

Referenced by textcmd_flag2().

std::set<UObject*> Pol::Core::unreaped_orphan_instances

Definition at line 42 of file uobject.cpp.

bool Pol::Core::uo_readuop = true

Definition at line 87 of file uofile00.cpp.

Referenced by Pol::UoConvert::create_map(), and Pol::UoConvert::UoConvertMain::main().

std::ifstream Pol::Core::uopmapfile

Definition at line 32 of file uofile00.cpp.

Referenced by open_uopmap_file(), and rawmapfullread().

const unsigned Pol::Core::VALID_ITEM_COLOR_MASK = 0x0FFF

Definition at line 76 of file uconst.h.

Referenced by equip_from_template(), and Pol::Module::handle_selcolor().

const int Pol::Core::VENDOR_BUYABLE_CONTAINER_FILTER = 0x02

Definition at line 73 of file core.h.

Referenced by Pol::Module::UOExecutorModule::mf_SendSellWindow().

const int Pol::Core::VENDOR_SEND_AOS_TOOLTIP = 0x01
FILE * Pol::Core::verfile = nullptr
VerdataIndexes Pol::Core::vidx[32]

Definition at line 67 of file uofile01.cpp.

const unsigned int Pol::Core::vidx_count = 32

Definition at line 68 of file uofile01.cpp.

const unsigned int Pol::Core::VITAL_HIGHEST_MAX_HUNDREDTHS = 10000000L

Definition at line 60 of file vital.h.

Referenced by Pol::Mobile::Character::calc_single_vital().

const int Pol::Core::VITAL_HIGHEST_REGENRATE = 30000

Definition at line 52 of file vital.h.

Referenced by Pol::Mobile::Character::calc_single_vital().

const unsigned int Pol::Core::VITAL_LOWEST_MAX_HUNDREDTHS = 100L

Definition at line 59 of file vital.h.

Referenced by Pol::Mobile::Character::calc_single_vital().

const int Pol::Core::VITAL_LOWEST_REGENRATE = -30000

Definition at line 51 of file vital.h.

Referenced by Pol::Mobile::Character::calc_single_vital().

const unsigned int Pol::Core::VITAL_MAX_HUNDREDTHS = 10000000L
const unsigned Pol::Core::VITAL_MAX_VALUE = 100000L

Definition at line 55 of file vital.h.

Referenced by Pol::Mobile::Character::readAttributesAndVitals().

std::set<unsigned int> Pol::Core::water

Definition at line 18 of file uofile04.cpp.

Referenced by Pol::UoTool::print_statics().

unsigned Pol::Core::WM_TASKBARCREATED

Definition at line 98 of file polservice.cpp.

TRANSLATION Pol::Core::xlate_align[]
Initial value:
= {{"good", NpcTemplate::GOOD},
{"neutral", NpcTemplate::NEUTRAL},
{"evil", NpcTemplate::EVIL},
{0, 0}}

Definition at line 52 of file npctmpl.cpp.

const unsigned Pol::Core::ZONE_SHIFT = 2

Definition at line 19 of file zone.h.

Referenced by XyToZone().